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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.