Class SoGeodesicDistanceMapProcessing
- 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.distancemaps.SoGeodesicDistanceMapProcessing
-
- All Implemented Interfaces:
SafeDisposable
public class SoGeodesicDistanceMapProcessing extends SoImageVizEngine
SoGeodesicDistanceMapProcessing
engine. TheSoGeodesicDistanceMapProcessing
engine computes the Chamfer distance using a mask of forbidden areas.This engine is like the
SoChamferDistanceMapProcessing2d
andSoChamferDistanceMapProcessing3d
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.
Figure 4 & 5: Distance map of the porosity with the rainbox2 LUT
(taken the outside of object as the starting point of the distance map)
-
-
Nested Class Summary
-
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) .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.-
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 SoGeodesicDistanceMapProcessing()
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
-
inBinaryImage
public final SoSFImageDataAdapter inBinaryImage
The input binary image. Default value is NULL. Supported types include: binary color image.
-
inMaskImage
public final SoSFImageDataAdapter inMaskImage
The binary image for the forbidden area (compute distance only outside). Default value is NULL. Supported types include: binary color image.
-
outMapImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outMapImage
The output distance map image. Default value is NULL. Supported types include: grayscale binary label color image.
-
-