-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCvShapes.h
More file actions
34 lines (23 loc) · 792 Bytes
/
Copy pathCvShapes.h
File metadata and controls
34 lines (23 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
* File: CvShapes.h
* Author: ros
*
* Created on 17. Mai 2011, 18:14
*/
#ifndef CVSHAPES_H
#define CVSHAPES_H
#include <opencv/cv.h>
#include "PlayingField.h"
void cvCross(CvArr* img, CvPoint pt, int size, CvScalar color, int thickness = 1);
CvPoint operator+(CvPoint a, CvPoint b);
CvPoint operator-(CvPoint a, CvPoint b);
CvPoint operator*(CvPoint a, CvPoint b);
CvPoint operator*(CvPoint a, double scalar);
CvPoint operator/(CvPoint a, double scalar);
CvPoint operator/(CvPoint a, CvPoint b);
CvPoint operator+=(CvPoint a, CvPoint b);
std::ostream& operator<<(std::ostream& s, const cv::Mat& mat);
std::ostream& operator<<(std::ostream& s, const CvPoint& point);
CvPoint FlipHorizontal(CvPoint a, int ImageHeight);
bool EllipseOK(CvBox2D box);
#endif /* CVSHAPES_H */