- 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).
how to use mouse scroll to zoom in/out when using imtool?
조회 수: 6 (최근 30일)
이전 댓글 표시
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!
댓글 수: 0
답변 (1개)
Image Analyst
2020년 9월 16일
I don't think you can, unfortunately. You have to either:
댓글 수: 5
Image Analyst
2020년 9월 25일
The attached demo might help you. That's all I have left to offer.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!