光流深度學習應用於超音波心臟應變影像
Ultrasound Cardiac Strain Imaging Using Optical Flow Deep Learning
摘要
超音波影像能提供非侵入式、無放射性風險的即時心臟功能診斷工具,臨床診斷會採用射出率評估心臟收縮與舒張腔室體積之差異,以及組織都卜勒成像測量心肌運動速度,但前者無法評估局部心肌病變,而後者僅能估計一維方向之心肌形變量。目前臨床上大多採用二維應變率影像來定量局部心肌之形變量,藉此得知局部心肌病變,此模式主要採用斑點追蹤法估計位移,其缺點在於計算量龐大,非即時影像模式,且斑點去相關性會造成位移估計誤差。隨著電腦視覺領域採用光流法深度學習模型於物體移動方面研究的快速進展,如FlowNet、PWC-Net、RAFT模型,為超音波應變影像提供了新的可能。然而,運用這些模型於心臟超音波仍面臨兩大挑戰: 第一為其性能取決於訓練資料品質,需要大量已知心肌形變之訓練資料;第二為這些模型主要估計位移而非應變,應變為位移之空間梯度值,位移估計的變動會造成不可忽略的應變值誤差,需要耗費時間執行後處理運算。為了解決上述問題,本論文之研究目標為導入並改善現有光流法深度學習模型,提升心肌應變估計之準確性,並達到近即時之高空間解析度應變影像。我們提出兩個基於RAFT 之模型,第一稱為RAFT-US,用於估計心肌位移,利用已開發的大規模合成心臟超音波影像遷移訓練來進一步提高準確性,並提出最小平方法從位移估計推導至應變量估計,然而此過程仍耗時且並無直接優化應變估計結果。為此我們提出第二個模型: RAFT-strain,將位移轉換為應變的過程整合進卷積神經網路,直接優化應變估計,無須後處理,可大幅縮短運算時間。我們藉由三種獨立之心臟資料驗證所提出方法之有效性,包含上述二維合成心臟超音波影像測試集、三維心臟超音波模擬資料,以及臨床活體資料。RAFT-US在準確度上較斑點追蹤提升了1.5至3倍,並實現了10 FPS近即時影像模式,相比原始RAFT模型準確度提升了1.5至2倍。RAFT-strain應變估計的準確度與採用最小平方法的RAFT-US模型結果相當,但可大幅改善運算速度,達到近即時影像。活體資料結果顯示本論文所提出方法與商用軟體Tomtec結果有一致性,但能夠提供更高空間解析度之心肌應變影像。
Ultrasound imaging offers a non-invasive, radiation-free real-time diagnostic approach for evaluating cardiac functions. Clinically, ejection fraction is employed to assess the difference in volumes of the heart chambers during systole and diastole, along with tissue Doppler imaging for measuring myocardial motion speed. However, the former cannot evaluate localized heart functions, and the latter only estimates one-dimensional (1D) myocardial deformation. Presently, 2D strain (rate) imaging is commonly used for quantifying local myocardial deformation, thereby identifying localized myocardial lesions. This method mainly utilizes speckle tracking for displacement estimation, but it has limitations due to extensive computational requirements, non-real-time imaging, and speckle decorrelation (i.e., dissimilarity) deteriorating displacement estimation. With the rapid advancement in computer vision, particularly in the study of motion estimation using deep learning models like FlowNet, PWC-Net, and RAFT, new possibilities for ultrasound strain imaging have emerged. However, applying these models to cardiac ultrasound poses two primary challenges. First, the performance is highly dependent on training datasets, necessitating a substantial amount of training data with known myocardial deformation. Second, these models primarily estimate displacement, not strain. Strain is the spatial gradient of displacement, and variations in displacement estimation can lead to significant errors in strain values, requiring time-consuming post-processing. To address these issues, by leveraging existing optical flow-based deep learning models, this thesis aims to improve myocardial strain estimation while achieving near real-time, high spatial resolution strain imaging. We propose two models based on RAFT. The first, RAFT-US, is designed for myocardial displacement estimation. It utilizes a large-scale synthetic cardiac ultrasound image transfer learning to enhance accuracy. A least-squares (LS) approach was proposed to improve strain tensor estimates from displacement ones. However, this process remains time-consuming and does not directly optimize strain estimation results. Therefore, we introduce a second model: RAFT-strain, which integrates the process of converting displacement to strain into the convolutional neural network, directly optimizing strain estimation without the need for post-processing, significantly reducing computation time. We verified our approaches by using three independent ultrasound datasets, including aforementioned 2D synthetic cardiac test datasets, 3D synthetic datasets, and in vivo 2D datasets. The results show that RAFT-US enables 1.5 to 3 times improvement in accuracy over conventional speckle tracking, achieving near real-time imaging at 10 FPS, and a 1.5 to 2 times accuracy enhancement over the original RAFT model. The RAFT-strain model maintains strain estimation accuracy comparable to the LS-based RAFT-US model, but significantly improves the frame rate, allowing near real-time strain imaging. Our results are not only consistent with those derived from Tomtec, a recognized commercial software for offline analysis, but capable of offering better spatial resolution for localized strain visualization.