public class SoPruneProcessing2d extends SoImageVizEngine
SoPruneProcessing2d
engine.
The SoPruneProcessing2d
engine prunes the result of a skeletonization.
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,
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.
|
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, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
getNativeResourceHandle
public final SoSFImageDataAdapter inImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outImage
Generated on July 31, 2019, Copyright � Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com