How do I change the figure resize interpolation method?

1 次查看(过去 30 天)
I am displaying an image with
img = imread('cameraman.tif');
imshow(img);
but when I manually change the size of the figure (by dragging on the bottom right corner of the figure), it appears that the image is resized with nearest-neighbor interpolation. For some of my images, this produces a very poor quality result. Instead, I would like to use bicubic interpolation as I would if using the imresize function. How do I change the interpolation method when changing the figure size via dragging the bottom right corner?
For reference, I use MATLAB version 8.6.0 (R2015b).

回答(0 个)

类别

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

产品

Community Treasure Hunt

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

Start Hunting!

Translated by