SoErosionDiskProcessing2d Class Reference
[Erosion And Dilation]

ImageViz SoErosionDiskProcessing2d engine More...

#include <ImageViz/Engines/MathematicalMorphology/ErosionAndDilation/SoErosionDiskProcessing2d.h>

Inheritance diagram for SoErosionDiskProcessing2d:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  PrecisionMode {
  FASTER = 0,
  PRECISE = 1
}

Public Member Functions

 SoErosionDiskProcessing2d ()

Public Attributes

SoSFImageDataAdapter inImage
SoSFInt32 elementSize
SoSFEnum precisionMode
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outImage

Detailed Description

ImageViz SoErosionDiskProcessing2d engine

The SoErosionDiskProcessing2d engine performs a 2D erosion using a structuring element matching with a disc

For an introduction, see:

This engine performs a 2D erosion of an image using a structuring element matching with a disc.

This engine supports two modes: a fast mode which combines erosions using different neighborhoods and a precise mode (slower) which ensures a real disc structuring element.

SEE ALSO

SoDilationDiskProcessing2d.

FILE FORMAT/DEFAULT


Library references: diskerode


Member Enumeration Documentation

Enumerator:
FASTER 

The operation is computed with a precise mode.

PRECISE 

The operation is computed with a fast mode.


Constructor & Destructor Documentation

SoErosionDiskProcessing2d::SoErosionDiskProcessing2d (  ) 

Constructor.


Member Data Documentation

The half size of the structuring element.

A structuring element always has an odd side length (3x3, 5x5, etc) which is defined by 2 * elementSize + 1. Default value is 3.

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.

Select the precision for computation method.

Use enum PrecisionMode. Default is FASTER


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/