User manual

Small Vision System User Manual 24
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.1 Stereo Camera Parameter File
[image] # frame size and subwindow
max_linelen 1288 # maximum width of camera, in pixels
max_lines 1032 # maximum height of camera, in pixels
max_decimation 4 # 1, 2 or 4 for max decimation capability
max_binning 2 # 1 or 1 for max binning capability
ix 0 # subwindow offset
iy 0
width 320 # subwindow size
height 240
linelen 320 # full frame size
lines 240
gamma 0.7 # gamma value for display
color 1 # 0 for monochrome, 1 for color
autogain 0 # 1 if has auto gain capability
manualgain 1 # 1 if has manual gain capability
autowhite 0 # 1 if has auto white balance capability
manualwhite 1 # 1 if has manual white balance capability
gain 0 # current gain, -1 if auto
exposure 100 # current exposure, -1 if auto
contrast 50 # current contrast, -1 if auto
brightness 50 # current brightness, -1 if auto
saturation 50 # current saturation, -1 if auto white balance
red 0 # red gain offset, from –40 to 40
blue 0 # blue gain offset, from –40 to 40
[stereo] # stereo processing parameters
convx 9 # prefilter kernel size
convy 5
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]
Tx -89.458214 # translation between left and right cameras
Ty -0.277252
Tz -0.923279