Skip to main content
Journal of Stroke logoLink to Journal of Stroke
. 2022 Sep 30;24(3):433–435. doi: 10.5853/jos.2022.02054

Automated Composition Analysis of Thrombus from Endovascular Treatment in Acute Ischemic Stroke Using Computer Vision

JoonNyung Heo a, Young Seog a, Hyungwoo Lee a, Il Hyung Lee a, Sungeun Kim a, Jang-Hyun Baek b, Hyungjong Park c, Kwon-Duk Seo d, Gyu Sik Kim d, Han-Jin Cho e, Minyoul Baik f, Joonsang Yoo f, Jinkwon Kim f, Jun Lee g, Yoon-Kyung Chang h, Tae-Jin Song i, Jung Hwa Seo j, Seong Hwan Ahn k, Heow Won Lee a, Il Kwon a,l, Eunjeong Park l, Young Dae Kim a,l, Hyo Suk Nam a,l,
PMCID: PMC9561224  PMID: 36221949

Dear Sir:

Histological analysis of thrombi acquired from endovascular thrombectomy for ischemic stroke provides an unprecedented understanding of thrombus formation in stroke [1]. Composition analysis is currently the mainstream of research for stroke thrombi, and immunohistochemistry (IHC) staining is frequently used [2,3]. Most studies have used general purpose software, including ImageJ and Photoshop (Adobe, San Jose, CA, USA) [4,5]. However, for composition analysis, these tools require manual drawing for area measurement, which is labor-intensive and prone to bias, and the results are irreproducible. This study aimed to develop an open-sourced software named Automated Region-of-interest based Image Analysis (ARIA) for automated composition analysis of IHC-stained thrombi.

This was a retrospective study using a nationwide multicenter prospective registry. The Specialized Multi-center Attributed Registry of sTroke–Clot (SMART-Clot) is a prospective registry that enrolls consecutive patients with acute ischemic stroke from 10 centers in Korea who underwent endovascular thrombectomy. Forty stained slides from 10 randomly selected patients were included in this study. Detailed methodology is described in the Supplementary Methods and Supplementary Figure 1. Screen recordings using both ARIA and traditional method for thrombus image analysis are presented in the Supplementary Video. The accuracy and time needed for analysis were compared between the traditional analysis method and ARIA. Four analysts with varying experiences measured the same 40 slides using both the traditional method and ARIA. External validation was performed for two datasets: (1) anti-CD42b IHC stained slides of stroke thrombi from a previously published study [6] and (2) an open dataset of IHC slides from breast tissue [7]. This study was approved by the Institutional Review Board of Yonsei University College of Medicine (Approval number: 4-2017-0426), and informed consent was obtained from each patient. ARIA is publicly available as an open-sourced project and can be installed in all major operating systems (https://github.com/jnheo-md/aria).

The median age of the patients included in this study was 71.5 years (interquartile range [IQR], 66.2 to 79.8) and six (60.0%) were male (Supplementary Table 1). The results obtained using ARIA by all analysts showed highly accurate results compared to the results from the professional analyst using the traditional method. The Spearman’s correlation coefficient of the stained ratio, defined as the stained area divided by the total area, ranged between 0.913 and 0.916 (all P<0.001) (Table 1). The Bland-Altman analysis showed 95% limits of agreement between 0.11 and 0.14 (Supplementary Figure 2). Agreement of the results from each analyst were significantly higher using ARIA than the traditional method for thrombus area (P=0.005), stained area (P<0.001), and stained ratio (P<0.001) (Table 2 and Supplementary Figure 3). The focused and total times needed for analysis were significantly shorter when ARIA was used than when the traditional method was used (Figure 1 and Supplementary Table 2). The median focused time needed while using ARIA was 7 seconds (IQR, 3.0 to 11.0), whereas the traditional method required a median of 231 seconds (IQR, 182.0 to 286.0; P<0.001). There was disagreement on one sample with homogeneous staining pattern due to differences in thresholding algorithm. There was high correlation, except for that sample with tissue factor staining, and significant analysis time difference between the two methods across each staining method and composition (Supplementary Tables 3 and 4, Supplementary Figure 4). External validation showed high correlation for both stroke thrombi and breast tissue (Spearman’s correlation coefficient 0.929 and 0.875 respectively, both P<0.001) with significant focused time reduction (median 7.0 seconds [IQR, 7.0 to 10.0] vs. 198.0 seconds [IQR, 184.0 to 313.0] in stroke thrombi; and 11.0 seconds [IQR, 8.0 to 13.0] vs. 185.0 seconds [IQR, 165.5 to 217.5] in breast tissue, both P<0.001).

Table 1.

Comparison between stained ratio of each analyst using ARIA and those of the professional analyst using the traditional method

Spearman’s correlation coefficient* Mean difference
Professional 0.913 –0.010 (0.064)
Trained 0.913 –0.010 (0.065)
Untrained 1 0.915 –0.012 (0.063)
Untrained 2 0.916 –0.010 (0.063)

Values are presented as difference (standard deviation).

ARIA, Automated Region-of-interest based Image Analysis.

*

All P-values of the Spearman’s correlation coefficient was <0.001.

Table 2.

Differences between analysts for ARIA and traditional method

ARIA Traditional method P
Total thrombus area pixel 3.72×105 (5.65×104 to 1.20×106) 3.93×105 (1.07×105 to 1.70×106) 0.005
Stained area pixel 1.26×105 (2.35×104 to 6.34×105) 2.87×105 (4.87×104 to 1.20×106) <0.001
Stained ratio (%) 0.179 (0.050 to 0.544) 0.612 (0.163 to 1.90) <0.001

Values are presented as median (interquartile range).

ARIA, Automated Region-of-interest based Image Analysis.

Figure 1.

Figure 1.

Comparison of (A) focused time and (B) total time needed for analysis using Automated Region-of-interest based Image Analysis (ARIA) and traditional methodology

This study validated a custom-built software named ARIA developed with computer vision for automated stroke thrombus composition analysis. ARIA (1) was highly accurate; (2) provided consistent results even for analysts without previous experience; and (3) was 30 times faster than the traditional method. Additionally, ARIA produced the same results when the input image and analysis parameters were equal, which is impossible using traditional methods.

Traditional method of composition analysis requires manual demarcation of the thrombus border, which is strenuous and inevitably introduces potential error due to inconsistencies in freehand drawing. ARIA mainly uses the Canny Edge Detection algorithm to replace freehand drawing, which is a widely used technique [8]. Additionally, slide image processing and automatic thresholding have been used in ARIA to reduce unnecessarily burden on the researchers [9,10]. Furthermore, this study demonstrated that the four analysts with varying experiences produced more consistent results when they used ARIA. Considering that the reproducibility and consistency between analysts are critical factors for a research methodology, ARIA has advantages for thrombus analysis over traditional methodologies.

This study has several limitations. The number of samples included in this study was small and originated form a single laboratory. There is no gold standard in measuring the composition of thrombi and the assessment of the accuracy of the novel software is limited. The expert’s analysis result using traditional method does not necessarily represent the true composition of the thrombus. As seen in one sample with exceptional disagreement between methods, thresholding algorithm may have great effect on the results, especially in images with homogeneous texture.

In conclusion, ARIA may be used as an efficient and accurate tool that provides reproducible results in thrombus analysis.

Acknowledgments

This research was supported by a grant of Patient-Centered Clinical Research Coordinating Center (PACEN) funded by the Ministry of Health & Welfare, Republic of Korea (grant number: HC19C0028) and the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (grant number : 2022R1I1A1A01063439).

We would like to thank the students (S.Y. Kang and N.Y. Baik) who participated in this study.

Footnotes

Disclosure

The authors have no financial conflicts of interest.

Supplementary materials

Supplementary materials related to this article can be found online at https://doi.org/10.5853/jos.2022.02054.

Supplementary Methods
Supplementary Table 1.

Characteristics of the patients included in the study

Supplementary Table 2.

Time needed for analysis using ARIA and traditional methodology for each analyst

Supplementary Table 3.

Comparison of results grouped by dominant component of the thrombus of each patient

Supplementary Table 4.

Comparison of analyst results grouped by stained antibody

Supplementary Figure 1.

Imaging analysis process performed by Automated Region-of-interest based Image Analysis (ARIA). IHC, immunohistochemistry; CSV, comma separated value.

Supplementary Figure 2.

Bland-Altman plots of stained ratio results from each analyst using Automated Region-of-interest based Image Analysis (ARIA) compared to those of the professional analyst using the traditional method: (A) the professional analyst, (B) trained analyst, (C) untrained analyst 1, and (D) untrained analyst 2. SD, standard deviation.

Supplementary Figure 3.

Scatter plot showing distribution of the result differences between analysts of (A) stained ratio, (B) total thrombus area, and (C) stained area for the same slide image using Automated Region-of-interest based Image Analysis (ARIA) and traditional methodology. Differences from all possible combination of two analysts were plotted.

Supplementary Figure 4.

Scatter plot showing distribution of the result differences between analysts of (A) anti-CD42b, (B) anti-glycophorin A, (C) anti-fibrinogen, and (D) anti-tissue factor-stained slides using Automated Region-of-interest based Image Analysis (ARIA) and traditional methodology. Differences from all possible combination of two analysts were plotted.

Supplementary Video
Download video file (16.9MB, mp4)

References

  • 1.Heo JH, Nam HS, Kim YD, Choi JK, Kim BM, Kim DJ, et al. Pathophysiologic and therapeutic perspectives based on thrombus histology in stroke. J Stroke. 2020;22:64–75. doi: 10.5853/jos.2019.03440. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Schuhmann MK, Gunreben I, Kleinschnitz C, Kraft P. Immunohistochemical analysis of cerebral thrombi retrieved by mechanical thrombectomy from patients with acute ischemic stroke. Int J Mol Sci. 2016;17:298. doi: 10.3390/ijms17030298. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Simons N, Mitchell P, Dowling R, Gonzales M, Yan B. Thrombus composition in acute ischemic stroke: a histopathological study of thrombus extracted by endovascular retrieval. J Neuroradiol. 2015;42:86–92. doi: 10.1016/j.neurad.2014.01.124. [DOI] [PubMed] [Google Scholar]
  • 4.Schneider CA, Rasband WS, Eliceiri KW. NIH Image to ImageJ: 25 years of image analysis. Nat Methods. 2012;9:671–675. doi: 10.1038/nmeth.2089. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Office Adobe Photoshop. Photo and design software. Adobe; https://www.adobe.com/products/photoshop.html. Accessed September 7, 2022. [Google Scholar]
  • 6.Ahn SH, Hong R, Choo IS, Heo JH, Nam HS, Kang HG, et al. Histologic features of acute thrombi retrieved from stroke patients during mechanical reperfusion therapy. Int J Stroke. 2016;11:1036–1044. doi: 10.1177/1747493016641965. [DOI] [PubMed] [Google Scholar]
  • 7.Borovec J, Kybic J, Arganda-Carreras I, Sorokin DV, Bueno G, Khvostikov AV, et al. ANHIR: automatic non-rigid histological image registration challenge. IEEE Trans Med Imaging. 2020;39:3042–3052. doi: 10.1109/TMI.2020.2986331. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Canny J. A computational approach to edge detection. IEEE Trans Pattern Anal Mach Intell. 1986;8:679–698. [PubMed] [Google Scholar]
  • 9.Otsu N. A threshold selection method from gray-level histograms. IEEE Trans Syst Man Cybern. 1979;9:62–66. [Google Scholar]
  • 10.Goode A, Gilbert B, Harkes J, Jukic D, Satyanarayanan M. OpenSlide: a vendor-neutral software foundation for digital pathology. J Pathol Inform. 2013;4:27. doi: 10.4103/2153-3539.119005. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplementary Methods
Supplementary Table 1.

Characteristics of the patients included in the study

Supplementary Table 2.

Time needed for analysis using ARIA and traditional methodology for each analyst

Supplementary Table 3.

Comparison of results grouped by dominant component of the thrombus of each patient

Supplementary Table 4.

Comparison of analyst results grouped by stained antibody

Supplementary Figure 1.

Imaging analysis process performed by Automated Region-of-interest based Image Analysis (ARIA). IHC, immunohistochemistry; CSV, comma separated value.

Supplementary Figure 2.

Bland-Altman plots of stained ratio results from each analyst using Automated Region-of-interest based Image Analysis (ARIA) compared to those of the professional analyst using the traditional method: (A) the professional analyst, (B) trained analyst, (C) untrained analyst 1, and (D) untrained analyst 2. SD, standard deviation.

Supplementary Figure 3.

Scatter plot showing distribution of the result differences between analysts of (A) stained ratio, (B) total thrombus area, and (C) stained area for the same slide image using Automated Region-of-interest based Image Analysis (ARIA) and traditional methodology. Differences from all possible combination of two analysts were plotted.

Supplementary Figure 4.

Scatter plot showing distribution of the result differences between analysts of (A) anti-CD42b, (B) anti-glycophorin A, (C) anti-fibrinogen, and (D) anti-tissue factor-stained slides using Automated Region-of-interest based Image Analysis (ARIA) and traditional methodology. Differences from all possible combination of two analysts were plotted.

Supplementary Video
Download video file (16.9MB, mp4)

Articles from Journal of Stroke are provided here courtesy of Korean Stroke Society

RESOURCES