Taking images from a video

조회 수: 1 (최근 30일)
abeer
abeer 2012년 3월 17일
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.
  댓글 수: 1
abeer
abeer 2012년 3월 20일
Yes, it worked. Thank you

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by