[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
Find the minimum and maximum pixel value in an image or ROI. More...
#include <vigra/inspectimage.hxx>
Public Types | |
typedef VALUETYPE | argument_type |
typedef VALUETYPE | result_type |
typedef VALUETYPE | value_type |
Public Member Functions | |
FindMinMax () | |
void | operator() (argument_type const &v) |
void | operator() (FindMinMax const &v) |
void | operator() (RGBValue< VALUETYPE > const &v) |
void | reset () |
Public Attributes | |
unsigned int | count |
VALUETYPE | max |
VALUETYPE | min |
Find the minimum and maximum pixel value in an image or ROI.
In addition the size of the ROI is calculated. These functors can also be used in conjunction with ArrayOfRegionStatistics to find the extremes of all regions in a labeled image.
Traits defined:
FunctorTraits::isUnaryAnalyser
is true (VigraTrueType
)
Usage:
#include <vigra/inspectimage.hxx>
Namespace: vigra
Required Interface:
the functor's argument type
the functor's result type
FindMinMax | ( | ) |
init min and max
update min and max with components of RGBValue<VALUETYPE>
merge two statistics
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |