SoHistogramEqualizationProcessing Class Reference
[Grayscale Transforms]

ImageViz SoHistogramEqualizationProcessing engine More...

#include <ImageViz/Engines/ImageFiltering/GrayscaleTransforms/SoHistogramEqualizationProcessing.h>

Inheritance diagram for SoHistogramEqualizationProcessing:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  RangeMode {
  MIN_MAX = 0,
  OTHER = 1
}

Public Member Functions

 SoHistogramEqualizationProcessing ()

Public Attributes

SoSFEnum computeMode
SoSFImageDataAdapter inImage
SoSFEnum rangeMode
SoSFVec2i32 intensityRangeInput
SoSFVec2i32 intensityRangeOutput
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outImage

Detailed Description

ImageViz SoHistogramEqualizationProcessing engine

The SoHistogramEqualizationProcessing engine performs a histogram equalization.

This engine performs a histogram equalization of image I onto image O. For example, if an image contains n pixels and uses M gray values, there is an average of n/M pixels per gray level. An image is correctly contrasted if the number of pixels is closed to this mean value for each gray level value.

The aim of histogram equalization is to transform the histogram to make it uniform. In Figure a, the histogram is very condensed, and the image is poorly contrasted. In Figure b, the histogram is more widely distributed, and the image has a better contrast.

SoHistogramEqualizationProcessing_image01.png

Histogram equalization

SEE ALSO

SoMatchContrastProcessing, SoBackgroundImageProcessing2d, SoMathematicalFunctionProcessing.

FILE FORMAT/DEFAULT


Library references: equalize


Member Enumeration Documentation

Enumerator:
MIN_MAX 

With this option the histogram is computed between the minimum and the maximum of the image.

OTHER 

With this option the histogram is computed between user-defined bounds [a,b].


Constructor & Destructor Documentation

SoHistogramEqualizationProcessing::SoHistogramEqualizationProcessing (  ) 

Constructor.


Member Data Documentation

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

Default is MODE_AUTO

The input image.

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

The input intensity range.

Default value is SbVec2i32(0,255).

The output intensity range.

Default value is SbVec2i32(0,255).

The output image.

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

Select the input intensity range mode.

Use enum RangeMode. Default is MIN_MAX


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/