
Definition in file app-autoCam.C.
#include "Component/ModelManager.H"
#include "Devices/FrameGrabberConfigurator.H"
#include "Media/FrameSeries.H"
#include "Transport/FrameInfo.H"
#include "Raster/GenericFrame.H"
#include "Image/Image.H"
#include "Image/Pixels.H"
#include "Image/PixelsTypes.H"
#include "Image/DrawOps.H"
#include "Image/ShapeOps.H"
#include "Image/ColorOps.H"
#include "Raster/Raster.H"
#include "Transport/FrameIstream.H"
#include "Neuro/EnvVisualCortex.H"
#include "Util/Timer.H"
#include "Util/Types.H"
#include "Util/log.H"
#include <cstdio>
#include <cstdlib>
#include <cstring>
Include dependency graph for app-autoCam.C:

Go to the source code of this file.
Defines | |
| #define | NAVG 20 |
Functions | |
| void | findMinMax (const std::vector< int > &vec, double &min, double &max) |
| std::vector< int > | getHistogram (const Image< byte > &lum) |
| Image< PixRGB< byte > > | showHist (const std::vector< int > &hist) |
| double | getMSV (const std::vector< int > &hist) |
| int | contrastCtrl (double cVal, double dVal) |
| int | brightCtrl (double cVal, double dVal) |
| 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 161 of file app-autoCam.C. References brightCtrl(), buf, contrastCtrl(), gb, Timer::get(), Image< T >::getDims(), getHistogram(), getMSV(), i, nub::soft_ref< T >::isInvalid(), LFATAL, LINFO, luminance(), MC_RECURSE, NAVG, rescale(), Timer::reset(), showHist(), SRC_POS, t, and tim. |
1.4.4