37 #ifndef _PRIMITIVES_DRAWER_CV_H_ 38 #define _PRIMITIVES_DRAWER_CV_H_ 41 #include "opencv/cv.h" 138 void PutText(
CByteImage *pImage,
const char *pText,
double x,
double y,
double scale_x,
double scale_y,
int r = 255,
int g = 255,
int b = 255,
int thickness = 1);
void DrawEllipse(CByteImage *pImage, const Ellipse2d &ellipse, int r=255, int g=255, int b=255, int thickness=1)
Deprecated.
void DrawCircle(CByteImage *pImage, const Vec2d &mid_point, double radius, int r=255, int g=255, int b=255, int thickness=1)
Deprecated.
void PutText(CByteImage *pImage, const char *pText, double x, double y, double scale_x, double scale_y, int r=255, int g=255, int b=255, int thickness=1)
Draws text into a CByteImage.
Data structure for the representation of 8-bit grayscale images and 24-bit RGB (or HSV) color images ...
void DrawConvexPolygon(CByteImage *pImage, int *pPoints, int nPoints, int r=255, int g=255, int b=255, int thickness=1)
Draws a polygon into a CByteImage.
void DrawRegion(CByteImage *pImage, const MyRegion ®ion, int r=255, int g=255, int b=255, int thickness=1)
Deprecated.
Data structure for the representation of a 2D ellipse.
Functions for drawing 2D primitives into a CByteImage using OpenCV.
GLdouble GLdouble GLdouble r
Data structure for the representation of a 2D vector.
void DrawLine(CByteImage *pImage, const PointPair2d &line, int r=255, int g=255, int b=255, int thickness=1)
Deprecated.