Class SoHExtremaProcessing
- 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.geodesictransformations.SoHExtremaProcessing
-
- All Implemented Interfaces:
SafeDisposable
public class SoHExtremaProcessing extends SoImageVizEngine
SoHExtremaProcessing
engine. TheSoHExtremaProcessing
engine merges the regional minima or maxima.This engine merges regional minima or maxima based on a contrast coefficient criterion h. It is useful for filtering noisy minima or maxima sets. It can also be used as particle markers in various algorithms, e.g. watershed detection.
Case Minima
The input is added to the contrast coefficient h, then a
SoExtremaImpositionProcessing
(case Erosion) is performed on the result of the addition.The regional minima of the reconstructed image are called the H-Minima.
Case Maxima
The input is subtracted from the contrast coefficient h, then a
SoExtremaImpositionProcessing
(case Dilation) is performed on the result of the subtraction.The regional maxima of the reconstructed image are called the H-Maxima.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoHExtremaProcessing.RegionalOperators
-
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) .SoSFInt32
contrast
The contrast.SoSFImageDataAdapter
inImage
The input 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.SoSFEnum<SoHExtremaProcessing.RegionalOperators>
regionalOperator
Select the operator.-
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 SoHExtremaProcessing()
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.
-
regionalOperator
public final SoSFEnum<SoHExtremaProcessing.RegionalOperators> regionalOperator
Select the operator. . Default is MAXIMA
-
inImage
public final SoSFImageDataAdapter inImage
The input image. Default value is NULL. Supported types include: grayscale image.
-
contrast
public final SoSFInt32 contrast
The contrast. Default value is 4.
-
outBinaryImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outBinaryImage
The output binary image. Default value is NULL. Supported types include: binary image.
-
-