Class SoOpeningDiskByReconstructionProcessing2d
- 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.SoOpeningDiskByReconstructionProcessing2d
-
- All Implemented Interfaces:
SafeDisposable
public class SoOpeningDiskByReconstructionProcessing2d extends SoImageVizEngine
SoOpeningDiskByReconstructionProcessing2d
engine. TheSoOpeningDiskByReconstructionProcessing2d
engine performs a 2D closing by reconstruction using a structuring element matching with a disk.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:
OpeningDiskByReconstructionProcessing2d {
inImage NULL elementSize 3 precisionMode FASTER
Library references: diskopeningbyrec
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoOpeningDiskByReconstructionProcessing2d.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
Length of the disk's radius.SoSFImageDataAdapter
inImage
Input image.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outImage
Output image.SoSFEnum<SoOpeningDiskByReconstructionProcessing2d.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 SoOpeningDiskByReconstructionProcessing2d()
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
Length of the disk's radius. Default value is 3.
-
precisionMode
public final SoSFEnum<SoOpeningDiskByReconstructionProcessing2d.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.
-
-