C# Класс Accord.Imaging.IntegralImage2

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

FromBitmap ( Bitmap image ) : IntegralImage2

Constructs a new Integral image from a Bitmap image.

FromBitmap ( Bitmap image, bool computeTilted ) : IntegralImage2

Constructs a new Integral image from a Bitmap image.

FromBitmap ( Bitmap image, int channel ) : IntegralImage2

Constructs a new Integral image from a Bitmap image.

FromBitmap ( Bitmap image, int channel, bool computeTilted ) : IntegralImage2

Constructs a new Integral image from a Bitmap image.

FromBitmap ( BitmapData imageData ) : IntegralImage2

Constructs a new Integral image from a BitmapData image.

FromBitmap ( BitmapData imageData, bool computeTilted ) : IntegralImage2

Constructs a new Integral image from a BitmapData image.

FromBitmap ( BitmapData imageData, int channel ) : IntegralImage2

Constructs a new Integral image from a BitmapData image.

FromBitmap ( BitmapData imageData, int channel, bool computeTilted ) : IntegralImage2

Constructs a new Integral image from a BitmapData image.

FromBitmap ( UnmanagedImage image ) : IntegralImage2

Constructs a new Integral image from an unmanaged image.

FromBitmap ( UnmanagedImage image, bool computeTilted ) : IntegralImage2

Constructs a new Integral image from an unmanaged image.

FromBitmap ( UnmanagedImage image, int channel ) : IntegralImage2

Constructs a new Integral image from an unmanaged image.

FromBitmap ( UnmanagedImage image, int channel, bool computeTilted ) : IntegralImage2

Constructs a new Integral image from an unmanaged image.

GetSum ( int x, int y, int width, int height ) : long

Gets the sum of the pixels in a rectangle of the Integral image.

GetSum2 ( int x, int y, int width, int height ) : long

Gets the sum of the squared pixels in a rectangle of the Integral image.

GetSumT ( int x, int y, int width, int height ) : long

Gets the sum of the pixels in a tilted rectangle of the Integral image.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

IntegralImage2 ( int width, int height, bool computeTilted ) : System

Constructs a new Integral image of the given size.

Описание методов

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed /// and unmanaged resources; false to release only unmanaged /// resources.
Результат void

FromBitmap() публичный статический Метод

Constructs a new Integral image from a Bitmap image.
public static FromBitmap ( Bitmap image ) : IntegralImage2
image System.Drawing.Bitmap The source image from where the integral image should be computed.
Результат IntegralImage2

FromBitmap() публичный статический Метод

Constructs a new Integral image from a Bitmap image.
public static FromBitmap ( Bitmap image, bool computeTilted ) : IntegralImage2
image System.Drawing.Bitmap The source image from where the integral image should be computed.
computeTilted bool True to compute the tilted version of the integral image, /// false otherwise. Default is false.
Результат IntegralImage2

FromBitmap() публичный статический Метод

Constructs a new Integral image from a Bitmap image.
public static FromBitmap ( Bitmap image, int channel ) : IntegralImage2
image System.Drawing.Bitmap The source image from where the integral image should be computed.
channel int The image channel to consider in the computations. Default is 0.
Результат IntegralImage2

FromBitmap() публичный статический Метод

Constructs a new Integral image from a Bitmap image.
public static FromBitmap ( Bitmap image, int channel, bool computeTilted ) : IntegralImage2
image System.Drawing.Bitmap The source image from where the integral image should be computed.
channel int The image channel to consider in the computations. Default is 0.
computeTilted bool True to compute the tilted version of the integral image, /// false otherwise. Default is false.
Результат IntegralImage2

FromBitmap() публичный статический Метод

Constructs a new Integral image from a BitmapData image.
public static FromBitmap ( BitmapData imageData ) : IntegralImage2
imageData System.Drawing.Imaging.BitmapData The source image from where the integral image should be computed.
Результат IntegralImage2

FromBitmap() публичный статический Метод

Constructs a new Integral image from a BitmapData image.
public static FromBitmap ( BitmapData imageData, bool computeTilted ) : IntegralImage2
imageData System.Drawing.Imaging.BitmapData The source image from where the integral image should be computed.
computeTilted bool True to compute the tilted version of the integral image, /// false otherwise. Default is false.
Результат IntegralImage2

FromBitmap() публичный статический Метод

Constructs a new Integral image from a BitmapData image.
public static FromBitmap ( BitmapData imageData, int channel ) : IntegralImage2
imageData System.Drawing.Imaging.BitmapData The source image from where the integral image should be computed.
channel int The image channel to consider in the computations. Default is 0.
Результат IntegralImage2

FromBitmap() публичный статический Метод

Constructs a new Integral image from a BitmapData image.
public static FromBitmap ( BitmapData imageData, int channel, bool computeTilted ) : IntegralImage2
imageData System.Drawing.Imaging.BitmapData The source image from where the integral image should be computed.
channel int The image channel to consider in the computations. Default is 0.
computeTilted bool True to compute the tilted version of the integral image, /// false otherwise. Default is false.
Результат IntegralImage2

FromBitmap() публичный статический Метод

Constructs a new Integral image from an unmanaged image.
public static FromBitmap ( UnmanagedImage image ) : IntegralImage2
image UnmanagedImage The source image from where the integral image should be computed.
Результат IntegralImage2

FromBitmap() публичный статический Метод

Constructs a new Integral image from an unmanaged image.
public static FromBitmap ( UnmanagedImage image, bool computeTilted ) : IntegralImage2
image UnmanagedImage The source image from where the integral image should be computed.
computeTilted bool True to compute the tilted version of the integral image, /// false otherwise. Default is false.
Результат IntegralImage2

FromBitmap() публичный статический Метод

Constructs a new Integral image from an unmanaged image.
public static FromBitmap ( UnmanagedImage image, int channel ) : IntegralImage2
image UnmanagedImage The source image from where the integral image should be computed.
channel int The image channel to consider in the computations. Default is 0.
Результат IntegralImage2

FromBitmap() публичный статический Метод

Constructs a new Integral image from an unmanaged image.
public static FromBitmap ( UnmanagedImage image, int channel, bool computeTilted ) : IntegralImage2
image UnmanagedImage The source image from where the integral image should be computed.
channel int The image channel to consider in the computations. Default is 0.
computeTilted bool True to compute the tilted version of the integral image, /// false otherwise. Default is false.
Результат IntegralImage2

GetSum() публичный Метод

Gets the sum of the pixels in a rectangle of the Integral image.
public GetSum ( int x, int y, int width, int height ) : long
x int The horizontal position of the rectangle x.
y int The vertical position of the rectangle y.
width int The rectangle's width w.
height int The rectangle's height h.
Результат long

GetSum2() публичный Метод

Gets the sum of the squared pixels in a rectangle of the Integral image.
public GetSum2 ( int x, int y, int width, int height ) : long
x int The horizontal position of the rectangle x.
y int The vertical position of the rectangle y.
width int The rectangle's width w.
height int The rectangle's height h.
Результат long

GetSumT() публичный Метод

Gets the sum of the pixels in a tilted rectangle of the Integral image.
public GetSumT ( int x, int y, int width, int height ) : long
x int The horizontal position of the rectangle x.
y int The vertical position of the rectangle y.
width int The rectangle's width w.
height int The rectangle's height h.
Результат long

IntegralImage2() защищенный Метод

Constructs a new Integral image of the given size.
protected IntegralImage2 ( int width, int height, bool computeTilted ) : System
width int
height int
computeTilted bool
Результат System