Commit ce41f74a authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

decreased the lower canny threshold in HoughCircles, helps to detect some…

decreased the lower canny threshold in HoughCircles, helps to detect some circles in low-contrast images (ticket #518)
parent 732bd621
......@@ -817,7 +817,7 @@ icvHoughCirclesGradient( CvMat* img, float dp, float min_dist,
CvSeqReader reader;
edges = cvCreateMat( img->rows, img->cols, CV_8UC1 );
cvCanny( img, edges, MAX(canny_threshold/2,1), canny_threshold, 3 );
cvCanny( img, edges, MAX(canny_threshold/5,1), canny_threshold, 3 );
dx = cvCreateMat( img->rows, img->cols, CV_16SC1 );
dy = cvCreateMat( img->rows, img->cols, CV_16SC1 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment