Convert a rgb8 value to a rgn, n < 8. More...
#include <rgb8_to_rgbn.hh>

Public Member Functions | |
| result | operator() (const argument &c) const | 
| Convert a rgb8 value to a rgn, n < 8.   | |
Convert a rgb8 value to a rgn, n < 8.
| n | defines the output quantification used for the transformation. | 
Definition at line 56 of file rgb8_to_rgbn.hh.
| rgb8_to_rgbn< n >::result mln::fun::v2v::rgb8_to_rgbn< n >::operator() | ( | const argument & | c | ) | const | 
Convert a rgb8 value to a rgn, n < 8.
| [in] | v | the rgb8 value to convert. | 
Conversion is done by computing the size by which we divide each rgb component.
| n | defines the output quantification used for the transformation. | 
Definition at line 83 of file rgb8_to_rgbn.hh.
References mln::value::rgb< n >::red().
 1.7.1