how to prepare a video from a given images

1 次查看(过去 30 天)
I have 6 images.. how to prepare video from it. I tried with im2frame command...but could not able to get it..

采纳的回答

Image Analyst
Image Analyst 2013-12-21
See my demo, attached. That is covered in the demo.

更多回答(1 个)

Walter Roberson
Walter Roberson 2013-12-21
Have a look at the examples for VideoWriter()
  3 个评论
Image Analyst
Image Analyst 2013-12-22
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 2013-12-22
编辑:Walter Roberson 2013-12-22
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.

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by