How can I show a big image to the user, and let him zoom on it to click on specified points?
1 次查看(过去 30 天)
显示 更早的评论
Hello I'm showing images (with a huge size) to the user, and he must selct pixels from it. However, selection must be precise and I would allow him to zoom on the shown images to selct the pixels with precision. However, the "zoom on" instruction doesn't work for me. This my code:
fig=figure('Name', 'select Cell pixels', ... 'Position',[1 scrsz(4) scrsz(3) scrsz(4)]); hold on; imshow(IRGB); zoom on; [X,Y]=getpts(fig); close(fig);
Can you help me?? just a note: when I show the image (with imshow()) the user can zoom. After executing the getpts ... the zoom is automatically turned off.
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!