|
|
@ -507,11 +507,11 @@ CV_EXPORTS_W void randn(InputOutputArray dst, InputArray mean, InputArray stddev |
|
|
|
CV_EXPORTS_W void randShuffle(InputOutputArray dst, double iterFactor = 1., RNG* rng = 0); |
|
|
|
CV_EXPORTS_W void randShuffle(InputOutputArray dst, double iterFactor = 1., RNG* rng = 0); |
|
|
|
|
|
|
|
|
|
|
|
//! draws the line segment (pt1, pt2) in the image
|
|
|
|
//! draws the line segment (pt1, pt2) in the image
|
|
|
|
CV_EXPORTS_W void line(CV_IN_OUT InputOutputArray img, Point pt1, Point pt2, const Scalar& color, |
|
|
|
CV_EXPORTS_W void line(InputOutputArray img, Point pt1, Point pt2, const Scalar& color, |
|
|
|
int thickness = 1, int lineType = LINE_8, int shift = 0); |
|
|
|
int thickness = 1, int lineType = LINE_8, int shift = 0); |
|
|
|
|
|
|
|
|
|
|
|
//! draws the rectangle outline or a solid rectangle with the opposite corners pt1 and pt2 in the image
|
|
|
|
//! draws the rectangle outline or a solid rectangle with the opposite corners pt1 and pt2 in the image
|
|
|
|
CV_EXPORTS_W void rectangle(CV_IN_OUT InputOutputArray img, Point pt1, Point pt2, |
|
|
|
CV_EXPORTS_W void rectangle(InputOutputArray img, Point pt1, Point pt2, |
|
|
|
const Scalar& color, int thickness = 1, |
|
|
|
const Scalar& color, int thickness = 1, |
|
|
|
int lineType = LINE_8, int shift = 0); |
|
|
|
int lineType = LINE_8, int shift = 0); |
|
|
|
|
|
|
|
|
|
|
@ -521,18 +521,18 @@ CV_EXPORTS void rectangle(CV_IN_OUT Mat& img, Rect rec, |
|
|
|
int lineType = LINE_8, int shift = 0); |
|
|
|
int lineType = LINE_8, int shift = 0); |
|
|
|
|
|
|
|
|
|
|
|
//! draws the circle outline or a solid circle in the image
|
|
|
|
//! draws the circle outline or a solid circle in the image
|
|
|
|
CV_EXPORTS_W void circle(CV_IN_OUT InputOutputArray img, Point center, int radius, |
|
|
|
CV_EXPORTS_W void circle(InputOutputArray img, Point center, int radius, |
|
|
|
const Scalar& color, int thickness = 1, |
|
|
|
const Scalar& color, int thickness = 1, |
|
|
|
int lineType = LINE_8, int shift = 0); |
|
|
|
int lineType = LINE_8, int shift = 0); |
|
|
|
|
|
|
|
|
|
|
|
//! draws an elliptic arc, ellipse sector or a rotated ellipse in the image
|
|
|
|
//! draws an elliptic arc, ellipse sector or a rotated ellipse in the image
|
|
|
|
CV_EXPORTS_W void ellipse(CV_IN_OUT InputOutputArray img, Point center, Size axes, |
|
|
|
CV_EXPORTS_W void ellipse(InputOutputArray img, Point center, Size axes, |
|
|
|
double angle, double startAngle, double endAngle, |
|
|
|
double angle, double startAngle, double endAngle, |
|
|
|
const Scalar& color, int thickness = 1, |
|
|
|
const Scalar& color, int thickness = 1, |
|
|
|
int lineType = LINE_8, int shift = 0); |
|
|
|
int lineType = LINE_8, int shift = 0); |
|
|
|
|
|
|
|
|
|
|
|
//! draws a rotated ellipse in the image
|
|
|
|
//! draws a rotated ellipse in the image
|
|
|
|
CV_EXPORTS_W void ellipse(CV_IN_OUT InputOutputArray img, const RotatedRect& box, const Scalar& color, |
|
|
|
CV_EXPORTS_W void ellipse(InputOutputArray img, const RotatedRect& box, const Scalar& color, |
|
|
|
int thickness = 1, int lineType = LINE_8); |
|
|
|
int thickness = 1, int lineType = LINE_8); |
|
|
|
|
|
|
|
|
|
|
|
//! draws a filled convex polygon in the image
|
|
|
|
//! draws a filled convex polygon in the image
|
|
|
|