how to use mouse scroll to zoom in/out when using imtool?
Mostra commenti meno recenti
I notice that when I'm using the imshow function, I could scroll to zoom in/out, and hold the left mouse button to move the image.
However, I cannot do this when I'm using the imtool function, which provides a quite unfriendly interaction experience. So could I add any codes to achieve this interactive function when I call imtool? e.g. if there are some build-in functions conflict with the drag and drop of the mouse, I could type in these codes and then hold the left ctrl botton and scroll to zoom in/out.
Many thanks!
Risposte (1)
Image Analyst
il 16 Set 2020
0 voti
I don't think you can, unfortunately. You have to either:
- Use the + and - magnifying glass icons above the image at the upper right, or
- Use control + or control - on the numeric keypad (just like Photoshop if you're familiar with that).
5 Commenti
Sandy Woo
il 16 Set 2020
Image Analyst
il 16 Set 2020
Not sure how you want to edit it.
Sandy Woo
il 25 Set 2020
Image Analyst
il 25 Set 2020
The attached demo might help you. That's all I have left to offer.
Categorie
Scopri di più su Display 2-D Images in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!