Click or drag to resize
Accord.NET (logo)

IntegralImageGetHaarYWavelet Method

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

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public int GetHaarYWavelet(
	int x,
	int y,
	int radius
)
Request Example View Source

Parameters

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

Return Value

Type: Int32
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