# Markuppoints to freesurferoutput segment/parcellation correlations on 2dslicer viewer

**URL:** <https://discourse.slicer.org/t/markuppoints-to-freesurferoutput-segment-parcellation-correlations-on-2dslicer-viewer/18510>\
**Category:** Support\
**Created:** [July 5, 2021, 12:49am UTC](https://discourse.slicer.org/t/markuppoints-to-freesurferoutput-segment-parcellation-correlations-on-2dslicer-viewer/18510 "2021-07-05T00:49:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mubafz](https://avatars.discourse-cdn.com/v4/letter/m/e9a140/32.png) [@mubafz](https://discourse.slicer.org/u/mubafz)\
**Post date:** [July 5, 2021, 12:49am UTC](https://discourse.slicer.org/t/markuppoints-to-freesurferoutput-segment-parcellation-correlations-on-2dslicer-viewer/18510/1 "2021-07-05T00:49:48Z")

</div>

Hi all,

I wanted to ask if its possible to correlate markup points one has place to segmentations/parcellation labels of freesurfer output in ones MRI. I click the markup in the 2DSlicer viewers and it indicates where it falls or closest to in the parcellation labelling by freesurfer.

As an example I have 189 segments/parcellations of MRI brain from freesurfer output and I have 200 contact markup points. Is there a way to click on a markup and it indicates which segment label it roughly correlates to or closest to?

---

<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 9, 2021, 5:01am UTC](https://discourse.slicer.org/t/markuppoints-to-freesurferoutput-segment-parcellation-correlations-on-2dslicer-viewer/18510/2 "2021-07-09T05:01:16Z")

</div>

This post should help:

> [@Model identity at fiducial location](https://discourse.slicer.org/t/model-identity-at-fiducial-location/16456/2):
>
> What you do is a very robust and efficient method of determining which models contain the selected point position. If you need to pick many thousands points then I would recommend keep using this method. If you just want to pick models at the current point position (or hundreds of positions but not hundreds of thousands of positions) then it is simpler to [get the model displayable manager from the view](https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Get_displayable_manager_of_a_certain_type_for_a_certain_view) and use its [Pick3D](http://apidocs.slicer.org/master/classvtkMRMLModelDisplayableManager.html#a2fb2b057ef3571dae97c1c8ef73bf289) and [GetPickedNodeID](http://apidocs.slicer.org/master/classvtkMRMLModelDisplayableManager.html#a58918fec5e28c222b26bc36470b04640) methods.

If you get stuck at any point then let us know.
