Effacer les filtres
Effacer les filtres

Converting Photos to a Video

2 vues (au cours des 30 derniers jours)
Articat
Articat le 23 Mai 2019
Réponse apportée : KSSV le 23 Mai 2019
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.

Réponse acceptée

KSSV
KSSV le 23 Mai 2019
To convert images into frame follow:
I = imread('peppers.png') ;
imshow(I)
F = getframe ;
rgb = frame2im(F) ;
imshow(rgb)

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by