Poor Image quality when using montage without pauses. How can I check if quality has been lost?
Show older comments
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 Comment
Drishti
on 7 Aug 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 ?
Accepted Answer
More Answers (0)
Categories
Find more on Image Arithmetic 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!