How do I change the figure resize interpolation method?
Ältere Kommentare anzeigen
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 Read, Write, and Modify Image finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!