SoDilationSquareColorProcessing2d engine More...
#include <ImageViz/Engines/MathematicalMorphology/ErosionAndDilation/SoDilationSquareColorProcessing2d.h>
Public Types | |
enum | CriterionPlane { LUMINANCE = 0, SATURATION = 1 } |
Public Member Functions | |
SoDilationSquareColorProcessing2d () | |
Public Attributes | |
SoSFImageDataAdapter | inColorImage |
SoSFInt32 | elementSize |
SoSFEnum | criterionPlane |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outColorImage |
The SoDilationSquareColorProcessing2d engine performs a dilation on a true-color image.
For an introduction, see:
This engine performs a dilation on a true-color image composed of 3 channels: red, green and blue. The maximum in the neighborhood is either computed on the Luminance or the Saturation of pixels, and the center is set to the pixel which gives the maximum Luminance or Saturation. With this method, no new color is created.
SoErosionSquareColorProcessing2d.
inColorImage | NULL |
elementSize | 3 |
criterionPlane | LUMINANCE |
SoDilationSquareColorProcessing2d::SoDilationSquareColorProcessing2d | ( | ) |
Constructor.
The plane to compute criterion.
Use enum CriterionPlane. Default is LUMINANCE
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 color image.
Default value is NULL. Supported types include: grayscale binary label color image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoDilationSquareColorProcessing2d::outColorImage |
The output color image.
Default value is NULL. Supported types include: grayscale binary label color image.