Error using im2frame

6 Ansichten (letzte 30 Tage)
Ala baccar
Ala baccar am 12 Jul. 2022
Beantwortet: MJFcoNaN am 13 Jul. 2022
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);

Akzeptierte Antwort

MJFcoNaN
MJFcoNaN am 13 Jul. 2022
Hello,
getframe is the suitable fucntion there:
frame = getframe(gcf);

Weitere Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by