
#include "Component/ModelManager.H"#include "Devices/FrameGrabberConfigurator.H"#include "GUI/XWindow.H"#include "Image/DrawOps.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>
Go to the source code of this file.
Defines | |
| #define | NAVG 20 |
Functions | |
| int | main (const int argc, const char **argv) |
Grab image from camra and test for H2SV1 pixel data
Definition in file test-sampleH2SV2.C.
| int main | ( | const int | argc, | |
| const char ** | argv | |||
| ) |
This test grabs from a camera and then finds the average RGB and H2SV1 pixel values acros a predetermined area
Definition at line 57 of file test-sampleH2SV2.C.
References ModelComponent::addSubComponent(), drawRectEZ(), Image< T >::getVal(), ModelManager::loadConfig(), ModelManager::parseCommandLine(), nub::soft_ref< T >::reset(), ModelComponent::start(), ModelComponent::stop(), and Rectangle::tlbrI().
1.6.3