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 the morphologicalLut
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
Modifier and Type | Class and Description |
---|---|
static class |
SoApplyMorphologicalLutProcessing2d.MatchingActions
Action to use for matching and no-matching fields.
|
static class |
SoApplyMorphologicalLutProcessing2d.SbApplyMorphLutDetail
Results details of morphological Lut processing.
|
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
Inventor.ConstructorCommand
Modifier and Type | Field and 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.
|
static int |
SET_CHANGE
Deprecated.
|
static int |
SET_ONE
Deprecated.
|
static int |
SET_UNCHANGE
Deprecated.
|
static int |
SET_ZERO
Deprecated.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgress
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoApplyMorphologicalLutProcessing2d()
Constructor.
|
abortEvaluate, isEvaluating, startEvaluate, waitEvaluate
copy, getByName, getOutput, getOutputName
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable, touch
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int SET_ZERO
SoApplyMorphologicalLutProcessing2d.MatchingActions.SET_ZERO
instead.@Deprecated public static final int SET_ONE
SoApplyMorphologicalLutProcessing2d.MatchingActions.SET_ONE
instead.@Deprecated public static final int SET_CHANGE
SoApplyMorphologicalLutProcessing2d.MatchingActions.SET_CHANGE
instead.@Deprecated public static final int SET_UNCHANGE
SoApplyMorphologicalLutProcessing2d.MatchingActions.SET_UNCHANGE
instead.public final SoSFImageDataAdapter inBinaryImage
public final SoSFMorphoLut2D morphologicalLut
public final SoSFEnum<SoApplyMorphologicalLutProcessing2d.MatchingActions> matchingFlag
public final SoSFEnum<SoApplyMorphologicalLutProcessing2d.MatchingActions> noMatchingFlag
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outBinaryImage
public final SoImageVizEngineAnalysisOutput<SoApplyMorphologicalLutProcessing2d.SbApplyMorphLutDetail> outModifiedVoxels
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com