# Open-Source Ultrasound Trainer using 3DSlicer

**URL:** <https://discourse.slicer.org/t/open-source-ultrasound-trainer-using-3dslicer/28685>\
**Category:** Success stories\
**Tags:** ultrasound, openigtlink\
**Created:** [March 30, 2023, 6:37pm UTC](https://discourse.slicer.org/t/open-source-ultrasound-trainer-using-3dslicer/28685 "2023-03-30T18:37:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan\_Morrison](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ryan_morrison/32/7508_2.png) [@Ryan\_Morrison](https://discourse.slicer.org/u/Ryan_Morrison)\
**Post date:** [March 30, 2023, 6:37pm UTC](https://discourse.slicer.org/t/open-source-ultrasound-trainer-using-3dslicer/28685/1 "2023-03-30T18:37:36Z")

</div>

I wanted to thank Andras Lasso for [his help](https://discourse.slicer.org/t/3d-view-lag-when-hundreds-of-models-loaded-and-openigtlinkif-running/12792) during the development of an open-source ultrasound trainer (OSUT) for medical professionals learning ultrasound. The ultrasound trainer takes tracking data from many off-the-shelf hardware trackers and displays a virtual ultrasound transducer and 3D anatomical model at the exact location of the real ultrasound transducer in relation to the patient. We ran a randomized control trial on the device that showed it improved accuracy and speed of first year medical students learning ultrasound.

Full paper is available here: [https://pubmed.ncbi.nlm.nih.gov/36395521/](https://pubmed.ncbi.nlm.nih.gov/36395521/)

All source files to replicate the project are here: [https://mega.nz/folder/bb4jlZqK#mI52C3hrYozXgshM0mu86A](https://mega.nz/folder/bb4jlZqK#mI52C3hrYozXgshM0mu86A)

 ![Figure 1](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/e/4e468bda44efff4861b6a16c23ea3fc154287538.jpeg)  
 ![Figure 2](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/c/2/c288e3ba906717f185dbd17fa5ca4b76fab6a0b6.jpeg)  
 ![Figure 3](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/3/4/342081783258f1f76e73e21a9445e88c57411361.jpeg)  
 ![Figure 4](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/6/166bc4bf69ea8b57c379eb34ddd8bda005c45e83.jpeg)

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 30, 2023, 7:29pm UTC](https://discourse.slicer.org/t/open-source-ultrasound-trainer-using-3dslicer/28685/2 "2023-03-30T19:29:13Z")

</div>

Very nice work, thanks a lot for sharing!

Did you need to write any custom software for this or you could build the system from existing components by assembly and calibrations/registrations?

How did you register the 3D model to the live patient? Using rigid registration based on anatomical landmarks?

---

<div class="post-metadata">

**Author:** ![Ryan\_Morrison](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ryan_morrison/32/7508_2.png) [@Ryan\_Morrison](https://discourse.slicer.org/u/Ryan_Morrison)\
**Post date:** [March 30, 2023, 7:54pm UTC](https://discourse.slicer.org/t/open-source-ultrasound-trainer-using-3dslicer/28685/3 "2023-03-30T19:54:27Z")

</div>

Thank you for all your work in contributing to this amazing community!

No custom software was written. We utilized [PLUS toolkit](https://plustoolkit.github.io/) and [OpenIGTLink](http://openigtlink.org/) to import the tracking data to 3DSlicer from a [NDI TrakStar electromagnetic tracker](https://www.ndigital.com/electromagnetic-tracking-technology/3d-guidance/).

For registration of the 3D model to the patient, we applied a linear transform (Transforms → Create New Linear Transform) to the virtual ultrasound transducer. We would place the real ultrasound transducer over an area of interest on the patient (for example the heart) and adjust the linear transform so that the virtual ultrasound transducer was correctly placed on the 3D model. While this way of registering the 3D model to the live patient wasn’t perfect, it worked well in this initial application.

 ![Screen Shot 2023-03-30 at 3.50.38 PM](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/b/5bb4876e9635fb74dbf89a2059aeef4e0ec758ec.png)

 ![Screen Shot 2023-03-30 at 3.43.52 PM](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/0/a0376bc3aa2638a15eb3d52cdf9e3f27ec7fbb8c.jpeg)
