Varying results of arclength

asked 2013-12-04 08:47:24 -0500

hvn gravatar image

updated 2013-12-05 06:39:32 -0500

Hi,

I'm using http://docs.opencv.org/doc/tutorials/imgproc/shapedescriptors/moments/moments.html with a grabbed image with 1 object and I keep getting different outcomes for the arclength such as 450, 500, 950, 600. What could be the cause of this ? Shouldn't the outcome be a steady value or value in a short range ? Or is there something I don't get ?

I'm using contourArea as well, and what I find is that with contours.size() being 2, both arcLength and contourArea have different values in each iteration. How can this be?

Thanks

edit retag flag offensive close merge delete