[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
Calculate the size of an ROI in an image. More...
#include <vigra/inspectimage.hxx>
Public Types | |
typedef VALUETYPE | argument_type |
typedef unsigned int | result_type |
typedef VALUETYPE | value_type |
Public Member Functions | |
FindROISize () | |
result_type | operator() () const |
void | operator() (argument_type const &) |
void | operator() (FindROISize const &o) |
void | reset () |
result_type | size () const |
Public Attributes | |
result_type | count |
Calculate the size of an ROI in an image.
This Functor is often used in conjunction with ArrayOfRegionStatistics to find the sizes of all regions in a labeled image.
Traits defined:
FunctorTraits::isUnaryAnalyser
and FunctorTraits::isInitializer
are true (VigraTrueType
)
Usage:
#include <vigra/inspectimage.hxx>
Namespace: vigra
the functor's argument type
FindROISize | ( | ) |
init counter to 0
result_type operator() | ( | ) | const |
return current size
result_type size | ( | ) | const |
return current size
merge two statistics
result_type count |
the current counter
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |