#include <kmean_rgb.hh>

Public Types | |
| typedef value::rgb< n > | argument |
| typedef Function_v2v< void > | category |
| typedef rgb_to_dist< T, n > | exact_t |
| typedef void | mutable_result |
| typedef T | result |
| typedef image3d< unsigned > | t_histo_img |
| typedef T | t_result1d |
| typedef algebra::vec< 3, T > | t_result3d |
Public Member Functions | |
| result | operator() (const argument &c) const |
| rgb_to_dist (t_result3d mean, t_histo_img histo) | |
Public Attributes | |
| t_histo_img | _histo |
| t_result3d | _mean |
Definition at line 522 of file kmean_rgb.hh.
| typedef value::rgb<n> mln::clustering::impl::rgb_to_dist< T, n >::argument |
Definition at line 524 of file kmean_rgb.hh.
typedef Function_v2v<void> mln::Function_v2v< rgb_to_dist< T, n > >::category [inherited] |
Reimplemented from mln::Function< rgb_to_dist< T, n > >.
Definition at line 126 of file function.hh.
typedef rgb_to_dist< T, n > mln::Object< rgb_to_dist< T, n > >::exact_t [inherited] |
typedef void mln::Function_v2v< rgb_to_dist< T, n > >::mutable_result [inherited] |
Definition at line 127 of file function.hh.
| typedef T mln::clustering::impl::rgb_to_dist< T, n >::result |
Definition at line 525 of file kmean_rgb.hh.
| typedef image3d<unsigned> mln::clustering::impl::rgb_to_dist< T, n >::t_histo_img |
Definition at line 528 of file kmean_rgb.hh.
| typedef T mln::clustering::impl::rgb_to_dist< T, n >::t_result1d |
Definition at line 526 of file kmean_rgb.hh.
| typedef algebra::vec<3,T> mln::clustering::impl::rgb_to_dist< T, n >::t_result3d |
Definition at line 527 of file kmean_rgb.hh.
| mln::clustering::impl::rgb_to_dist< T, n >::rgb_to_dist | ( | t_result3d | mean, | |
| t_histo_img | histo | |||
| ) | [inline] |
Definition at line 533 of file kmean_rgb.hh.
| result mln::clustering::impl::rgb_to_dist< T, n >::operator() | ( | const argument & | c | ) | const [inline] |
Definition at line 536 of file kmean_rgb.hh.
References mln::clustering::impl::rgb_to_dist< T, n >::_histo, mln::clustering::impl::rgb_to_dist< T, n >::_mean, and mln::math::sqr().
| t_histo_img mln::clustering::impl::rgb_to_dist< T, n >::_histo |
Definition at line 531 of file kmean_rgb.hh.
Referenced by mln::clustering::impl::rgb_to_dist< T, n >::operator()().
| t_result3d mln::clustering::impl::rgb_to_dist< T, n >::_mean |
Definition at line 530 of file kmean_rgb.hh.
Referenced by mln::clustering::impl::rgb_to_dist< T, n >::operator()().
1.7.1