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

Invoke.ErodeImage

Replaces each pixel with the minimum of pixels within a kernel.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ErodeImage
(
	Avl.Image inImage,
	Optional<Avl.Region> inRoi,
	Optional<Avl.Region> inSourceRoi,
	Optional<Avl.Pixel> inBorderColor,
	Avl.KernelShape inKernel,
	int inRadiusX,
	Optional<int> inRadiusY,
	Avl.Image outImage,
	Diagnostic<Avl.Region> diagKernel
)

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
inRoiAtl.Optional<Avl.Region>Range of outImage pixels to be computed. Default value: atl::NIL.
inSourceRoiAtl.Optional<Avl.Region>Range of inImage pixels to be considered in computations. Default value: atl::NIL.
inBorderColorAtl.Optional<Avl.Pixel>Color of the imaginary pixels outside the image boundaries. Default value: atl::NIL.
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.
diagKernelAvl.Diagnostic<Avl.Region>Kernel shape.

See also