You are here: Start » AVL.NET » Function Reference » Image » Image Enhancement » AVL.NormalizeLocalBrightness_Gauss
Normalizes local brightness of the image. Internally uses Gauss smoothing.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void NormalizeLocalBrightness_Gauss ( AvlNet.Image inImage, NullableRef<AvlNet.Region> inRoi, float inStdDevX, float? inStdDevY, float inTargetMean, float inGammaValue, AvlNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Range of pixels to be processed. Default value: atl::NIL. | |||
inStdDevX | float | <0.0f, INF> | 5.0f | Horizontal smoothing standard deviation. Default value: 5.0f. | |
inStdDevY | float? | <0.0f, INF> | Vertical smoothing standard deviation. Default value: atl::NIL. | ||
inTargetMean | float | 128.0f | Target mean brightness. Default value: 128.0f. | ||
inGammaValue | float | <0.01f, 8.0f> | 1.0f | Gamma coefficient, where 1.0 is neutral. Default value: 1.0f. | |
outImage | AvlNet.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
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.