SoRadialGradientLabelProcessing3d engine
More...
#include <ImageViz/Engines/EdgeDetection/Gradient/SoRadialGradientLabelProcessing3d.h>
Public Member Functions | |
| SoRadialGradientLabelProcessing3d () | |
Public Attributes | |
| SoSFImageDataAdapter | inGradientXImage |
| SoSFImageDataAdapter | inGradientYImage |
| SoSFImageDataAdapter | inGradientZImage |
| SoSFImageDataAdapter | inMarkerImage |
| SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outNormalImage |
SoRadialGradientLabelProcessing3d engine
The SoRadialGradientLabelProcessing3d engine performs a projected gradient computing the directional vector.
For an introduction, see:
In the continuous 3-D case, for a given pixel
and knowing the gradient
,
and
, the projected gradient of an image
is defined along the unitary vector
, as :
The SoRadialGradientLabelProcessing3d engine performs a projected gradient computing the directional vector from all centers of the objects in the image label. For a pixel
in the image, the center
taken into account is the center of the closest object label.
SoGradientOperatorProcessing3d, SoRadialGradientLabelProcessing2d.
| inGradientXImage | NULL |
| inGradientYImage | NULL |
| inGradientZImage | NULL |
| inMarkerImage | NULL |
| SoRadialGradientLabelProcessing3d::SoRadialGradientLabelProcessing3d | ( | ) |
Constructor.
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.
The input Z-gradient image.
Default value is NULL. Supported types include: grayscale color image.
The input marker image.
Default value is NULL. Supported types include: label color image.
| SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoRadialGradientLabelProcessing3d::outNormalImage |
The output normal gradient image.
Default value is NULL. Supported types include: grayscale binary label color image.