# Finding the corresponding point to a specific displacement field

**URL:** <https://discourse.slicer.org/t/finding-the-corresponding-point-to-a-specific-displacement-field/4332>\
**Category:** Support\
**Created:** [October 9, 2018, 7:31pm UTC](https://discourse.slicer.org/t/finding-the-corresponding-point-to-a-specific-displacement-field/4332 "2018-10-09T19:31:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aseman](https://avatars.discourse-cdn.com/v4/letter/a/c0e974/32.png) [@aseman](https://discourse.slicer.org/u/aseman)\
**Post date:** [October 9, 2018, 7:31pm UTC](https://discourse.slicer.org/t/finding-the-corresponding-point-to-a-specific-displacement-field/4332/1 "2018-10-09T19:31:01Z")

</div>

Slicer version:4.8.1  
Hi 3D slicer experts and all users  
I have got displacement fields for different points of a particular segment (i.e heart); and with the movement of mouse on each point , the corresponding vector components are displayed in 3 coordinates(RAS) in information section of Transforms module . and inversely ,now I want to find the point which is corresponding to a specific vector . on the other words, I want to find that in a volume ,which point has that specific displacement field ? is it possible to find this point? and can you guide me about this question with an example?  
Thanks a lot

---

<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:** [October 10, 2018, 4:24am UTC](https://discourse.slicer.org/t/finding-the-corresponding-point-to-a-specific-displacement-field/4332/2 "2018-10-10T04:24:48Z")

</div>

> [@aseman](#):
>
> I want to find that in a volume ,which point has that specific displacement field ?

Thousands of points may have almost exactly the same displacement value in a field. You can use [Contour visualization mode](https://www.slicer.org/wiki/Documentation/Nightly/Modules/Transforms) to highlight regions that have specific displacement magnitude values.

If you were interested in which point was moved to a specific position then you need to invert the transform by clicking on Invert button.

---

<div class="post-metadata">

**Author:** ![aseman](https://avatars.discourse-cdn.com/v4/letter/a/c0e974/32.png) [@aseman](https://discourse.slicer.org/u/aseman)\
**Post date:** [October 10, 2018, 6:58am UTC](https://discourse.slicer.org/t/finding-the-corresponding-point-to-a-specific-displacement-field/4332/3 "2018-10-10T06:58:35Z")

</div>

Hi  
Thank you very much for your guidelines ; and now, I have another question ! can I use also python to find these points which are correspond to a specific displacement vector or not?  
Thanks a lot

---

<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:** [October 10, 2018, 12:56pm UTC](https://discourse.slicer.org/t/finding-the-corresponding-point-to-a-specific-displacement-field/4332/4 "2018-10-10T12:56:23Z")

</div>

Yes you can. All Slicer APIs are available in Python. If you describe what you would like to do exactly we can give more specific help.
