Find a round pattern in an image
古いコメントを表示
Hello,
I apologize in advance if a similar question has already been asked and answered.
I am currently processing 2-D images. The images have been converted into matrices. My objective is to identify a round patterns in these images so I can define a "center" or centroid for each of my images. What I consider to be the center is a point of high intensity at the center of a zone of decreasing intensity.
Here are to links to two sample pictures:
As you can see the "center" I am looking for is quite clear in the second image However in the first image the presence of a zone of high intensity on the left makes it difficult to find the point which I consider to be the center of my pattern.
What I have already tried:
Looking for the maximum value of the matrice (works most of the time but not all).
Using "center of mass" algorithms.
Attempting to fit a 2-D gaussian.
Looking at the gradient matrix to find maxima.
Thank you in advance for any answer and please tell me if there is anything I can do to clarify my question.
採用された回答
その他の回答 (1 件)
Clemens
2011 年 7 月 4 日
1 投票
Sounds like a textbook example for hough transform.
Look at: http://en.wikipedia.org/wiki/Hough_transform Especially scroll down - there is "Sample MATLAB code for Xie and Ji's ellipse detection method" - maybe you can directly use it.
カテゴリ
ヘルプ センター および File Exchange で Computer Vision with Simulink についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!