SoColorThresholdingProcessing engine More...
#include <ImageViz/Engines/ImageSegmentation/Binarization/SoColorThresholdingProcessing.h>
Public Member Functions | |
SoColorThresholdingProcessing () | |
Public Attributes | |
SoSFEnum | computeMode |
SoSFImageDataAdapter | inColorImage |
SoSFVec2f | thresholdLevelRed |
SoSFVec2f | thresholdLevelGreen |
SoSFVec2f | thresholdLevelBlue |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outBinaryImage |
The SoColorThresholdingProcessing engine transforms a color image into a binary image.
For an introduction, see section Binarization.
The SoColorThresholdingProcessing engine thresholds a color image. The thresholds parameter allows you to select the range for the RGB or HSL levels, depending on the type of image.
computeMode | MODE_AUTO |
inColorImage | NULL |
thresholdLevelRed | 128.0f 255.0f |
thresholdLevelGreen | 128.0f 255.0f |
thresholdLevelBlue | 128.0f 255.0f |
SoColorThresholdingProcessing::SoColorThresholdingProcessing | ( | ) |
Constructor.
Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.
Default is MODE_AUTO
The input color image.
Default value is NULL. Supported types include: grayscale binary label color image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoColorThresholdingProcessing::outBinaryImage |
The output binary image.
Default value is NULL. Supported types include: binary image.
The low and high blue threshold.
Default value is SbVec2f(128.0f,255.0f).
low and high green threshold.
Default value is SbVec2f(128.0f,255.0f).
The Low and high red threshold.
Default value is SbVec2f(128.0f,255.0f).