Skip to main content
Journal of Medical Imaging logoLink to Journal of Medical Imaging
. 2022 Oct 31;9(5):057001. doi: 10.1117/1.JMI.9.5.057001

Automatic alignment of standard views for transesophageal echocardiographic images

Håkon Strand Bølviken a,*, Olivier Gerard b, Federico Veronesi b, Eigil Samset a,b
PMCID: PMC9618462  PMID: 36330040

Abstract.

Purpose

3D transesophageal echocardiography (TEE) has become an important modality for pre- and peri-operative imaging of valvular heart disease. TEE can give excellent visualization of valve morphology in 3D rendering. As a convention, 3D TEE images are reformatted in three standard views. We describe a method for automatic calculation of parameters needed to define the standard views from 3D TEE images using no manual input.

Approach

An algorithm was designed to find the center of the mitral valve and the left ventricular outflow tract (OT). These parameters defined the three-chamber view. The problem was modeled as a state estimation problem in which a 3D model was deformed based on shape priors and edge detection using a Kalman filter. This algorithm is capable of running in real time after initialization.

Results

The algorithm was validated by comparing the automatic alignments of 106 TEE images against manually placed landmarks. The median error for determining the mitral valve center was 7.1 mm, and the median error for determining the left ventricular OT orientation was 13.5 deg.

Conclusion

The algorithm is an accurate tool for automating the process of finding standard views for TEE images of the mitral valve.

Keywords: echocardiography, transesophageal, standard view, deformable model, Kalman filter, segmentation

1. Introduction

Echocardiography is an important modality for cardiac imaging due to its ease of use, low cost, real-time visualization, and lack of ionizing radiation and nephrotoxic contrast compared with CT or x-ray.1 3D transesophageal echocardiography (TEE) is a form of ultrasound cardiovascular imaging2 in which a probe is passed into the patient’s esophagus and ultrasound images are recorded from there. 3D TEE provides additional benefits for imaging complex valvular pathologies and guide interventions as unobstructed imaging can be done from the esophagus.3,4

Images taken from esophagus can capture most of the heart and the great vessels and can give additional and more accurate information on the valvular anatomy compared with transthoracic echocardiography (TTE). TEE is, among other things, used to identify mitral valve regurgitation5 and has become a widely available and indispensable technique in the operating room,3 where it is recommended for use in adults patients undergoing several forms of interventions, including valve repair and complex endocarditis. 3D TEE is recommended as a reliable and possibly preferred method for measurements related to the aortic annulus by the American Society of Echocardiography and the European Association of Cardiovascular Imaging.6

The standard view of cardiac images is the standard positioning of 2D slices through a 3D cardiac image so that the slices are showing the structures of interest to the reader. The heart is automatically aligned and positioned in the slices as a cardiologist has been trained to look at it. Traditionally, moving the 2D planes into the correct position has to be done manually, but automatic reformation of the standard view saves time during examination. There have been several papers on automatic placement of the standard view in both TTE and TEE images. For 2D images, automatic determination of standard views images has been done by Gao et al.7 and østvik et al.,8 and for 3D images, automatic placement of the standard view has been studied by Orderud et al.9 and Lu et al.10 on TTE images and by Curiale et al.11 on TEE images. The latter work used Hough-transforms to find circular structures and compared that to known estimates of the size and thickness of the mitral and aortic valves.

In this paper, a method for automatically determining the center of the mitral valve and the position of the aorta is described. From these landmarks, the standard view of ultrasound images taken with a TEE probe can be reformatted. This method uses deformable Doo–Sabin surfaces12 and fits them to the image using a Kalman filter.13 It is capable of running in real time.

Doo–Sabin surfaces have also previously been used for cardiac modeling, for instance, by Orderud,14 Dikici,15 and Bølviken et al.16 The Kalman filter is an algorithm for finding unknown variables based both on model-based predictions and measurements and has previously been used for segmentation of cardiac ultrasound images by Smistad and Lindseth17 and Bersvendsen,18 among others.

The method in this paper is based on the method used by Orderud et al.9 for TTE images, but it is augmented by having it determine good initial values of the Kalman filter to adjust for the large variability in location of the outflow tract (OT) due to the rotation of the TEE probe. The algorithm was applied to 106 ultrasound images for validation. This was compared with manually placed landmarks that marked the mitral valve and aorta.

2. Materials and Methods

2.1. Deformable Model

The method works by fitting a deformable model to an ultrasound image. The model used was a Doo–Sabin model, a generalization of quadratic B-splines originally described by Doo and Sabin.12 The model was based on the model used by Orderud et al.,9 but some changes were made. The model consists of two distinct submodels: one modeling the left ventricle (LV) and the other modeling the left ventricular OT. Figure 1 shows the models.

Fig. 1.

Fig. 1

The LV model was composed of a model of (a) the LV cavity and (b) the LV OT. The blue points and lines shows the control nodes.

The aortic and LV models are simultaneously deformed to perform the segmentation of respective structures. The LV model was meant to find the general shape of the LV, including the position of the mitral valve. The OT cylinder determined the position of the aortic valve.

2.2. Kalman Filter

The model was fitted to the image using a Kalman filter process.13 The Kalman filter fits a model by optimizing the state vector x, which determines the properties of the model. The filter also provides a covariance matrix P as output, giving a measure of the uncertainty of each entry of x. P’s diagonal entries give the standard deviation of the state vector.

The measurements of the ultrasound image used as input into the Kalman process consisted of edge detection of the current frame. The edge detection was done relative to the surface points in the direction of the surface normal vectors on the model from the prediction step. The edge detector used a step edge algorithm, searching for the biggest change in intensity along the normal vector for 3 cm. The Kalman filter updated the state vector based on the measurements. This was described in greater detail in an article by Orderud et al.9 An example of the models described in Sec. 2.1 fitted to a TEE ultrasound image is shown in Fig. 2.

Fig. 2.

Fig. 2

An example of the models fitted to a TEE ultrasound image using the algorithm described in Sec. 2.2.

The process was manually tuned on 18 ultrasound images to determine the initialization values for the Kalman filter, with the exception of the global value of rotation around the y axis, which was handled in its own step, as detailed in Sec. 2.3. The tuning images were kept separate from the images used for validation. The input of the algorithm was only the ultrasound image. No user input was used.

Once models were fitted to the image, the placement of the models was used to determine the alignment of the standard view. An example of the finished standard views based on the landmarks from the algorithm is shown in Fig. 3.

Fig. 3.

Fig. 3

An example of the result of the fitting algorithm and the resulting standard views. (a) The apical long axis with aorta in view, (b) the two-chamber view, (c) the four-chamber view, and (d) the short-axis view.

2.3. Initialization of Kalman Filter

The Kalman filter’s initial value of rotation in the xz plane was determined in its own stage due to the large variation in the true value between files. A preliminary model, identical to the model used in the rest of the algorithm, was rotated to eight different angles. These angles spanned the angles 0 deg to 360 deg, meaning there was 45 deg between them. The rotated models were fitted to the image using a Kalman filter, and the output covariance matrices from the filter were analyzed to find the best fit. The best fitted model was determined using the values of the covariance matrix. The k’th element of the diagonal of P is the variance of the k’th element of x. Adding together the elements on the diagonal corresponds to adding together the uncertainty of each element in the state vector.

The diagonal entries corresponding to the nodes close to the apex of the LV model were excluded, and the weights of the remaining nodes were set to 0.5. Because of the importance of the OT cylinder, the variances of the three states directly related to it were given increased importance and were multiplied by 3. For the global variables, most significance was placed on its rotations as those are most related to proper OT cylinder placement. Thus only those values were used. The formula is

s=i=13Var(xRi)+0.5i=1,ixA18Var(xLVi)+3·i=13Var(xOTi),

where xR are the indices of entries relating to global rotation, xA are the indices of entries relating to the apex of the LV, xLV are the entries relating to the LV, and xOT are the entries related to the OT. The formula was determined through testing on ultrasound images kept separate from the validation files.

The starting depth was set as 75% of the depth of the center of the image in the case of a full volume acquisition and in the center of the image in the case of zoomed images.

Once initialization was done, the Kalman filter can be run, setting the starting rotation according to the above algorithm.

2.4. Determining Standard Views

Once the model was fitted to the image, landmarks on the model were used to determine the standard view. The long-axis view was determined by landmarks on the LV model. 60 points were placed around the base and used to estimate the center of the mitral valve. Six points were placed evenly on the midwall of the LV and were used to estimate the center of the model. The long axis of the model was set to be the line going through the center of the mitral valve and the center of the model.

Two landmarks were placed on each side of the OT cylinder so that the average of them would be the center of the cylinder. The apical long-axis view was defined as the plane that contains both the long axis and the center of the OT cylinder. The two-chamber and four-chamber planes were set to be 60 deg and 120 deg off from the apical long-axis view, respectively. Finally, the short-axis view should have its center at the estimated center of the mitral valve and should go through the OT cylinder.

An example of the estimated standard views is shown in Fig. 3.

2.5. Evaluation of Images

106 TEE 4D anonymized ultrasound images were used to evaluate the algorithm. All of the images were of the mitral valve, with some showing the entire LV. The images were collected from several institutions under data agreements ensuring compliance with applicable privacy legislations. All ultrasound images used as figures in this paper came from the same data and can be used as such under the same data agreements. All data were provided by GE and were previously acquired for research purposes using GE Vivid Echocardiographic Systems E95 and S70 (GE Vingmed Ultrasound, Horten, Norway) with a 6VT-D TEE probe.

For each of these images, landmarks were placed to mark the mitral valve and aortic valve, and these were used as the ground truth. The landmarks were originally placed as part of a different project done by Andreassen et al.19 using GE’s 4D AutoMVQ software (EchoPAC SoftwareOnly v204, GE Vingmed Ultrasound, Horten, Norway). Figure 4 shows an example of landmark placement on an image.

Fig. 4.

Fig. 4

A long-axis view of one ultrasound image, with landmarks placed to mark the centers of the mitral valve and the aorta. The red dot is the manually placed mitral center, and the blue is the mitral valve calculated by the algorithm. The green is the manually placed aorta, and the yellow is the automatically placed aortic valve center.

Each image was evaluated on two criteria. The first measure was the distance between the estimated center of the mitral valve from the algorithm and the center from the ground truth in 3D space. The second measure used was the angle between three points: the algorithm’s estimate of the aortic valve, the center of the mitral valve from the ground truth, and the aorta placement from the ground truth. In an ideal case in which the two aorta placements are the same, the result should be 0 deg. For angle calculation, the points were projected unto a plane, and depth of the points was not considered. An image showing how the mitral valve/aorta angle error was determined is shown in Fig. 5.

Fig. 5.

Fig. 5

A short-axis view of one ultrasound image, with landmarks placed to mark the centers of the mitral valve and the aorta. The red dot is the manually placed mitral center used as ground truth, the green is the manually placed aortic valve center, and the yellow is the automatic aortic valve center. The two lines marks the angle used for evaluation of the aorta error.

3. Results

Evaluating the two measures discussed in Sec. 2.5 across all 106 files, the median error on mitral valve placement was 7.1 mm. The 25th percentile was 4.56 mm, and the 75th percentile was 10.7 mm. The median error on mitral/aorta angle was 13.5 deg, and the 25th and 75th percentiles were 3.85 deg and 28.6 deg, respectively. No manual input was used in the algorithm.

Figures 6 and 7 show histograms of the error distributions of the mitral valve placement and mitral/aorta angle, respectively. Figure 8 shows a scatter plot of the error of each file for both of the error measurements.

Fig. 6.

Fig. 6

A histogram of the error in estimating the center of the mitral valve for each of the 106 ultrasound images. Errors are in millimeters and are placed in groups of between 0 and 3 mm, between 3 and 6 mm, and so on.

Fig. 7.

Fig. 7

A histogram of the error in estimating the angle of the aorta compared with the mitral valve center for each of the 106 ultrasound images. Errors are in degrees and are placed in groups of between 0 and 15 deg, between 15 and 30 deg, and so on.

Fig. 8.

Fig. 8

A scatter plot of the errors for each of the 106 ultrasound images. The x coordinate is given by the mitral valve center error, and the y coordinate is given by the mitral valve/aorta angle error.

Initialization of the Kalman filter as detailed in Sec. 2.3 on average took 2.3 s with a standard deviation of 1.1 s. This only needed to be done once at the beginning of the evaluation. After that, evaluating a single frame took an average of 3.5 ms, with a standard deviation of 1.1 ms.

4. Discussion

The purpose of this work was to develop a method for marking the salient features of a TEE image, primarily for the use of automating the process of finding the standard view of the image. This would shorten the time during examination compared with doing it manually.

This work focused on finding the mitral valve and the aortic valve. Should other parts of the image be of interest, new landmarks could be placed to capture those features. In the future, it could be interesting to expand the uses of the algorithm in this way, for instance, by capturing the position of aortic valve or the entire circumference of the mitral valve.

This work is based on the work done by Orderud et al.,9 which was done on TTE images using a Kalman filter without an initialization stage and with a different model. It had a more accurate mean placement of mitral valve and a slightly higher mean error on aorta angle compared with this paper (where the mean values were 8.4 mm and 22.7 deg for the mean mitral valve and aortic errors, respectively). The use of different image types makes a direct comparison of results difficult.

Lu et al.10 used a supervised learning algorithm on TTE images and had a mitral valve error similar to Orderud, but a higher aortic angle error. Leung et al.20 used sparse registration on TTE images and got better results on both metrics. Neither of these were capable of running in real time, and comparison is again difficult due to the different image types.

Median values were calculated to give an easier comparison with a similar article by Curiale et al.,11 in which Hough transform was used to find the mitral and aortic valves. In that paper, the same median errors were 6.3 mm and 24.8 deg, respectively. Although our method produced a slightly higher error in terms of defining the mitral valve center, there was significant improvement in terms of the mitral valve/aorta angle.

The method in this paper allows for running in real time, with estimates of mitral valve and aorta being updated continuously based on the previous frame. This is true even for continuous changes in probe rotation and position as the Kalman filter can adapt to the changes.

A challenge with using images from the TEE probe is that the probe can be flexed in two directions as well as rotated by the user,2 meaning that the angle of the aorta in the image can vary greatly been acquisitions with respect to the axis of the acquisition volume. Segmentation of the aortic root is important for detecting the orientation of the 3D data; only using the LV segmentation would not be sufficient due to LV shape symmetries.

Given the variability in depth of view, the advantages in having a full LV model are uncertain. It is possible that it would be better to cut off the region close to the apex. This might make the model less accurate in the cases in which the entire LV is seen, but it would further shorten computation time. For future use, it might be best to have separate models depending on the depth and field of view. Another direction for further research is to consider other elements of the heart anatomy that could be modeled to increase accuracy, such as the left atrium (LA).

4.1. Limitations

The placement of the ground truth is somewhat subjective, especially in images with a limited field of view or bad quality. Some of the images had high error, and the aorta was not always found by the initialization process. Overall, both error measurements show good results, with improvements in mitral/aorta error over previous research.

The images with the worst mitral valve placement did not necessarily have bad aortic valve placement. An example of poor mitral valve placement is shown in Fig. 9. For this image, the model was fitted well to the aortic outflow valve, but the model had trouble finding parts of the ventricle wall because of the limited field of view, leading to an inaccurate mitral valve center placement.

Fig. 9.

Fig. 9

A picture showing the fitting of the model to an ultrasound image in a case in which the mitral valve estimate has a high error. The model still finds the aortic valve, but the model does not find the ventricle wall on the opposite side, leading to a badly placed mitral valve center. MV stands for mitral valve.

An example of poor aortic angle is shown in Fig. 10. In that image, the mitral valve was found, but the aorta is about 90 deg wrong, due to confusion caused by an indent in the LV and LA walls. Regions where the LV is less smooth, as can be seen in that image, can be the cause of confusion for the algorithm.

Fig. 10.

Fig. 10

A picture showing the fitting of the model to an ultrasound image in a case in which the aorta angle estimate has a high error. The model is able to place the mitral valve, but it confuses an indent in the left chamber and the LA wall for the aorta.

4.2. Initialization

The Kalman algorithm has difficulty converging to the right solution if the initial state vector is too different from the correct orientation. Determining a good initial state vector is of great importance for good results, and there have been several articles on the issue of initialization of a Kalman filter, for instance, by Linderoth et al.21 and Snare et al.22 The latter also used deformable shapes on cardiac images and had several trial models that were applied to the image and then scored based on edge detection to determine which fit the best. It is still considered an open problem.

Due to the above issue, the algorithm had a stage of initialization determining the Kalman’s filter starting angle in terms of rotation around an axis going from the apex to the base of the LV model. This was done based on the values of the covariance matrix that the Kalman filter outputs; the details are described in Sec. 2.3.

When evaluating the rotation, the nodes close to the apex of the LV model were not considered, as those nodes are often not in the image when the TEE image has limited depth and were not considered very relevant to how well the model fits close to the mitral valve or OT.

This method has the disadvantage of extra computation time at startup, but it has the potential to be used for a variety of situations in which the initial state of the Kalman filter is uncertain. Other uses of this could be an avenue of further research. It would be possible to extend the initialization step in this work to test for, for instance, the optimal starting position in addition to starting angle. This would increase the computation time at start-up, and there is a chance of the wrong option being chosen, which happened in some cases in this work. In general, it can be used to search for good starting values for the Kalman filter in which there is a lot of variance, and these uses could be a direction for new research. It is possibly a new contribution to the literature on the initialization problem for the Kalman filter.

5. Conclusions

We introduced an algorithm for determining the mitral valve and left ventricular OT placement in 3D ultrasound TEE images and detailed how this information can be used to construct the standard views. We used a Kalman filter algorithm for segmentation, with a custom stage for determining starting values of the filter. The algorithm got results comparable to or better than previous algorithms on the topic.

Acknowledgments

Funding for the first author’s PhD comes from the University of Oslo at the INIUS project. This work was done in cooperation with GE Vingmed Ultrasound, who provided their software for reading images and ultrasound images.

Biography

Biographies of the authors are not available.

Disclosures

Several of the authors work at GE Vingmed Ultrasound.

Contributor Information

Håkon Strand Bølviken, Email: haaksb@ifi.uio.no.

Olivier Gerard, Email: Olivier.Gerard@ge.com.

Federico Veronesi, Email: Federico.Veronesi@ge.com.

Eigil Samset, Email: Eigil.Samset@ge.com.

References

  • 1.Szabo T. L., Diagnostic Ultrasound Imaging: Inside Out, 2nd ed., pp. 23–35, Academic Press; (2013). [Google Scholar]
  • 2.Hahn R. T., et al. , “Guidelines for performing a comprehensive transesophageal echocardiographic examination: recommendations from the american society of echocardiography and the society of cardiovascular anesthesiologists,” J. Am. Soc. Echocardiogr. 26, 921–964 (2013). 10.1016/j.echo.2013.07.009 [DOI] [PubMed] [Google Scholar]
  • 3.Flachskampf F. A., et al. , “Recommendations for transoesophageal echocardiography: update 2010,” Eur. J. Echocardiogr. 11, 557–576 (2010). 10.1093/ejechocard/jeq057 [DOI] [PubMed] [Google Scholar]
  • 4.Maus T. M., Nhieu S., Herway S. T., Transesophageal Echocardiography for Non-cardiac Anesthesiologists, Ch. 2, 1st ed., pp. 15–44, Springer, Cham: (2016). [Google Scholar]
  • 5.Schroder J. N., et al. , “Impact of mitral valve regurgitation evaluated by intraoperative transesophageal echocardiography on long-term outcomes after coronary artery bypass grafting,” Circulation 112(9 Suppl), I293–I298 (2005). 10.1161/CIRCULATIONAHA.104.523472 [DOI] [PubMed] [Google Scholar]
  • 6.Lang R. M., et al. , “Recommendations for cardiac chamber quantification by echocardiography in adults: an update from the American Society of Echocardiography and the European Association of Cardiovascular Imaging,” J. Am. Soc. Echocardiogr. 28(1), 1–39.e14 (2015). 10.1016/j.echo.2014.10.003 [DOI] [PubMed] [Google Scholar]
  • 7.Gao Y., et al. , “Automated recognition of ultrasound cardiac views based on deep learning with graph constraint,” Diagnostics 11(7), 1177 (2021). 10.3390/diagnostics11071177 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.østvik A., et al. , “Real-time standard view classification in transthoracic echocardiography using convolutional neural networks,” Ultrasound Med. Biol. 45(2), 374–384 (2019). 10.1016/j.ultrasmedbio.2018.07.024 [DOI] [PubMed] [Google Scholar]
  • 9.Orderud F., Torp H., Rabben S., “Automatic alignment of standard views in 3D echocardiograms using real-time tracking,” Proc. SPIE 7265, 72650D (2009). 10.1117/12.805380 [DOI] [Google Scholar]
  • 10.Lu X., et al. , “AutoMPR: automatic detection of standard planes in 3D echocardiography,” in 5th IEEE Int. Symp. Biomed. Imaging: From Nano to Macro, pp. 1279–1282 (2008). 10.1109/ISBI.2008.4541237 [DOI] [Google Scholar]
  • 11.Curiale A. H., et al. , “Fully automatic detection of salient features in 3D transesophageal images,” Ultrasound Med. Biol. 40(12), 2868–2884 (2014). 10.1016/j.ultrasmedbio.2014.07.014 [DOI] [PubMed] [Google Scholar]
  • 12.Doo D. W. H., “A subdivision algorithm for smoothing down irregular shaped polyhedrons,” in Proc. Interactive Tech. in Comput. Aided Design, pp. 157–165 (1978). [Google Scholar]
  • 13.Kalman R., “A new approach to linear filtering and prediction problems,” ASME: J. Basic Eng. 82, 35–45 (1960). 10.1115/1.3662552 [DOI] [Google Scholar]
  • 14.Orderud F., Inge Rabben S., “Real-time 3D segmentation of the left ventricle using deformable subdivision surfaces,” in Proc. IEEE Comput. Vis. Pattern Recognit., pp. 1–8 (2008). 10.1109/CVPR.2008.4587442 [DOI] [Google Scholar]
  • 15.Dikici E., “Ultrasound cardiac modeling, segmentation and tracking,” PhD thesis, Norwegian University of Science and Technology (2013). [Google Scholar]
  • 16.Bølviken H., et al. , “Two methods for modifed Doo–Sabin modeling of nonsmooth surfaces—applied to right ventricle modeling,” J. Med. Imaging 7(6), 067001 (2020). 10.1117/1.JMI.7.6.067001 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Smistad E., Lindseth F., “Real-time tracking of the left ventricle in 3D ultrasound using Kalman filter and mean value coordinates,” in Proc. MICCAI Challenge on Echocardiographic Three-Dimensional Ultrasound Segmentation (CETUS), pp. 65–72 (2014). 10.13140/2.1.1330.6888 [DOI] [Google Scholar]
  • 18.Bersvendsen J., “Segmentation of cardiac structures in 3-dimensional echocardiography,” PhD thesis, University of Oslo (2016). [Google Scholar]
  • 19.Andreassen B. S., et al. , “Mitral annulus segmentation using deep learning in 3D transesophageal echocardiography,” IEEE J. Biomed. Health Inf. 24(4), 994–1003 (2020). 10.1109/JBHI.2019.2959430 [DOI] [PubMed] [Google Scholar]
  • 20.Leung K. Y. E., et al. , “Sparse registration for three-dimensional stress echocardiography,” IEEE Trans. Med. Imaging 27(11), 1568–1579 (2008). 10.1109/TMI.2008.922685 [DOI] [PubMed] [Google Scholar]
  • 21.Linderoth M., et al. , “Initialization of the Kalman filter without assumptions on the initial state,” in IEEE Int. Conf. Rob. Autom., pp. 4992–4997 (2011). 10.1109/ICRA.2011.5979684 [DOI] [Google Scholar]
  • 22.Snare S. R., et al. , “Automatic real-time view detection,” in IEEE Int. Ultrason. Symp., pp. 2304–2307 (2009). 10.1109/ULTSYM.2009.544153 [DOI] [Google Scholar]

Articles from Journal of Medical Imaging are provided here courtesy of Society of Photo-Optical Instrumentation Engineers

RESOURCES