public class SoUltimateErosionProcessing extends SoImageVizEngine
SoUltimateErosionProcessing
engine
The SoUltimateErosionProcessing
engine computes the SoUltimateErosionProcessing
eroded set.
For an introduction, see section Morphology.
This engine computes the SoUltimateErosionProcessing
eroded set of the input image. Ultimate erosion consists of successive erosion of the image until all objects disappear ( images below). Then each erosion step is reconstructed into the previous erosion step (
image below). The difference between the eroded image
and the reconstructed image
is the centroid of objects which disappeared at the erosion step number
.
This engine enables counting the number of convex particles, even if some of them are touching each other, as long as the pseudo-centre of each particle is outside of other particles.
See also:
SoBorderKillProcessing
, SoReconstructionFromMarkersProcessing
.
File format/default:
UltimateErosionProcessing {
computeMode | MODE_AUTO |
neighborhood3d | CONNECTIVITY_26 |
inBinaryImage | NULL |
Library references: ultimate
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.
|
SoSFEnum<SoImageVizEngine.Neighborhood3ds> |
neighborhood3d
In 3D configuration (see
computeMode ), the neighborhood connectivity defines the connectivity considered for processing adjacent voxels. |
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outBinaryImage
The output binary image.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgress
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoUltimateErosionProcessing()
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 SoSFEnum<SoImageVizEngine.Neighborhood3ds> neighborhood3d
computeMode
), the neighborhood connectivity defines the connectivity considered for processing adjacent voxels.
. Default is CONNECTIVITY_26.public final SoSFImageDataAdapter inBinaryImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outBinaryImage
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com