Equivalent to std::generate. More...
Functions | |
template<typename P1 , typename Op > | |
void | boost::gil::static_generate (P1 &dst, Op op) |
Equivalent to std::generate.
Example: Set each channel of a pixel to its semantic index. The channels must be assignable from an integer.
|
inline |