# How to get the intensity values at different pixel locations in DICOM image?

**URL:** https://discourse.itk.org/t/how-to-get-the-intensity-values-at-different-pixel-locations-in-dicom-image/2519
**Category:** Uncategorized
**Created:** [December 12, 2019, 11:51am UTC](https://discourse.itk.org/t/how-to-get-the-intensity-values-at-different-pixel-locations-in-dicom-image/2519 "2019-12-12T11:51:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Pooja\_Virkar](https://discourse.itk.org/user_avatar/discourse.itk.org/pooja_virkar/32/804_2.png) [@Pooja\_Virkar](https://discourse.itk.org/u/Pooja_Virkar)
#### Post date: [December 12, 2019, 11:51am UTC](https://discourse.itk.org/t/how-to-get-the-intensity-values-at-different-pixel-locations-in-dicom-image/2519/1 "2019-12-12T11:51:03Z")

</div>

Hello,

I am using ITK and VTK for liver segmentation purpose. But my segmentation algorithm needs seed point which I have to select from DICOM images. Firstly, I was using 3D slicer to take seed point positions. But Now I have to select it directly from dicom viewer using VTK.  
So how can I get a seed point position by just selecting randomly on dicom image? Also how to check intensities at different pixel locations ?

Kindly help me with some information.

---

<div class="post-metadata">

### Author: ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)
#### Post date: [December 12, 2019, 4:44pm UTC](https://discourse.itk.org/t/how-to-get-the-intensity-values-at-different-pixel-locations-in-dicom-image/2519/2 "2019-12-12T16:44:33Z")

</div>

Those is more of VTK questions than ITK ones. Perhaps look at this [thread](http://vtk.1045678.n5.nabble.com/How-to-obtain-the-coordinates-double-and-not-int-type-mouse-picking-over-an-image-td5737850.html), if that does not help you please ask further questions on [VTK forum](https://discourse.vtk.org/).

---

<div class="post-metadata">

### Author: ![Pooja\_Virkar](https://discourse.itk.org/user_avatar/discourse.itk.org/pooja_virkar/32/804_2.png) [@Pooja\_Virkar](https://discourse.itk.org/u/Pooja_Virkar)
#### Post date: [December 13, 2019, 8:58am UTC](https://discourse.itk.org/t/how-to-get-the-intensity-values-at-different-pixel-locations-in-dicom-image/2519/3 "2019-12-13T08:58:03Z")

</div>

Ok. Thank you for your help.
