mach: ultrafast ultrasound beamforming
Purpose: Volumetric ultrafast ultrasound produces massive datasets with high frame rates, dense reconstruction grids, and large channel counts. Beamforming computational demands limit research throughput and prevent real-time applications in emerging modalities such as elastography, functional neuroimaging, and microscopy. Approach: We developed mach, an open-source, GPU-accelerated beamformer with a highly optimized delay-and-sum CUDA kernel and an accessible Python interface. mach uses a hybrid delay computation strategy that substantially reduces memory overhead compared with fully precomputed approaches. The CUDA implementation optimizes memory layout for coalesced access and reuses delay computations across frames via shared memory. We benchmarked mach on the PyMUST rotating disk dataset and validated numerical accuracy against existing open-source beamformers. Results: for B-mode. Conclusions: mach achieves 1.1 trillion points per second throughput, enabling real-time 3D ultrafast ultrasound reconstruction for the first time on consumer-grade hardware. By eliminating the beamforming bottleneck, mach enables real-time applications such as 3D functional neuroimaging, intraoperative guidance, and ultrasound localization microscopy. mach is freely available at https://github.com/Forest-Neurotech/mach.
Authors
- Masashi Sode (ORCID: https://orcid.org/0000-0002-3685-7378)
- Alexander P. Rockhill (ORCID: https://orcid.org/0000-0003-3868-7453)
- Gianmarco Pinton
- Charles Guan
Institutions
- University of North Carolina at Chapel Hill (US)
- Atotech (United States) (US)
Publication Details
- Journal
- Journal of Medical Imaging
- Published
- 2026-04-06
- DOI
- https://doi.org/10.1117/1.jmi.13.6.062203
- Primary Topic
- Ultrasound Imaging and Elastography
- Type
- article
- Field-Weighted Citation Impact
- 0.00