how can make video from images.......

hello........suppose i have my 50 image......how i can play these image as video..........

Réponses (4)

Image Analyst
Image Analyst le 30 Jan 2013

3 votes

Have you looked at the FAQ?

7 commentaires

Image Analyst
Image Analyst le 3 Juil 2013
There's a new FAQ entry I added a few weeks ago: http://matlab.wikia.com/wiki/FAQ?&cb=6123#How_do_I_build_a_movie_from_individual_frames.3F. It has a full demo with all the source code.
Meenakshi kollati
Meenakshi kollati le 16 Jan 2017
A Video is created with just as movie not as avi or mp4
Image Analyst
Image Analyst le 16 Jan 2017
Correct. That wasn't asked. If you want to create a movie from a collection of still images and create a video file on disk, then see the attached code.
Chimsom Isidore
Chimsom Isidore le 20 Mar 2017
How do we cite you sir...after using the MakeMovie GUI...
Image Analyst
Image Analyst le 20 Mar 2017
Just say "Using code provided by Image Analyst on the Answers forum on the MATLAB Central web site........"
Craig Ulrich
Craig Ulrich le 19 Nov 2018
@ImageAnalyst
Have you added to a newer version of your GUI a way to add the time stamp from each photo and a title too? =)
Image Analyst
Image Analyst le 24 Juil 2021
@Craig Ulrich, I believe my new code on my File Exchange time stamps the frame as an option.

Connectez-vous pour commenter.

Youssef  Khmou
Youssef Khmou le 31 Jan 2013
Modifié(e) : Youssef Khmou le 31 Jan 2013

2 votes

HI, take a look at the links they sent you . As an alternative answer here is how :
Your fifty images must be labeled in order, per example in the database coil-100 , an object starts from obj1__0 until obj1__355 with step 5 .
Suppose your images are like : image1.jpg, image2.jpg,....., image50.jpg then :
Manifold=zeros(n,p,3,50); % (n,p) height and width of the image, all with same.
for x=1:50
filename=strcat('image',num2str(x),'.jpg');
Manifold(:,:,:,x)=imread(filename);
end
Next wether you create Gif file (imwrite),avifile or any other way, just follow the steps that you can find in the MAT doc .
i Hope this helps .

2 commentaires

Vishesh Breja
Vishesh Breja le 13 Jan 2018
i am trying to use this approach , but i am getting error in the line ' Manifold=zeros(n,p,3,50);' . i dont know what the error is and how can i resolve it
Image Analyst
Image Analyst le 13 Jan 2018
We don't know what it is either because you forgot to paste the actual error message here.
However, you can use my code, which works.

Connectez-vous pour commenter.

Clay Jensen
Clay Jensen le 24 Juil 2021

0 votes

To do this, you need a lot of images and a high-quality video editor. Personally, I would recommend movavi's video editor https://www.movavi.com/videoeditor/ . Just drop all the images and glue them. That's all.

Catégories

Commenté :

le 24 Juil 2021

Community Treasure Hunt

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

Start Hunting!

Translated by