Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Jan 6;13(2):217.
doi: 10.3390/diagnostics13020217.

Muscle Cross-Sectional Area Segmentation in Transverse Ultrasound Images Using Vision Transformers

Affiliations

Muscle Cross-Sectional Area Segmentation in Transverse Ultrasound Images Using Vision Transformers

Sofoklis Katakis et al. Diagnostics (Basel). .

Abstract

Automatically measuring a muscle’s cross-sectional area is an important application in clinical practice that has been studied extensively in recent years for its ability to assess muscle architecture. Additionally, an adequately segmented cross-sectional area can be used to estimate the echogenicity of the muscle, another valuable parameter correlated with muscle quality. This study assesses state-of-the-art convolutional neural networks and vision transformers for automating this task in a new, large, and diverse database. This database consists of 2005 transverse ultrasound images from four informative muscles for neuromuscular disorders, recorded from 210 subjects of different ages, pathological conditions, and sexes. Regarding the reported results, all of the evaluated deep learning models have achieved near-to-human-level performance. In particular, the manual vs. the automatic measurements of the cross-sectional area exhibit an average discrepancy of less than 38.15 mm2, a significant result demonstrating the feasibility of automating this task. Moreover, the difference in muscle echogenicity estimated from these two readings is only 0.88, another indicator of the proposed method’s success. Furthermore, Bland−Altman analysis of the measurements exhibits no systematic errors since most differences fall between the 95% limits of agreements and the two readings have a 0.97 Pearson’s correlation coefficient (p < 0.001, validation set) with ICC (2, 1) surpassing 0.97, showing the reliability of this approach. Finally, as a supplementary analysis, the texture of the muscle’s visible cross-sectional area was examined using deep learning to investigate whether a classification between healthy subjects and patients with pathological conditions solely from the muscle texture is possible. Our preliminary results indicate that such a task is feasible, but further and more extensive studies are required for more conclusive results.

Keywords: cross-sectional area; deep learning; textural analysis; ultrasound; vision transformers.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
Sample of ultrasound recordings with normal and high echogenicity. (A,E) shows images from the T.A., (B,F) shows images from the R.F., (C,G) shows images extracted from the GCM, and finally, (D,H) are images of the B.B.
Figure 2
Figure 2
Sample of ultrasound images with their corresponding annotation. The CSA area contours are depicted with yellow lines. The grayscale level (GSL) histogram and its mean value are extracted inside the CSA. (A) shows the measurements of T.A., (B) shows the measurements of R.F., (C) shows the measurements of the GCM, and (D) demonstrates B.B.
Figure 3
Figure 3
The process of extracting and isolating the CSA texture at each ultrasound recording.
Figure 4
Figure 4
The deep learning architectures used in this study to automatically segment the CSA. In (A), the original UNet [17] is depicted; in (B), the vision transformer TMUNet [22] is depicted; in (C), the Attention-UNet [19] model is depicted; in (D), the UNet++ [32] is depicted; and finally, in (E), the UNeXt [23] architecture is depicted.
Figure 5
Figure 5
In (A), the flowchart of the proposed pipeline to extract the CSA and its mean grey level (echogenicity) is presented. In (B), the two classification analyses from the predicted CSA texture are depicted.
Figure 6
Figure 6
The 5-fold evaluation protocol. At each iteration, 80% of the examinations were considered training sets and the remaining 20% were considered test sets. The average accuracy of all of the iterations was regarded as the model performance.
Figure 7
Figure 7
The Resnet18 classifier. For each image input, the classifier predicts which group the texture belongs to.
Figure 8
Figure 8
Qualitative results of the CSA segmentation for samples of the (A) T.A., (B) R.F., (C) GCM, and (D) B.B. The red areas are the predicted masks superimposed onto the input image.
Figure 9
Figure 9
Bland−Altman plots of the (A) CSA and (B) echogenicity in all the databases.
Figure 10
Figure 10
Bland−Altman plots of the CSA for the (A) T.A., (B) R.F., (C) GCM, and (D) B.B.
Figure 11
Figure 11
Bland−Altman plots of the CSA for (A) Group 1, (B) Group 2, and (C) Group 3.
Figure 12
Figure 12
Box plot diagrams of the automatic method performances in terms of (A) precision and (B) recall metrics, dividing the dataset between the groups.
Figure 13
Figure 13
Confusion matrices for the per-group analysis. In (A), the manually extracted CSA textures were used and in (B), the automatic were used.
Figure 14
Figure 14
Confusion matrices for the group classification for the (A) T.A., (B) R.F., (C) GCM, and (D) B.B.
Figure 15
Figure 15
Grad-CAM analysis for the group classification of each muscle section.
Figure 16
Figure 16
Confusion matrices for the young vs. elderly subjects’ analysis. In (A), the manually extracted CSA texture was used and in (B), the automatic was used.

References

    1. Hammond K., Mampilly J., Laghi F.A., Goyal A., Collins E.G., McBurney C., Jubran A., Tobin M.J. Validity and Reliability of Rectus Femoris Ultrasound Measurements: Comparison of Curved-Array and Linear-Array Transducers. J. Rehabil. Res. Dev. 2014;51:1155–1164. doi: 10.1682/JRRD.2013.08.0187. - DOI - PubMed
    1. Seymour J.M., Ward K., Sidhu P.S., Puthucheary Z., Steier J., Jolley C.J., Rafferty G., Polkey M.I., Moxham J. Ultrasound Measurement of Rectus Femoris Cross-Sectional Area and the Relationship with Quadriceps Strength in COPD. Thorax. 2009;64:418–423. doi: 10.1136/thx.2008.103986. - DOI - PubMed
    1. Sipila S., Suominen H. Ultrasound Imaging of the Quadriceps Muscle in Elderly Athletes and Untrained Men. Muscle Nerve. 1991;14:527–533. doi: 10.1002/mus.880140607. - DOI - PubMed
    1. van Alfen N., Gijsbertse K., de Korte C.L. How Useful Is Muscle Ultrasound in the Diagnostic Workup of Neuromuscular Diseases? Curr. Opin. Neurol. 2018;31:568–574. doi: 10.1097/WCO.0000000000000589. - DOI - PubMed
    1. Sponbeck J.K., Frandsen C.R., Ridge S.T., Swanson D.A., Swanson D.C., Johnson A.W. Leg Muscle Cross-Sectional Area Measured by Ultrasound Is Highly Correlated with MRI. J. Foot Ankle Res. 2021;14:5. doi: 10.1186/s13047-021-00446-y. - DOI - PMC - PubMed

LinkOut - more resources