Skip to main content

An Adaptive Edge Detection Algorithm Based on Improved Canny

  • Conference paper
  • First Online:
Advanced Computational Methods in Life System Modeling and Simulation (ICSEE 2017, LSMS 2017)

Abstract

Edge detection is the key to image processing and has a significant impact on the high level of description, classification and matching of subsequent images. The traditional Canny algorithm requires human intervention in the selection of Gaussian function and its fixed parameters. To solve these problems, an improved algorithm based on Canny algorithm is proposed in this paper. The approach introduces the edge preserving filter to replace the original Gaussian filter, and calculates the magnitude and direction of image gradient with a new designed templates from x direction, y direction, and two oblique directions (45°, 135°). Meanwhile, the Otsu algorithm is used to calculate the thresholds, which avoids the problem that the thresholds need to be set repeatedly. The proposed method is successfully applied to the metal plate detection system. Experimental results show that the algorithm has good performance in bright and dark domains.

This work was supported by Natural Science Foundation of China (61403244), Science and Technology Commission of Shanghai Municipality under “Yangfan Program” (14YF1408600, 16YF1403700), Key Project of Science and Technology Commission of Shanghai Municipality (15411953502).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Medina-Carnicer, R., Muñoz-Salinas, R., Yeguas-Bolivar, E., Diaz-Mas, L.: A novel method to look for the hysteresis thresholds for the Canny edge detector. Pattern Recogn. 44, 1201–1211 (2011)

    Article  Google Scholar 

  2. Wu, Z., Sun, C., Liu, J.: Oil-seal surface defect automatic detection and recognition method based on image processing. Yi Qi Yi Biao Xue Bao/Chin. J. Sci. Instrument. 34, 1093–1099 (2013)

    Google Scholar 

  3. Xu, Q., Varadarajan, S., Chakrabarti, C., Karam, L.J.: A Distributed Canny Edge Detector: Algorithm and FPGA Implementation. IEEE Trans. Image Process. 23, 2944–2960 (2014)

    Article  MathSciNet  Google Scholar 

  4. Zhong, J., Han, Y., Shi, P.: Fish-bone detection based on multiresolution wavelet. Yi Qi Yi Biao Xue Bao/Chin. J. Sci. Instrum. 27, 2198–2199 (2006)

    Google Scholar 

  5. Niu, S., Wang, S., Yang, J., Chen, G.: A fast image segmentation algorithm fully based on edge information. Jisuanji Fuzhu Sheji Yu Tuxingxue Xuebao/J. Comput. Aided Design Comput. Graph. 24, 1410–1419 (2012)

    Google Scholar 

  6. Wang, X., Jin, J.Q.: An edge detection algorithm based on improved CANNY operator. In: Seventh International Conference on Intelligent Systems Design and Applications (ISDA 2007), pp. 623–628 (2007)

    Google Scholar 

  7. Tan, L., Wang, Y., Shen, C.: Vision based obstacle detection and recognition algorithm for transmission line deicing robot. Yi Qi Yi Biao Xue Bao/Chin. J. Sci. Instrum. 32, 2564–2571 (2011)

    Google Scholar 

  8. Bao, P., Zhang, L., Wu, X.: Canny edge detection enhancement by scale multiplication. IEEE Trans. Pattern Anal. Mach. Intell. 27, 1485–1490 (2005)

    Article  Google Scholar 

  9. Rong, W., Li, Z., Zhang, W., Sun, L.: An improved Canny edge detection algorithm. In: 2014 IEEE International Conference on Mechatronics and Automation, pp. 577–582 (2014)

    Google Scholar 

  10. Zhou, W., Fei, M., Zhou, H., Li, K.: A sparse representation based fast detection method for surface defect detection of bottle caps. Neurocomputing 123, 406–414 (2014)

    Article  Google Scholar 

  11. Wang, Z., He, S.: An adaptive edge-detection method based on Canny algorithm. Yi Qi Yi Biao Xue Bao/Chin. J. Sci. Instrum. 9, 957–962 (2004)

    Google Scholar 

  12. Zhang, J., Hu, J.: Image segmentation based on 2D Otsu method with histogram analysis. In: 2008 International Conference on Computer Science and Software Engineering, pp. 105–108 (2008)

    Google Scholar 

  13. Fernandez, C., Platero, C., Campoy, P., Aracil, R.: Vision system for on-line surface inspection in aluminum casting process. In: International Conference on Industrial Electronics, Control, and Instrumentation, Proceedings of the IECON 1993, vol. 3, pp. 1854–1859 (1993)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ling Chen .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer Nature Singapore Pte Ltd.

About this paper

Cite this paper

Yang, A., Jiang, W., Chen, L. (2017). An Adaptive Edge Detection Algorithm Based on Improved Canny. In: Fei, M., Ma, S., Li, X., Sun, X., Jia, L., Su, Z. (eds) Advanced Computational Methods in Life System Modeling and Simulation. ICSEE LSMS 2017 2017. Communications in Computer and Information Science, vol 761. Springer, Singapore. https://doi.org/10.1007/978-981-10-6370-1_56

Download citation

  • DOI: https://doi.org/10.1007/978-981-10-6370-1_56

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-10-6369-5

  • Online ISBN: 978-981-10-6370-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics