SoRemoveSmallSpotsProcessing engine More...
#include <ImageViz/Engines/ImageSegmentation/FeatureSelection/SoRemoveSmallSpotsProcessing.h>
Public Member Functions | |
SoRemoveSmallSpotsProcessing () | |
Public Attributes | |
SoSFEnum | computeMode |
SoSFImageDataAdapter | inObjectImage |
SoSFFloat | objectSize |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outObjectImage |
The SoRemoveSmallSpotsProcessing engine removes smallest spots in a binary image
This module allows removing the smallest spots in a binary image. The objectSize parameter indicates the maximum size of the spots to be removed.
In order to remove the spots, this engine filters the image with:
computeMode | MODE_AUTO |
inObjectImage | NULL |
objectSize | 10.0f |
SoRemoveSmallSpotsProcessing::SoRemoveSmallSpotsProcessing | ( | ) |
Constructor.
Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.
Default is MODE_AUTO
The input binary or label image.
Default value is NULL. Supported types include: binary label color image.
The maximum size of objects to delete.
Default value is 10.0f.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoRemoveSmallSpotsProcessing::outObjectImage |
The output binary or label image.
Default value is NULL. Supported types include: grayscale binary label color image.