Why is it showing " Image is too big to fit on screen; displaying at 67% " while processing a video?
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Shahrin Islam
il 12 Set 2018
Commentato: Luca Fenech
il 18 Mar 2021
Hello everyone. I am currently working on a project to count the number of vehicles passing a road through video processing by using blob detection. By after processing it's showing "Image is too big to fit on screen; displaying at 67%". May I please know that why is it happening and what's the solution for it? Regards
0 Commenti
Risposta accettata
Guillaume
il 12 Set 2018
Well, the message is clear, you're displaying an image (with imshow) and the size of the image is bigger than the size of your screen so it has to be rescaled (to 67% in your case) to fit on screen.
It's only a warning that is indeed not that useful. It always happen if you call imshow with a fixed InitialMagnification or omit InitialMagnification and the image is bigger than your screen. So a simple way to get rid of the warning is to tell imshow to always fit the image to the figure:
imshow(someimage, 'InitialMagnification', 'fit');
Another option is to disable the warning if you don't care about it:
warning('images:imshow:reducingImage', 'off');
Più risposte (1)
Image Analyst
il 12 Set 2018
You can turn off these warning messages that you basically never care about.
See attached function.
2 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!