Solved

Video for Windows & MATLAB

Posted on 2001-06-05
3
312 Views
Last Modified: 2013-11-13
I need to get an image from a camera using VfW (video for windows). This image must be then stored into a matrix in MATLAB.

Any ideas?

(the application is to get two consecutive frames, then subtract the matrices and highlight anything that does not equal 0 - showing any movement between the two frames, also known as a motion detector.)
0
Comment
Question by:streaks619
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
prashant_n_mhatre earned 200 total points
ID: 6156870
Visit:

http://www.esat.kuleuven.ac.be/~rcedrill/face/main_frame.html

and download required toolkits.

Also see links @

http://www.cs.cmu.edu/~cil/v-source.html

Best Regards,
PRASHANT.
0
 
LVL 3

Expert Comment

by:ygal02
ID: 6158823
Fortunatly, my speciallity is video motion recognition :)
And my fevorite tool is matlab...
But, I don't know the VfW format :(
Matlab does not support video formats (at least until the corrent version which is 6.0).
The only thing you can do is to export to frame files. You can do this with programs like adobe premmier or other video editting application.
The exproted frames can be in any of the matlab supported formats (tif, gif, png, jpg, bmp, etc.), but I personnaly recommands png (not patented, support 24bit colors and have lossless compression).
After having the frames in seperated image file you can read them into different matrices using the imread function (which belongs to the image processing toolbox) and do what ever you want.

Let us know if you have any problems/
Good Luck.
0
 
LVL 3

Expert Comment

by:ygal02
ID: 6176096
streaks619, do you need more information ?
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show, step by step, how to integrate R code into a R Sweave document
This is an explanation of a simple data model to help parse a JSON feed
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question