SoErosionSquareColorProcessing2d Class Reference
[Erosion And Dilation]

ImageViz SoErosionSquareColorProcessing2d engine More...

#include <ImageViz/Engines/MathematicalMorphology/ErosionAndDilation/SoErosionSquareColorProcessing2d.h>

Inheritance diagram for SoErosionSquareColorProcessing2d:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  CriterionPlane {
  LUMINANCE = 0,
  SATURATION = 1
}

Public Member Functions

 SoErosionSquareColorProcessing2d ()

Public Attributes

SoSFImageDataAdapter inColorImage
SoSFInt32 elementSize
SoSFEnum criterionPlane
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outColorImage

Detailed Description

ImageViz SoErosionSquareColorProcessing2d engine

The SoErosionSquareColorProcessing2d engine performs an erosion on a true-color image.

For an introduction, see:

This engine performs an erosion on a true-color image, composed of 3 channels: red, green and blue. The minimum in the neighborhood is either computed on the Luminance or the Saturation of pixels, and the center is set to the pixel which gives the minimum Luminance or Saturation. With this method, no new color is created.

SEE ALSO

SoDilationSquareColorProcessing2d.

FILE FORMAT/DEFAULT


Library references: colorerode


Member Enumeration Documentation

Enumerator:
LUMINANCE 

Using this mode the operation is defined on the luminance component of the color image.

SATURATION 

Using this mode the operation is defined on the saturation component of the color image.


Constructor & Destructor Documentation

SoErosionSquareColorProcessing2d::SoErosionSquareColorProcessing2d (  ) 

Constructor.


Member Data Documentation

The plane to compute criterion.

Use enum CriterionPlane. Default is LUMINANCE

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.

The input color image.

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

The output color 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 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/