Finding center of circle and eccentricity

4 vues (au cours des 30 derniers jours)
Jeff
Jeff le 18 Mar 2011
I have what amounts to an xray image of a circular xray field - the xray beam is a cone. The beam is supposed to be aimed at a metal ball with the shadow of the ball hopefully centered on the xray beam. So you basically have two concentric circles with inner one a lighter shade of grey and the outer basically black (the exposed part of the film). I hope you're still with me.
What I want to do is (1) find the centers of both circles and (2) find the eccentricity of the two circles. My first approach was to try to find the boundary of each circle and then perform some measurements on those. However, today I began thinking maybe I could simply locate two points on each circle, form a chord, and determine the center. This assumes a perfect circle, which may not be the case. I could do this several times and calculate a standard deviation.
Now to my question. Which way would you pros attack this. Perhaps there is a completely different way I need to look at this.
Thanks, Jeff
  1 commentaire
Ashish Uthama
Ashish Uthama le 18 Mar 2011
Jeff, posting an image always helps when dealing with image processing questions.
btw, I like the chord approach. Slick.

Connectez-vous pour commenter.

Réponses (1)

Ashish Uthama
Ashish Uthama le 18 Mar 2011
The image processing toolbox has a demo which 'fits' a circle to a segmented image (and thus finds the center).

Catégories

En savoir plus sur Image Segmentation and Analysis dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by