Class SoFloodFillThresholdProcessing
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.engines.SoEngine
-
- com.openinventor.imageviz.engines.SoImageVizEngine
-
- com.openinventor.imageviz.engines.imagesegmentation.regiongrowing.SoFloodFillThresholdProcessing
-
- All Implemented Interfaces:
SafeDisposable
public class SoFloodFillThresholdProcessing extends SoImageVizEngine
SoFloodFillThresholdProcessing
engine. TheSoFloodFillThresholdProcessing
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:
- Compute mode.
It is not really useful to apply this engine to a volume data set whencomputeMode
is set to MODE_2D. In this case the algorithm will only affect the slice that contains theseedPoint
Z value.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field 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.-
Fields inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
onBegin, onEnd, onProgress
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoFloodFillThresholdProcessing()
Constructor.
-
Method Summary
-
Methods inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
abortEvaluate, isEvaluating, startEvaluate, waitEvaluate
-
Methods inherited from class com.openinventor.inventor.engines.SoEngine
copy, getByName, getOutput, getOutputName
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Field Detail
-
computeMode
public final SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
Select the compute Mode (2D or 3D or AUTO) . Default is MODE_AUTO
-
inImage
public final SoSFImageDataAdapter inImage
Enter input grey level image (or select one in the list) Default value is NULL. Supported types include: grayscale binary label image.
-
seedPoint
public final SoSFVec3i32 seedPoint
Seed point. Default value isSbVec3i32(0,0,0)
.
-
thresholdLevel
public final SoSFVec2f thresholdLevel
Low and High threshold levels. Default value isSbVec2f
(128.0f,255.0f).
-
outBinaryImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outBinaryImage
Enter output binary image (or select one in the list) Default value is NULL. Supported types include: binary image.
-
-