Real-Time Line Detection Using Accelerated High-Resolution Hough Transform

  • Radovan Jošth
  • Markéta Dubská
  • Adam Herout
  • Jiří Havel
Part of the Lecture Notes in Computer Science book series (LNCS, volume 6688)


Hough transform is a well-known and popular algorithm for detecting lines in raster images. The standard Hough transform is rather slow to be usable in real-time, so different accelerated and approximated algorithms exist. This paper proposes a modified accumulation scheme for the Hough transform, which makes it suitable for computer systems with small but fast read-write memory – such as the today’s GPUs. The proposed algorithm is evaluated both on synthetic binary images and on complex high resolution real-world photos. The results show that using today’s commodity graphics chips, the Hough transform can be computed at interactive frame rates even with a high resolution of the Hough space and with the Hough transform fully computed.


Line Detection Hough-Transform Real-Time GPU CUDA 


  1. 1.
    Ballard, D.H.: Generalizing the Hough Transform to Detect Arbitrary Shapes, pp. 714–725 (1987)Google Scholar
  2. 2.
    Cheng, H.D., Guo, Y., Zhang, Y.: A novel hough transform based on eliminating particle swarm optimization and its applications. Pattern Recogn. 42, 1959–1969 (2009)CrossRefzbMATHGoogle Scholar
  3. 3.
    Duda, R.O., Hart, P.E.: Use of the Hough transformation to detect lines and curves in pictures. Commun. ACM 15(1), 11–15 (1972)CrossRefzbMATHGoogle Scholar
  4. 4.
    Eckhardt, U., Maderlechner, G.: Application of the projected Hough transform in picture processing. In: Proceedings of the 4th International Conference on Pattern Recognition, pp. 370–379. Springer, London (1988)Google Scholar
  5. 5.
    Harris, M.: GPU Gems 3. In: Parallel Prefix Sum (Scan) with CUDA, ch. 39, pp. 851–876. Addison-Wesley, Reading (2007)Google Scholar
  6. 6.
    Hough, P.V.C.: Method and means for recognizing complex patterns, u.S. Patent 3,069,654 (December 1962)Google Scholar
  7. 7.
    Illingworth, J., Kittler, J.: A survey of the Hough transform. Comput. Vision Graph. Image Process. 44(1), 87–116 (1988)CrossRefGoogle Scholar
  8. 8.
    Li, H., Lavin, M.A., Le Master, R.J.: Fast Hough transform: A hierarchical approach. Comput. Vision Graph. Image Process. 36, 139–161 (1986)CrossRefGoogle Scholar
  9. 9.
    Lu, W., Tan, J.: Detection of incomplete ellipse in images with strong noise by iterative randomized hough transform. Pattern Recogn. 41, 1268–1279 (2008)CrossRefzbMATHGoogle Scholar
  10. 10.
    Mochizuki, Y., Torii, A., Imiya, A.: N-point hough transform for line detection. J. Vis. Comun. Image Represent. 20, 242–253 (2009)CrossRefGoogle Scholar
  11. 11.
    Natterer, F.: The mathematics of computerized tomography. Wiley, John & Sons, Incorporated, Chichester (1986) ISBN 9780471909590zbMATHGoogle Scholar
  12. 12.
    O’Gorman, F., Clowes, M.B.: Finding picture edges through collinearity of feature points. IEEE Trans. Computers 25(4), 449–456 (1976)CrossRefzbMATHGoogle Scholar
  13. 13.
    O’Rourke, J.: Dynamically quantized spaces for focusing the Hough transform. In: Proceedings of the 7th International Joint Conference on Artificial Intelligence, vol. 2, pp. 737–739. Morgan Kaufmann Publ. Inc., San Francisco (1981)Google Scholar
  14. 14.
    Princen, J., Illingowrth, J., Kittler, J.: Hypothesis testing: A framework for analyzing and optimizing Hough transform performance. IEEE Trans. Pattern Anal. Mach. Intell. 16(4), 329–341 (1994)CrossRefGoogle Scholar
  15. 15.
    Rau, J.Y., Chen, L.C.: Fast straight lines detection using Hough transform with principal axis analysis. J. Photogrammetry and Remote Sensing 8, 15–34 (2003)Google Scholar
  16. 16.
    Shapiro, L.G., Stockman, G.C.: Computer Vision. Tom Robbins (2001)Google Scholar
  17. 17.
    Sloan, K.R.: Dynamically quantized pyramids. In: Proc. International Joint Conference on Artificial Intelligence (IJCAI), pp. 734–736. Morgan Kaufmann, San Francisco (1981)Google Scholar
  18. 18.
    Wallace, R.: A modified Hough transform for lines. In: Proceedings of CVPR 1985, pp. 665–667 (1985)Google Scholar
  19. 19.
    Xu, L., Oja, E., Kultanen, P.: A new curve detection method: Randomized Hough Transform (RHT). Pattern Recognition Letters 11, 331–338 (1990)CrossRefzbMATHGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2011

Authors and Affiliations

  • Radovan Jošth
    • 1
  • Markéta Dubská
    • 1
  • Adam Herout
    • 1
  • Jiří Havel
    • 1
  1. 1.Faculty of Information TechnologyGraph@FIT, Brno University of TechnologyBrnoCzech Republic

Personalised recommendations