Moments Class OpenCvSharp Class Library
Raster image moments
Inheritance Hierarchy

SystemObject
  OpenCvSharp.CPlusPlusMoments

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public class Moments

The Moments type exposes the following members.

Constructors

  NameDescription
Public methodMoments
Default constructor. All moment values are set to 0.
Public methodMoments(Byte, Boolean)
Calculates all of the moments up to the third order of a polygon or rasterized shape.
Public methodMoments(Single, Boolean)
Calculates all of the moments up to the third order of a polygon or rasterized shape.
Public methodMoments(InputArray, Boolean)
Calculates all of the moments up to the third order of a polygon or rasterized shape.
Public methodMoments(IEnumerablePoint, Boolean)
Calculates all of the moments up to the third order of a polygon or rasterized shape.
Public methodMoments(IEnumerablePoint2f, Boolean)
Calculates all of the moments up to the third order of a polygon or rasterized shape.
Public methodMoments(Double, Double, Double, Double, Double, Double, Double, Double, Double, Double)
Initializes a new instance of the Moments class
Top
Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodHuMoments
computes 7 Hu invariants from the moments
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Operators

  NameDescription
Public operatorStatic member(CvMoments to Moments)
Public operatorStatic member(Moments to CvMoments)
Top
Fields

  NameDescription
Public fieldM00
spatial moments
Public fieldM01
spatial moments
Public fieldM02
spatial moments
Public fieldM03
spatial moments
Public fieldM10
spatial moments
Public fieldM11
spatial moments
Public fieldM12
spatial moments
Public fieldM20
spatial moments
Public fieldM21
spatial moments
Public fieldM30
spatial moments
Public fieldMu02
central moments
Public fieldMu03
central moments
Public fieldMu11
central moments
Public fieldMu12
central moments
Public fieldMu20
central moments
Public fieldMu21
central moments
Public fieldMu30
central moments
Public fieldNu02
central normalized moments
Public fieldNu03
central normalized moments
Public fieldNu11
central normalized moments
Public fieldNu12
central normalized moments
Public fieldNu20
central normalized moments
Public fieldNu21
central normalized moments
Public fieldNu30
central normalized moments
Top
See Also

Reference