You are here: Start » FIL.NET » Function Reference » Image » Image Enhancement » FIL.NormalizeLocalBrightness_Mean
Normalizes local brightness of the image. Internally uses Mean smoothing.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void NormalizeLocalBrightness_Mean ( FilNet.Image inImage, int inRadiusX, float inTargetMean, float inGammaValue, FilNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inRadiusX | int | <0, INF> | 10 | Nearly half of the kernel's width (2*R+1). Default value: 10. |
![]() | 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 | FilNet.Image | Output image. |
Description
This filter normalizes every pixels brightness to inTargetMean based on a local average calculated using SmoothImage_Mean passing to it parameters inRadiusX and inRadiusY.
Gamma correction can be performed on the image before normalization through the inGammaValue parameter.
Examples
![]() Example image |
![]() Output of NormalizeLocalBrightness_Mean |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.