how to display an image and ask the user to specify the two corners along the diagonal direction of the bounding box and then crop that portion and display it by using ginput function
Ältere Kommentare anzeigen
Antworten (2)
Abhisek Roy
am 3 Feb. 2016
0 Stimmen
Hi MNBY,
Have a look at the following example -
In this example one image file is loaded and then cropped depending on where user selects. Have a look at this.
Image Analyst
am 3 Feb. 2016
0 Stimmen
Try using rbbox() or imrect().
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!