# How to register donut-shaped markers

**URL:** <https://discourse.slicer.org/t/how-to-register-donut-shaped-markers/37312>\
**Category:** Support\
**Created:** [July 10, 2024, 6:38pm UTC](https://discourse.slicer.org/t/how-to-register-donut-shaped-markers/37312 "2024-07-10T18:38:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lxedk](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lxedk/32/77162_2.png) [@lxedk](https://discourse.slicer.org/u/lxedk)\
**Post date:** [July 10, 2024, 6:38pm UTC](https://discourse.slicer.org/t/how-to-register-donut-shaped-markers/37312/1 "2024-07-10T18:38:25Z")

</div>

I have several DICOM volumes containing scans with 7 donut shaped markers arranged in a known pattern. Is there a module to register each donut, to ultimately determine the 6 DOF pose of the pattern?  
Thanks!

---

<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:** [July 11, 2024, 2:36am UTC](https://discourse.slicer.org/t/how-to-register-donut-shaped-markers/37312/2 "2024-07-11T02:36:05Z")

</div>

It could be implemented the same way as described for sphere markers [here](https://discourse.slicer.org/t/automatic-fiducial-registration/7099/4). Details depend on whether the doughnut is fluid-filled (if yes then you need a robust registration algorithm for subpixel accuarcy matching in presence of an air bubble, for example, reslice along the doughnut axis of rotation and fit circles), whether the pivot point is in the center of gravity, etc.

Fiducial registration wizard module can automatically match two unsorted point lists up to 7 or so points, so once you have the point position, the registration should be fully automatic.

---

<div class="post-metadata">

**Author:** ![lxedk](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lxedk/32/77162_2.png) [@lxedk](https://discourse.slicer.org/u/lxedk)\
**Post date:** [July 17, 2024, 7:15pm UTC](https://discourse.slicer.org/t/how-to-register-donut-shaped-markers/37312/3 "2024-07-17T19:15:13Z")

</div>

Thank you for your response. I was previously considering general registration of a synthetic volume (created from a model of the donuts) to the scan itself. Would that be more robust in the potential case of a donut failing to be registered through the aforementioned techniques?
