You are here: Start » AVL.NET » AVL.CloseImage(AvlNet.Image, AvlNet.ImageMorphologyKernel, int, AvlNet.Image, AvlNet.Region)

AVL.CloseImage(AvlNet.Image, AvlNet.ImageMorphologyKernel, int, AvlNet.Image, AvlNet.Region)

Removes small dark structures from an image (or fills in bright ones) by applying consecutive dilation and erosion.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void CloseImage(
	AvlNet.Image inImage,
	AvlNet.ImageMorphologyKernel inKernel,
	int inRadiusX,
	out AvlNet.Image outImage,
	out AvlNet.Region diagKernel
)

Parameters

inImage
Type: AvlNet.Image
Input image
inKernel
Type: AvlNet.ImageMorphologyKernel
Selects kernel shape
inRadiusX
Type: System.Int32
Nearly half of the kernel's width (2*R+1)
outImage
Type: AvlNet.Image
Output image
diagKernel
Type: AvlNet.Region
Kernel shape

See also