Center of Contour

Center of Contour

Post by Spee » Fri, 21 Jul 2006 22:50:30


Hi,

Could you please tell me what is the most efficient way of finding the
center of mass of the area enclosed by a closed contour.

I have a considerable circular region with streaks coming out of it in
either direction. Basically i want to find the center of the circular
region but it is getting offset due to the presence of connected
outlier segments.

I am working with binary images only.

Thanks a ton,
Soumyadip.
 
 
 

1. Center of Contour

2. Center of Contour [OT]

Speed (in XXXX@XXXXX.COM ) said:

| Could you please tell me what is the most efficient way of finding
| the center of mass of the area enclosed by a closed contour.
|
| I have a considerable circular region with streaks coming out of it
| in either direction. Basically i want to find the center of the
| circular region but it is getting offset due to the presence of
| connected outlier segments.
|
| I am working with binary images only.

Soumyadip...

It's not really a difficult problem; but the answer would depend on
what you mean by "efficiency". Are you looking for the smallest code
footprint - or are you looking for fastest execution time?

3. Center of Contour [VOT]

4. Center of Contour

5. centre point for a closed contour

6. Concentric contours about the centroid, having the same length, and interior to an initial contour.

7. Wireframe Contour plots - labelling contours

8. Contours automatically change from flat to contoured

9. render contours - missing contours

10. Contour Plot algorithm for curved contours

11. Contour labels on contours?

12. work contour - contoured / flat?

13. Labelling contours on contour plots

14. Contour Plot / Plot Range / Contour Scaling

15. work contour -- contoured and flat