Function uses Standard Hough Transform to detect circles in a binary image.
According to the Hough Transform for circles, each pixel in image space
corresponds to a circle in Hough space and vise versa.
upper left corner of image is the origin of coordinate system.

all the reported bugs are fixed, please let me know if you find any other bug. Thanks. and check out the software section on the Computer Vision Online (http://www.computervisiononline.com/software) for more open source software related to image processing and computer vision