User manual

Table Of Contents
Small Vision System User Manual 30
2.6 Saving and Restoring Parameters
All of the parameters that control the operation of the SVS Stereo Engine can be saved to a file for
later use. Parameter files can be loaded and saved using the File menu: Load Param File and Store
Param File.
The file data/megad-75.ini contains a sample file for a 7.5 mm lens on the MEGA-D stereo rig.
It serves as an example of the settings available through parameter files. In practice, these settings are
usually computed using the calibration program, and then saved to a file for later use. But, it is also
possible to change the settings directly in the file.
# SVS Engine v 2.2 Stereo Camera Parameter File
[image] # image frame parameters
max_linelen 1280 # max size of imager
max_lines 960
max_decimation 4 # allowable decimation at imager
max_binning 2 # allowable binning in driver
gamma 0.700000 # gamma correction for display
color 0 # 0 for monochrome, 1 for color
ix 0 # subwindow offset
iy 0
vergence 0 # vergence of right subwindow
rectified 0
width 320 # subwindow size
height 240
linelen 320 # window size
lines 240
decimation 2 # current decimation and binning
binning 2
subwindow 1 # 1 for subwindow capability
have_rect 1 # 1 if we have rectification parameters
autogain 0 # 1 if autogain available
manualgain 1 # 1 if manual gain available
autowhite 0 # 1 if auto white balance available
manualwhite 1 # 1 if manual white balance available
gain 0 # current gain value [0,100], neg for auto
exposure 100 # current exposure [0,100], neg for auto
contrast 0 # current contrast [0,100]
brightness 50 # current brightness [0,100]
saturation 20 # current saturation [0,100]
red 0 # current red gain [-40,40], neg for auto
blue 0 # current blue gain [-40,40]
[stereo] # stereo processing parameters
convx 9 # prefilter kernel size
convy 9
corrxsize 11 # correlation window size
corrysize 11
thresh 20 # confidence threshold value
lr 1 # left/right filter on (1) or off (0)
ndisp 24 # number of disparities to search
dpp 16 # subpixel interpolation
offx 0 # horopter offset
offy 0 # vertical image offset, not used
[external]