C# Класс Accord.Imaging.Moments.CentralMoments

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

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

Метод Описание
CentralMoments ( Bitmap image, Rectangle area, int order = DefaultOrder ) : System

Initializes a new instance of the CentralMoments class.

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

Initializes a new instance of the CentralMoments class.

CentralMoments ( RawMoments moments ) : System

Initializes a new instance of the CentralMoments class.

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

Initializes a new instance of the CentralMoments class.

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

Initializes a new instance of the CentralMoments class.

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

Initializes a new instance of the CentralMoments class.

CentralMoments ( int order = DefaultOrder ) : System

Initializes a new instance of the CentralMoments class.

Compute ( RawMoments moments ) : void

Computes the center moments from the specified raw moments.

Compute ( UnmanagedImage image, Rectangle area ) : void

Computes the center moments for the specified image.

Compute ( float image, Rectangle area ) : void

Computes the center moments for the specified image.

GetOrientation ( ) : float

Gets the orientation of the ellipse containing the image.

GetSize ( ) : SizeF

Gets the size of the ellipse containing the image.

GetSizeAndOrientation ( float &angle ) : SizeF

Gets both size and orientation of the ellipse containing the image.

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

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

Initializes a new instance of the CentralMoments class.
public CentralMoments ( Bitmap image, Rectangle area, int order = DefaultOrder ) : System
image System.Drawing.Bitmap The image whose moments should be computed.
area System.Drawing.Rectangle The region of interest in the image to compute moments for.
order int The maximum order for the moments.
Результат System

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

Initializes a new instance of the CentralMoments class.
public CentralMoments ( Bitmap image, int order = DefaultOrder ) : System
image System.Drawing.Bitmap The image whose moments should be computed.
order int The maximum order for the moments.
Результат System

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

Initializes a new instance of the CentralMoments class.
public CentralMoments ( RawMoments moments ) : System
moments RawMoments The raw moments to construct central moments.
Результат System

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

Initializes a new instance of the CentralMoments class.
public CentralMoments ( UnmanagedImage image, Rectangle area, int order = DefaultOrder ) : System
image AForge.Imaging.UnmanagedImage The image whose moments should be computed.
area System.Drawing.Rectangle The region of interest in the image to compute moments for.
order int The maximum order for the moments.
Результат System

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

Initializes a new instance of the CentralMoments class.
public CentralMoments ( float image, Rectangle area, int order = DefaultOrder ) : System
image float The image whose moments should be computed.
area System.Drawing.Rectangle The region of interest in the image to compute moments for.
order int The maximum order for the moments.
Результат System

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

Initializes a new instance of the CentralMoments class.
public CentralMoments ( float image, int order = DefaultOrder ) : System
image float The image whose moments should be computed.
order int The maximum order for the moments.
Результат System

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

Initializes a new instance of the CentralMoments class.
public CentralMoments ( int order = DefaultOrder ) : System
order int
Результат System

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

Computes the center moments from the specified raw moments.
public Compute ( RawMoments moments ) : void
moments RawMoments The raw moments to use as base of calculations.
Результат void

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

Computes the center moments for the specified image.
public Compute ( UnmanagedImage image, Rectangle area ) : void
image AForge.Imaging.UnmanagedImage The image whose moments should be computed.
area System.Drawing.Rectangle The region of interest in the image to compute moments for.
Результат void

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

Computes the center 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.
Результат void

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

Gets the orientation of the ellipse containing the image.
public GetOrientation ( ) : float
Результат float

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

Gets the size of the ellipse containing the image.
public GetSize ( ) : SizeF
Результат System.Drawing.SizeF

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

Gets both size and orientation of the ellipse containing the image.
public GetSizeAndOrientation ( float &angle ) : SizeF
angle float The angle of orientation of the ellipse, in radians.
Результат System.Drawing.SizeF