Yes that makes sense for what little I know about OpenCV working with contours rather than regions.But I think that I discover what is the problem with my OpenCV example. It is extracting a contour from the image to compute its centroid, not the whole component.
Understanding centroid
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Understanding centroid
Re: Understanding centroid
So I think now we can close this discussion. Thanks for all efforts.
Regards.
Regards.