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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Bezanson, J., Edelman, A., Karpinski, S., Shah, V.B.: Julia: a fresh approach to numerical computing. SIAM Rev. 59(1), 65–98 (2017)
Julia Language. https://julialang.org/. Accessed 31 May 2018
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
Ultrasonix Texo Toolbox. http://www.ultrasonix.com/wikisonix/index.php/Texo. Accessed 15 April 2018
Szabo, T.L.: Diagnostic Ultrasound Imaging: Inside Out, 2nd edn. Academic Press, USA (2014)
B-Mode Images. http://www.ultrasonix.com/wikisonix/index.php/Ultrasound_Image_Computation. Accessed 15 April 2018
Kirkhorn, J.: Introduction to IQ Demodulation of RF-Data (1999)
B-Mode IQ Demodulation. http://www.ultrasonix.com/wikisonix/index.php?title=IQ_Demodulation. Accessed 15 April 2018
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)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Singapore Pte Ltd.
About this paper
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)