Class SoPruneProcessing2d

  • All Implemented Interfaces:
    SafeDisposable

    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.

    Pruning See also: SoSkeletonProcessing, SoTriplePointsProcessing2d, SoEndPointsProcessing2d.

    File format/default:

    PruneProcessing2d {

      inImage NULL
    }


    Library references: prune

    • Constructor Detail

      • SoPruneProcessing2d

        public SoPruneProcessing2d()
        Constructor.