SoAssignLabelProcessing engine
More...
#include <ImageViz/Engines/ImageSegmentation/Labeling/SoAssignLabelProcessing.h>
Public Member Functions | |
| SoAssignLabelProcessing () | |
Public Attributes | |
| SoSFEnum | computeMode |
| SoSFImageDataAdapter | inBinaryImage |
| SoSFInt32 | labelValue |
| SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outLabelImage |
SoAssignLabelProcessing engine
The SoAssignLabelProcessing engine converts a binary image into a label image changing the values of its pixels/voxels to a specific value.
The SoAssignLabelProcessing engine is used to assign a new specific label value to a binary image.
A label image may be 16 or 32 bits per pixel. By default it is 2 bytes per pixel, but if the number of labels exceeds 65,535 then the output image is automatically converted to 4 bytes and then can manage more than 2 billion labels.
| computeMode | MODE_AUTO |
| inBinaryImage | NULL |
| labelValue | 1 |
| SoAssignLabelProcessing::SoAssignLabelProcessing | ( | ) |
Constructor.
Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.
Default is MODE_AUTO
The input binary image.
Default value is NULL. Supported types include: binary color image.
The label value to assign.
Default value is 1.
| SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoAssignLabelProcessing::outLabelImage |
The output label image.
Default value is NULL. Supported types include: label image.