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

1 vue (au cours des 30 derniers jours)
...

Réponses (2)

Abhisek Roy
Abhisek Roy le 3 Fév 2016
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
Image Analyst le 3 Fév 2016
Try using rbbox() or imrect().

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by