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