Solved

Video for Windows & MATLAB

Posted on 2001-06-05
3
310 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

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
A short article about a problem I had getting the GPS LocationListener working.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

770 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