SoDilationDiskProcessing2d engine More...
#include <ImageViz/Engines/MathematicalMorphology/ErosionAndDilation/SoDilationDiskProcessing2d.h>
Public Types | |
enum | PrecisionMode { FASTER = 0, PRECISE = 1 } |
Public Member Functions | |
SoDilationDiskProcessing2d () | |
Public Attributes | |
SoSFImageDataAdapter | inImage |
SoSFInt32 | elementSize |
SoSFEnum | precisionMode |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
The SoDilationDiskProcessing2d engine performs a 2D dilation using a structuring element matching with a disc.
For an introduction, see:
This engine performs a 2D dilation 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.
inImage | NULL |
elementSize | 3 |
precisionMode | FASTER |
SoDilationDiskProcessing2d::SoDilationDiskProcessing2d | ( | ) |
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*> SoDilationDiskProcessing2d::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