beautypg.com

Proxima ASA STH-MD1/-C User Manual

Page 16

background image

STH-MD1 U

SER

S

M

ANUAL

?

2001 V

IDERE

D

ESIGN

16

libsvscap.so
pixcap.so
svspix.dll/lib
stereo calculation libraries

src/

flwin.cpp

svs.h
flwin.h
samples/
stcap.cpp
stdisp.cpp
*.dsw, *.dsp, makefile

There are several applications. The source code for all applications is
included in the distribution. The stereo calculation libraries are also
included, so that user applications can link to them. The calibration
libraries are not included; the only way to run the SVS calibration
procedures is through the smallvcal(.exe) application.

smallvcap(.exe)

is a GUI-based application that allows the user to

exercise the capture functions of the STH-MD1/-C. It is described in
earlier sections of this document.

smallv(.exe)

is similar to smallvcap, with the addition of SRI’s

stereo calculation libraries for realtime depth analysis. You must have
installed the full SVS system to run this application.

smallvcal(.exe)

is the same as smallv, with the addition of a

calibration package for calibrating a stereo rig. Use this application to
perform calibration on your stereo system.

stcap(.exe)

is a simple application that connects to the stereo head

and displays images. It can serve as a template for user programs that
integrate stereo capture from the STH-MD1/-C.

stdisp(.exe)

is a simple application that connects to the stereo head,

grabs images and performs stereo analysis, and displays the results. You
must have installed the full SVS system to run this application. It can

serve as a template for user programs that integrate stereo capture from the
STH-MD1/-C.

libsvscap.so

and svsgrab.lib/dll are the capture libraries for

Linux and MS Windows, respectively. These libraries must be set to the
correct ones for the MEGA-D. Copy the following files in the bin/
directory:

pixcap.so -> libsvscap.so (Linux)

svspix.dll -> svsgrab.dll (MS Windows)

svspix.lib -> svsgrab.lib (MS Windows)

There is a convenience program for MS Windows, setup_megad.bat,
which will perform the copies when double-clicked.

You can check that the correct interface library is installed, by looking at
the information text when the capture application is started. It should say
“MEGA-D digital stereo interface”. If not, the wrong interface library is
installed in svsgrab.dll or libsvscap.so.