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

Invoke.CloseImage_Mask

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void CloseImage_Mask
(
	Avl.Image inImage,
	Optional<Avl.Region> inRoi,
	Optional<Avl.Pixel> inBorderColor,
	Avl.MorphologyKernel inKernel,
	Avl.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
inRoiAtl.Optional<Avl.Region>Range of outImage pixels to be computed. Default value: atl::NIL.
inBorderColorAtl.Optional<Avl.Pixel>Color of the imaginary pixels outside the image boundaries. Default value: atl::NIL.
inKernelAvl.MorphologyKernelSelects kernel shape.
outImageAvl.ImageOutput image.

See also