SoGradientOperatorProcessing3d engine provides different operators to extract the edges from a 3D image. More...
#include <ImageViz/Engines/EdgeDetection/Gradient/SoGradientOperatorProcessing3d.h>
Public Types | |
enum | GradientOperator { CANNY_DERICHE = 0, CANNY = 1, GAUSSIAN = 2, SOBEL = 4, PREWITT = 3 } |
enum | GradientMode { AMPLITUDE_MAX_OF_MAGS = 0, X_Y_AND_Z_GRADIENTS = 1, AMPLITUDE_EUCLIDEAN = 2 } |
Public Member Functions | |
SoGradientOperatorProcessing3d () | |
Public Attributes | |
SoSFImageDataAdapter | inImage |
SoSFEnum | gradientOperator |
SoSFEnum | gradientMode |
SoSFFloat | standardDeviation |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outGradientXImage |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outGradientYImage |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outGradientZImage |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outAmplitudeImage |
For an introduction, see:
The SoGradientOperatorProcessing3d engine provides different operators to extract the edges from an image:
SoRadialGradientCenteredProcessing3d, SoMorphologicalGradientProcessing
inImage | NULL |
gradientOperator | CANNY_DERICHE |
gradientMode | AMPLITUDE_MAX_OF_MAGS |
standardDeviation | 60.0f |
AMPLITUDE_MAX_OF_MAGS |
This option computes the gradient maximal amplitude. Only the outAmplitudeImage output is set using this mode. |
X_Y_AND_Z_GRADIENTS |
This option computes gradient in X, Y and Z directions. outGradientXImage, outGradientYImage and outGradientZImage outputs are set using this mode. |
AMPLITUDE_EUCLIDEAN |
This option computes the euclidean amplitude gradient. outAmplitudeImage output is set using this mode. |
SoGradientOperatorProcessing3d::SoGradientOperatorProcessing3d | ( | ) |
Constructor.
Select an output mode.
Use enum GradientMode. Default is AMPLITUDE_MAX_OF_MAGS
Select the gradient operator.
Use enum GradientOperator. Default is CANNY_DERICHE
The input grayscale image.
Default value is NULL. Supported types include: grayscale binary label image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoGradientOperatorProcessing3d::outAmplitudeImage |
The output gradient amplitude image.
Default value is NULL. Supported types include: grayscale binary label color image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoGradientOperatorProcessing3d::outGradientXImage |
The output X-gradient image.
Default value is NULL. Supported types include: grayscale binary label color image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoGradientOperatorProcessing3d::outGradientYImage |
The output Y-gradient image.
Default value is NULL. Supported types include: grayscale binary label color image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoGradientOperatorProcessing3d::outGradientZImage |
The output Z-gradient image.
Default value is NULL. Supported types include: grayscale binary label color image.
The standard deviation.
Default value is 60.0f.