Generalizing the hough transform to detect arbitrary shapes

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