public class SoPruningProcessing3d extends SoImageVizEngine
The skeleton is very sensitive to small distortions on the edges of the objects, generating artifacts called prunes. The SoPruneProcessing3d 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, SoPruneProcessing2d
, SoEndPointsProcessing3d
.
File format/default:
PruningProcessing3d {
computeMode | MODE_AUTO |
neighborhood3d | CONNECTIVITY_26 |
inBinaryImage | NULL |
pruningMode | RIGOROUS |
maxLength | 1 |
Library references: pruning3d
Modifier and Type | Class and Description |
---|---|
static class |
SoPruningProcessing3d.PruningModes |
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 image.
|
SoSFInt32 |
maxLength
Enter the number of iterations (0:until convergence) Default value is 1.
|
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.
|
static int |
PERMISSIVE
Deprecated.
Use
SoPruningProcessing3d.PruningModes.PERMISSIVE instead. |
SoSFEnum<SoPruningProcessing3d.PruningModes> |
pruningMode
End point mode .
|
static int |
RIGOROUS
Deprecated.
Use
SoPruningProcessing3d.PruningModes.RIGOROUS instead. |
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgress
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoPruningProcessing3d()
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
@Deprecated public static final int RIGOROUS
SoPruningProcessing3d.PruningModes.RIGOROUS
instead.@Deprecated public static final int PERMISSIVE
SoPruningProcessing3d.PruningModes.PERMISSIVE
instead.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 SoSFEnum<SoPruningProcessing3d.PruningModes> pruningMode
public final SoSFInt32 maxLength
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outBinaryImage
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com