how to prepare a video from a given images

1 view (last 30 days)
I have 6 images.. how to prepare video from it. I tried with im2frame command...but could not able to get it..

Accepted Answer

Image Analyst
Image Analyst on 21 Dec 2013
See my demo, attached. That is covered in the demo.

More Answers (1)

Walter Roberson
Walter Roberson on 21 Dec 2013
Have a look at the examples for VideoWriter()
  3 Comments
Image Analyst
Image Analyst on 22 Dec 2013
structures is not a command. structure is, but not structures . structure() creates/initializes a structure variable. If you're referring to the structure() function/command, then what do you mean that it is not compatible with many commands? Give an example. It is not used with other commands. It's used by itself to create a variable. Of course you could then use that variable in other functions, but those functions would have to be expecting a structure variable. So basically I have no idea what you're asking.
Walter Roberson
Walter Roberson on 22 Dec 2013
Edited: Walter Roberson on 22 Dec 2013
struct() is the command, not structure()
If you are asking why not many commands accept structures as input, then the logic is that adding structure inputs to most commands would result in notably increased testing costs.
The VideoWriter method writeVideo does accept a structure input: the allowed approach
writeVideo(obj, mov)
takes a movie structure for its second argument.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!