Converting Photos to a Video

조회 수: 1 (최근 30일)
Articat 2019년 5월 23일
답변: KSSV 2019년 5월 23일
I have 49 photos and want to turn them into a video. The timing of each frame is set to .005 seconds. The first loop reads in the photos from an external folder. The second loop defines which frames will be used in the video. It is erroring saying the it cannot convert the image to a frame. Is there a syntax issue with the notation "I"? I is what the photo set of 49 photos is defined as.

채택된 답변

KSSV 2019년 5월 23일
To convert images into frame follow:
I = imread('peppers.png') ;
F = getframe ;
rgb = frame2im(F) ;

추가 답변 (0개)


Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by