Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to continuosly show processed images as they are getting processed? (efficiently)

1 vue (au cours des 30 derniers jours)
JAI PRAKASH
JAI PRAKASH le 9 Août 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
I am working on Live image processing. And want to show processed image as fast as I can.
finalImage = imshow(im);
for i=1:dataLength
tic
zoomIm = imTransform(im); % Main Image Transforming function
title(['CPU-Elapsed Time: ' sprintf('%0.3f Sec', toc)])
set(finalImage,'CData',zoomIm);
%drawnow
pause(0.0001)
end
I am not using drawnow, because it takes much time.
But is there any other out of the box efficient way to processes and show live images?
  7 commentaires
JAI PRAKASH
JAI PRAKASH le 9 Août 2018
@ Rik titleobj save some ms...Thanx
'drawnow limitrate nocallbacks' also save some ms
Rik
Rik le 9 Août 2018
If you have the nocallbacks flag, does you exit callback still work?

Réponses (0)

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by