# How to register cardiac EA map surface mesh with 3D DICOM image

**URL:** <https://discourse.slicer.org/t/how-to-register-cardiac-ea-map-surface-mesh-with-3d-dicom-image/26121>\
**Category:** Support\
**Tags:** registration, heart\
**Created:** [November 7, 2022, 11:42pm UTC](https://discourse.slicer.org/t/how-to-register-cardiac-ea-map-surface-mesh-with-3d-dicom-image/26121 "2022-11-07T23:42:43Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrf](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@jrf](https://discourse.slicer.org/u/jrf)\
**Post date:** [November 7, 2022, 11:42pm UTC](https://discourse.slicer.org/t/how-to-register-cardiac-ea-map-surface-mesh-with-3d-dicom-image/26121/1 "2022-11-07T23:42:43Z")

</div>

I have little experience using Slicer. I want to register a vtk file with a DICOM and export it to a DICOM that can later be used in the clinic.  
I have been able to import the vtk files with the EAMapReader extension and also the CT scan but I cannot register.  
I don’t know if this forum is the right one to ask this question but I would appreciate any help. Thanks in advance

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [November 8, 2022, 1:41pm UTC](https://discourse.slicer.org/t/how-to-register-cardiac-ea-map-surface-mesh-with-3d-dicom-image/26121/2 "2022-11-08T13:41:12Z")

</div>

It’s possible that this can be done, but a lot depends on the details like coordinate system assumptions and whether the data has sufficient information to correctly make the alignment. To get better help, you can post more information such as what brands of equipment you are using, what methods you used to export, etc. Ideally you would supply deidentified or even phantom data that replicates the issue you are trying to solve.

---

<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:** [November 8, 2022, 2:17pm UTC](https://discourse.slicer.org/t/how-to-register-cardiac-ea-map-surface-mesh-with-3d-dicom-image/26121/3 "2022-11-08T14:17:39Z")

</div>

You can use matching anatomical landmark points for alignment see [registration page](https://slicer.readthedocs.io/en/latest/user_guide/registration.html) for details.

What would you like to do with the map exported to DICOM format? Overlay it on fluoro or CT/MRI images in 3D? In what software? Or you would you like to export just screenshots or videos that clinicians can watch in their PACS viewers?

What is the clinical problem you are trying to solve and how?

---

<div class="post-metadata">

**Author:** ![jrf](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@jrf](https://discourse.slicer.org/u/jrf)\
**Post date:** [November 8, 2022, 11:19pm UTC](https://discourse.slicer.org/t/how-to-register-cardiac-ea-map-surface-mesh-with-3d-dicom-image/26121/4 "2022-11-08T23:19:48Z")

</div>

I will explain the problem in more detail: we are implementing a technique for treating cardiac arrhythmias with radioablation.  
The treatments are planned in a CT scan using RayStation software in which the target volumes (ROIs) are delimited. To delimit the area to be treated correctly we need to incorporate the images generated by the electrocardiographic mapping systems (in our case the ADAS 3d software). This system generates a .vtk file (model) with the target structures. The planning CT together with the vtk files are imported to the Slicer (using the EAMapReader extension) for registration and definition of the target volumes that will then be exported to the planner for treatment planning. I do not know if I have explained well. The procedure is described in the article "A novel open-source software-based high-precision workflow for target definition in cardiac radioablation. Hohmann et al. [https://onlinelibrary.wiley.com/doi/full/10.1111/jce.14660](https://onlinelibrary.wiley.com/doi/full/10.1111/jce.14660)  
The article does not give details about the steps to be followed in the Slicer.  
Thanks for your replies.  
Jesús

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [November 9, 2022, 12:28am UTC](https://discourse.slicer.org/t/how-to-register-cardiac-ea-map-surface-mesh-with-3d-dicom-image/26121/5 "2022-11-09T00:28:47Z")

</div>

Thank you for the extra context, it helps make clear what you have in mind. I don’t know if anyone here has experience with the particular clinical systems you mentioned, but in any case it would be good to contact the vendors and ask them to provide you with the specifications for the data they export (what coordinate reference LPS or RAS, what units, what DICOM frame of reference, etc). These are not in the VTK file so you need this information from another source. You may be able to figure this out by guessing but it would be better to confirm what you expect to get on an ongoing basis. There was a change in VTK a few years ago in the way certain files were written and it broke many research workflows of the type you are describing. DICOM RT files are generally more standards compliant but it’s better to remove any ambiguity by confirming your assumptions . Also you could contact the corresponding author of the cited paper to confirm any details that were not clear in the publication.

---

<div class="post-metadata">

**Author:** ![jrf](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@jrf](https://discourse.slicer.org/u/jrf)\
**Post date:** [November 9, 2022, 9:50pm UTC](https://discourse.slicer.org/t/how-to-register-cardiac-ea-map-surface-mesh-with-3d-dicom-image/26121/6 "2022-11-09T21:50:49Z")

</div>

Steve,  
I finally contacted the vendors of the cardiac mapping system and they have provided me with the files in DICOM RT format with the structures so that I can use it perfectly with my radiotherapy planner and perform the treatment safely.  
Anyway I will continue to research the subject just for scientific interest in knowing how the procedure is.  
Thank you for your reply

---

<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:** [November 10, 2022, 9:20pm UTC](https://discourse.slicer.org/t/how-to-register-cardiac-ea-map-surface-mesh-with-3d-dicom-image/26121/7 "2022-11-10T21:20:03Z")

</div>

Actually Carto saves the electro anatomical map in VTK file format (and it can even read VTK files that are exported using SlicerHeart extension’s Carto Export module).

The electroanatomical map files (VTK and a few other formats) can be read into Slicer using @stephan 's (first author of the paper you cited above) Slicer extension. If the map was created from a CT then they should be already aligned. If the map is created just from the electromagnetic tracker of Carto (without importing a CT) then you need to register them (e.g., using landmarks).

Once you have the map registered with the CT, you can create a segmentation for the CT, mark the targets in the CT using Segment Editor (by looking at the nice, full-color map and paint small spheres in 3D view) and export it as DICOM RT Structure Set, which you can load into your radiation treatment planning system.

---

<div class="post-metadata">

**Author:** ![stephan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/stephan/32/2444_2.png) [@stephan](https://discourse.slicer.org/u/stephan)\
**Post date:** [November 10, 2022, 9:30pm UTC](https://discourse.slicer.org/t/how-to-register-cardiac-ea-map-surface-mesh-with-3d-dicom-image/26121/8 "2022-11-10T21:30:25Z")

</div>

Hi jrf,  
Just came across this thread because @lassoan mentioned me.  
I have no experience with ADAS 3D (besides knowing it exists), but for more detail on the registration and target definition in Slicer /EAMapReader, there is a"live-in-the-box" case I recorded for a workshop a while ago:

https://www.youtube.com/embed/videoseries?list=PLkoKNyhBHtxIMxLQvD329ebx2DzRrKgpz&wmode=transparent&rel=0&autohide=1&showinfo=1&enablejsapi=1

It’s actually 3 movies, total approx. 50 minutes playing time, that show the workflow in 3D Slicer in some detail.

Let me know if you have any additional questions.

Best regards  
Stephan

---

<div class="post-metadata">

**Author:** ![jrf](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@jrf](https://discourse.slicer.org/u/jrf)\
**Post date:** [November 10, 2022, 10:00pm UTC](https://discourse.slicer.org/t/how-to-register-cardiac-ea-map-surface-mesh-with-3d-dicom-image/26121/9 "2022-11-10T22:00:17Z")

</div>

Hi Stephan  
I have just started watching the video tutorials and they describe in detail the steps to follow in Slicer. It’s just what I needed!!  
ADAS 3D also allows you to export to a vtk file, so I think the procedure will be the same or very similar to the one you describe in the videos.  
Thank you very much for your help.  
Jesus

---

<div class="post-metadata">

**Author:** ![jrf](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@jrf](https://discourse.slicer.org/u/jrf)\
**Post date:** [November 10, 2022, 10:04pm UTC](https://discourse.slicer.org/t/how-to-register-cardiac-ea-map-surface-mesh-with-3d-dicom-image/26121/10 "2022-11-10T22:04:10Z")

</div>

Andras  
Thank you for your help in solving the problem.  
Jesús

---

<div class="post-metadata">

**Author:** ![stephan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/stephan/32/2444_2.png) [@stephan](https://discourse.slicer.org/u/stephan)\
**Post date:** [November 13, 2022, 8:02pm UTC](https://discourse.slicer.org/t/how-to-register-cardiac-ea-map-surface-mesh-with-3d-dicom-image/26121/11 "2022-11-13T20:02:53Z")

</div>

Since the youtube link has been replaced with the embedded video, I’ll post the playlist URL once again:  
[https://www.youtube.com/playlist?list=PLkoKNyhBHtxIMxLQvD329ebx2DzRrKgpz](https://www.youtube.com/playlist?list=PLkoKNyhBHtxIMxLQvD329ebx2DzRrKgpz)

---

<div class="post-metadata">

**Author:** ![Raha\_Sep](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/raha_sep/32/15684_2.png) [@Raha\_Sep](https://discourse.slicer.org/u/Raha_Sep)\
**Post date:** [December 23, 2022, 12:58pm UTC](https://discourse.slicer.org/t/how-to-register-cardiac-ea-map-surface-mesh-with-3d-dicom-image/26121/12 "2022-12-23T12:58:24Z")

</div>

Hi Stephan,  
Could you please put the link to download the **Carto7Convert.exe** as you mentioned in the video? I couldn’t find it.  
Thank you in advance,  
Raha

---

<div class="post-metadata">

**Author:** ![stephan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/stephan/32/2444_2.png) [@stephan](https://discourse.slicer.org/u/stephan)\
**Post date:** [December 30, 2022, 3:25pm UTC](https://discourse.slicer.org/t/how-to-register-cardiac-ea-map-surface-mesh-with-3d-dicom-image/26121/13 "2022-12-30T15:25:47Z")

</div>

You can find the executable here: [Software - Google Drive](https://drive.google.com/drive/folders/1Uc6rzoL9yNBJTSEBRksZyTi3J7t7uKx3?usp=share_link)

---

<div class="post-metadata">

**Author:** ![Raha\_Sep](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/raha_sep/32/15684_2.png) [@Raha\_Sep](https://discourse.slicer.org/u/Raha_Sep)\
**Post date:** [December 30, 2022, 3:27pm UTC](https://discourse.slicer.org/t/how-to-register-cardiac-ea-map-surface-mesh-with-3d-dicom-image/26121/14 "2022-12-30T15:27:34Z")

</div>

Dear Stephan,  
Thank you for your help✌🏼  
Regards, Rahi
