func HoughCirclesWithParams(img *opencv.IplImage, dp float64, min_dist float64, param_1 float64, param_2 float64, min_radius int, maxradius int) []opencv.CircleStruct { var gray = opencv.CreateImage(img.Width(), img.Height(), opencv.IPL_DEPTH_8U, 1) opencv.CvtColor(img, gray, opencv.CV_BGR2GRAY) return opencv.HoughCircles(gray, dp, min_dist, param_1, param_2, 1, 500) }
func HoughCircles1(img *opencv.IplImage) []opencv.CircleStruct { var gray = opencv.CreateImage(img.Width(), img.Height(), opencv.IPL_DEPTH_8U, 1) opencv.CvtColor(img, gray, opencv.CV_BGR2GRAY) return opencv.HoughCircles(gray, 15, 100, 75, 5, 25, 500) }