Quality for Image in matlab gui
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
abaza
il 29 Mag 2017
Risposto: Walter Roberson
il 29 Mag 2017
Hi, I am trying to load with imread a .png image and after to plot it (i.e show it) with imshow. However, even if my image has a good quality, when I plot it (show it) it has lower quality! Do you know an solution for this? Or why this is happening in order to fix it? Do I need another image format? I tried jpeg and the same problem takes place! Thank you in advance!
0 Commenti
Risposta accettata
Walter Roberson
il 29 Mag 2017
If you display a large image in a smaller area, or if you display a small image in a larger area, then the quality will not be high.
If you have a small image and you are using image() or imagesc() to display it, then use
axis image
to tell MATLAB to use one pixel per array element. That could end up showing a small image, but the quality will be preserved.
0 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!