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

Invoke.SharpenImage

Enhances contrast of an image so that it appears sharper.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void SharpenImage
(
	Avl.Image inImage,
	float inContrastFactor,
	Avl.KernelShape inKernel,
	int inRadiusX,
	Optional<int> inRadiusY,
	Avl.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
inContrastFactorfloat<0.0f, INF>1.0fValue representing the strength of the contrast enhancement. Default value: 1.0f.
inKernelAvl.KernelShapeKernel shape.
inRadiusXint<0, INF>1Nearly half of the kernel's width (2*R+1). Default value: 1.
inRadiusYAtl.Optional<int><0, INF>Nearly half of the kernel's height (2*R+1), or same as inRadiusX. Default value: atl::NIL.
outImageAvl.ImageOutput image.

See also