Taking images from a video

2 views (last 30 days)
abeer
abeer on 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?

Accepted Answer

Onomitra Ghosh
Onomitra Ghosh on 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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!