Poor Image quality when using montage without pauses. How can I check if quality has been lost?
Afficher commentaires plus anciens
I'm using montage to create an image by overlaying two images with transparency. However, I've noticed that the resulting image sometimes appears blurry and of lower quality compared to the original images.
I have notice that pausing before montage (using debug or pause(0.5)) seems to improve the image quality.
since
montage(Im3d,'displayrange',displayrange,'size',size,'indices',indices,'parent',ax);
is different to
pause(0.5);
montage(Im3d,'displayrange',displayrange,'size',size,'indices',indices,'parent',ax);
Searching in the forum I've read that MATLAB switches the renderer to OpenGL for large 3d image, but I don't understand why inserting a pause improves things.
The question are
Is there a way to force montage to use all pixels during rendering, even if it takes longer?
Alternatively, is there a method to determine if MATLAB has resorted to approximations during the process?
Thanks for the help,
Matteo
1 commentaire
Drishti
le 7 Août 2024
I tried to reproduce the code with images of my own but did not see any visible difference. Can you share the code and images that you worked on ?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Image Arithmetic 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!