StereoVideoLib is a library I am using to experiment with stereo vision
algorithms on Mac OS X.
StereoVideoLib is based on David Cairns'
isight_texture .
I am grateful to him for allowing me to redistribute a modified version of his code.
--------------------------------------------------------------------------------------------------------------------------------
This code provides the following to the programmer:
1) left and right camera images (pFrameLeft, pFrameRight)
2) direct pixel access to the images (frames),
3) a function for displaying the frames in a window (StereoVideo_displayImage())
4) a measurement of the frame rate (written to stdout)
All of the code you *need* to be concerned with is in main.c. You will need to
write two functions:
processFrames(), and
drawFrames()
The code you will find in main.c implements an example that converts the left and right frames/images to grayscale (intensity) images.
You should create a Controls menu with the following commands using Interface Builder
(or just copy the menu from IntensityExample):
-