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
values (like -1 or the string 'Filled') mean that a filled circle is to be
drawn . default 1.
- LineType Type of the circle boundary. One of:
- 4 4-connected line
- 8 8-connected line (default)
- AA anti-aliased line
- 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.