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

Invoke.CloseImage_AnyKernel

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_AnyKernel
(
	Avl.Image inImage,
	Optional<Avl.Region> inRoi,
	Optional<Avl.Region> inSourceRoi,
	Optional<Avl.Pixel> inBorderColor,
	Avl.Region inKernel,
	Optional<Avl.Location> inKernelAnchor,
	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.
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.RegionKernel shape.
inKernelAnchorAtl.Optional<Avl.Location>A location within inKernel, defining its center. Default value: atl::NIL.
outImageAvl.ImageOutput image.

See also