# Scaling HU values after image loading

**URL:** <https://discourse.itk.org/t/scaling-hu-values-after-image-loading/1629>\
**Category:** Algorithms\
**Tags:** dicom\
**Created:** [March 3, 2019, 3:25am UTC](https://discourse.itk.org/t/scaling-hu-values-after-image-loading/1629 "2019-03-03T03:25:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![danelliottster](https://discourse.itk.org/letter_avatar_proxy/v4/letter/d/a698b9/32.png) [@danelliottster](https://discourse.itk.org/u/danelliottster)\
**Post date:** [March 3, 2019, 3:25am UTC](https://discourse.itk.org/t/scaling-hu-values-after-image-loading/1629/1 "2019-03-03T03:25:23Z")

</div>

Hello. Thank you for the excellent work on ITK.

Is there a set of built-in functions for scaling the HU values read from the DICOM images? E.g. are there bone, lung, etc defaults? Are there methods for balancing the data?

Thank you.

---

<div class="post-metadata">

**Author:** ![zivy](https://discourse.itk.org/user_avatar/discourse.itk.org/zivy/32/1726_2.png) [@zivy](https://discourse.itk.org/u/zivy)\
**Post date:** [March 4, 2019, 2:22pm UTC](https://discourse.itk.org/t/scaling-hu-values-after-image-loading/1629/2 "2019-03-04T14:22:46Z")

</div>

Hello @danelliottster,

I think what you are looking for is the [IntensityWindowingImageFilter](https://itk.org/Insight/Doxygen/html/classitk_1_1IntensityWindowingImageFilter.html). There are no presets for bone, lung, etc. . As you are working with CT and HU, you can use the [known values for specific anatomical structures](https://en.wikipedia.org/wiki/Hounsfield_scale) to create these presets for the window minimum and maximum.
