How to display images using the ginput function ?
3 ビュー (過去 30 日間)
古いコメントを表示
Good day,
To expand more in my question. I am building an app within matlab app desinger with allows the user to place and delete components(image file) on the ui.axis. I would like to display the components(image file) when the user clicks on the UI axis. My method was that to use the ginput fucntion to obtain to simulataneously obtain the corrdinates and place the image file at the position choosen on the ui axis and to place a separate button to delete the image. Any assistance would be appreciated.
Additonally, the ginput function is set to 1 since i am applying a counter to count the number of times the user presses each button.
The attached Zip file is the progress i have made so far.
0 件のコメント
回答 (1 件)
Image Analyst
2022 年 2 月 18 日
Sounds like you want to copy and paste image at the location where the user clicks. If so, see my attached demo.
2 件のコメント
Image Analyst
2022 年 2 月 19 日
I don't care how you get the image. You can get it via whatever method you want. Via copying or reading it in or synthesizing it or whatever - it doesn't matter. All that matters is you have some image that you're going to paste onto a canvass (a larger, underlying image).
参考
カテゴリ
Help Center および File Exchange で Image Processing and Computer Vision についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!