|
ACT-CV - Machine Vision for Cognitive Modeling
|
main function of the standalone version of ACT-CV More...
#include <iostream>#include <vector>#include <algorithm>#include <fstream>#include <sstream>#include <config.h>#include <color/RGBtoHSV.h>#include <highgui.h>#include <mhexcptn.h>#include <garbagecoll.h>#include <GCString.h>#include <statistiken.h>#include "Robot.h"#include "oflow/OpticalFlow.h"#include "tests/TestFrameSource.h"#include "vision/RobotFrameSource.h"#include "vision/OpenCVFrameSource.h"#include "vision/ImageFrameSource.h"#include "vision/QtFrameSource.h"#include "tcpserver/tcpserver.h"#include "FrameLoop.h"#include "Options.h"#include <DynamicsHelpers.h>#include <stdlib.h>#include <time.h>
Go to the source code of this file.
Classes | |
| struct | BMFontInfo |
| Bitmap Font Info. More... | |
Macros | |
| #define | MAX_FRAME_COUNT -1 |
Functions | |
| ostream & | operator<< (ostream &o, const struct HSV &hsv) |
| void | PrintImageInfo (const IplImage *img) |
| vector< CvPoint > | GetBigCorrPoints (const IplImage *img, double threshold=.999) |
| CvPoint | GetRandomTarget (const IplImage *img) |
| void | PrintBigCorrs (const IplImage *img) |
| void | Usage (Options *options) |
| istream & | operator>> (istream &in, BMFontInfo &bmfi) |
| int | main (int argc, char **argv) |
main function of the standalone version of ACT-CV
Definition in file main.cpp.
| vector<CvPoint> GetBigCorrPoints | ( | const IplImage * | img, |
| double | threshold = .999 |
||
| ) |
Definition at line 252 of file main.cpp.
Referenced by GetRandomTarget(), and PrintBigCorrs().
| CvPoint GetRandomTarget | ( | const IplImage * | img) |
Definition at line 265 of file main.cpp.
References GetBigCorrPoints().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 312 of file main.cpp.
References a_color, a_lines, a_match, a_oflow, a_text, ActCvObsSupport::AddObserver(), FrameObsSupport::AddObserver(), AlgOption::algorithm, FpsOption::calcFps, OpenCVFrameSource::CameraSourceFactory(), OpenCVFrameSource::FileSourceFactory(), frameLoop, Robot::GetScreenHeight(), Robot::GetScreenWidth(), ImageFrameSource::ImageSourceFactory(), FrameLoop::LoopUntilKeyPress(), MHDBGMSG, Options::Parse(), QtFrameSource::QtSourceFactory(), robot, SourceOption::s_cam, SourceOption::s_file, SourceOption::s_none, SourceOption::s_qtwebkit, SourceOption::s_robot, SourceOption::s_singleImage, SourceOption::s_test, SourceOption::s_testline, RobotFrameSource::SetSize(), SourceOption::source, Usage(), and ServerOption::useServer.
| ostream& operator<< | ( | ostream & | o, |
| const struct HSV & | hsv | ||
| ) |
| istream& operator>> | ( | istream & | in, |
| BMFontInfo & | bmfi | ||
| ) |
Definition at line 304 of file main.cpp.
References BMFontInfo::bmId, BMFontInfo::code, BMFontInfo::pos, and BMFontInfo::size.
| void PrintBigCorrs | ( | const IplImage * | img) |
Definition at line 274 of file main.cpp.
References GetBigCorrPoints().
| void Usage | ( | Options * | options) |
Definition at line 285 of file main.cpp.
References Options::Describe(), and PACKAGE_STRING.
Referenced by main().