User`s manual
STOC USER’S MANUAL ©2005 VIDERE DESIGN
8 Redoing Calibration
Whenever the lenses are changed, or the focus or iris is adjusted, it is
recommended to perform a re-calibration of the STOC device. This
requires the following steps:
1. Do not use any other Firewire devices during re-configuration,
including Firewire external disk drives.
2. Erase the current calibration. The current calibration is stored on
the device. It can be erased using the bin/smallvcal
program. Plug in the device, start the program, and open the
device (choose Video from the Input pulldown). Once the
device is opened, the Firmware menu item will become available.
Click on this item to open the firmware dialog. Click on the
Clear Cal button.
3. Exit the smallvcal program. Now perform a calibration, using
the guidelines in the Calibration Addendum. Some things to note:
a. Make sure to use un-rectified images as input. The
Warp button should be off.
b. For the target, a square size of 100 mm or larger is
recommended for a good calibration.
c. After calibrating, save the calibration to a file for backup.
Then send it to the main program, using the Send button.
4. At this point, you should have a valid calibration, and it should be
loaded into the main smallvcal window, either by using the
Send button from the calibration dialog, or by loading it from a
file using the File->Load Parameters menu item. In the
Firmware dialog, choose Upload Cal to save the calibration to
the device.
5. Once the calibration is uploaded to the device, the FPGA can be
re-configured. Choose the Config STOC button in the
Firmware dialog. A file chooser dialog will appear, allowing you
to select the FPGA configuration file. The chooser should be at
the bin/ directory; if it is not, navigate to this directory. Then
choose one of the following files:
a. do_sys.dat [monochrome system]
b. do_sys_color.dat [color system]
Configuration will now take place, and will require about 15
minutes. During this time, do not use the Firewire system for
other tasks. It is ok to run other programs, as long as they do not
access the Firewire bus. If anything interrupts the configuration,
you can start over from step 4.
The Debug window will show the progress of the configuration.
First the FPGA program will be downloaded and verified, then the
rectification information for the left and right images. At the end,
there will be a message indicating successful configuration.
6. Quit the smallvcal program, unplug the STOC device, and
plug it back in. It should go through its normal startup procedure,
with the light blinking for about 20 seconds.
7. Start smallv
and verify the operation of the device.
If there are any problems with re-configuration, or if the device does not
work properly after re-configuration, please contact Videre Design.
25