OpenCV  2.4.13
Open Source Computer Vision
cv::Moments Class Reference

raster image moments More...

#include <imgproc.hpp>

Public Member Functions

 Moments ()
 the default constructor More...
 
 Moments (double m00, double m10, double m01, double m20, double m11, double m02, double m30, double m21, double m12, double m03)
 the full constructor More...
 
 Moments (const CvMoments &moments)
 the conversion from CvMoments More...
 
 operator CvMoments () const
 the conversion to CvMoments More...
 

Public Attributes

double m00
 spatial moments More...
 
double m10
 
double m01
 
double m20
 
double m11
 
double m02
 
double m30
 
double m21
 
double m12
 
double m03
 
double mu20
 central moments More...
 
double mu11
 
double mu02
 
double mu30
 
double mu21
 
double mu12
 
double mu03
 
double nu20
 central normalized moments More...
 
double nu11
 
double nu02
 
double nu30
 
double nu21
 
double nu12
 
double nu03
 

Detailed Description

raster image moments

Constructor & Destructor Documentation

cv::Moments::Moments ( )

the default constructor

cv::Moments::Moments ( double  m00,
double  m10,
double  m01,
double  m20,
double  m11,
double  m02,
double  m30,
double  m21,
double  m12,
double  m03 
)

the full constructor

cv::Moments::Moments ( const CvMoments moments)

the conversion from CvMoments

Member Function Documentation

cv::Moments::operator CvMoments ( ) const

the conversion to CvMoments

Member Data Documentation

double cv::Moments::m00

spatial moments

double cv::Moments::m01
double cv::Moments::m02
double cv::Moments::m03
double cv::Moments::m10
double cv::Moments::m11
double cv::Moments::m12
double cv::Moments::m20
double cv::Moments::m21
double cv::Moments::m30
double cv::Moments::mu02
double cv::Moments::mu03
double cv::Moments::mu11
double cv::Moments::mu12
double cv::Moments::mu20

central moments

double cv::Moments::mu21
double cv::Moments::mu30
double cv::Moments::nu02
double cv::Moments::nu03
double cv::Moments::nu11
double cv::Moments::nu12
double cv::Moments::nu20

central normalized moments

double cv::Moments::nu21
double cv::Moments::nu30

The documentation for this class was generated from the following file: