Skip to main content

Multithreading Programming for Feature Extraction in Digital Images

  • Conference paper
  • First Online:
Trends and Applications in Software Engineering (CIMPS 2019)

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 1071))

Included in the following conference series:

Abstract

Currently, there is a great advance in the construction of processors with many cores, providing more computational power and resources to use. In the field of image processing, most of the algorithms use a sequential architecture that prevents from reaching the maximum performance of processors. In this work, we design and implement a set of low-level algorithms to optimize the processing of a two-dimensional convolution to obtain the best performance that a CPU can grant. Our approach uses parallel processing in four different cases of study based on multithreading. The computation time is compared in order to find which case achieves the best performance. In the same way, the computation time of the proposed algorithms is measured, and then, it is compared with general frameworks, in order to have a real metric of the proposed library with popular Application Programming Interfaces (API’s) like OpenMP.

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 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.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. Open Computing Language. https://www.khronos.org/opencl/

  2. Open Multi-Processing. https://www.openmp.org/

  3. Open Message Passing Library. https://www.open-mpi.org/

  4. Sancaradas, M., Jakkula, V., Cadambi, S., Chakradhar, S., Durdanovic, I., Cosatto, E., Graf, H.P.: A massively parallel coprocessor for convolutional neural networks. In: 20th IEEE International Conference on Application-specific Systems, Architectures and Processors, pp. 53–60, Boston (2009)

    Google Scholar 

  5. Cireşan, D.C., Meier, U., Masci, J., Gambardella, J., Schmidhuber, J.: Flexible, high performance convolutional neural networks for image classification. In: Proceedings of the Twenty-Second International Joint Conference on Artificial Intelligence, pp. 1237–1242. AAAI Press, Barcelona (2011)

    Google Scholar 

  6. Kim, C.G., Kim, J.G., Hyeon, D.: Optimizing image processing on multi-core CPUs with intel parallel programming technologies. Multimedia Tools Appl. 68, 237–251 (2014)

    Article  Google Scholar 

  7. Tousimojarad, A., Vanderbauwhede, W., Cockshott, W.P.: 2D Image Convolution using Three Parallel Programming Models on the Xeon Phi. CoRR. abs/1711.09791 (2017)

    Google Scholar 

  8. Fayez, G.: Algorithms and Parallel Computing. Wiley, New Jersey (2001)

    MATH  Google Scholar 

  9. I.O. for Standardization: ISO/IEC14882:2011. https://www.iso.org/standard/68564.html

  10. I.O. for Standardization. ISO/IEC14882:2017, https://www.iso.org/standard/50372.html

  11. Open Source Computer Vision. https://opencv.org/

Download references

Acknowledgments

This work was partially supported by the project “Fondo Sectorial Conacyt-INEGI No. 290910: Diseño e implementación de métodos de búsqueda por similitud de usuarios de redes sociales” and performed during the master degree studies of Yair Andrade funded by the scholarship 634545 granted by CONACYT.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Dora-Luz Almanza-Ojeda .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Andrade-Ambriz, Y.A., Ledesma, S., Almanza-Ojeda, DL. (2020). Multithreading Programming for Feature Extraction in Digital Images. In: Mejia, J., Muñoz, M., Rocha, Á., A. Calvo-Manzano, J. (eds) Trends and Applications in Software Engineering. CIMPS 2019. Advances in Intelligent Systems and Computing, vol 1071. Springer, Cham. https://doi.org/10.1007/978-3-030-33547-2_16

Download citation

Publish with us

Policies and ethics