Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

What are m00, m10, m01 ect

I have come across the code:

 for(MatOfPoint cont : contours)
    {
        Moments mu = Imgproc.moments(cont, false);
        if (mu.get_m00() > 100.0)
        {
            Rect r = Imgproc.boundingRect(cont);

Which leads me to the question what are m00, m10 and all the others.

What are m00, m10, m01 ect

I have come across the code:

 for(MatOfPoint cont : contours)
    {
        Moments mu = Imgproc.moments(cont, false);
        if (mu.get_m00() > 100.0)
        {
            Rect r = Imgproc.boundingRect(cont);

Which leads me to the question what are m00, m10 and all the others.