I require to crop out the polygon box (red color) only and eliminate the background from the image .How to crop the objects and store it in different variable?? I need coding... thank u in advance..please help me...
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151342/image.jpeg)
0 comentarios
Respuestas (1)
Image Analyst
el 4 de Nov. de 2015
Did you try imrect() or rbbox()? I think there are examples in the help. Once you know the bounding rows and columns, you can use indexing or the imcrop() function to extract only that box.
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!