You are here: Start » AVL.NET » Invoke.NormalizeLocalBrightness_Mean

Invoke.NormalizeLocalBrightness_Mean

Normalizes local brightness of the image. Internally uses Mean smoothing.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void NormalizeLocalBrightness_Mean
(
	Avl.Image inImage,
	Optional<Avl.Region> inRoi,
	int inRadiusX,
	Optional<int> inRadiusY,
	float inTargetMean,
	float inGammaValue,
	Avl.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
inRoiAtl.Optional<Avl.Region>Range of pixels to be processed. Default value: atl::NIL.
inRadiusXint<0, INF>10Nearly half of the kernel's width (2*R+1). Default value: 10.
inRadiusYAtl.Optional<int><0, INF>Nearly half of the kernel's height (2*R+1), or same as inRadiusX. Default value: atl::NIL.
inTargetMeanfloat128.0fTarget mean brightness. Default value: 128.0f.
inGammaValuefloat<0.01f, 8.0f>1.0fGamma coefficient, where 1.0 is neutral. Default value: 1.0f.
outImageAvl.ImageOutput image.

See also