Change image e small fix to cv::ellipse() Doc
This commit is contained in:
parent
526220a171
commit
e03c81d90a
Binary file not shown.
|
Before Width: | Height: | Size: 2.4 KiB |
1156
modules/imgproc/doc/pics/ellipse.svg
Normal file
1156
modules/imgproc/doc/pics/ellipse.svg
Normal file
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 52 KiB |
@ -4198,13 +4198,14 @@ CV_EXPORTS_W void circle(InputOutputArray img, Point center, int radius,
|
|||||||
/** @brief Draws a simple or thick elliptic arc or fills an ellipse sector.
|
/** @brief Draws a simple or thick elliptic arc or fills an ellipse sector.
|
||||||
|
|
||||||
The function cv::ellipse with less parameters draws an ellipse outline, a filled ellipse, an elliptic
|
The function cv::ellipse with less parameters draws an ellipse outline, a filled ellipse, an elliptic
|
||||||
arc, or a filled ellipse sector. A piecewise-linear curve is used to approximate the elliptic arc
|
arc, or a filled ellipse sector. The drawing code uses general parametric form.
|
||||||
|
A piecewise-linear curve is used to approximate the elliptic arc
|
||||||
boundary. If you need more control of the ellipse rendering, you can retrieve the curve using
|
boundary. If you need more control of the ellipse rendering, you can retrieve the curve using
|
||||||
ellipse2Poly and then render it with polylines or fill it with fillPoly . If you use the first
|
cv::ellipse2Poly and then render it with polylines or fill it with cv::fillPoly. If you use the first
|
||||||
variant of the function and want to draw the whole ellipse, not an arc, pass startAngle=0 and
|
variant of the function and want to draw the whole ellipse, not an arc, pass `startAngle=0` and
|
||||||
endAngle=360 . The figure below explains the meaning of the parameters.
|
`endAngle=360`. The figure below explains the meaning of the parameters to draw the blue arc.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@param img Image.
|
@param img Image.
|
||||||
@param center Center of the ellipse.
|
@param center Center of the ellipse.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user