Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Video for Windows & MATLAB

Posted on 2001-06-05
3
Medium Priority
?
319 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 400 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
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 …
Progress

927 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