Info

この質問は閉じられています。 編集または回答するには再度開いてください。

I want to dissect one black, oval-shaped part of a photo keep the contents inside

1 回表示 (過去 30 日間)
Naim
Naim 2017 年 6 月 16 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
See attached photos for reference. What functionality does MATLAB have for detecting black space and zeroing in on what's inside that space?
Thanks for your help.

回答 (1 件)

Ankita Nargundkar
Ankita Nargundkar 2017 年 6 月 21 日
See attached M file for an example of one way to approach this problem. If you want to get a perfect oval, look at 'regionprops' to extract that sort of information from the binary image or the connected components structure ('cc').

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by