フィルターのクリア

Finding Large Arcs in an Image

10 ビュー (過去 30 日間)
John
John 2013 年 6 月 13 日
Hi,
I have a BW image containing large arcs. I was thinking of using imfindcircles to detect them, but their centers are certainly off the image because the radii are quite large. Any ideas on what would be the best way to detect these curves?
-Jen

回答 (1 件)

Image Analyst
Image Analyst 2013 年 6 月 13 日
Can we see your image? Where did you upload it to?
  5 件のコメント
John
John 2013 年 6 月 20 日
Hi,
I'm sorry, I don't think I have it set up to notify me when there are comments yet. Here is a sample image:
I started trying to implement my own hough circle based code that didn't have that restriction on the circle's center, but that's pretty difficult. I started running out of memory very quickly with my 3D accumulators. Any other ideas on approaches? Thanks!
-Jen
Image Analyst
Image Analyst 2013 年 6 月 20 日
That's really easy. Just binarize it if it's not already
binaryImage = grayImage > 255;
Then find the coordinates
[rows, columns] = find(binaryImage);
Then use the FAQ to fit to a circle:

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by