OpenCV: CvMoments Struct Reference

| OpenCV 3.4.2 Open Source Computer Vision

Public Member Functions | Public Attributes | List of all members
CvMoments Struct Reference
Image processing » C API

`#include "types_c.h"`

## Public Member Functions
| CvMoments ()
| CvMoments (const cv::Moments &m)
| operator cv::Moments () const

## Public Attributes
double | inv_sqrt_m00
double | m00
double | m01
double | m02
double | m03
double | m10
double | m11
double | m12
double | m20
double | m21
double | m30
double | mu02
double | mu03
double | mu11
double | mu12
double | mu20
double | mu21
double | mu30

## Detailed Description

Spatial and central moments

## Constructor & Destructor Documentation

## ◆ CvMoments() [1/2]

CvMoments::CvMoments | ( |  | ) |
| inline

## ◆ CvMoments() [2/2]

CvMoments::CvMoments | ( | const cv::Moments & | m | ) |
| inline

## Member Function Documentation

## ◆ operator cv::Moments()

CvMoments::operator cv::Moments | ( |  | ) | const
| inline

## Member Data Documentation

## ◆ inv_sqrt_m00

double CvMoments::inv_sqrt_m00

m00 != 0 ? 1/sqrt(m00) : 0

## ◆ m00

double CvMoments::m00

## ◆ m01

double CvMoments::m01

## ◆ m02

double CvMoments::m02

## ◆ m03

double CvMoments::m03

spatial moments

## ◆ m10

double CvMoments::m10

## ◆ m11

double CvMoments::m11

## ◆ m12

double CvMoments::m12

## ◆ m20

double CvMoments::m20

## ◆ m21

double CvMoments::m21

## ◆ m30

double CvMoments::m30

## ◆ mu02

double CvMoments::mu02

## ◆ mu03

double CvMoments::mu03

central moments

## ◆ mu11

double CvMoments::mu11

## ◆ mu12

double CvMoments::mu12

## ◆ mu20

double CvMoments::mu20

## ◆ mu21

double CvMoments::mu21

## ◆ mu30

double CvMoments::mu30

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

- imgproc/include/opencv2/imgproc/types_c.h