DrawEllipse绘制椭圆函数用法
void DrawEllipse(Mat img,double angle)
{
int thickness=2;
int lineType = 8;
ellipse(img,
Point(window_width / 2, window_width / 2),
Size(window_width / 4, window_width / 16),
angle,
0,
360,
Scalar(255,199,0),
thickness,
lineType);
}
DrawFilledCircle画实心圆函数
Drawpolygon多边形函数
c线函数
例子总出错(画图函数找不到标识符)
#include<opencv2/core/core.hpp>
#include<opencv2/highgui/highgui.hpp>
using namespace cv;
/***************************************【宏定义部分】******************************