SoMeasureImageProcessing engine allows to replace all labels of the input image by the result of an individual measure. More...
#include <ImageViz/Engines/ImageAnalysis/IndividualMeasures/SoMeasureImageProcessing.h>
Public Member Functions | |
SoMeasureImageProcessing () | |
Public Attributes | |
SoSFEnum | computeMode |
SoSFImageDataAdapter | inLabelImage |
SoSFImageDataAdapter | inIntensityImage |
SoSFDataMeasure | measure |
SoSFDataMeasureAttributes | measureAttributes |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outMeasureImage |
For an introduction, see:
The SoMeasureImageProcessing engine allows to replace all labels of the input image by the result of an individual measure. SoMeasureImageProcessing engine supports same individual measurements than any analysis engine (SoLabelAnalysisQuantification). Arithmetic type of the ouput image depends on the measurement used as parameter. It can be LONG or FLOAT. For example, this engine can affect the surface value of labels at all voxels of the labels.
Figure 1: Grayscale and label input image
Figure 2: Result of SoMeasureImageProcessing command with Area as parameter (Left: standard gray colormap; Right: rainbow colormap)
SoLabelAnalysisQuantification.
computeMode | MODE_AUTO |
inLabelImage | NULL |
inIntensityImage | NULL |
measure | NULL |
SoMeasureImageProcessing::SoMeasureImageProcessing | ( | ) |
Constructor.
Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.
Default is MODE_AUTO
The input image Default value is NULL.
Supported types include: grayscale binary label color image.
The input label image Default value is NULL.
Supported types include: label color image.
Select a measure Default value is NULL.
The measure attributes to customize measurement.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoMeasureImageProcessing::outMeasureImage |
The output image Default value is NULL.
Supported types include: grayscale binary label color image.