This is the generalized Hough Transform by D. H. Ballard to detect any shapes by using the gradient information in the source image.