SoGradientMagnitudeProcessing2d Class Reference
[Gradient]

ImageViz SoGradientMagnitudeProcessing2d engine More...

#include <ImageViz/Engines/EdgeDetection/Gradient/SoGradientMagnitudeProcessing2d.h>

Inheritance diagram for SoGradientMagnitudeProcessing2d:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  GradientMode {
  AMPLITUDE_MAX_OF_MAGS = 0,
  AMPLITUDE_EUCLIDEAN = 1,
  AMPLITUDE_AND_ORIENTATION = 2
}

Public Member Functions

 SoGradientMagnitudeProcessing2d ()

Public Attributes

SoSFImageDataAdapter inGradientXImage
SoSFImageDataAdapter inGradientYImage
SoSFEnum gradientMode
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outAmplitudeImage
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outOrientationImage

Detailed Description

ImageViz SoGradientMagnitudeProcessing2d engine

For an introduction to gradient operations, see section Introduction to Gradient.

The SoGradientMagnitudeProcessing2d engine computes the gradient amplitude and orientation from gradient images along X and Y axis. The results depend on the selected gradient mode.

See also: SoGradientOperatorProcessing2d, SoGradientMagnitudeProcessing3d.

FILE FORMAT/DEFAULT


Library references: gradient_mag


Member Enumeration Documentation

Enumerator:
AMPLITUDE_MAX_OF_MAGS 

This option computes the gradient amplitude as the maximum of magnitudes.

Only the outAmplitudeImage output is set using this mode.

AMPLITUDE_EUCLIDEAN 

This option computes the gradient euclidean amplitude.

Only the outAmplitudeImage output is set using this mode.

AMPLITUDE_AND_ORIENTATION 

This option computes euclidean amplitude and the orientation (between -128&#176; and +128&#176;).

Both outAmplitudeImage and outOrientationImage outputs are set using this mode.


Constructor & Destructor Documentation

SoGradientMagnitudeProcessing2d::SoGradientMagnitudeProcessing2d (  ) 

Constructor.


Member Data Documentation

Select an output mode.

Use enum GradientMode. Default is AMPLITUDE_MAX_OF_MAGS

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 output gradient amplitude image.

Default value is NULL. Supported types include: grayscale binary label color image.

The output gradient orientation image.

Default value is NULL. Supported types include: grayscale binary label color image.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/