SoSieveLabelingProcessing engine produces a new label image by grouping labels of the input label image. More...
#include <ImageViz/Engines/ImageAnalysis/IndividualMeasures/SoSieveLabelingProcessing.h>
Public Member Functions | |
SoSieveLabelingProcessing () | |
Public Attributes | |
SoSFEnum | computeMode |
SoSFImageDataAdapter | inObjectImage |
SoSFImageDataAdapter | inIntensityImage |
SoMFFloat | sieveArray |
SoSFDataMeasure | measure |
SoSFDataMeasureAttributes | measureAttributes |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outLabelImage |
For an introduction, see:
The SoSieveLabelingProcessing engine produces a new label image by grouping labels of the input label image. Labels are grouped according to to a list of sieve values that defines input ranges for each output label value.
Figure 1: Label grouping based on a sieve
First, the field Measure selects the measure that will be used to group label. Then each label of the input analysis will be assigned to an output group depending on the value of the selected measure. The figure (Figure 1) presents an example of the label grouping procedure that is described in details below:
computeMode | MODE_AUTO |
inObjectImage | NULL |
inIntensityImage | NULL |
sieveArray | 0.0f |
measure | NULL |
SoSieveLabelingProcessing::SoSieveLabelingProcessing | ( | ) |
Constructor.
Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.
Default is MODE_AUTO
The input intensity image.
Default value is NULL. Supported types include: grayscale binary label color image.
The input binary or label image.
Default value is NULL. Supported types include: binary label color image.
The measure.
Default value is NULL.
The measure attributes to customize measurement.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoSieveLabelingProcessing::outLabelImage |
The output label image.
Default value is NULL. Supported types include: grayscale binary label color image.
The array of bound values to make up the sieve.
Default value is 0.0f.