Capturing

Author:

Peter Stierlen (peter.stierlen@t-online.de)

History:

2008/02/27 (v1.0): first version

2008/08/19 (v1.1): video format selection changed. Target Stack works now in selected resolution.

Source:

Capturing .java

Installation:

Download Capturing .java to the plugins folder and compile it.

Description:

This plugin allows you to capture images via your web cam.

 

Capturing of Calibration Images

 

Capturing of the calibration images can be done by the plugin Capturing.

This plugin will only work with plugged camera and correctly installed camera drivers. A wrong installation of JMF or a wrong definition of the CLASSPATH will be the main reasons that the plugin can’t find the camera.

This plugin will only run on windows systems with the JMF - Windows Performance Pack.

Check during running the JMF Customizer if the VfW-Format is enabled.

If there are problems with the installation first test if the cam will work with the JMStudio tool.

 

Start Plugin Capturing

image002

 

Starting the Capturing plugin

 

If all components are installed in the correct way the plugin starts to initialize the camera. In the result window you can see all the formats supported by the camera. Because of the fact that all the other plugins of my scanner package will work with VGA resolution you must also choose the 640x480 pixel resolution for this capturing plugin.

After the initalisation you will be asked if you want to choose another video format.

The video format can only changed directly after the initialization process.


Input of the video format

 

 

image004

Initialisation and listing of the supported video formats

 

 

 

Start the capturing by pressing the Capture button

After the first captured image a second window will pop-up which will contain all the following captured images as a single stack. The images will automatically converted to 8bit grayscale images. The single images in the stack can be selected and controlled with the slide bar at the bottom of the window.

  image008

Capturing of calibration images

 

Saving of the Image-Stacks with the Save_Stack button

The default name is automatically generated by the current date and current time.

image010

Saving of the stack

 

It is recommended to capture not less than 6 images of the calibration pattern from different points of view. Keep the main orientation constant, so that the upper side of the calibration pattern is aligned to the upper side of the image. The angle of view should be appr. 30°- 45° off the axis of the calibration pattern normal vector.

 

 

 

You are visitor  counter