Using openCV, how can I fill some circles found using the HoughCircles in C++? This Circles will be used to create a mask on a image. There is a better way to do this?
Thanks.
You can pass thickness of the circle out line to CV_FILLED or -1 to fill the circle like
circle(img, Point(50,50),50, Scalar(255,255,255),CV_FILLED, 8,0);
See OpenCV Doc for more info.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With