The Hough circle is similar to the Hough line; only the equation changes here. For the Hough circle, we use the following equation of a circle, where (*h*, *k*) is the center of the circle and *r* is the radius :

Now, instead of the slope and intercept, the algorithm will find the coordinates of the center of the circle and its radius using the points in the image.