Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Enhancement » NormalizeLocalBrightness_Gauss
NormalizeLocalBrightness_Gauss
Header: | AVL.h |
---|---|
Namespace: | avl |
Normalizes local brightness of the image.
Syntax
C++
C#
void avl::NormalizeLocalBrightness_Gauss ( const avl::Image& inImage, atl::Optional<const avl::Region&> inRoi, float inStdDevX, atl::Optional<float> inStdDevY, float inTargetMean, float inGammaValue, avl::Image& outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | const Image& | Input image | |||
inRoi | Optional<const Region&> | NIL | Range of pixels to be processed | ||
inStdDevX | float | 0.0 - | 5.0f | Horizontal smoothing standard deviation | |
inStdDevY | Optional<float> | 0.0 - | NIL | Vertical smoothing standard deviation | |
inTargetMean | float | 128.0f | Target mean brightness | ||
inGammaValue | float | 0.01 - 8.0 | 1.0f | Gamma coefficient, where 1.0 is neutral | |
outImage | Image& | Output image |
Description
This filter normalizes every pixels brightness to inTargetMean based on a local average calculated using SmoothImage_Gauss passing to it parameters inStdDevX and inStdDevY.
Gamma correction can be performed on the image before normalization through the inGammaValue parameter.
Examples
See Also
- NormalizeImage – Rescales an image linearly, so that its minimum becomes inNewMinimum and the maximum of the remaining pixels becomes inNewMaximum.
- NormalizeLocalContrast – Normalizes local contrast of the image using Wallis filter.
- NormalizeLocalBrightness_Mean – Normalizes local brightness of the image.
- SmoothImage_Gauss – Smooths an image using a gaussian kernel.