ACT-CV - Machine Vision for Cognitive Modeling
|
helpers for OpenCV More...
Go to the source code of this file.
Macros | |
#define | _USE_MATH_DEFINES |
#define | _PI 3.1415926536 |
#define | M_PI 3.1415926536 |
Functions | |
ostream & | operator<< (ostream &o, const CvPoint &p) |
void | PrintLine (const Linie &l, IplImage *img, CvScalar color) |
draw line l into img More... | |
void | PrintArrow (const Linie &l, IplImage *img, CvScalar color) |
draw line l into img and add an arrow head More... | |
helpers for OpenCV
Definition in file OpenCVHelpers.cpp.
#define _PI 3.1415926536 |
Definition at line 38 of file OpenCVHelpers.cpp.
Referenced by Linie::abstand().
#define _USE_MATH_DEFINES |
Definition at line 31 of file OpenCVHelpers.cpp.
#define M_PI 3.1415926536 |
Definition at line 40 of file OpenCVHelpers.cpp.
Referenced by OpticalFlow::Particle::Found(), OpticalFlow::GetWinkel(), PrintArrow(), OpticalFlow::PrintFlowField(), and OpticalFlow::PrintInfo().
ostream& operator<< | ( | ostream & | o, |
const CvPoint & | p | ||
) |
Definition at line 45 of file OpenCVHelpers.cpp.
void PrintArrow | ( | const Linie & | l, |
IplImage * | img, | ||
CvScalar | color | ||
) |
draw line l into img and add an arrow head
Definition at line 60 of file OpenCVHelpers.cpp.
References Linie::GetLen(), Linie::GetLinks(), Linie::GetOben(), Linie::GetRechts(), Linie::GetUnten(), and M_PI.
Referenced by OpticalFlow::PrintFlowField().
void PrintLine | ( | const Linie & | l, |
IplImage * | img, | ||
CvScalar | color | ||
) |
draw line l into img
Definition at line 50 of file OpenCVHelpers.cpp.
References Linie::GetLinks(), Linie::GetOben(), Linie::GetRechts(), and Linie::GetUnten().