MATLAB closes when displaying large TIFF image with "geoshow"
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 16 Oct 2019
Réponse apportée : MathWorks Support Team
le 16 Oct 2019
When I try to display a large TIFF image (21,600 x 43200) using "geoshow", MATLAB shuts down after 5 minutes and I get rerouted to the following page,
<https://nvidia.custhelp.com/app/answers/detail/a_id/3553>
telling me the OpenGL has made a request "for more GPU memory than is available." I have already tried updating my drivers, but that didn't fix the problem. What should I try next?
Réponse acceptée
MathWorks Support Team
le 16 Oct 2019
Since OpenGL has made a request "for more GPU memory than is available", your image seems to be too large for your graphics driver to handle. If updating the driver does not resolve the issue, try making your image smaller using the "imresize" function:
<https://www.mathworks.com/help/matlab/ref/imresize.html>
The "geoshow" function should now display your image successfully, but the graphics will lag a bit. To decrease the lag, try lowering the scale factor (second input to "imresize") further.
If you can not afford to resize the image, you will likely need a GPU with more memory to handle this application.
0 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!