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

test-multigrab.C File Reference


Detailed Description

Test multiple frame grabbing and X display

Definition in file test-multigrab.C.

#include "Component/ModelManager.H"
#include "Devices/DeviceOpts.H"
#include "Devices/FrameGrabberConfigurator.H"
#include "Devices/FrameGrabberFactory.H"
#include "GUI/XWindow.H"
#include "Image/DrawOps.H"
#include "Image/Image.H"
#include "Image/Pixels.H"
#include "Util/Timer.H"
#include "Util/log.H"
#include "Util/sformat.H"
#include <vector>

Include dependency graph for test-multigrab.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 multiple video frame grabbing through either the video4linux driver (see V4Lgrabber.H; when you specify --fg-type=V4L and then give the pathnames of V4L devices as arguments), or IEEE1394 (see IEEE1394grabber.H; when you specify --fg-type=1394 and pass the camera (subchannel) numbers as arguments). If you are grabbing from multiple OV511 USB webcams, you may need to specify the cams=N kernel module option, for example with 'options ov511 cams=3' in your /etc/modules.conf.

Definition at line 62 of file test-multigrab.C.

References XWindow::drawImage(), gb, Timer::get(), i, makeIEEE1394grabber(), makeV4Lgrabber(), MC_RECURSE, name, NAVG, OPT_FrameGrabberType, Timer::reset(), nub::soft_ref< T >::reset(), sformat(), t, tim, and win.


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