# Increase WL intensity

**URL:** https://discourse.itk.org/t/increase-wl-intensity/2899
**Category:** Beginner Questions
**Tags:** simpleitk
**Created:** [April 3, 2020, 2:39pm UTC](https://discourse.itk.org/t/increase-wl-intensity/2899 "2020-04-03T14:39:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![flaviu2](https://discourse.itk.org/letter_avatar_proxy/v4/letter/f/74df32/32.png) [@flaviu2](https://discourse.itk.org/u/flaviu2)
#### Post date: [April 3, 2020, 2:39pm UTC](https://discourse.itk.org/t/increase-wl-intensity/2899/1 "2020-04-03T14:39:25Z")

</div>

I have a _sitk::Image_ rendered into a VTK viewer, which is seen well at _W/L_ _242/1195_.

I noticed that after I apply _BinaryThreshold_ filter, the _sitk::Image_ result is seen well on my VTK viewer. But, if I apply a _sitk::SLIC_, or _sitk::ConnectedComponent_, or _sitk::ChangeLabel_, the resulted _sitk::Image_ has not such intensity to see something (is just a diffuse cube), until I modify the WL to lower values (W70, L50). And this is happen even if I setup insideValue at 255 (when I can do that).

My question is, is there any _filter_ or _solution_ to have a normal intensity of _WL_ after any kind of image filters applied ?

---

<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: [April 4, 2020, 11:19am UTC](https://discourse.itk.org/t/increase-wl-intensity/2899/2 "2020-04-04T11:19:17Z")

</div>

You can record minimum/maximum value of your original image, then restore it later using [ShiftScaleImageFilter](https://itk.org/Doxygen/html/classitk_1_1ShiftScaleImageFilter.html). But I think that adjusting your Window/Level to the new intensities is a better solution.
