Finding center of circle and eccentricity
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
Ashish Uthama
2011-3-18
Jeff, posting an image always helps when dealing with image processing questions.
btw, I like the chord approach. Slick.
回答(1 个)
Ashish Uthama
2011-3-18
The image processing toolbox has a demo which 'fits' a circle to a segmented image (and thus finds the center).
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!