# Registration - lining up fiducials into the same plane

**URL:** <https://discourse.slicer.org/t/registration-lining-up-fiducials-into-the-same-plane/9877>\
**Category:** Support\
**Tags:** registration, markups-fiducials\
**Created:** [January 20, 2020, 4:58am UTC](https://discourse.slicer.org/t/registration-lining-up-fiducials-into-the-same-plane/9877 "2020-01-20T04:58:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![uwo27](https://avatars.discourse-cdn.com/v4/letter/u/f17d59/32.png) [@uwo27](https://discourse.slicer.org/u/uwo27)\
**Post date:** [January 20, 2020, 4:58am UTC](https://discourse.slicer.org/t/registration-lining-up-fiducials-into-the-same-plane/9877/1 "2020-01-20T04:58:55Z")

</div>

I am registering histology and MRI images by using fiducials in the Markups module then performing initial rigid landmark registration, then going to the transforms module. I am having difficulty after transforming when aligning the 2 images (MRI and histology) so that they are in the same plane. I’ve succeeded by manually moving the 3D images but I am finding this to be very tedious, and very difficult at times. Is there anything that can automatically align the fiducials into one plane?

I’ve attached some sample images. The first image is one where I was able to manually align everything but case 2 I am still having difficulty and the fiducials are not all in one plane with the MRI and histology overlaying each other.

Case 1 (good):

 ![ALSP_2_F_01_REG_BIELS](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/4/94073f0be1db18972d624c8501b920293a9dafcd.jpeg)

Case 2 (having problems!! bad!!):

 ![Screenshot](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/2/92536b820a0faf115449ee75d0b7db13d20b4ce9.jpeg)

---

<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:** [January 20, 2020, 8:42am UTC](https://discourse.slicer.org/t/registration-lining-up-fiducials-into-the-same-plane/9877/2 "2020-01-20T08:42:05Z")

</div>

Hi -

Sounds like an interesting use case and a workflow that would be nice to support. If you are able to share a sample dataset and instructions for replicating the issue then I’ll bet there are some simple python commands that would help, like projecting the fiducials to a best fit plane.

---

<div class="post-metadata">

**Author:** ![uwo27](https://avatars.discourse-cdn.com/v4/letter/u/f17d59/32.png) [@uwo27](https://discourse.slicer.org/u/uwo27)\
**Post date:** [January 20, 2020, 5:01pm UTC](https://discourse.slicer.org/t/registration-lining-up-fiducials-into-the-same-plane/9877/3 "2020-01-20T17:01:29Z")

</div>

Hi Steve -

I’ve uploaded a sample dataset you will be able to access here: [https://www.dropbox.com/sh/n3exj9pqtb1vbhg/AADR6Aku-OnyvW9OWfncykDLa?dl=0](https://www.dropbox.com/sh/n3exj9pqtb1vbhg/AADR6Aku-OnyvW9OWfncykDLa?dl=0).

I’ve done everything prior to projecting the fiducials all into one plane, so you don’t need to worry about that. 🙂

After loading the dataset into Slicer, double-check that ALSP\_5\_F\_01\_Biels is loaded as the foreground and 05\_F\_N4ITK is loaded as the background in the **red slice** view.

Thanks so much for your help and let me know if you need anything else!

---

<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:** [February 5, 2020, 7:09pm UTC](https://discourse.slicer.org/t/registration-lining-up-fiducials-into-the-same-plane/9877/4 "2020-02-05T19:09:27Z")

</div>

Hi @uwo27 -

Thanks for sharing the data - I finally had a chance to look at it and I am able to load it (looks like your Case 2 screenshot above). But I’m not really sure what I am looking at and what you need next.

In particular what is the 05\_F\_ALGN volume? It looks like different slabs of brain stacked at random? Maybe it would help to start if you could list out the nodes in the scene with a brief summary of what the data is and how you need to use it.
