Compute a distance between two rgb8 values. More...
Public Types | |
typedef Function_vv2v< void > | category |
typedef dist | exact_t |
typedef value::int_u8 | result |
Public Member Functions | |
result | operator() (const value::rgb8 &c1, const value::rgb8 &c2) const |
Compute a distance between two rgb8 values.
typedef Function_vv2v<void> mln::Function_vv2v< dist >::category [inherited] |
Reimplemented from mln::Function< dist >.
typedef dist mln::Object< dist >::exact_t [inherited] |
typedef value::int_u8 mln::dist::result |
result mln::dist::operator() | ( | const value::rgb8 & | c1, | |
const value::rgb8 & | c2 | |||
) | const [inline] |