|
Hugin trunk 0.1
|
#include <utils.h>
Public Types | |
| typedef VALUETYPE | argument_type |
| the functor's argument type | |
| typedef VALUETYPE | result_type |
| the functor's result type | |
| typedef VALUETYPE | value_type |
Public Member Functions | |
| FindComponentsMinMax () | |
| init min and max | |
| void | reset () |
| (re-)init functor (clear min, max) | |
| void | operator() (argument_type const &v) |
| update min and max | |
| void | operator() (vigra::RGBValue< VALUETYPE > const &v) |
| update min and max with components of RGBValue<VALUETYPE> | |
Public Attributes | |
| VALUETYPE | min |
| the current min | |
| VALUETYPE | max |
| the current max | |
| unsigned int | count |
| the number of values processed so far | |
| typedef VALUETYPE vigra_ext::FindComponentsMinMax< VALUETYPE >::argument_type |
| typedef VALUETYPE vigra_ext::FindComponentsMinMax< VALUETYPE >::result_type |
| typedef VALUETYPE vigra_ext::FindComponentsMinMax< VALUETYPE >::value_type |
|
inline |
|
inline |
update min and max
Definition at line 322 of file utils.h.
References vigra_ext::FindComponentsMinMax< VALUETYPE >::count, vigra_ext::FindComponentsMinMax< VALUETYPE >::max, vigra_ext::FindComponentsMinMax< VALUETYPE >::min, and threshold().
|
inline |
update min and max with components of RGBValue<VALUETYPE>
Definition at line 338 of file utils.h.
References vigra_ext::FindComponentsMinMax< VALUETYPE >::count, vigra_ext::getMaxComponent(), vigra_ext::getMinComponent(), vigra_ext::FindComponentsMinMax< VALUETYPE >::max, vigra_ext::FindComponentsMinMax< VALUETYPE >::min, and threshold().
|
inline |
(re-)init functor (clear min, max)
Definition at line 316 of file utils.h.
References vigra_ext::FindComponentsMinMax< VALUETYPE >::count.
the number of values processed so far
Definition at line 366 of file utils.h.
Referenced by vigra_ext::FindComponentsMinMax< VALUETYPE >::operator()(), vigra_ext::FindComponentsMinMax< VALUETYPE >::operator()(), and vigra_ext::FindComponentsMinMax< VALUETYPE >::reset().
the current max
Definition at line 364 of file utils.h.
Referenced by vigra_ext::FindComponentsMinMax< VALUETYPE >::operator()(), and vigra_ext::FindComponentsMinMax< VALUETYPE >::operator()().
the current min
Definition at line 362 of file utils.h.
Referenced by vigra_ext::FindComponentsMinMax< VALUETYPE >::operator()(), and vigra_ext::FindComponentsMinMax< VALUETYPE >::operator()().