How do I change the figure resize interpolation method?

1 Ansicht (letzte 30 Tage)
Edward Norris
Edward Norris am 4 Jan. 2016
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).

Antworten (0)

Kategorien

Mehr zu Interpolation finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by