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

Invoke.DilateAndErodeImage

Calculates dilation and erosion simultaneously for faster execution.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void DilateAndErodeImage
(
	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 outDilated,
	Avl.Image outEroded
)

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 read. 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.
outDilatedAvl.Image
outErodedAvl.Image

See also