Solved

Video for Windows & MATLAB

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
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 …
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now