SoClosingDiskProcessing2d engine More...
#include <ImageViz/Engines/MathematicalMorphology/OpeningAndClosing/SoClosingDiskProcessing2d.h>
Public Types | |
enum | PrecisionMode { FASTER = 0, PRECISE = 1 } |
Public Member Functions | |
SoClosingDiskProcessing2d () | |
Public Attributes | |
SoSFImageDataAdapter | inImage |
SoSFInt32 | elementSize |
SoSFEnum | precisionMode |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
The SoClosingDiskProcessing2d engine performs a 2D closing using a structuring element matching with a disc.
For an introduction, see:
This engine performs a 2D closing of an image using a structuring element matching with a disc.
This engine supports two modes: a fast mode which combines dilations and erosions using different neighborhoods and a precise mode (slower) which ensures a real disc structuring element.
inImage | NULL |
elementSize | 3 |
precisionMode | FASTER |
SoClosingDiskProcessing2d::SoClosingDiskProcessing2d | ( | ) |
Constructor.
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.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoClosingDiskProcessing2d::outImage |
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