Ask Your Question
0

What are m00, m10, m01 ect

asked Feb 3 '18

Marko5280 gravatar image

updated Feb 3 '18

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.

Preview: (hide)

1 answer

Sort by » oldest newest most voted
1

answered Feb 3 '18

procton gravatar image

please, take a look here, you will find a formal definition with examples. https://docs.opencv.org/2.4/modules/i...

Preview: (hide)

Question Tools

1 follower

Stats

Asked: Feb 3 '18

Seen: 2,194 times

Last updated: Feb 02 '18