convert movie to images

1 view (last 30 days)
ahmed mefteh
ahmed mefteh on 29 Jan 2019
Answered: Image Analyst on 29 Jan 2019
Salut,
Je travaille sur l'approche de Niebles: "Apprentissage non supervisé de catégories d'actions humaines à l'aide de mots spatio-temporels"
Je veux convertir un cadre .avi en images, je lance les instructions suivantes:
M = VideoReader ([srcdir '\' fname]);
I = movie2images (M);
mais j'ai cette erreur:
Erreur lors de l'utilisation de frame2im
Film invalide: prévu une structure

Answers (1)

Image Analyst
Image Analyst on 29 Jan 2019
Never heard of movie2images, but my attached program splits apart a movie into individual frames and stores them in disk files, then it reads them back in and constructs a movie out of the individual files.
Another attached demo saves images from an axes created by the surf() function, and creates a movie out of them.

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!