作图操作
画线
line(Mat img,Point pt1,Point pt2,Scalar color,int thickness,int lineType,int shift)
矩形
rectangle(Mat img,Point pt1,Point pt2,Scalar color,int thickness,int lineType,int shift)
圆
circle(Mat img,Point center,int radius,Scalar color,int thickness,int lineType,int shift)
椭圆
ellipse(Mat img,Point center,Size axes,double angle,double startAngle,double endAngle,Scalar color,int thickness,int lineType,int shift)
文字
putText(Mat img,String text,Point org,int fontFace,double fontScale,Scalar color,int thickness)