# 3dslicer and unity communication to use registration algorithms

**URL:** <https://discourse.slicer.org/t/3dslicer-and-unity-communication-to-use-registration-algorithms/28513>\
**Category:** Development\
**Tags:** registration\
**Created:** [March 22, 2023, 2:58am UTC](https://discourse.slicer.org/t/3dslicer-and-unity-communication-to-use-registration-algorithms/28513 "2023-03-22T02:58:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JAN\_CARLOS\_ALVIRA\_ME](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jan_carlos_alvira_me/32/65172_2.png) [@JAN\_CARLOS\_ALVIRA\_ME](https://discourse.slicer.org/u/JAN_CARLOS_ALVIRA_ME)\
**Post date:** [March 22, 2023, 2:58am UTC](https://discourse.slicer.org/t/3dslicer-and-unity-communication-to-use-registration-algorithms/28513/1 "2023-03-22T02:58:18Z")

</div>

_Hello, I am working with the registration algorithms that 3dslicer offers me, but I have to make it receive data from unity 3d and thus be able to calculate the transformation matrices, I don’t know if it can be done that way. Or what can you advise me?_

---

<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 22, 2023, 3:01am UTC](https://discourse.slicer.org/t/3dslicer-and-unity-communication-to-use-registration-algorithms/28513/2 "2023-03-22T03:01:39Z")

</div>

There have been several Unity applications (mostly intended for HoloLens) that exchange images, models, and transforms with Slicer in real-time. Most recent is by @AliciaPose et al. See for example this complete Unity app:

> **[GitHub - AliciaPoseDiezdelaLastra/ARforPedicleScrews-DesktopPlanner-3DSlicer:...](https://github.com/AliciaPoseDiezdelaLastra/ARforPedicleScrews-DesktopPlanner-3DSlicer)**
>
> Modified version of David Morton's spine guidance 3D Slicer module. - GitHub - AliciaPoseDiezdelaLastra/ARforPedicleScrews-DesktopPlanner-3DSlicer: Modified version of David Morton's spine ...

---

<div class="post-metadata">

**Author:** ![JAN\_CARLOS\_ALVIRA\_ME](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jan_carlos_alvira_me/32/65172_2.png) [@JAN\_CARLOS\_ALVIRA\_ME](https://discourse.slicer.org/u/JAN_CARLOS_ALVIRA_ME)\
**Post date:** [March 22, 2023, 9:41am UTC](https://discourse.slicer.org/t/3dslicer-and-unity-communication-to-use-registration-algorithms/28513/3 "2023-03-22T09:41:51Z")

</div>

thank you very much for your answer, I will check the link to understand how to do it.
