Calculate horizontal (X) haar wavelet at the specified point.
Namespace:
AForge.ImagingAssembly: AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)
Syntax
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 horizontal wavelet at the specified point.
Remarks
The method calculates horizontal wavelet, which is a difference of two horizontally adjacent boxes' sums, i.e. A-B. A is the sum of rectangle with coordinates (x, y-radius, x+radius-1, y+radius-1). B is the sum of rectangle with coordinates (x-radius, y-radius, x-1, y+radiys-1).