# Nearby fiducial points at different slices

**URL:** <https://discourse.slicer.org/t/nearby-fiducial-points-at-different-slices/15309>\
**Category:** Support\
**Created:** [January 1, 2021, 7:56pm UTC](https://discourse.slicer.org/t/nearby-fiducial-points-at-different-slices/15309 "2021-01-01T19:56:55Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![FatihSogukpinar](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fatihsogukpinar/32/7257_2.png) [@FatihSogukpinar](https://discourse.slicer.org/u/FatihSogukpinar)\
**Post date:** [January 1, 2021, 7:56pm UTC](https://discourse.slicer.org/t/nearby-fiducial-points-at-different-slices/15309/1 "2021-01-01T19:56:56Z")

</div>

Hi all,

I have a set of fiducial points which have the same anterior/posterior coordinates (but different right/left and sagittal coordinates) and I want to be able to show them in the same coronal slice.  
Despite that I see the same AP coordinates in their .fcsv file, when I load them to Slicer and look at them in the Red slice view, they seem to be at slightly different slices (0.1 - 0.2 mm different AP).  
What might the reason for that ? How can I carry all of them to the same Coronal slice ?

Thanks !

---

<div class="post-metadata">

**Author:** ![FatihSogukpinar](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fatihsogukpinar/32/7257_2.png) [@FatihSogukpinar](https://discourse.slicer.org/u/FatihSogukpinar)\
**Post date:** [January 7, 2021, 9:05pm UTC](https://discourse.slicer.org/t/nearby-fiducial-points-at-different-slices/15309/2 "2021-01-07T21:05:57Z")

</div>

Any suggestions about this ?  
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:** [January 7, 2021, 11:26pm UTC](https://discourse.slicer.org/t/nearby-fiducial-points-at-different-slices/15309/3 "2021-01-07T23:26:34Z")

</div>

It is not clear what you want to achieve and what the problem is. A few annotated screenshots and a sample .mrb scene file would help.

---

<div class="post-metadata">

**Author:** ![FatihSogukpinar](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fatihsogukpinar/32/7257_2.png) [@FatihSogukpinar](https://discourse.slicer.org/u/FatihSogukpinar)\
**Post date:** [January 8, 2021, 2:58am UTC](https://discourse.slicer.org/t/nearby-fiducial-points-at-different-slices/15309/4 "2021-01-08T02:58:55Z")

</div>

Ok, here are some example pics

 ![slicer1](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/f/bf212bdf0f2bae6aad948b1d07337e896a4f88f0.jpeg) ![slicer2](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/a/4a3fce40e137ee012de4b8e5805416580da227e2.jpeg) ![slicer3](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/b/8b4823e1f02f21b03cfb16f4a1a10de5b44b78d3.jpeg)

The fiducials you see in the slices have the same anterior coordinates, but despite that, they are shown in different coronal slices. Those coronal slices are really close (seperated by just 0.1 mm), BUT I want to show all of those points in the “exact” same slice.

How can I achieve this ? This is really important for me.  
Thank you and best regards.

---

<div class="post-metadata">

**Author:** ![FatihSogukpinar](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fatihsogukpinar/32/7257_2.png) [@FatihSogukpinar](https://discourse.slicer.org/u/FatihSogukpinar)\
**Post date:** [January 8, 2021, 7:03pm UTC](https://discourse.slicer.org/t/nearby-fiducial-points-at-different-slices/15309/5 "2021-01-08T19:03:36Z")

</div>

Any suggestions ?  
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:** [January 8, 2021, 8:28pm UTC](https://discourse.slicer.org/t/nearby-fiducial-points-at-different-slices/15309/6 "2021-01-08T20:28:54Z")

</div>

Slicer shows all markups at +/- half slice spacing distance from the current slice plane.

From the images that you attached it seems that your images are not exactly aligned with anatomical axes (the image is slightly rotated). Therefore, slices cut through multiple image slices.

Click [“Rotate to volume plane” button](https://slicer.readthedocs.io/en/latest/user_guide/user_interface.html#slice-view) in the slice view controller to align slice views with your image axes (instead of anatomical axes).

---

<div class="post-metadata">

**Author:** ![FatihSogukpinar](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fatihsogukpinar/32/7257_2.png) [@FatihSogukpinar](https://discourse.slicer.org/u/FatihSogukpinar)\
**Post date:** [January 8, 2021, 10:41pm UTC](https://discourse.slicer.org/t/nearby-fiducial-points-at-different-slices/15309/7 "2021-01-08T22:41:40Z")

</div>

Hmm… Thanks a lot !

Is it possible to obtain the transform matrix for that transformation ?

Thank you.

---

<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:** [January 9, 2021, 4:12am UTC](https://discourse.slicer.org/t/nearby-fiducial-points-at-different-slices/15309/8 "2021-01-09T04:12:56Z")

</div>

You can get the slice view’s position and orientation as a 4x4 homogeneous transformation matrix by calling `GetSliceToRAS()` method on the slice node.

---

<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:** [January 10, 2021, 10:56pm UTC](https://discourse.slicer.org/t/nearby-fiducial-points-at-different-slices/15309/9 "2021-01-10T22:56:51Z")

</div>

A post was split to a new topic: [How to transform fiducial coordinates into image space](https://discourse.slicer.org/t/how-to-transform-fiducial-coordinates-into-image-space/15442)
