Class SoApplyMorphologicalLutProcessing2d
- 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.SoApplyMorphologicalLutProcessing2d
-
- All Implemented Interfaces:
SafeDisposable
public class SoApplyMorphologicalLutProcessing2d extends SoImageVizEngine
SoApplyMorphologicalLutProcessing2d
engine allows to apply a morphological look up table on a 2D image. For an introduction, see section Morphological LUT.The
SoApplyMorphologicalLutProcessing2d
engine applies the selected morphological lookup table (LUT) on the input image.Before launching this engine, the morphological LUT has to be built using the
SoMorphoLut2D.insertKernel
method of themorphologicalLut
field.The "Apply a 2D-morphological LUT on an image" demo shows how to implement morphological thinning, thickening and hit-or-miss operations thanks to the
SoApplyMorphologicalLutProcessing2d
engine.File format/default:
ApplyMorphologicalLutProcessing2d {
inBinaryImage NULL morphologicalLut 0
Library references: apply_morph_lut
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoApplyMorphologicalLutProcessing2d.MatchingActions
Action to use for matching and no-matching fields.static class
SoApplyMorphologicalLutProcessing2d.SbApplyMorphLutDetail
Results details of morphological Lut processing.-
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 SoSFImageDataAdapter
inBinaryImage
The input binary image.SoSFEnum<SoApplyMorphologicalLutProcessing2d.MatchingActions>
matchingFlag
The value set when the condition is verified.SoSFMorphoLut2D
morphologicalLut
The input morphological LUT array.SoSFEnum<SoApplyMorphologicalLutProcessing2d.MatchingActions>
noMatchingFlag
The value set when the condition is not verified.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outBinaryImage
The output binary image.SoImageVizEngineAnalysisOutput<SoApplyMorphologicalLutProcessing2d.SbApplyMorphLutDetail>
outModifiedVoxels
The number of modified voxels.-
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 SoApplyMorphologicalLutProcessing2d()
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
-
inBinaryImage
public final SoSFImageDataAdapter inBinaryImage
The input binary image. Default value is NULL. Supported types include: binary color image.
-
morphologicalLut
public final SoSFMorphoLut2D morphologicalLut
The input morphological LUT array. Default value is 0.
-
matchingFlag
public final SoSFEnum<SoApplyMorphologicalLutProcessing2d.MatchingActions> matchingFlag
The value set when the condition is verified. . Default is SET_ONE
-
noMatchingFlag
public final SoSFEnum<SoApplyMorphologicalLutProcessing2d.MatchingActions> noMatchingFlag
The value set when the condition is not verified. . Default is SET_ZERO
-
outBinaryImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outBinaryImage
The output binary image. Default value is NULL. Supported types include: grayscale binary label color image.
-
outModifiedVoxels
public final SoImageVizEngineAnalysisOutput<SoApplyMorphologicalLutProcessing2d.SbApplyMorphLutDetail> outModifiedVoxels
The number of modified voxels. Default value is NULL.
-
-