SoFloodFillThresholdProcessing engine More...
#include <ImageViz/Engines/ImageSegmentation/RegionGrowing/SoFloodFillThresholdProcessing.h>
Public Member Functions | |
SoFloodFillThresholdProcessing () | |
Public Attributes | |
SoSFEnum | computeMode |
SoSFImageDataAdapter | inImage |
SoSFVec3i32 | seedPoint |
SoSFVec2f | thresholdLevel |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outBinaryImage |
The SoFloodFillThresholdProcessing engine transforms a grayscale image into a binary image performing a region growing from a seed.
For an introduction, see section Binarization.
The SoFloodFillThresholdProcessing engine performs a so-called region growing either in 2D or in 3D. Starting from a voxel seed the algorithm selects the largest connected area that contains the voxel itself and all voxels with gray values lying inside the input range. The input range is specified via the inputRange field.
Notes:
SoThresholdingProcessing, SoColorThresholdingProcessing.
computeMode | MODE_AUTO |
inImage | NULL |
seedPoint | 0 0 0 |
thresholdLevel | 128.0f 255.0f |
SoFloodFillThresholdProcessing::SoFloodFillThresholdProcessing | ( | ) |
Constructor.
Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.
Default is MODE_AUTO
Enter input grey level image (or select one in the list) Default value is NULL.
Supported types include: grayscale binary label image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoFloodFillThresholdProcessing::outBinaryImage |
Enter output binary image (or select one in the list) Default value is NULL.
Supported types include: binary image.
Seed point.
Default value is SbVec3i32(0,0,0).
Low and High threshold levels.
Default value is SbVec2f(128.0f,255.0f).