Class SoPruningProcessing3d

  • All Implemented Interfaces:
    SafeDisposable

    public class SoPruningProcessing3d
    extends SoImageVizEngine
    SoPruningProcessing3d engine. The SoPruningProcessing3d 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. The SoPruningProcessing3d engine eliminates these artifacts by thinning with the E configuration until convergence.

    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 in permissive mode. The strict mode will also stop when an intersection or a right angle is encountered.

    See also: SoSkeletonProcessing, SoPruningProcessing2d, SoEndPointsProcessing3d.

    File format/default:

    PruningProcessing3d {

      computeMode MODE_AUTO
      neighborhood3d CONNECTIVITY_26
      inBinaryImage NULL
      pruningMode RIGOROUS
      maxLength 1
    }


    Library references: pruning3d