#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>
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) |
Definition in file app-autoCam.C.
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 ModelComponent::addSubComponent(), Timer::get(), Image< T >::getDims(), MC_RECURSE, ModelManager::parseCommandLine(), rescale(), Timer::reset(), SRC_POS, ModelComponent::start(), and ModelComponent::stop().