Taking images from a video

1 vue (au cours des 30 derniers jours)
abeer
abeer le 17 Mar 2012
My research is about a 3D visual sensor. Taking images via a usb camera, and determining the orientation of the captured object in space from a frame to the other. If I took a video (30fps), How can I separate it to those 30 images? Each in a variable to apply the algorithm on each separately?

Réponse acceptée

Onomitra Ghosh
Onomitra Ghosh le 19 Mar 2012
I am guessing that you already have a video file. If that is the case then you can use the VideoReader class to read the frames into MATLAB.
If you are actually talking about applying your algorithm while acquiring the images, then you already have the images individually in MATLAB variables.
  1 commentaire
abeer
abeer le 20 Mar 2012
Yes, it worked. Thank you

Connectez-vous pour commenter.

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