You are here: Start » AVL.NET » AVL.DilateSurfacePoints Method
AVL.DilateSurfacePoints Method
Reconstructs missing points of the input surface by interpolating neighboring points.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void DilateSurfacePoints( AvlNet.Surface inSurface, AvlNet.Region inRoi, AvlNet.KernelShape inKernel, int inRadiusX, int? inRadiusY, out AvlNet.Surface outSurface )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inSurface | AvlNet.Surface | Input surface. | ||
![]() | inRoi | AvlNet.Region | Region of interest. Default value: atl::NIL, or null. | ||
![]() | inKernel | AvlNet.KernelShape | Kernel shape (predefined). | ||
![]() | inRadiusX | int | <0, INF> | 1 | Nearly half of the kernel's width (2*R+1). Default value: 1. |
![]() | inRadiusY | int? | <0, INF> | Nearly half of the kernel's height (2*R+1), or same as inRadiusX. Default value: atl::NIL, or null. | |
![]() | outSurface | AvlNet.Surface | Output surface. |
Description
The operation reconstructs some of missing points of the input surface by interpolating their neighboring points. Internally the region of surface valid points is dilated using defined kernel. Every missing point in location that have emerged because of the dilation is substituted with the arithmetic mean of existing points in locations that would be covered by the kernel if the middle of the kernel was precisely over the missing point location.


