Class SoClosingBallByReconstructionProcessing3d
- 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.openingandclosing.SoClosingBallByReconstructionProcessing3d
-
- All Implemented Interfaces:
SafeDisposable
public class SoClosingBallByReconstructionProcessing3d extends SoImageVizEngine
SoClosingBallByReconstructionProcessing3d
engine. TheSoClosingBallByReconstructionProcessing3d
performs a 3D closing by reconstruction using a structuring element matching with a ball.A closing by reconstruction consists in applying a dilation followed by a morphological reconstruction. In the binary case a closing by reconstruction can be used for filling small holes without modifying edges of the objects. In the grayscale case closing by reconstruction can be used for performing a Top Hat by reconstruction which allows to detect dark small structures without getting artifacts from the boundary concavities of large structures.
This command supports two modes:
- A fast mode which approximates a circular structuring element by combining dilations and erosions using 6, 18 and 26 neighborhoods.
- A precise mode (slower) which ensures a real circular structuring element.
File format/default:
ClosingBallByReconstructionProcessing3d {
inImage NULL elementSize 3 precisionMode FASTER
Library references: sphereclosingbyrec3d
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoClosingBallByReconstructionProcessing3d.PrecisionModes
-
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 SoSFInt32
elementSize
Ball's radius.SoSFImageDataAdapter
inImage
Input image.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outImage
Output image.SoSFEnum<SoClosingBallByReconstructionProcessing3d.PrecisionModes>
precisionMode
Precision for computation method.-
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 SoClosingBallByReconstructionProcessing3d()
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
-
inImage
public final SoSFImageDataAdapter inImage
Input image. Default value is NULL. Supported types include: grayscale binary label image.
-
elementSize
public final SoSFInt32 elementSize
Ball's radius. Default value is 3.
-
precisionMode
public final SoSFEnum<SoClosingBallByReconstructionProcessing3d.PrecisionModes> precisionMode
Precision for computation method. . Default is FASTER
-
outImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outImage
Output image. Default value is NULL. Supported types include: grayscale binary label image.
-
-