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!