The MCvMoments type exposes the following methods.
Methods
![]() ![]() | ![]() ![]() | ![]() ![]() | ![]() ![]() |
Member | Description | |
---|---|---|
![]() | Equals(Object) |
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(Int32, Int32) |
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(Int32, Int32) |
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(Int32, Int32) |
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.) |