I have used the following function.
CvSeq* circles = cvHoughCircles( src, cvCreateMemStorage(0), CV_HOUGH_GRADIENT, 4 , src->width/4, 100,100,0,50 ); When I run the program i get error;
bad argument<the source="" image="" must="" be="" single-channel=""> in cvHoughCircles file