Taking images from a video

2 次查看(过去 30 天)
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?

采纳的回答

Onomitra Ghosh
Onomitra Ghosh 2012-3-19
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.

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by