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