SoMorphologicalGradientProcessing Class Reference
[Gradient]

ImageViz SoMorphologicalGradientProcessing engine More...

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

Inheritance diagram for SoMorphologicalGradientProcessing:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  GradientMode {
  INTERNAL = 0,
  EXTERNAL = 1
}
enum  PrecisionMode {
  FASTER = 0,
  PRECISE = 1
}

Public Member Functions

 SoMorphologicalGradientProcessing ()

Public Attributes

SoSFEnum computeMode
SoSFImageDataAdapter inImage
SoSFEnum gradientMode
SoSFEnum precisionMode
SoSFInt32 elementSize
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outImage

Detailed Description

ImageViz SoMorphologicalGradientProcessing engine

The SoMorphologicalGradientProcessing engine emphasizes the edges of the objects using morphological operations.

For an introduction, see:

This engine emphasizes the edges of the objects using morphological operations. Two modes allow to enhance edges inside (Internal) or outside (External) of particles.

SoMorphologicalGradientProcessing_image01.png

Figure 1

SoMorphologicalGradientProcessing_image02.png

Figure 2

SoMorphologicalGradientProcessing_image03.png

Figure 3

The SoMorphologicalGradientProcessing engine: (each with label image in overlay):
1: gray input image, 2: internal morphological gradient and 3: external morphological gradient.

This engine uses SoErosionDiskProcessing2d or SoDilationDiskProcessing2d in 2D case and SoErosionBallProcessing3d or SoDilationBallProcessing3d in 3D case. Two additional parameters are also provided : Precision of the computation (Faster or Precise) and half-kernel size for morphological operation.

SEE ALSO

SoGradientOperatorProcessing2d, SoRadialGradientCenteredProcessing2d.

FILE FORMAT/DEFAULT


Library references: morphogradient


Member Enumeration Documentation

Enumerator:
INTERNAL 

The engine emphasizes the internal edges.

EXTERNAL 

The engine emphasizes the external edges.

Enumerator:
FASTER 

The operation is computed with a fast mode.

PRECISE 

The operation is computed with a precise mode.


Constructor & Destructor Documentation

SoMorphologicalGradientProcessing::SoMorphologicalGradientProcessing (  ) 

Constructor.


Member Data Documentation

Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.

Default is MODE_AUTO

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.

Select the computation mode for morphological gradient.

Use enum GradientMode. Default is INTERNAL

The input image.

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

The output image.

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

Select the precision for computation method.

Use enum PrecisionMode. Default is FASTER


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/