Line and circle detection using dense one-to-one Hough transforms on greyscale images

Antoine Manzanera, Thanh Phuong Nguyen, Xiaolei Xu

Abstract

The Hough Transform (HT) is a foundational tool in computer vision for shape detection. However, traditional implementations suffer from high computational costs and a dependency on binary edge detection. This paper introduces the Dense One-to-One Hough Transform (DHT), which leverages multiscale differential geometry to detect lines and circles directly from greyscale images. By utilizing local gradient and curvature information, the DHT achieves significant speed improvements and enhanced robustness to noise.

Introduction

The classical Hough Transform remains the gold standard for shape detection but faces two primary challenges: the requirement for a binary "edge map" and high computational complexity. Edge detection is often fragile in low-contrast or noisy environments, and the "one-to-many" voting scheme of standard HT creates noisy accumulator spaces. The proposed DHT addresses these by allowing every pixel to vote for a unique shape parameter based on local geometry.

Methodology

The DHT utilizes first-order (gradient) and second-order (curvature) derivatives to constrain the voting process. For line detection, the gradient direction at a pixel determines the line's angle and distance. For circle detection, the algorithm employs isophote curvature—the curvature of lines of constant intensity.

Local geometry at point P determines the parameters of the osculating circle, where 1/|κ| represents the radius.

By calculating the local curvature (κ) and the gradient, the system analytically determines the center and radius of the circle passing through a pixel. To manage noise, derivatives are calculated across multiple scales using Gaussian kernels, with votes weighted by derivative strength.

Key Insights and Results

The transition from "one-to-many" to "one-to-one" mapping dramatically reduces computational overhead. In benchmarks, line detection on a 512 × 512 image was completed in 0.11 seconds using DHT, compared to nearly 95 seconds for the standard HT. Circle detection saw a similar leap, dropping from 144 seconds to just 0.31 seconds.

Detection of linear (a) and circular (b) features on a complex contour using local image geometry.

Furthermore, the "density" of the transform—allowing every pixel to participate—increases the statistical significance of true shapes. Even in the presence of 20% Gaussian noise, the multiscale DHT maintains high classification rates where traditional methods fail.

Conclusion

The Dense One-to-One Hough Transform represents a significant evolution in shape detection, offering orders-of-magnitude speedups and improved robustness by working directly with greyscale data. Future work aims to extend this framework to more complex analytical shapes, such as ellipses, and explore its application in non-uniform illumination environments.

Summary updated

BibTeX
@article{manzanera2016line,
  author = {Antoine Manzanera and Thanh Phuong Nguyen and Xiaolei Xu},
  title = {{Line and circle detection using dense one-to-one Hough transforms on greyscale images}},
  journal = {EURASIP J. Image Video Process.},
  year = {2016},
  doi = {10.1186/s13640-016-0149-y},
}
Figure