Calculate vertical (Y) haar wavelet at the specified point.

Namespace:  AForge.Imaging
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public int GetHaarYWavelet(
	int x,
	int y,
	int radius
)

Parameters

x
Type: System..::.Int32
X coordinate of the point to calculate wavelet at.
y
Type: System..::.Int32
Y coordinate of the point to calculate wavelet at.
radius
Type: System..::.Int32
Wavelet size to calculate.

Return Value

Returns value of the vertical wavelet at the specified point.

Remarks

The method calculates vertical wavelet, which is a difference of two vertical adjacent boxes' sums, i.e. A-B. A is the sum of rectangle with coordinates (x-radius, y, x+radius-1, y+radius-1). B is the sum of rectangle with coordinates (x-radius, y-radius, x+radius-1, y-1).

See Also