Marking rectangles on images automatically

조회 수: 4 (최근 30일)
Yash Mayuresh Kavi
Yash Mayuresh Kavi 2019년 6월 24일
편집: Yash Mayuresh Kavi 2019년 7월 2일
Hi,
I am trying to write a code that would allow me to detect rectangles with a certain area automatically in an image.
For example, the code should allow me to detect the reactangle like the one shown in the image attached rather than manually drawing it using roipoly() or a function of the same kind. The area is such that there is no break or black area in the image.
Kindly let me know if there is more details if required
Thank you
  댓글 수: 7
KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 7월 1일
편집: KALYAN ACHARJYA 2019년 7월 1일
@Yash
The Question is:
Draw the ractangle with maximum possible area in gray shaded region only?
Am I right?
Can you share more 2-3 sample images, actually I am interested to look on minimum width of black strip?
Yash Mayuresh Kavi
Yash Mayuresh Kavi 2019년 7월 2일
편집: Yash Mayuresh Kavi 2019년 7월 2일
Hi Kalyan,
The aim is to plot multiple rectangles of certain areas and dimensions automatically. So the rectangles have to be plotted on the colored areas of the image. Here are some more examples for the same.untitled1.jpg

댓글을 달려면 로그인하십시오.

답변 (0개)

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by