zoom tools in an image in GUI axes

3 次查看(过去 30 天)
xi
xi 2018-11-27
重新打开: Walter Roberson 2018-12-20
I want to show an image in an gui axes and enable the zoom in(out) functionalities of the image using the mouse, display the (X,Y) when hovering the mouse, etc.
What is the best way to achieve that?
I created an axes and use the following to display an image
h=imshow(Image,'Parent', handles.axes1);
  1 个评论
Jan
Jan 2018-11-27
What exactly do you want to do? Enable zoom functionality, which is done usually by pressing the magnifier icon? Where do you want to "display the (X, Y)" and what does this mean? What is "etc." exactly?

请先登录,再进行评论。

回答(1 个)

Image Analyst
Image Analyst 2018-11-27
If you want, you can try the attached demo.

类别

Help CenterFile Exchange 中查找有关 Visual Exploration 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by