Is it possible to draw rectangles with mouse on a panel not an image?
1 回表示 (過去 30 日間)
古いコメントを表示
Hi all,
I am currently trying to make a GUI program where users click a button which lets them draw a rectangle over a canvas (I assumed the best object to use for this was a Panel object) and I've come across,
1) Drawrectangle
2) Imrect
However they I've found that imrect is used for images reading them in with imread and drawrectangle requires axes.
Any help or advice would be appreciated.
0 件のコメント
回答 (1 件)
Ka Mirul
2018 年 11 月 25 日
編集済み: madhan ravi
2018 年 11 月 25 日
I don't think so, but you can use a blank image as the background,
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!