public class SoChessboardDistanceMapProcessing extends SoImageVizEngine
SoChessboardDistanceMapProcessing
engine.
The SoChessboardDistanceMapProcessing
engine computes the chessboard distance transformation.
This engine is based upon a recursive method and work in two iterations. It is used for particle segmentation, before a Watershed engine.
This engine calculates the distance function of a binary image onto a gray level image, as the sum of successive erosions. The output image is a 16-bits signed image.
In the output image , a voxel
belonging to a particle
, takes an intensity
equal to the distance in voxel units to the boundary. For a rectangular grid the distance is defined as:
Where denotes the so called Chessboard distance:
See also:
SoChamferDistanceMapProcessing2d
.
File format/default:
ChessboardDistanceMapProcessing {
computeMode | MODE_AUTO |
inBinaryImage | NULL |
Library references: distance
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.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outMapImage
The output distance map image.
|
onBegin, onEnd, onProgress
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoChessboardDistanceMapProcessing()
Constructor.
|
abortEvaluate, isEvaluating, startEvaluate, waitEvaluate
copy, getByName, getOutput, getOutputName
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
getNativeResourceHandle
public final SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
public final SoSFImageDataAdapter inBinaryImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outMapImage
Generated on July 31, 2019, Copyright � Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com