NormalizeLocalBrightness_Mean
Normalizes local brightness of the image. Internally uses Mean smoothing.
Applications:Compensates uneven illumination.
Syntax
C++
C#
Python
def NormalizeLocalBrightness_Mean( inImage: Image, outImage: Image, /, *, inRoi: Region | None = None, inRadiusX: int = 10, inRadiusY: int | None = None, inTargetMean: float = 128.0, inGammaValue: float = 1.0 ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inImage | Image | Input image | ||
![]() |
inRoi | Region | None | None | Range of pixels to be processed | |
![]() |
inRadiusX | int | 0 - ![]() |
10 | Nearly half of the kernel's width (2*R+1) |
![]() |
inRadiusY | int | None | 0 - ![]() |
None | Nearly half of the kernel's height (2*R+1), or same as inRadiusX |
![]() |
inTargetMean | float | 128.0 | Target mean brightness | |
![]() |
inGammaValue | float | 0.01 - 8.0 | 1.0 | Gamma coefficient, where 1.0 is neutral |
![]() |
outImage | Image | Output image |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.



