Error using im2frame

조회 수: 18 (최근 30일)
Ala baccar
Ala baccar 2022년 7월 12일
답변: MJFcoNaN 2022년 7월 13일
Can anyone help with this error, i am trying to create a video with thos lines of code :
frame=im2frame(gcf);
writeVideo(writerObj,frame);
But i got the following error
Error using im2frame
Can only make movie frames from image matrices of type double or uint8
Error in skeleton (line 65)
frame=im2frame(gcf);

채택된 답변

MJFcoNaN
MJFcoNaN 2022년 7월 13일
Hello,
getframe is the suitable fucntion there:
frame = getframe(gcf);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by