# Segmentation regions for Fiducial Points

**URL:** <https://discourse.slicer.org/t/segmentation-regions-for-fiducial-points/13560>\
**Category:** Support\
**Created:** [September 19, 2020, 3:12am UTC](https://discourse.slicer.org/t/segmentation-regions-for-fiducial-points/13560 "2020-09-19T03:12:02Z")\
**Posts on this page:** 2\
**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:** [September 19, 2020, 3:12am UTC](https://discourse.slicer.org/t/segmentation-regions-for-fiducial-points/13560/1 "2020-09-19T03:12:02Z")

</div>

Operating system: Windows 10 Pro  
Slicer version: 4.10 and / or 4.11  
Hi all,

I have a set of fiducial points and a segmentation and I need to obtain the segments which the points belong to.  
There are so many points that I need an automated way to do that.  
How can I obtain the segments for each point using the Python interface ?  
I can see the regions manually by pointing the mouse on them, but I don’t know how I can get them by code.

Thank you all and best regards.

---

<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:** [September 19, 2020, 3:06pm UTC](https://discourse.slicer.org/t/segmentation-regions-for-fiducial-points/13560/2 "2020-09-19T15:06:09Z")

</div>

This example shows how to get segments visible at markups fiducial point position:

> **[Documentation/Nightly/ScriptRepository - Slicer Wiki](https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Get_segments_visible_at_a_selected_position)**
