Class SoClosingDiskByReconstructionProcessing2d

  • All Implemented Interfaces:

    public class SoClosingDiskByReconstructionProcessing2d
    extends SoImageVizEngine
    As of Open Inventor 2023.2. ImageViz API is replaced by the new ImageDev toolkit.
    SoClosingDiskByReconstructionProcessing2d engine. The SoClosingDiskByReconstructionProcessing2dengine engine performs a 2D closing by reconstruction using a structuring element matching with a disk.

    A closing by reconstruction consists in applying a dilation followed by a morphological reconstruction. In the binary case a closing by reconstruction can be used for filling small holes without modifying edges of the objects. In the grayscale case closing by reconstruction can be used for performing a Top Hat by reconstruction which allows to detect dark small structures without getting artifacts from the boundary concavities of large structures.

    This command supports two modes:

    • A fast mode which approximates a circular structuring element by combining dilations and erosions using 8 and 4 neighborhoods.
    • A precise mode (slower) which ensures a real circular structuring element.

    File format/default:

    ClosingDiskByReconstructionProcessing2d {

      inImage NULL
      elementSize 3
      precisionMode FASTER

    Library references: diskclosingbyrec