楼主,你的FindCircles函数调用的参数不是很明白,能给个调用的示例吗?
这是我写的头文件
#include <highgui.h>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/opencv.hpp>
#include <vector>
using namespace cv;
using namespace std;
struct circle_found
{
float score;
Vec3f circle; };
namespace ExtendCV{
void FindCircles( InputArray _image, vector<circle_found>& _circles,float dp, int min_dist,
int low_threshold, int high_threshold,int acc_threshold,int minRadius, int maxRadius,
float minScore, InputArray _contour_image );
}; |