
#include "Component/ModelManager.H"#include "Devices/DeviceOpts.H"#include "Devices/FrameGrabberConfigurator.H"#include "GUI/XWinManaged.H"#include "Image/ColorOps.H"#include "Image/DrawOps.H"#include "Image/FilterOps.H"#include "Image/Image.H"#include "Image/ImageSet.H"#include "Image/MathOps.H"#include "Image/Pixels.H"#include "Image/PyramidOps.H"#include "Image/ShapeOps.H"#include "Image/Transforms.H"#include "Image/colorDefs.H"#include "Transport/FrameIstream.H"#include "Util/log.H"
Go to the source code of this file.
Functions | |
| int | main (const int argc, const char **argv) |
Import images from a video device and display the old and new ways to compute RG and BY color opponencies
Definition in file test-Colors.C.
| int main | ( | const int | argc, | |
| const char ** | argv | |||
| ) |
This program grabs a frame from a framegrabber and computes and displays a number of low-level features. This was done as a demo to explain the dissection of an image into features for a public outreach project.
Definition at line 67 of file test-Colors.C.
References CloseButtonListener::add(), ModelComponent::addSubComponent(), colorStain(), XWindow::drawImage(), Image< T >::getDims(), getRGBY(), getRGBYsimple(), inplaceClamp(), LOG_FLAGS, LOG_FULLTRACE, ModelManager::parseCommandLine(), CloseButtonListener::pressedAnyCloseButton(), ModelManager::setOptionValString(), ModelComponent::start(), ModelComponent::stop(), takeMax(), and ZEROS.
1.6.3