Error using im2frame

3 visualizaciones (últimos 30 días)
Ala baccar
Ala baccar el 12 de Jul. de 2022
Respondida: MJFcoNaN el 13 de Jul. de 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);

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by