public class SoPruneProcessing2d extends SoImageVizEngine
SoPruneProcessing2d
engine
The SoPruneProcessing2d
engine prunes the result of a skeletonization. It removes all object voxels having only one neighbor. It can be applied either specifying a number of iterations or until convergence. This filter can be used for removing terminal branches from a skeleton.
The skeleton is very sensitive to small distortions on the edges of the objects, generating artifacts called prunes. The SoPruneProcessing2d
engine eliminates these prunes by thinning with the E configuration until convergence. The structuring element is:
The problem is to determine the number of iterations for the pruning as thinning until convergence will remove all the skeletons except loops and branches intersecting the frame of the image.
See also: SoSkeletonProcessing, SoPruneProcessing3d,
SoTriplePointsProcessing2d
, SoEndPointsProcessing2d
.
File format/default:
PruneProcessing2d {
inImage | NULL |
Library references: prune
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFImageDataAdapter |
inImage
The input image.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outImage
The output image.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgress
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoPruneProcessing2d()
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 SoSFImageDataAdapter inImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outImage
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com