Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
JAI PRAKASH
JAI PRAKASH am 9 Aug. 2018
Geschlossen: MATLAB Answer Bot am 20 Aug. 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 Kommentare
JAI PRAKASH
JAI PRAKASH am 9 Aug. 2018
@ Rik titleobj save some ms...Thanx
'drawnow limitrate nocallbacks' also save some ms
Rik
Rik am 9 Aug. 2018
If you have the nocallbacks flag, does you exit callback still work?

Antworten (0)

Diese Frage ist geschlossen.

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by