Image Quality Decrease and pixelated
Afficher commentaires plus anciens
The quality of the image decrease when I read and display out in matlab, please advice.
The below are the commands that I had used: imread,imshow
Image Info: Format:JPEG Dimension:1,434 x 1,014 Size:487KB
1 commentaire
Adam
le 1 Déc 2014
Try using image or imagesc instead, depending if you have full R, G, B data or just indexed data.
I never use imshow as it always seems to give appalling results.
Réponse acceptée
Plus de réponses (2)
Jose
le 23 Fév 2022
A mitigation to a pixelated image display may be interpolation available from R2019b:
figure;
subplot(121); imshow('logo.tif')
subplot(122); imshow('logo.tif', 'Interpolation','bilinear')
I use it to display text pages converted to images.
My thanking to Steve Eddins:
Just stumbled upon the same problem and the solution is quite simple. All one needs to do is change the OpenGL from software to hardware. So just add this line of code:
opengl hardware
That fixed the pixelation problem for me.
1 commentaire
Eddy Philippe
le 4 Mar 2022
This improved it, thx! It's still not 100% perfect resizing (as I get i photoshop), so I'm still working on it.
Catégories
En savoir plus sur Red dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!