フィルターのクリア

how to find dent in a circle?

1 回表示 (過去 30 日間)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2013 年 5 月 8 日
how to find dent in a circle?

採用された回答

Image Analyst
Image Analyst 2013 年 5 月 8 日
Not exactly sure what you mean by "find" - for example is it just a binary image of the dent alone, or is it an array of all the (row, column) pairs of pixels that comprise the dent. But anyway, you can just get a binary image of the bojects and then use bwconvhull
dentsImage = bwconvhull(binaryImage) - binaryImage; % Get image.
[rows columns] = find(dentsImage); % Get (y,x) coordinates.
  4 件のコメント
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2013 年 5 月 9 日
Thank you so much image analyst. I am getting error in s.BoundingBox(4);Field reference for multiple structure elements that is followed by more reference blocks is an error.What does it indicates. is there any problem in the input image which i gave.
Image Analyst
Image Analyst 2013 年 5 月 9 日
I just ran it again and it works fine. What error did you get? You probably modified it so that it doesn't work.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeComputer Vision with Simulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by