Finding center of circle and eccentricity
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commento
Ashish Uthama
il 18 Mar 2011
Jeff, posting an image always helps when dealing with image processing questions.
btw, I like the chord approach. Slick.
Risposte (1)
Ashish Uthama
il 18 Mar 2011
The image processing toolbox has a demo which 'fits' a circle to a segmented image (and thus finds the center).
0 Commenti
Vedere anche
Categorie
Scopri di più su Image Processing Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!