C# Class Emgu.CV.Structure.MCvMoments

Show file Open project: fajoy/RTSPExample Class Usage Examples

Public Properties

Property Type Description
inv_sqrt_m00 double
m00 double
m01 double
m02 double
m03 double
m10 double
m11 double
m12 double
m20 double
m21 double
m30 double
mu02 double
mu03 double
mu11 double
mu12 double
mu20 double
mu21 double
mu30 double

Public Methods

Method Description
GetCentralMoment ( int x_order, int y_order ) : double

Retrieves the central moment, which in case of image moments is defined as: mu_{x_order,y_order}=sum_{x,y}(I(x,y)*(x-x_c)^{x_order} * (y-y_c)^{y_order}), where x_c=M10/M00, y_c=M01/M00 - coordinates of the gravity center

GetHuMoment ( ) : MCvHuMoments

Get the HuMoments

GetNormalizedCentralMoment ( int x_order, int y_order ) : double

Retrieves normalized central moment, which in case of image moments is defined as: eta_{x_order,y_order}=mu_{x_order,y_order} / M00^{(y_order+x_order)/2+1}, where mu_{x_order,y_order} is the central moment

GetSpatialMoment ( int xOrder, int yOrder ) : double

Retrieves the spatial moment, which in case of image moments is defined as: M_{x_order,y_order}=sum_{x,y}(I(x,y) * x^{x_order} * y^{y_order}) where I(x,y) is the intensity of the pixel (x, y).

Method Details

GetCentralMoment() public method

Retrieves the central moment, which in case of image moments is defined as: mu_{x_order,y_order}=sum_{x,y}(I(x,y)*(x-x_c)^{x_order} * (y-y_c)^{y_order}), where x_c=M10/M00, y_c=M01/M00 - coordinates of the gravity center
public GetCentralMoment ( int x_order, int y_order ) : double
x_order int x order of the retrieved moment, x_order >= 0.
y_order int y order of the retrieved moment, y_order >= 0 and x_order + y_order <= 3
return double

GetHuMoment() public method

Get the HuMoments
public GetHuMoment ( ) : MCvHuMoments
return MCvHuMoments

GetNormalizedCentralMoment() public method

Retrieves normalized central moment, which in case of image moments is defined as: eta_{x_order,y_order}=mu_{x_order,y_order} / M00^{(y_order+x_order)/2+1}, where mu_{x_order,y_order} is the central moment
public GetNormalizedCentralMoment ( int x_order, int y_order ) : double
x_order int x order of the retrieved moment, x_order >= 0.
y_order int y order of the retrieved moment, y_order >= 0 and x_order + y_order <= 3
return double

GetSpatialMoment() public method

Retrieves the spatial moment, which in case of image moments is defined as: M_{x_order,y_order}=sum_{x,y}(I(x,y) * x^{x_order} * y^{y_order}) where I(x,y) is the intensity of the pixel (x, y).
public GetSpatialMoment ( int xOrder, int yOrder ) : double
xOrder int x order of the retrieved moment, x_order >= 0
yOrder int y order of the retrieved moment, y_order >= 0 and x_order + y_order <= 3
return double

Property Details

inv_sqrt_m00 public property

m00 != 0 ? 1/sqrt(m00) : 0
public double inv_sqrt_m00
return double

m00 public property

spatial moments
public double m00
return double

m01 public property

spatial moments
public double m01
return double

m02 public property

spatial moments
public double m02
return double

m03 public property

spatial moments
public double m03
return double

m10 public property

spatial moments
public double m10
return double

m11 public property

spatial moments
public double m11
return double

m12 public property

spatial moments
public double m12
return double

m20 public property

spatial moments
public double m20
return double

m21 public property

spatial moments
public double m21
return double

m30 public property

spatial moments
public double m30
return double

mu02 public property

central moments
public double mu02
return double

mu03 public property

central moments
public double mu03
return double

mu11 public property

central moments
public double mu11
return double

mu12 public property

central moments
public double mu12
return double

mu20 public property

central moments
public double mu20
return double

mu21 public property

central moments
public double mu21
return double

mu30 public property

central moments
public double mu30
return double