SoPruneProcessing2d Class Reference
[Hit-Or-Miss And Skeleton]

ImageViz SoPruneProcessing2d engine More...

#include <ImageViz/Engines/MathematicalMorphology/HitOrMissAndSkeleton/SoPruneProcessing2d.h>

Inheritance diagram for SoPruneProcessing2d:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

 SoPruneProcessing2d ()

Public Attributes

SoSFImageDataAdapter inImage
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outImage

Detailed Description

ImageViz 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:

\[ \begin{array}{ccc} 0 & \times & \times\\ 0 & \bullet & 0\\ 0 & 0 & 0 \end{array} \]

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.

SoPruneProcessing2d_image01.png

Pruning

See also: SoSkeletonProcessing, SoPruneProcessing3d, SoTriplePointsProcessing2d, SoEndPointsProcessing2d.

FILE FORMAT/DEFAULT


Library references: prune


Constructor & Destructor Documentation

SoPruneProcessing2d::SoPruneProcessing2d (  ) 

Constructor.


Member Data Documentation

The input image.

Default value is NULL. Supported types include: grayscale binary label color image.

The output image.

Default value is NULL. Supported types include: grayscale binary label color image.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/