- What do you mean by rectangle? Is that a feature in the image or an object you've created with something like imrect?
- By biggest, do you mean largest area or something else?
how to label and detect biggest rectangle amongst others???
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
ramdas patil
el 19 de Mayo de 2014
Comentada: Image Analyst
el 19 de Mayo de 2014
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/162944/image.png)
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 comentarios
Henric Rydén
el 19 de Mayo de 2014
Hi,
Respuesta aceptada
Image Analyst
el 19 de Mayo de 2014
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 comentario
Image Analyst
el 19 de Mayo de 2014
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.
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!