SoGradientLocalMaximaProcessing2d engine More...
#include <ImageViz/Engines/EdgeDetection/EdgeMarking/SoGradientLocalMaximaProcessing2d.h>
Public Member Functions | |
SoGradientLocalMaximaProcessing2d () | |
Public Attributes | |
SoSFImageDataAdapter | inGradientXImage |
SoSFImageDataAdapter | inGradientYImage |
SoSFImageDataAdapter | inAmplitudeImage |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
The SoGradientLocalMaximaProcessing2d engine suppresses the non-local maxima of the gradient amplitude.
For an introduction, see:
The SoGradientLocalMaximaProcessing2d engine suppresses the non-local maxima of the gradient amplitude. For each pixel of gradient image, gray level values within the neighborhood in the direction of the gradient are computed (given by X and Y gradients). If this value is greater than all of its neighbors, it is kept, otherwise it is set to 0. This module eliminates some noise effects. It is very useful after applying the module SoGradientOperatorProcessing2d. The output edges are one pixel thickness edges. It is then possible to perform a SoHysteresisThresholdingProcessing.
inGradientXImage | NULL |
inGradientYImage | NULL |
inAmplitudeImage | NULL |
SoGradientLocalMaximaProcessing2d::SoGradientLocalMaximaProcessing2d | ( | ) |
Constructor.
The gradient amplitude input image.
Default value is NULL. Supported types include: grayscale binary label color image.
The input X-gradient image.
Default value is NULL. Supported types include: grayscale color image.
The input Y-gradient image.
Default value is NULL. Supported types include: grayscale color image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoGradientLocalMaximaProcessing2d::outImage |
The output image.
Default value is NULL. Supported types include: grayscale binary label color image.