SoShadingCorrectionProcessing Class Reference
[Grayscale Transforms]

ImageViz SoShadingCorrectionProcessing engine More...

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

Inheritance diagram for SoShadingCorrectionProcessing:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

 SoShadingCorrectionProcessing ()

Public Attributes

SoSFImageDataAdapter inImage
SoSFImageDataAdapter inBlackReferenceImage
SoSFImageDataAdapter inWhiteReferenceImage
SoSFFloat normalizationFactor
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outImage

Detailed Description

ImageViz SoShadingCorrectionProcessing engine

The SoShadingCorrectionProcessing engine corrects the shading.

This engine is bound to correct the shading, that is to say the lighting standardisation. It is an histogram spreading performed pixel by pixel. The process needs a white and a black reference for each pixel to apply the right correction.

\[NewImage(i,j)=\left(\frac{Image(i,j)-BlackRef(i,j)}{WhiteRef(i,j)-BlackRef(i,j)}\right)NormFactor\]

Where $Normfactor$ is the normalization factor, usually equals to 255.

SEE ALSO

SoMatchContrastProcessing, SoBackgroundImageProcessing2d, SoMathematicalFunctionProcessing.

FILE FORMAT/DEFAULT


Library references: shading_corimage


Constructor & Destructor Documentation

SoShadingCorrectionProcessing::SoShadingCorrectionProcessing (  ) 

Constructor.


Member Data Documentation

The input black reference image.

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

The input image.

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

The input white reference image.

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

The normalization factor.

Default value is 200.0f.

The output 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 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/