MATLAB Answers

zoom tools in an image in GUI axes

24 ビュー (過去 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?

サインイン to comment.

回答 (1 件)

Image Analyst
Image Analyst 2018 年 11 月 27 日
If you want, you can try the attached demo.

  0 件のコメント

サインイン to comment.

サインイン してこの質問に回答します。


Translated by