Свойство | Type | Description | |
---|---|---|---|
integralImage | ].uint[ |
Méthode | Description | |
---|---|---|
Clone ( ) : object |
Creates a new object that is a copy of the current instance.
|
|
FromBitmap ( |
Construct integral image from source grayscale image.
|
|
FromBitmap ( |
Construct integral image from source grayscale image.
|
|
FromBitmap ( |
Construct integral image from source grayscale image.
|
|
GetHaarXWavelet ( int x, int y, int radius ) : int |
Calculate horizontal (X) haar wavelet at the specified point. 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). |
|
GetHaarYWavelet ( int x, int y, int radius ) : int |
Calculate vertical (Y) haar wavelet at the specified point. 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). |
|
GetRectangleMean ( int x, int y, int radius ) : float |
Calculate mean value of pixels in the specified rectangle. The method calculates mean value of pixels in square rectangle with odd width and height. In the case if it is required to calculate mean value of 3x3 rectangle, then it is required to specify its center and radius equal to 1. |
|
GetRectangleMean ( int x1, int y1, int x2, int y2 ) : float |
Calculate mean value of pixels in the specified rectangle. Both specified points are included into the calculation rectangle. |
|
GetRectangleMeanUnsafe ( int x, int y, int radius ) : float |
Calculate mean value of pixels in the specified rectangle without checking it's coordinates. The method calculates mean value of pixels in square rectangle with odd width and height. In the case if it is required to calculate mean value of 3x3 rectangle, then it is required to specify its center and radius equal to 1. |
|
GetRectangleMeanUnsafe ( int x1, int y1, int x2, int y2 ) : float |
Calculate mean value of pixels in the specified rectangle without checking it's coordinates. Both specified points are included into the calculation rectangle. |
|
GetRectangleSum ( int x, int y, int radius ) : uint |
Calculate sum of pixels in the specified rectangle. The method calculates sum of pixels in square rectangle with odd width and height. In the case if it is required to calculate sum of 3x3 rectangle, then it is required to specify its center and radius equal to 1. |
|
GetRectangleSum ( int x1, int y1, int x2, int y2 ) : uint |
Calculate sum of pixels in the specified rectangle. Both specified points are included into the calculation rectangle. |
|
GetRectangleSumUnsafe ( int x, int y, int radius ) : uint |
Calculate sum of pixels in the specified rectangle without checking it's coordinates. The method calculates sum of pixels in square rectangle with odd width and height. In the case if it is required to calculate sum of 3x3 rectangle, then it is required to specify its center and radius equal to 1. |
|
GetRectangleSumUnsafe ( int x1, int y1, int x2, int y2 ) : uint |
Calculate sum of pixels in the specified rectangle without checking it's coordinates. Both specified points are included into the calculation rectangle. |
Méthode | Description | |
---|---|---|
IntegralImage ( int width, int height ) : System |
Initializes a new instance of the IntegralImage class. The constractor is protected, what makes it imposible to instantiate this class directly. To create an instance of this class FromBitmap(Bitmap) or FromBitmap(BitmapData) method should be used. |
public static FromBitmap ( |
||
image | Source grayscale image. | |
Résultat |
public static FromBitmap ( |
||
imageData | Source image data. | |
Résultat |
public static FromBitmap ( |
||
image | Source unmanaged image. | |
Résultat |
public GetHaarXWavelet ( int x, int y, int radius ) : int | ||
x | int | X coordinate of the point to calculate wavelet at. |
y | int | Y coordinate of the point to calculate wavelet at. |
radius | int | Wavelet size to calculate. |
Résultat | int |
public GetHaarYWavelet ( int x, int y, int radius ) : int | ||
x | int | X coordinate of the point to calculate wavelet at. |
y | int | Y coordinate of the point to calculate wavelet at. |
radius | int | Wavelet size to calculate. |
Résultat | int |
public GetRectangleMean ( int x, int y, int radius ) : float | ||
x | int | X coordinate of central point of the rectangle. |
y | int | Y coordinate of central point of the rectangle. |
radius | int | Radius of the rectangle. |
Résultat | float |
public GetRectangleMean ( int x1, int y1, int x2, int y2 ) : float | ||
x1 | int | X coordinate of left-top rectangle's corner. |
y1 | int | Y coordinate of left-top rectangle's corner. |
x2 | int | X coordinate of right-bottom rectangle's corner. |
y2 | int | Y coordinate of right-bottom rectangle's corner. |
Résultat | float |
public GetRectangleMeanUnsafe ( int x, int y, int radius ) : float | ||
x | int | X coordinate of central point of the rectangle. |
y | int | Y coordinate of central point of the rectangle. |
radius | int | Radius of the rectangle. |
Résultat | float |
public GetRectangleMeanUnsafe ( int x1, int y1, int x2, int y2 ) : float | ||
x1 | int | X coordinate of left-top rectangle's corner. |
y1 | int | Y coordinate of left-top rectangle's corner. |
x2 | int | X coordinate of right-bottom rectangle's corner. |
y2 | int | Y coordinate of right-bottom rectangle's corner. |
Résultat | float |
public GetRectangleSum ( int x, int y, int radius ) : uint | ||
x | int | X coordinate of central point of the rectangle. |
y | int | Y coordinate of central point of the rectangle. |
radius | int | Radius of the rectangle. |
Résultat | uint |
public GetRectangleSum ( int x1, int y1, int x2, int y2 ) : uint | ||
x1 | int | X coordinate of left-top rectangle's corner. |
y1 | int | Y coordinate of left-top rectangle's corner. |
x2 | int | X coordinate of right-bottom rectangle's corner. |
y2 | int | Y coordinate of right-bottom rectangle's corner. |
Résultat | uint |
public GetRectangleSumUnsafe ( int x, int y, int radius ) : uint | ||
x | int | X coordinate of central point of the rectangle. |
y | int | Y coordinate of central point of the rectangle. |
radius | int | Radius of the rectangle. |
Résultat | uint |
public GetRectangleSumUnsafe ( int x1, int y1, int x2, int y2 ) : uint | ||
x1 | int | X coordinate of left-top rectangle's corner. |
y1 | int | Y coordinate of left-top rectangle's corner. |
x2 | int | X coordinate of right-bottom rectangle's corner. |
y2 | int | Y coordinate of right-bottom rectangle's corner. |
Résultat | uint |
protected IntegralImage ( int width, int height ) : System | ||
width | int | Image width. |
height | int | Image height. |
Résultat | System |