Raster image moments
Inheritance Hierarchy
OpenCvSharp.CPlusPlusMoments
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The Moments type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Moments |
Default constructor.
All moment values are set to 0.
|
![]() | Moments(Byte, Boolean) |
Calculates all of the moments
up to the third order of a polygon or rasterized shape.
|
![]() | Moments(Single, Boolean) |
Calculates all of the moments
up to the third order of a polygon or rasterized shape.
|
![]() | Moments(InputArray, Boolean) |
Calculates all of the moments
up to the third order of a polygon or rasterized shape.
|
![]() | Moments(IEnumerablePoint, Boolean) |
Calculates all of the moments
up to the third order of a polygon or rasterized shape.
|
![]() | Moments(IEnumerablePoint2f, Boolean) |
Calculates all of the moments
up to the third order of a polygon or rasterized shape.
|
![]() | Moments(Double, Double, Double, Double, Double, Double, Double, Double, Double, Double) | Initializes a new instance of the Moments class |
Methods
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | HuMoments |
computes 7 Hu invariants from the moments
|
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
Operators
Name | Description | |
---|---|---|
![]() ![]() | (CvMoments to Moments) | |
![]() ![]() | (Moments to CvMoments) |
Fields
Name | Description | |
---|---|---|
![]() | 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
|
![]() | Nu02 |
central normalized moments
|
![]() | Nu03 |
central normalized moments
|
![]() | Nu11 |
central normalized moments
|
![]() | Nu12 |
central normalized moments
|
![]() | Nu20 |
central normalized moments
|
![]() | Nu21 |
central normalized moments
|
![]() | Nu30 |
central normalized moments
|
See Also