public class SoGeodesicDistanceMapProcessing extends SoImageVizEngine
SoGeodesicDistanceMapProcessing
engine
The SoGeodesicDistanceMapProcessing
engine computes the Chamfer distance using a mask of forbidden areas.
This engine is like the SoChamferDistanceMapProcessing2d
and SoChamferDistanceMapProcessing3d
engines but uses mask to forbidden areas. This engine is very useful when obstacles are present in the image and should not be taken into account in the distance map.
Sample: Distance porosity measure.
![]() | ![]() |
![]() | ![]() |
See also:
SoChamferDistanceMapProcessing3d
, SoChamferDistanceMapProcessing2d
.
File format/default:
GeodesicDistanceMapProcessing {
computeMode | MODE_AUTO |
inBinaryImage | NULL |
inMaskImage | NULL |
Library references: distmask
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFEnum<SoImageVizEngine.ComputeModes> |
computeMode
Select the compute Mode (2D or 3D or AUTO) .
|
SoSFImageDataAdapter |
inBinaryImage
The input binary image.
|
SoSFImageDataAdapter |
inMaskImage
The binary image for the forbidden area (compute distance only outside).
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outMapImage
The output distance map image.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgress
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoGeodesicDistanceMapProcessing()
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
public final SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
public final SoSFImageDataAdapter inBinaryImage
public final SoSFImageDataAdapter inMaskImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outMapImage
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com