# how to read the windows level / width from the dicom metadata from vtkDICOMImageReader

**URL:** https://discourse.vtk.org/t/how-to-read-the-windows-level-width-from-the-dicom-metadata-from-vtkdicomimagereader/897
**Category:** Support
**Created:** [May 3, 2019, 8:33am UTC](https://discourse.vtk.org/t/how-to-read-the-windows-level-width-from-the-dicom-metadata-from-vtkdicomimagereader/897 "2019-05-03T08:33:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![zandarina](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/z/4af34b/32.png) [@zandarina](https://discourse.vtk.org/u/zandarina)
#### Post date: [May 3, 2019, 8:33am UTC](https://discourse.vtk.org/t/how-to-read-the-windows-level-width-from-the-dicom-metadata-from-vtkdicomimagereader/897/1 "2019-05-03T08:33:19Z")

</div>

Dear all,

I want to get the windows level and width of a series of dicoms given in the metadata of those files. But i cannot find a function in vtkDICOMImageReader to get this information. I heard that vtkDICOMReader can do that. But it is obsolete in the newer versions. How can i get the windows level and the width from the reader without having to install gdcm and use this reader.

Someone knows?

Thank you

---

<div class="post-metadata">

### Author: ![zandarina](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/z/4af34b/32.png) [@zandarina](https://discourse.vtk.org/u/zandarina)
#### Post date: [May 3, 2019, 12:27pm UTC](https://discourse.vtk.org/t/how-to-read-the-windows-level-width-from-the-dicom-metadata-from-vtkdicomimagereader/897/2 "2019-05-03T12:27:49Z")

</div>

I read, it can be a bug of the vtkDICOMReader in the vtk 8.2 version and this is why the dicom\_module does not appear in cmake. Is it working for you in a lower version?. I´d rather not to change to a very low version.

Thanks
