Back to Adaptive Vision Library website

You are here: Start » Function Reference » Surface Spatial Transforms » DilateSurfacePoints

DilateSurfacePoints


Header:AVL.h
Namespace:avl

Reconstructs missing points of the input surface by interpolating neighboring points.

Syntax

C++
C#
 
void avl::DilateSurfacePoints
(
	const avl::Surface& inSurface,
	atl::Optional<const avl::Region&> inRoi,
	avl::KernelShape::Type inKernel,
	int inRadiusX,
	atl::Optional<int> inRadiusY,
	avl::Surface& outSurface
)

Parameters

Name Type Range Default Description
inSurface const Surface& Input surface
inRoi Optional<const Region&> NIL Region of interest
inKernel KernelShape::Type Kernel shape (predefined)
inRadiusX int 0 - 1 Nearly half of the kernel's width (2*R+1)
inRadiusY Optional<int> 0 - NIL Nearly half of the kernel's height (2*R+1), or same as inRadiusX
outSurface 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.

See Also

  • SurfaceValidPointsRegion – Computes region of locations where points are valid in a surface and where they are invalid.
  • DilateRegion – Performs a morphological dilation on a region using a predefined kernel.