Class SoInfluenceZonesProcessing
- 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.mathematicalmorphology.hitormissandskeleton.SoInfluenceZonesProcessing
-
- All Implemented Interfaces:
SafeDisposable
public class SoInfluenceZonesProcessing extends SoImageVizEngine
SoInfluenceZonesProcessing
engine. TheSoInfluenceZonesProcessing
engine computes the skeleton by Influence Zone (SKIZ).For an introduction, see section :
- Morphology
- Skeletonization
Skeletonization is used to produce a simplified representation of the objects in an image, while preserving their geometrical structure. The representation may then be used to calculate length, direction, etc. or to detect special topological structures such as end or triple points (number of crossings). Skeletonization is a transformation based on the thinning of connected components until a line is achieved.
This engine produces a pruned skeleton of the background. The influence zone of a particle X is the set of points closer to X than to any other particle Y. The skeleton by influence zones is the boundary splitting the different influence zones, and it separates the image into zones surrounding each object.
This engine searches the skeleton of a binary or labelled image by influence zones. If the input is a binary image, it is first labelled, then the influence zones are determined by successive conditional dilations. The process stops as soon as all the zones are hitting each other.
File format/default:
InfluenceZonesProcessing {
computeMode MODE_AUTO neighborhood3d CONNECTIVITY_26 inObjectImage NULL
Library references: skiz
-
-
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
inObjectImage
The input binary or label image.SoSFEnum<SoImageVizEngine.Neighborhood3ds>
neighborhood3d
In 3D configuration (seecomputeMode
), the neighborhood connectivity defines the connectivity considered for processing adjacent voxels.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outBinaryImage
The output binary image.-
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 SoInfluenceZonesProcessing()
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
-
neighborhood3d
public final SoSFEnum<SoImageVizEngine.Neighborhood3ds> neighborhood3d
In 3D configuration (seecomputeMode
), the neighborhood connectivity defines the connectivity considered for processing adjacent voxels. . Default is CONNECTIVITY_26.
-
inObjectImage
public final SoSFImageDataAdapter inObjectImage
The input binary or label image. Default value is NULL. Supported types include: binary label color image.
-
outBinaryImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outBinaryImage
The output binary image. Default value is NULL. Supported types include: binary image.
-
-