Public Types | Public Member Functions

mln::dist Struct Reference

Compute a distance between two rgb8 values. More...

Inheritance diagram for mln::dist:
Inheritance graph

List of all members.

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

Detailed Description

Compute a distance between two rgb8 values.

Definition at line 75 of file demos/graph/region_adjacency_graph.cc.


Member Typedef Documentation

typedef Function_vv2v<void> mln::Function_vv2v< dist >::category [inherited]

Reimplemented from mln::Function< dist >.

Definition at line 179 of file function.hh.

typedef dist mln::Object< dist >::exact_t [inherited]

Definition at line 173 of file object.hh.

Definition at line 78 of file demos/graph/region_adjacency_graph.cc.


Member Function Documentation

result mln::dist::operator() ( const value::rgb8 c1,
const value::rgb8 c2 
) const [inline]