Class SoOpeningBallByReconstructionProcessing3d
- 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.SoOpeningBallByReconstructionProcessing3d
-
- All Implemented Interfaces:
SafeDisposable
public class SoOpeningBallByReconstructionProcessing3d extends SoImageVizEngine
SoOpeningBallByReconstructionProcessing3d
engine. TheSoOpeningBallByReconstructionProcessing3d
performs a 3D closing by reconstruction using a structuring element matching with a ball.An opening by reconstruction consists in applying an erosion followed by a morphological reconstruction. In the binary case an opening by reconstruction can be used for removing small objects without modifying edges of the large objects. In the grayscale case opening by reconstruction can be used for performing a Top Hat by reconstruction which allows to detect bright 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 8 and 4 neighborhoods.
- A precise mode (slower) which ensures a real circular structuring element.
File format/default:
OpeningBallByReconstructionProcessing3d {
inImage NULL elementSize 3 precisionMode FASTER
Library references: sphereopeningbyrec3d
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoOpeningBallByReconstructionProcessing3d.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 Default value is NULL.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outImage
Output image.SoSFEnum<SoOpeningBallByReconstructionProcessing3d.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 SoOpeningBallByReconstructionProcessing3d()
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<SoOpeningBallByReconstructionProcessing3d.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.
-
-