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.Neighborhood3dsInventor.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, onProgressVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoGeodesicDistanceMapProcessing()
Constructor.
|
abortEvaluate, isEvaluating, startEvaluate, waitEvaluatecopy, getByName, getOutput, getOutputNamecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable, touchgetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic final SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
public final SoSFImageDataAdapter inBinaryImage
public final SoSFImageDataAdapter inMaskImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outMapImage
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com