Effacer les filtres
Effacer les filtres

how can i calculate or track the free space in the image buffer?

2 vues (au cours des 30 derniers jours)
tairman singh
tairman singh le 18 Avr 2013
for example, my program has too acquire about 2000 frames and i'm getting a error which says image memory buffer is full.So is there any function that shows the remaining memory in the buffer so that i'll be able to clear the old images that are processed.

Réponse acceptée

Image Analyst
Image Analyst le 18 Avr 2013
You're probably calling imshow() for each image. When you do that, basically all the images "pile up" in the image buffer, so they're all in there even though you see only the first (top) one. Try calling "cla" or "cla reset" before you call imshow(). I bet that will fix it.

Plus de réponses (1)

Thomas
Thomas le 18 Avr 2013
There is a function called "memory". See the docs.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by