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
显示 更早的评论
回答(2 个)
Abhisek Roy
2016-2-3
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!