|
IntegralImageGetHaarXWavelet Method
|
Calculate horizontal (X) haar wavelet at the specified point.
Namespace:
Accord.Imaging
Assembly:
Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax public int GetHaarXWavelet(
int x,
int y,
int radius
)
Public Function GetHaarXWavelet (
x As Integer,
y As Integer,
radius As Integer
) As Integer
Request Example
View SourceParameters
- 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:
Int32Returns 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+radius-1).
See Also