$extrastylesheet
#include <mln/fun/v2v/rgb8_to_rgbn.hh>
Public Member Functions | |
result | operator() (const argument &c) const |
Public Types | |
typedef value::rgb8 | argument |
typedef Function_v2v< void > | category |
typedef rgb8_to_rgbn< n > | exact_t |
typedef void | mutable_result |
typedef value::rgb< n > | result |
Convert an mln::value::rgb8 to an mln::value::rgbn.
n | The quantification of the output value (where n < 8). |
Definition at line 55 of file rgb8_to_rgbn.hh.
result mln::fun::v2v::rgb8_to_rgbn< n >::operator() | ( | const argument & | c | ) | const |
Perform the conversion.
[in] | c | The input value. |
Conversion is done by computing the size by which we divide each rgb component.
typedef value::rgb8 mln::fun::v2v::rgb8_to_rgbn< n >::argument |
Definition at line 57 of file rgb8_to_rgbn.hh.
|
inherited |
Definition at line 134 of file function.hh.
|
inherited |
|
inherited |
Definition at line 135 of file function.hh.
typedef value::rgb<n> mln::fun::v2v::rgb8_to_rgbn< n >::result |
Definition at line 58 of file rgb8_to_rgbn.hh.