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