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 E 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

template<typename E>
typedef Function_vv2v<void> mln::Function_vv2v< E >::category [inherited]

Reimplemented from mln::Function< E >.

Definition at line 146 of file function.hh.

template<typename E>
typedef E mln::Object< E >::exact_t [inherited]

Definition at line 172 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]


Generated on Sun Apr 25 01:54:57 2010 for Milena (Olena) by  doxygen 1.5.6