You are here: Start » AVL.NET » Function Reference » Image » Image Local Transforms » AVL.SmoothImage_DirAndPresence

AVL.SmoothImage_DirAndPresence

Smooths the result of GradientDirAndPresenceImage.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SmoothImage_DirAndPresence
(
	AvlNet.Image inDirectionsImage,
	int inRadiusX,
	int inQuantizationLevel,
	int inMinSampleCount,
	AvlNet.Image outDirectionsImage
)

Parameters

Name Type Range Default Description
inDirectionsImageAvlNet.Image
inRadiusXint<0, INF>1Horizontal radius of the kernel (width is 2r+1). Default value: 1.
inQuantizationLevelint<1, 5>5Determines angular quantization level; the lower the better but slower. Default value: 5.
inMinSampleCountint<1, INF>1A window is evaluated to 0 if it contains less than this number of non-zero pixels. Default value: 1.
outDirectionsImageAvlNet.Image

Errors

List of possible exceptions:

Error type Description
DomainError The result of GradientDirAndPresenceImage (of type 1xUInt8) should be provided in inGradientDirAndPresenceImage in SmoothImage_DirAndPresence.

Function Overrides

See also