You are here: Start » AVL.NET » Invoke.ErodeImage
Replaces each pixel with the minimum of pixels within a kernel.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void ErodeImage ( 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 outImage, Diagnostic<Avl.Region> diagKernel )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Input image. | ||
![]() | inRoi | Atl.Optional<Avl.Region> | Range of outImage pixels to be computed. Default value: atl::NIL. | ||
![]() | inSourceRoi | Atl.Optional<Avl.Region> | Range of inImage pixels to be considered in computations. Default value: atl::NIL. | ||
![]() | inBorderColor | Atl.Optional<Avl.Pixel> | Color of the imaginary pixels outside the image boundaries. Default value: atl::NIL. | ||
![]() | inKernel | Avl.KernelShape | Kernel shape. | ||
![]() | inRadiusX | int | <0, INF> | 1 | Nearly half of the kernel's width (2*R+1). Default value: 1. |
![]() | inRadiusY | Atl.Optional<int> | <0, INF> | Nearly half of the kernel's height (2*R+1), or same as inRadiusX. Default value: atl::NIL. | |
![]() | outImage | Avl.Image | Output image. | ||
![]() | diagKernel | Avl.Diagnostic<Avl.Region> | Kernel shape. |