zoom tools in an image in GUI axes

조회 수: 4 (최근 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