You are here: Start » AVL.NET » AVS.CloseImage_Mask Method

AVS.CloseImage_Mask Method

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_Mask
(
	AvlNet.Image inImage,
	NullableRef<AvlNet.Region> inRoi,
	AvlNet.Pixel? inBorderColor,
	AvlNet.MorphologyKernel inKernel,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inRoiAvlNet.NullableRef<AvlNet.Region>Range of outImage pixels to be computed. Default value: atl::NIL.
inBorderColorAvlNet.Pixel?Color of the imaginary pixels outside the image boundaries. Default value: atl::NIL.
inKernelAvlNet.MorphologyKernelSelects kernel shape.
outImageAvlNet.ImageOutput image.

Function Overrides

See also