The MCvMoments type exposes the following members.

Methods

  NameDescription
Equals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetCentralMoment
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
GetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
GetHuMoment
Get the HuMoments
GetNormalizedCentralMoment
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
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).
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)

Fields

  NameDescription
inv_sqrt_m00
m00 != 0 ? 1/sqrt(m00) : 0
m00
spatial moments
m01
spatial moments
m02
spatial moments
m03
spatial moments
m10
spatial moments
m11
spatial moments
m12
spatial moments
m20
spatial moments
m21
spatial moments
m30
spatial moments
mu02
central moments
mu03
central moments
mu11
central moments
mu12
central moments
mu20
central moments
mu21
central moments
mu30
central moments

Properties

  NameDescription
GravityCenter
The Gravity Center of this Moment

See Also