[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
Algorithms to Inspect Images |
Functions | |
template<... > | |
void | inspectImage (...) |
Apply read-only functor to every pixel in the image. More... | |
template<... > | |
void | inspectImageIf (...) |
Apply read-only functor to every pixel in the ROI. More... | |
template<... > | |
void | inspectTwoImages (...) |
Apply read-only functor to every pixel of both images. More... | |
template<... > | |
void | inspectTwoImagesIf (...) |
Apply read-only functor to those pixels of both images where the mask image is non-zero. More... | |
Collect information and statistics over all or selected pixels.
void vigra::inspectImage | ( | ... | ) |
Apply read-only functor to every pixel in the image.
This function can be used to collect statistics of the image etc. The results must be stored in the functor, which serves as a return value (and is therefore passed by reference).
For many common statistics, the use of vigra::acc::extractFeatures() in combination with Feature Accumulators is more convenient.
Declarations:
pass 2D array views:
Usage:
#include <vigra/inspectimage.hxx>
Namespace: vigra
void vigra::inspectImageIf | ( | ... | ) |
Apply read-only functor to every pixel in the ROI.
This function can be used to collect statistics of the ROI etc. The functor is called whenever the return value of the mask's accessor is not zero. The results must be stored in the functor, which serves as a return value (and is therefore passed by reference.
Declarations:
pass 2D array views:
Usage:
#include <vigra/inspectimage.hxx>
Namespace: vigra
void vigra::inspectTwoImages | ( | ... | ) |
Apply read-only functor to every pixel of both images.
This function can be used to collect statistics for each region of a labeled image, especially in conjunction with the ArrayOfRegionStatistics functor. The results must be stored in the functor which serves as a return value.
Note: For many common statistics, the use of vigra::acc::extractFeatures() in combination with Feature Accumulators is more convenient.
Declarations:
pass 2D array views:
Usage:
#include <vigra/inspectimage.hxx>
Namespace: vigra
void vigra::inspectTwoImagesIf | ( | ... | ) |
Apply read-only functor to those pixels of both images where the mask image is non-zero.
This function can be used to collect statistics for selected regions of a labeled image, especially in conjunction with the ArrayOfRegionStatistics functor. The results must be stored in the functor which serves as a return value.
Declarations:
pass 2D array views:
Usage:
#include <vigra/inspectimage.hxx>
Namespace: vigra
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |
html generated using doxygen and Python
|