# Transform Hounsfield unit to intensity values

**URL:** https://discourse.itk.org/t/transform-hounsfield-unit-to-intensity-values/2818
**Category:** Beginner Questions
**Created:** [March 11, 2020, 12:38pm UTC](https://discourse.itk.org/t/transform-hounsfield-unit-to-intensity-values/2818 "2020-03-11T12:38:13Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [March 11, 2020, 2:10pm UTC](https://discourse.itk.org/t/transform-hounsfield-unit-to-intensity-values/2818/2 "2020-03-11T14:10:44Z")

</div>

Windowing transforms intensities from one range to another, for example from 1000-1900 into 0-255 in order to display CT pixels on regular screens. Values outside the range map to endpoints: -1000, 0, 200 and 999 all map to 0, while 1901, 3000 and 25000 all map to 255. Window is the width of the range (901 in the example above) and level is center of the range (1450.5 in the example).

Therefore, window and level need a range to exist, they are not defined for a single value.

---

_[View the full topic](https://discourse.itk.org/t/transform-hounsfield-unit-to-intensity-values/2818)._
