Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

test-grab.C File Reference


Detailed Description

Test frame grabbing and X display

Definition in file test-grab.C.

#include "Component/ModelManager.H"
#include "Devices/FrameGrabberConfigurator.H"
#include "GUI/XWindow.H"
#include "Image/Image.H"
#include "Image/Pixels.H"
#include "Raster/Raster.H"
#include "Transport/FrameIstream.H"
#include "Util/Timer.H"
#include "Util/Types.H"
#include "Util/log.H"
#include <cstdio>
#include <cstdlib>
#include <cstring>

Include dependency graph for test-grab.C:

Go to the source code of this file.

Defines

#define NAVG   20

Functions

int main (const int argc, const char **argv)


Function Documentation

int main const int  argc,
const char **  argv
 

This simple executable tests video frame grabbing through the video4linux driver (see V4Lgrabber.H) or the IEEE1394 (firewire) grabber (see IEEE1394grabber.H). Selection of the grabber type is made via the --fg-type=XX command-line option.

Definition at line 61 of file test-grab.C.

References XWindow::drawImage(), gb, Timer::get(), i, nub::soft_ref< T >::isInvalid(), LFATAL, LINFO, NAVG, Timer::reset(), t, tim, and win.


Generated on Mon Nov 23 15:47:33 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4