Intracardiac blood flow dynamics depicted using 4D flow magnetic resonance imaging is increasingly used for analysis of cardiac health. Lagrangian Coherent Structures (LCS) is a powerful blood flow analysis tool, with applications in diastolic dysfunction and separating flowing blood with different behavior. However, use of LCS has been limited by long computation times. Therefore, a cloud-based computation engine for LCS analysis was developed, incorporating acceleration with graphical processing units (GPU:s). A speedup factor of up to 23 times is realized, enabling sub-second LCS computation times. Furthermore, the cloud platform makes rapid LCS analysis possible without investing in expensive GPU hardware.
The original LCS code (1) was adapted to the Compute Unified Device Architecture (CUDA, NVIDIA, Santa Clara, CA, USA) for GPU execution. To verify correctness, LCS images were compared between GPU code and original code.
Benchmarking was performed in one subject (Figure 1) at different resolutions from 0.8 mm (6×104 pixels, 1.8×104 particle traces) to 0.1 mm (3.8×106 pixels, 1.1×107 traces). Total execution time was recorded for CPU and GPU computation on the same cloud instance (Amazon Web Services g2.2xlarge, 4 CPU threads, NVIDIA K520 GRID GPU).
1. Töger J, Kanski M, Carlsson M, et al.: Vortex ring formation in the left ventricle of the heart: analysis by 4D flow MRI and Lagrangian coherent structures. Ann Biomed Eng 2012; 40:2652–62.
2. Töger J, Kanski M, Arvidsson PM, et al.: Vortex-ring mixing as a measure of diastolic function of the human heart: Phantom validation and initial observations in healthy volunteers and patients with heart failure. J Magn Reson Imaging 2016; 43:1386–1397.
3. Arvidsson PM, Kovács SJ, Töger J, et al.: Vortex ring behavior provides the epigenetic blueprint for the human heart. Sci Rep 2016; 6:22021.