File Exchange Pick of the Week

January 18th, 2008

Cool Feature: Video processing demos

Thank you to everyone that answered the survey from my last post. I will be processing the results and reporting in my next post.

Changes are already being planned based on the results.

This three minute video shows you how to view product demos in the Video and Image Processing blockset. Motion detection and tracking is covered in the first demo and photo mosaicking from video is covered in the second.

Video Content

Find the files here.
PodCast here

Other videos have been gathered here:
http://blogs.mathworks.com/pick/category/video/

Other cool feature posts have been gathered here:
http://blogs.mathworks.com/pick/category/cool-feature/

5 Responses to “Cool Feature: Video processing demos”

  1. Szymon Gackowski replied on :

    ok, that is really cool. But is there any possibility to do this in real time using data aquisition? how to aquire data from usb web cam?
    best regards!
    Simon

  2. Bruce Tannenbaum replied on :

    Hi Szymon,

    With the Image Acquisition Toolbox, you can acquire images or video into Simulink and/or MATLAB. For Simulink, you would use the “From Video Device” block. This supports USB web cameras, as well as a broad range of frame grabbers and scientific digital cameras. For more information on the supported hardware, look here: http://www.mathworks.com/products/imaq/supportedio.html

    - Bruce

  3. Szymon Gackowski replied on :

    Thank you Bruce!
    That was very helpful!

  4. elya replied on :

    hi,i’m using MATLAB 7.0.

    i’m a beginner. I want to read/call video (.avi) file in MATLAB but i couldn’t find any function. how to call the video (.avi) in matlab? how to extract the video frame by frame?

    thanks

  5. Scott Hirsch replied on :

    Elya -

    In v7.0, try aviread. This has straightforward syntax for reading a single frame - you could just embed in a for loop if that’s appropriate.

    Readers with newer versions should check out mmreader - introduced on Windows in R2007b, Mac in R2008a.

    - scott

Leave a Reply

Wrap code fragments inside <pre> tags, like this:

<pre class="code">
a = magic(3);
sum(a)
</pre>

If you have a "<" character in your code, either follow it with a space or replace it with "&lt;" (including the semicolon).


Bob, Brett & Jiro share their favorite user-contributed submissions from the File Exchange.

  • oleg: The author has implemented skewness, kurtosis and checks answering appropriately to the critic.
  • Ashok: how to store 10 or more random number in a loop a loop for i = 1:n mean(i) = input(’enter the mean value...
  • Ben: Doug, Thanks for the very helpful videos! Uitables seem like a convenient way to make a customized property...
  • oleg: Allstats has no checks, no comments and could also be improved (talking about prctile implementatio). Not to...
  • Todd: Additional information and a link to download free MATLAB and Simulink LEGO MINDSTORMS NXT code can be found at...
  • Doug: @Leo, Here is the “English version” of that code. “vec = []” makes an empty variable...
  • leo: Dear Doug I have a question in your code ‘October 9th, 2009 at 13:53′ vec = []; vec = [vec val]; I...
  • Shanker Keshavdas: You sir, are a gentleman and a scholar… No really, helped me out a lot. As to what is...
  • Quan Zheng: how can I get a copy of stepspecs.m?
  • Doug: @Lucy I think this is what you seek to move a line with the mouse in MATLAB. http://blogs.math...

These postings are the author's and don't necessarily represent the opinions of The MathWorks.