SoShadingCorrectionProcessing engine More...
#include <ImageViz/Engines/ImageFiltering/GrayscaleTransforms/SoShadingCorrectionProcessing.h>
Public Member Functions | |
SoShadingCorrectionProcessing () | |
Public Attributes | |
SoSFImageDataAdapter | inImage |
SoSFImageDataAdapter | inBlackReferenceImage |
SoSFImageDataAdapter | inWhiteReferenceImage |
SoSFFloat | normalizationFactor |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
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.
Where is the normalization factor, usually equals to 255.
SoMatchContrastProcessing, SoBackgroundImageProcessing2d, SoMathematicalFunctionProcessing.
inImage | NULL |
inBlackReferenceImage | NULL |
inWhiteReferenceImage | NULL |
normalizationFactor | 200.0f |
SoShadingCorrectionProcessing::SoShadingCorrectionProcessing | ( | ) |
Constructor.
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.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoShadingCorrectionProcessing::outImage |
The output image.
Default value is NULL. Supported types include: grayscale binary label color image.