Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

1 回表示 (過去 30 日間)
JAI PRAKASH
JAI PRAKASH 2018 年 8 月 9 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件のコメント
JAI PRAKASH
JAI PRAKASH 2018 年 8 月 9 日
@ Rik titleobj save some ms...Thanx
'drawnow limitrate nocallbacks' also save some ms
Rik
Rik 2018 年 8 月 9 日
If you have the nocallbacks flag, does you exit callback still work?

回答 (0 件)

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by