Ask Your Question
0

What are m00, m10, m01 ect

asked 2018-02-02 18:12:31 -0600

Marko5280 gravatar image

updated 2018-02-02 19:27:40 -0600

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.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2018-02-02 18:37:15 -0600

procton gravatar image

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

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-02-02 18:12:31 -0600

Seen: 2,088 times

Last updated: Feb 02 '18