movie frame
이전 댓글 표시
Its a live video program . and i am converting the video into frames using the code given below.
F = getframe(gcf);
image(F.cdata)
colormap(F.colormap)
vi = getsnapshot(vid);
i am capturing my video for 10 seconds. using the above code, a single frame is generated. My question is whether the frame is generated at the 10th second or the first second or in the middle
답변 (1개)
Walter Roberson
2012년 6월 9일
0 개 추천
It depends on what is going on with your system. All of the operating systems that MATLAB runs on are general purpose multi-tasking systems in which there could be any number of other things happening on the system, and MATLAB could get interrupted for arbitrarily long periods. The code might happen to run before the video starts, or soon after the video starts, but it could also end up running years after the video starts.
카테고리
도움말 센터 및 File Exchange에서 Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!