Poor Image quality when using montage without pauses. How can I check if quality has been lost?
古いコメントを表示
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 件のコメント
Drishti
2024 年 8 月 7 日
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 ?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Image Arithmetic についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!