The program, bt_get_image in /u/nelson/programs/bin/[PCLinux], source in /u/nelson/programs/src/digitizer/bt848/bin, will grab an image from this digitizer and store it in a tiff, pgm or iff file depending on the suffix of the output file. By default this grabs a monochrome image from the green channel, digitized from the S-video input of board zero, but these defaults can be changed by providing appropriate options (e.g. -color). Use -h to get a list. Looking at the source for this program will illustrate how to use library calls to incorporate image input into a program.
The program bt_showlive (also in my bin) will show a live feed from the camera on the screen. This is useful for adjusting the image. However, it must be terminated before grabbing an image, because the bt848 digitizers can currently be accessed by only a single process at once.
The program, ktv_get_image in /u/nelson/programs/bin/[SunOS, Solaris], source in /u/nelson/programs/src/digitizer/ktv300/bin, will grab a monochrome off the green channel, and store it in a tiff, pgm or iff file depending on the suffix of the output file. ktv_get_color_image will get a color tiff, iff or sun raster image (.ras) again depending on by the suffix of the output file. ktv_getras, will also get a color sun raster file. The program xv can be used to convert tiff and Sun raster (.ras) images into other formats (e.g. .gif).
The program ktv_showlive will display a live feed from the camera on the screen. The ktv digitizers will allow simultaneous access by multiple processes. This means that you can grab a picture without shutting down ktv_showlive, but it also means that someone can asynchronously foul up your carefully arranged digitizer setting without your say-so. Oh well...
The program ktv_getiff_sequence will grab a (monochrome) sequence and store it as an iff sequence file, which can be read back in for analysis by programs in the ipp libraries. Currently no analog for BT848, but it would be easy to convert. Sorry, no MPEG grabbers for either digitizer...