Public Types | |
typedef Function_v2v< void > | category |
typedef colorize | exact_t |
typedef void | mutable_result |
typedef mln::value::rgb8 | result |
Public Member Functions | |
colorize (unsigned max) | |
result | operator() (unsigned i) const |
Public Attributes | |
std::vector< result > | lut |
typedef Function_v2v<void> mln::Function_v2v< colorize >::category [inherited] |
Reimplemented from mln::Function< colorize >.
typedef colorize mln::Object< colorize >::exact_t [inherited] |
typedef void mln::Function_v2v< colorize >::mutable_result [inherited] |
typedef mln::value::rgb8 colorize::result |
colorize::colorize | ( | unsigned | max | ) | [inline] |
References mln::literal::black, and lut.
std::vector<result> colorize::lut |
Referenced by colorize(), and operator()().