public class SoFloodFillThresholdProcessing extends SoImageVizEngine
SoFloodFillThresholdProcessing
engine
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:
computeMode
is set to MODE_2D. In this case the algorithm will only affect the slice that contains the seedPoint
Z value.
See also:
SoThresholdingProcessing
, SoColorThresholdingProcessing
.
File format/default:
FloodFillThresholdProcessing {
computeMode | MODE_AUTO |
inImage | NULL |
seedPoint | 0 0 0 |
thresholdLevel | 128.0f 255.0f |
Library references: floodfill_threshold floodfill_threshold3d
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFEnum<SoImageVizEngine.ComputeModes> |
computeMode
Select the compute Mode (2D or 3D or AUTO) .
|
SoSFImageDataAdapter |
inImage
Enter input grey level image (or select one in the list) Default value is NULL.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outBinaryImage
Enter output binary image (or select one in the list) Default value is NULL.
|
SoSFVec3i32 |
seedPoint
Seed point.
|
SoSFVec2f |
thresholdLevel
Low and High threshold levels.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgress
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoFloodFillThresholdProcessing()
Constructor.
|
abortEvaluate, isEvaluating, startEvaluate, waitEvaluate
copy, getByName, getOutput, getOutputName
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable, touch
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public final SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
public final SoSFImageDataAdapter inImage
public final SoSFVec3i32 seedPoint
SbVec3i32(0,0,0)
.public final SoSFVec2f thresholdLevel
SbVec2f
(128.0f,255.0f).public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outBinaryImage
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com