Image Quality Decrease and pixelated
Ältere Kommentare anzeigen
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 Kommentar
Adam
am 1 Dez. 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.
Akzeptierte Antwort
Weitere Antworten (2)
Jose
am 23 Feb. 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 Kommentar
Eddy Philippe
am 4 Mär. 2022
This improved it, thx! It's still not 100% perfect resizing (as I get i photoshop), so I'm still working on it.
Kategorien
Mehr zu Red 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!