6806 Lab 2 -- Computer Vision

This lab has two goals:

  1. Ensure that you can grab an image from the camera.
  2. Ensure that you are comfortable with the image processing basics that you need.

Grab an image

Your software will need to be able to grab an image from the webcam without user input, so you should ensure that you can write a program to do just that. A basic example is FrameGrab.java, which will grab an image and save it as a file (named webcam.png). This uses the Java Media Framework (JMF). You'll probably need to change the string identifying the device: use JMStudio to find out the right string. There are lots of other ways to do this, and you're as good as (or better than) me at finding them on the net, so you're welcome to do that.

Try out some image processing

Try to process your images as suggested by Dr. Krouglicof. He'll give some examples that you can try. If you're feeling adventurous, try modifying the example code above to do some of the algorithms that he has suggested.

back to 6806 Homepage

Last modified: $Date: 2007-09-26 22:41:34 -0230 (Wed, 26 Sep 2007) $ ($Revision: 155 $) by $Author: dpeters $.