Image Quality Decrease and pixelated
Show older comments
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 Comment
Adam
on 1 Dec 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.
Accepted Answer
More Answers (2)
Jose
on 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 Comment
Eddy Philippe
on 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.
Categories
Find more on Red in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!