Warning: Image is too big to fit on screen; Can I turn off automatic interpolation?

2 次查看(过去 30 天)
I have binary image with object skeletons. Image resolution is bigger than my screen, so Matlab have to resized it to fit a screen. But when image is being resized it also interpolated and show as grey-scale image, when I zoom in to check the details skeleton is blurred.
Is there a way to force Matlab to show original image(without resized), when zoomed in?
I try imtool, but didn't help. I only found work around using imcrop but croping image whenever I want check different part of image is relay inconvenient.

回答(1 个)

Image Analyst
Image Analyst 2016-3-7
See attached Mathworks demo for how to use a imscrollpanel control. You can display your image with actual pixels, not interpolated, and zoom and scroll as you want.
  3 个评论
Image Analyst
Image Analyst 2016-3-8
You're sure you're just zooming, and not using imshow(), right? If so, try calling the Mathworks. I don't know anything about that bug. You can search bug reports here: http://www.mathworks.com/support/bugreports
Marek
Marek 2016-3-9
Yes I am sure. I just modify one line in the demo to read my image not saturn. My university will change Matlab version soon, hopefully it wont be a problem any more. Either way thank you for imscrolpanel demo it will definitely come in handy.

请先登录,再进行评论。

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by