Back to FabImage Studio website
You are here: Start » Filter Reference » Image » Image Enhancement » NormalizeLocalBrightness_Mean
Module: | FoundationBasic |
---|
Normalizes local brightness of the image. Internally uses Mean smoothing.
Applications
Compensates uneven illumination.
Name | Type | Range | Description | |
---|---|---|---|---|
![]() |
inImage | Image | Input image | |
![]() |
inRoi | Region* | Range of pixels to be processed | |
![]() |
inRadiusX | Integer | 0 - ![]() |
Nearly half of the kernel's width (2*R+1) |
![]() |
inRadiusY | Integer* | 0 - ![]() |
Nearly half of the kernel's height (2*R+1), or same as inRadiusX |
![]() |
inTargetMean | Real | Target mean brightness | |
![]() |
inGammaValue | Real | 0.01 - 8.0 | 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_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.
Complexity Level
This filter is available on Basic Complexity Level.
Filter Group
This filter is member of NormalizeLocalBrightness filter group.
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_Gauss – Normalizes local brightness of the image. Internally uses Gauss smoothing.
- SmoothImage_Mean – Smooths an image by averaging pixels within a rectangular kernel.