Skip to main content

Ultrasound Signal Processing Using the Julia Programming Language

  • Conference paper
  • First Online:
XXVI Brazilian Congress on Biomedical Engineering

Part of the book series: IFMBE Proceedings ((IFMBE,volume 70/2))

  • 1256 Accesses

Abstract

Julia is a programming language for numerical computing aiming at the combination of the usability features of a high level programming language with a good execution performance, allowing users to prototype and deploy their application using the same code. In this work, we evaluated the use of Julia for processing ultrasound signals and generation of a B-Mode image, being the input the raw signal acquired with an Ultrasonix platform using the Texo toolbox. We present the acquisition process using Texo and the signal processing chain implemented using Julia that encompassed: (1) reading data from files; (2) channel summation to obtain the scanlines (RF signal); (3) IQ demodulation; (4) envelope detection and logarithmic compression. We present the comparison of the execution time and the output image obtained with both Julia code and MATLAB®. In this particular application, we achieved a speedup of 2.7 times using Julia, but if we take into account only the ultrasound-related operations (channel summation to logarithmic compression), there is no speed up (0.56), i.e. MATLAB® code is faster. Besides that, the frame rate we achieved using Julia was about 7 frames per second. Based on these values, we conclude that it is not yet an alternative for a real-time medical ultrasound imaging system, but it can be an alternative for MATLAB® when performing simulations.

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

Similar content being viewed by others

References

  1. Bezanson, J., Edelman, A., Karpinski, S., Shah, V.B.: Julia: a fresh approach to numerical computing. SIAM Rev. 59(1), 65–98 (2017)

    Article  MathSciNet  Google Scholar 

  2. Julia Language. https://julialang.org/. Accessed 31 May 2018

  3. Lewandowski, M.: Hardware-software partitioning of digital signal processing in ultrasound medical devices a case study. In: Tanabe, M. (ed.) Ultrasound Imaging. InTech (2011). http://www.intechopen.com/books/ultrasound-imaging/hardware-software-partitioning-of-digital-signal-processing-in-ultrasound-medical-devices-a-case-stu. Accessed 16 April 2018

  4. Ultrasonix Texo Toolbox. http://www.ultrasonix.com/wikisonix/index.php/Texo. Accessed 15 April 2018

  5. Szabo, T.L.: Diagnostic Ultrasound Imaging: Inside Out, 2nd edn. Academic Press, USA (2014)

    Google Scholar 

  6. B-Mode Images. http://www.ultrasonix.com/wikisonix/index.php/Ultrasound_Image_Computation. Accessed 15 April 2018

  7. Kirkhorn, J.: Introduction to IQ Demodulation of RF-Data (1999)

    Google Scholar 

  8. B-Mode IQ Demodulation. http://www.ultrasonix.com/wikisonix/index.php?title=IQ_Demodulation. Accessed 15 April 2018

  9. Wang, S.Z., Bovik, A.C., Sheikh, H.R., Simoncelli, E.P.: Image quality assessment: from error visibility to structural similarity. IEEE Trans. Image Process. 13(4), 1–14 (2004)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Eduardo T. Costa .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Medeiros, J.D., Costa, E.T. (2019). Ultrasound Signal Processing Using the Julia Programming Language. In: Costa-Felix, R., Machado, J., Alvarenga, A. (eds) XXVI Brazilian Congress on Biomedical Engineering. IFMBE Proceedings, vol 70/2. Springer, Singapore. https://doi.org/10.1007/978-981-13-2517-5_77

Download citation

  • DOI: https://doi.org/10.1007/978-981-13-2517-5_77

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-13-2516-8

  • Online ISBN: 978-981-13-2517-5

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics