struct CvMoments

Overview

Spatial and central moments Moreā€¦

#include <types_c.h>

struct CvMoments
{
    // fields

    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;

    // construction

    CvMoments();
    CvMoments(const cv::Moments& m);

    // methods

    operator cv::Moments() const;
};

Detailed Documentation

Spatial and central moments

Fields

double inv_sqrt_m00

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

double m03

spatial moments

double mu03

central moments