C# Class Accord.Imaging.IntegralImage2

Inheritance: IDisposable
Afficher le fichier Open project: accord-net/framework Class Usage Examples

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Method Details

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

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.
Résultat void

FromBitmap() public static méthode

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.
Résultat IntegralImage2

FromBitmap() public static méthode

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.
Résultat IntegralImage2

FromBitmap() public static méthode

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.
Résultat IntegralImage2

FromBitmap() public static méthode

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.
Résultat IntegralImage2

FromBitmap() public static méthode

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.
Résultat IntegralImage2

FromBitmap() public static méthode

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.
Résultat IntegralImage2

FromBitmap() public static méthode

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.
Résultat IntegralImage2

FromBitmap() public static méthode

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.
Résultat IntegralImage2

FromBitmap() public static méthode

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.
Résultat IntegralImage2

FromBitmap() public static méthode

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.
Résultat IntegralImage2

FromBitmap() public static méthode

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.
Résultat IntegralImage2

FromBitmap() public static méthode

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.
Résultat IntegralImage2

GetSum() public méthode

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.
Résultat long

GetSum2() public méthode

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.
Résultat long

GetSumT() public méthode

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.
Résultat long

IntegralImage2() protected méthode

Constructs a new Integral image of the given size.
protected IntegralImage2 ( int width, int height, bool computeTilted ) : System
width int
height int
computeTilted bool
Résultat System