SoReorderLabelsProcessing image filter More...
#include <ImageViz/Engines/ImageSegmentation/Labeling/SoReorderLabelsProcessing.h>
Public Member Functions | |
SoReorderLabelsProcessing () | |
Public Attributes | |
SoSFEnum | computeMode |
SoSFImageDataAdapter | inLabelImage |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outLabelImage |
The SoReorderLabelsProcessing forces label values to be consecutive.
When a label image has some missing values in its histogram, it is not possible to automatically reassign consecutive labels using the SoLabelingProcessing command. By definition, that filter assigns a unique value to each connected component. The SoReorderLabelsProcessing filter fills the missing values of the histogram while preserving the original connectivity of the input labels.
computeMode | MODE_AUTO |
inLabelImage | NULL |
SoReorderLabelsProcessing::SoReorderLabelsProcessing | ( | ) |
Constructor.
Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.
Default is MODE_AUTO
The input label image.
Default value is NULL. Supported types include: label color image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoReorderLabelsProcessing::outLabelImage |
The output label image.
Default value is NULL. Supported types include: label image.