how to label and detect biggest rectangle amongst others???

조회 수: 5 (최근 30일)
ramdas patil
ramdas patil 2014년 5월 19일
댓글: Image Analyst 2014년 5월 19일
1.i want to perform numbering on each rectangle in the image.how should i do this in matlab??
2. i want to find the rectangle which is biggest in size amongst others.how to detect this.. please help thanks
  댓글 수: 2
Henric Rydén
Henric Rydén 2014년 5월 19일
Hi,
  1. What do you mean by rectangle? Is that a feature in the image or an object you've created with something like imrect?
  2. By biggest, do you mean largest area or something else?
ramdas patil
ramdas patil 2014년 5월 19일
sir, i have uploaded the image,and i want to say the largest area of the rectangle....

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

채택된 답변

Image Analyst
Image Analyst 2014년 5월 19일
You forgot to post your image. So all I can do is to refer you to my Image Segmentation Tutorial in my File Exchange and to the attached demo that takes the largest region(s).
  댓글 수: 1
Image Analyst
Image Analyst 2014년 5월 19일
OK, I see it now. My demo code will work. Just modify it slightly to read in your image instead of mine and invert it so that the rectangles are bright and the background black.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by