Selecting rectangular region of interest.
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I tried using imcrop to select a rectangular region of interest but for some reason it didn't work when I used another image (different size). I tried using the roipoly function to select the region of interest and that worked every time. However, I need to restrict it to a rectangular region of interest. Is there any way I can do this using 'roipoly'?
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 23 Jan. 2013
imrect() will work with every image. You must have passed in initial coordinates that were beyond the edges of your new image, or some other kind of invalid usage. I can't tell unless you tell me the error message.
If you don't want imrect(), then you can use rbbox() (for "rubber band box"). There is an example for using it in the help for rbbox().
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!