Draws a circle
img = cv.circle(img, center, radius)
[...] = cv.circle(..., 'OptionName', optionValue, ...)
Input
- img Image where the circle is drawn.
- center Center of the circle
[x,y]
.
- radius Radius of the circle.
Output
Options
- Color 3-element floating point vector specifying circle color.
default is a black color
- Thickness Thickness of the circle outline, if positive. Negative
thickness means that a filled circle is to be drawn (-1 or the string
'Filled'). default 1.
- LineType Type of the circle boundary. One of 8,4,'AA' (Anti-aliased
line). default 8.
- Shift Number of fractional bits in the coordinates of the center
and in the radius value. default 0.
The function cv.circle draws a simple or filled circle with a given center
and radius.