Background

Coronary artery disease (CAD) has the characteristics of high morbidity and high mortality and has been a major cause of mortality worldwide and a serious threat to human health [1]. Myocardial bridge is an important disease in CAD, which is a congenital anatomical abnormality that is characterized by myocardium covering a segment of coronary arteries [2]. Myocardial bridge can be formed anywhere on the epicardial artery, but most of them occur in the left anterior descending branch [2]. Although myocardial bridge is a normal variant and generally appears to be harmless, patients with myocardial bridge can present with symptoms, such as stenocardia, arrhythmia, myocardial ischemia, and sudden cardiac death [3]. In clinical, conventional coronary angiography (CCA) has always been the gold standard for CAD diagnosis, especially for myocardial bridge [4], relying on the physician’s observation and subjective judgment to obtain the diagnosis result. On CCA, a significant “milking effect” is present at the myocardial bridge, when there is a more than 70% reduction in minimal luminal diameter during systole and a persistent more than 35% reduction in minimal luminal diameter during mid-to-late diastole [5]. Whether these conditions are met or not is judged by physicians, hence, there must exist subjectivity.

CCA requires a high level of physician expertise, combining anatomical knowledge and rich clinical experience to rapidly obtain diagnostic results. A coronary angiography sequence is shown in Fig. 1a, in which the entire process lasted approximately 5 s. During this period, as illustrated in Fig. 1b, physicians need to quickly find key-frame to diagnose stenosis, and quickly obtain and compare multi-frame information to diagnose other diseases. Moreover, there is great individual variability in the coronary vessels, so physicians need to combine knowledge of coronary anatomy and clinical experience in the diagnostic process. The automatic diagnosis of CAD, especially for myocardial bridges, poses great challenges. Firstly, the coronary angiography image quality is poor and there is interference from other organs in the image, such as the lung, heart, spine, and ribs. Secondly, coronary angiography is a projection of vessels from 3 to 2 dimensions, resulting in vessel overlap, which is indistinguishable. In clinical, physicians can observe through different positions, focusing on only specific vessels in one position. For example, in the position shown in Fig. 1a, physicians focus only on the vessels that do not overlap in the lower left part of the image. Finally, it is difficult to extract coronary multi-frame information and utilize coronary anatomical information. That is the key to diagnosing CAD, especially myocardial bridge, relies on identifying periodic vessel stenosis on coronary angiography. Hence, myocardial bridges are detected by detecting whether there is periodic stenosis of vessels on coronary angiography.

Fig. 1
figure 1

The process of coronary heart disease diagnosis: a an example of a coronary angiography sequence; b an example of a physician diagnostic process; c the simple workflow of this paper

In this paper, a novel framework of myocardial bridge detection with x-ray angiography sequence is proposed, which enables automatic detection of vessel stenosis and myocardial bridge. Firstly, we employ a novel neural network model for coronary vessel segmentation, which consists of both CNNs and transformer structures to effectively extract both local and global information of the vessels. Secondly, we utilize the Zhang-Suen algorithm to obtain the vessel skeleton map. We then combine the coronary segmentation image and the skeleton map to calculate the vessel diameter, length, and other relevant information. Then, we establish the vessel tree in the image and fuse the information of the vessel tree between the sequences. Finally, based on vessel stenosis detection, automatic detection of the myocardial bridge is realized by querying the blood vessels between the image sequence information. The workflow is shown in Fig. 1c.

This work has the following contributions. First, we have achieved the automatic detection of myocardial bridge. Second, we have proposed a coronary tree sequence information fusion method that can capture more angiographic information and align with the clinical diagnosis mode. Third, we have used a novel neural network model to segment coronary vessels that combines CNNs and transformer structures, and leverages the strengths of both CNNs and transformers. Fourth, we have provided a new idea for the subsequent automatic auxiliary diagnosis of CAD, and more diseases can be detected by integrating more image information.

Related works

Coronary vessel segmentation is an important step in this paper. However, with the complex vessel structure, image noise, poor contrast, and non-uniform illumination appearing in angiograms, there are huge challenges in realizing segmentation of a coronary vessel. Coronary vessel segmentation is actually the detection and extraction of coronary blood vessels. Currently, the commonly used method of coronary vessel detection is to obtain vessel information at different scales and directions through the Hessian multi-scale enhancement method [6, 7]. And then on this basis, Kerkeni et al. and Wan et al. proposed a region growing method based on directional information and a statistical region merging to segment blood vessels separately [8, 9]. The drawbacks of the Hessian multi-scale enhancement approaches are that they are highly sensitive to noise due to the second-order derivatives. The enhancement result of small scale vessels with low contrast against the background is awful. In addition, this approach utilizes the anisotropy of the vascular structure to extract blood vessels, but it has strong isotropy at the large curvature and the intersection of the blood vessels so that the enhancement result in these parts is also awful. To overcome the above problems, Li et al. presented a robust coronary artery identification and centerline extraction method in angiographies [10]. First, the rough segmentation of the blood vessel was obtained by threshold segmentation, then the centerline of the blood vessel was extracted, and the segmentation results were further patched through the centerline. However, this requires larger calculations. Coronary vessel segmentation by convolutional neural networks (CNNs) is yet limited, because the precise annotation of a coronary vessel is extremely labor-intensive. Therefore, Zhang et al. presented weakly supervised vessel segmentation in x-ray angiograms by self-paced learning from noisy labels with suggestive annotation [

$${\text{Dice}} = \frac{{2\left( {\Omega_{{\text{mc}}} \cap \Omega_{{\text{seg}}} } \right)}}{{\Omega_{{\text{mc}}} \cup \Omega_{{\text{seg}}} }} \times 100\%$$
(1)

where \(\Omega_{{\text{mc}}}\) is the real area drawn under the guidance of the physician, and \(\Omega_{{\text{seg}}}\) represents the automatic segmentation area. Dice is always between 0 and 1. The higher the coefficient, the higher the overlap between automatic and manual segmentation. ASD is defined as:

$${\text{ASD = }}\frac{1}{{\left| {S\left( A \right)} \right| + S\left( B \right)}}\left( {\sum_{a \in S\left( A \right)} {{\mathop {\min }\limits_{b \in S\left( B \right)}} \left\| {a - b} \right\| + \sum_{b \in S\left( B \right)} {{\mathop {\min }\limits_{a \in S\left( A \right)}} \left\| {b - a} \right\|} } } \right)$$
(2)

where \(S\left( A \right)\) and \(S\left( B \right)\) denote ground truth and segmentation result, respectively. The smaller the value, the better the segmentation result.

To visually show the performance of the segmentation algorithm, we have compared it with traditional methods and deep learning methods. Traditional methods include Wan’s method [22] and Kerkeni’s multiscale region growing (MSRG) method [10], respectively. Deep learning methods include Unet [30] and SwinNet [31] respectively. Figure 2 shows the segmentation results of coronary vessels. The first column is the raw image of the coronary angiography. The second column is the ground truth. The other columns are Wan’s, MSRG, Unet, SwinNet and our method, respectively. From Fig. 2, the segmentation results of deep learning method are better than traditional methods overall. In more detail, Wan’s method is the worst, it can only segment the main blood vessels, but the small blood vessels cannot be segmented at all, and there are still many holes in the segmentation results. MSRG method has achieved very good segmentation results. Not only can the main vessels be segmented well, but some small vessels can also be well-identified. Unet’s segmentation results are similar to those of MSRG. SwinNet’s results are worst among the deep learning methods, especially in the segmentation results at dense vessels. The possible reason is that the network’s own structure transformer only focuses on global information, but can’t extract local edge information. The segmentation results of our method are the best. The reason is that the network combines the advantages of CNNs and transformers, and is able to focus on both local and global information. Moreover, our method can well identify small vessels and even small vessels that physicians ignore.

Fig. 2
figure 2

Segmentation results of three representative vessels: The first column is the raw image of the coronary angiogram. The second column is the ground truth. The third column is the segmentation result of Wan’s method. The fourth column is the segmentation result of the MSRG method. The fifth column is the segmentation result of Unet. The sixth column is the segmentation result of SwinNet. The seventh is the segmentation result of our method.

In addition to visual comparisons, our method also uses 2 performance indicators to compare with the reference method. The comparison results are shown in Table 1. Through comparison, our method has the best performance, both the Dice and ASD are greatly improved with the other methods. The quantitative results are consistent with the qualitative results shown in Fig. 2. As the segmentation of vessels is more accurate, much computing power is saved for the subsequent calculation of vessel diameter.

Table 1 The segmentation performance measured by the Dice and ASD

Stenosis and myocardial bridge

Clinically, vessel stenosis is divided into three grades: mild stenosis (30% to 50%), moderate stenosis (50% to 70%), and severe stenosis (over 70%). The corresponding labels of vessel stenosis grade are shown in Table 2. All case labels were marked by physicians with rich clinical experience. We use accuracy and recall to evaluate the performance of vessel stenosis detection. Accuracy and recall rate are defined as:

$${\text{Accuracy}} = \frac{{\text{TP + TN}}}{{{\text{TP}} + {\text{FP}} + {\text{TN}} + {\text{FN}}}}$$
(3)
$${\text{Recall}} = \frac{{{\text{TP}}}}{{{\text{TP}} + {\text{FN}}}}.$$
(4)
Table 2 Coronary stenosis grade label

Figure 3 shows an example of detecting vessel stenosis through a vessel diameter curve. The diameter curve in Fig. 3b shows the computed and smoothed diameter of the vessel in Fig. 3a. Since the vessel is not a peripheral vessel, the minimum diameter is \(D_{{\text{min}}}\). Then \(D_f\) and \(D_b\) are found on both sides of \(D_{{\text{min}}}\) to calculate the degree of vessel stenosis. In Fig. 3b, the degree of vessel stenosis is 79.3%, which belongs to the category of severe stenosis.

Fig. 3
figure 3

An example of detecting vessel stenosis through a vessel diameter curve. a is the stenotic lesion; b is the diameter curve at the stenotic lesion

To show the performance of the vessel stenosis rating more intuitively, we used 262 cases of stenosis, including 66 cases of mild stenosis, 103 cases of moderate stenosis, and 93 cases of severe stenosis. The performance of vessel stenosis detection was measured by accuracy and recall rate. Table 3 lists the quantitative results of mild, moderate, and severe stenosis. This is consistent with the actual situation because the cases near the boundary of mild and moderate stenosis are prone to be misclassified as a higher or lower level of disease than their own, such as mild stenosis being misclassified as moderate stenosis or normal. In the experiment, 4 cases were misidentified as normal vessels. Moreover, physicians will take into account the significance of the vessel when making a diagnosis and adjust the severity or leniency of the judgment accordingly. This is also part of the reason for the low recall.

Table 3 The stenosis detection performance was measured by accuracy, recall rate

Vessel matching is to determine the same vessel in the sequence, which is the basis of myocardial bridge detection. Figure 4 shows an instance of vessel matching: (a) is two adjacent original images in a coronary image; (b) is the segmentation image corresponding to the original image, in which the two pairs of matching vessels are painted in red; (c) is the corresponding vessel tree, the lower right corner is the information of the two highlighted vessels. (d) is an enlarged view of the highlighted vessels. As shown in Fig. 4, the vessel with ID 30 in the 32nd frame of the coronary image and the vessels with ID 28 and 30 in the 33rd frame all satisfy the matching condition, because the vessels are relatively short, and the threshold of the vessel matching condition is set high for universality. If the matching is not optimized, the wrong vessel will be matched due to the sequence of matching detection. Hence, we add the optimization of the matching algorithm. When the above situation occurs, calculate the sum of \(d_s\) and \(d_e\) in method Eq. (12), respectively, and choose the vessel with the smallest value as the matching vessel.

Fig. 4
figure 4

An instance of vessel matching: a is two adjacent original images in a coronary image; b is the segmentation image corresponding to the original image, in which the two pairs of matching vessels are painted in red; c is the corresponding vessel tree, the lower right corner is the information of the two highlighted vessels; d is an enlarged view of the highlighted vessels

Combining the blood vessel matching information between coronary sequences and vessel stenosis detection can realize the detection of myocardial bridge. Firstly, identify the same vessel between different sequences by querying the fusion of the sequence information. Then, calculate the stenosis of all vessels that are identified by this method. Finally, confirm the existence of myocardial bridge. Figure 5 is an instance of myocardial bridge detection. (a) is judged by the change in the degree of vessel stenosis; (b) is judged by the change in vessel diameter. In Fig. 5a, the diseased region of the myocardial bridge is short, and stenosis can be detected. Therefore, the myocardial bridge can be easily detected by the change in the degree of stenosis. In Fig. 5b, due to the long diseased region, it is impossible to accurately calculate the degree of stenosis of the vessel. Then the myocardial bridge can be easily detected by the change in diameter. Since myocardial bridges are uncommon, there were 9 real and 11 synthetic myocardial bridges among the 20 cases, the accuracy of myocardial bridge detection achieved 75%.

Fig. 5
figure 5

An instance of myocardial bridge detection: a is judged by the change in the degree of blood vessel stenosis. b is judged by the change in blood vessel diameter