# Which pick function should i used in DICOMImageSeries?

**URL:** https://discourse.vtk.org/t/which-pick-function-should-i-used-in-dicomimageseries/6497
**Category:** Support
**Created:** [August 30, 2021, 2:53am UTC](https://discourse.vtk.org/t/which-pick-function-should-i-used-in-dicomimageseries/6497 "2021-08-30T02:53:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jjjkk](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jjjkk/32/3720_2.png) [@jjjkk](https://discourse.vtk.org/u/jjjkk)
#### Post date: [August 30, 2021, 2:53am UTC](https://discourse.vtk.org/t/which-pick-function-should-i-used-in-dicomimageseries/6497/1 "2021-08-30T02:53:13Z")

</div>

I try to use picker in ImageViewer2 which reade seriesof DICOMImage.  
But It seems picker-\>pick not work as the return value by pick is always zeor.  
The example I follow is using a 2d Image, while DICOMImage is a Series.  
[https://kitware.github.io/vtk-examples/site/Cxx/Images/PickPixel/](https://kitware.github.io/vtk-examples/site/Cxx/Images/PickPixel/)  
[https://kitware.github.io/vtk-examples/site/Cxx/IO/ReadDICOMSeries/](https://kitware.github.io/vtk-examples/site/Cxx/IO/ReadDICOMSeries/)  
So I wonder which of picker and pick function should i used when read a 2D (not 2d) Image?
