C# Class Accord.Imaging.Moments.RawMoments

Raw image moments.
Inheritance: IMoments
Show file Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
Compute ( UnmanagedImage image, Rectangle area ) : void

Computes the raw moments for the specified image.

Compute ( float image, Rectangle area ) : void

Computes the raw moments for the specified image.

RawMoments ( Bitmap image, Rectangle area, int order = DefaultOrder ) : System

Initializes a new instance of the Moments class.

RawMoments ( Bitmap image, int order = DefaultOrder ) : System

Initializes a new instance of the Moments class.

RawMoments ( UnmanagedImage image, Rectangle area, int order = DefaultOrder ) : System

Initializes a new instance of the Moments class.

RawMoments ( UnmanagedImage image, int order = DefaultOrder ) : System

Initializes a new instance of the Moments class.

RawMoments ( float image, Rectangle area, int order = DefaultOrder ) : System

Initializes a new instance of the Moments class.

RawMoments ( float image, int order = DefaultOrder ) : System

Initializes a new instance of the Moments class.

RawMoments ( int order = DefaultOrder ) : System

Initializes a new instance of the Moments class.

Protected Methods

Method Description
Reset ( ) : void

Resets all moments to zero.

Private Methods

Method Description
Compute ( float image, Rectangle area, bool secondOrder ) : void

Method Details

Compute() public method

Computes the raw moments for the specified image.
public Compute ( UnmanagedImage image, Rectangle area ) : void
image AForge.Imaging.UnmanagedImage The image.
area System.Drawing.Rectangle The region of interest in the image to compute moments for.
return void

Compute() public method

Computes the raw moments for the specified image.
public Compute ( float image, Rectangle area ) : void
image float The image.
area System.Drawing.Rectangle The region of interest in the image to compute moments for.
return void

RawMoments() public method

Initializes a new instance of the Moments class.
public RawMoments ( Bitmap image, Rectangle area, int order = DefaultOrder ) : System
image System.Drawing.Bitmap
area System.Drawing.Rectangle
order int
return System

RawMoments() public method

Initializes a new instance of the Moments class.
public RawMoments ( Bitmap image, int order = DefaultOrder ) : System
image System.Drawing.Bitmap
order int
return System

RawMoments() public method

Initializes a new instance of the Moments class.
public RawMoments ( UnmanagedImage image, Rectangle area, int order = DefaultOrder ) : System
image AForge.Imaging.UnmanagedImage
area System.Drawing.Rectangle
order int
return System

RawMoments() public method

Initializes a new instance of the Moments class.
public RawMoments ( UnmanagedImage image, int order = DefaultOrder ) : System
image AForge.Imaging.UnmanagedImage
order int
return System

RawMoments() public method

Initializes a new instance of the Moments class.
public RawMoments ( float image, Rectangle area, int order = DefaultOrder ) : System
image float
area System.Drawing.Rectangle
order int
return System

RawMoments() public method

Initializes a new instance of the Moments class.
public RawMoments ( float image, int order = DefaultOrder ) : System
image float
order int
return System

RawMoments() public method

Initializes a new instance of the Moments class.
public RawMoments ( int order = DefaultOrder ) : System
order int
return System

Reset() protected method

Resets all moments to zero.
protected Reset ( ) : void
return void