opencv for iOS:cvHoughCircles在iPhone和模拟器上的结果不一样

时间:2013-09-09 15:00:17

标签: ios opencv

iOS版Opencv库存在问题。使用cvHoughCircles时,模拟器上的结果与iPhone不同。这是代码

  

CvSeq * circles = cvHoughCircles(灰色,//输入图像

                               storage, //Memory Storage
                               CV_HOUGH_GRADIENT, //Detection method
                               2, //Inverse ratio
                               gray->width/8, //Minimum distance between the centers of the detected circles
                               100, //Higher threshold for canny edge detector
                               20, //Threshold at the center detection stage
                               gray->height/6, //min radius
                               gray->height/2 //max radius
                               );
模拟器上的

circles->total = 0,但iPhone上为1。这是图像enter image description here

非常感谢任何帮助。

0 个答案:

没有答案