How do I change the figure resize interpolation method?

1 visualizzazione (ultimi 30 giorni)
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).

Risposte (0)

Categorie

Scopri di più su Interpolation in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by