GUIDE: preview zoomed image based on mouse over of fullsize image

Does anyone know of a way to zoom right in (so that pixels can be seen) to parts of the image that a user is hovering the mouse over?
In my GUI, I have two axes: one called 'imageAxes' and one called 'previewAxes'. The 'previewAxes' is only small but I would like it to zoom right in on wherever the user is hovering their mouse in 'imageAxes'... is this possible?!
Thanks!

 채택된 답변

Paulo Silva
Paulo Silva 2011년 2월 27일

1 개 추천

http://www.mathworks.com/matlabcentral/fileexchange/2902

댓글 수: 4

D'Oh. I just worked out how to do this. Oh well. It was something interesting to learn. But I really should check file exchange first!
today I learned to first check the FEX before wasting my time learning how to do something the hard way lol ... tomorrow I probably won't remember anyway!
hah! there seems to be an FEX for everything these days... :)
I've decided that I might take some of the complexity away from the user and just display the image zoomed in and fixed to specific pixel coordinates. Unfortunately, I'm having problems with this too, but have opened a new question so as not to deviate from this one too much.
Thanks for all your help!
I think my GUI is pretty cool anyway. Especially for something I threw together in less than an hour. :)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Data Exploration에 대해 자세히 알아보기

질문:

2011년 2월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by