ACT-CV - Machine Vision for Cognitive Modeling
Macros | Functions
OpenCVHelpers.cpp File Reference

helpers for OpenCV More...

#include "OpenCVHelpers.h"
#include <cmath>
Include dependency graph for OpenCVHelpers.cpp:

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...
 

Detailed Description

helpers for OpenCV

Definition in file OpenCVHelpers.cpp.

Macro Definition Documentation

#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

Function Documentation

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().



ACT-CV - Machine Vision for Cognitive Modeling
© 2015 Marc Halbruegge (actcvlibrary@googlemail.com)