# How to get the normalized image (file)?

**URL:** https://discourse.slicer.org/t/how-to-get-the-normalized-image-file/25709
**Category:** Support
**Tags:** python
**Created:** [October 14, 2022, 5:47pm UTC](https://discourse.slicer.org/t/how-to-get-the-normalized-image-file/25709 "2022-10-14T17:47:43Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Josefa\_Garcia](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/josefa_garcia/32/13792_2.png) [@Josefa\_Garcia](https://discourse.slicer.org/u/Josefa_Garcia)
#### Post date: [October 14, 2022, 5:47pm UTC](https://discourse.slicer.org/t/how-to-get-the-normalized-image-file/25709/1 "2022-10-14T17:47:43Z")

</div>

Hi, is there an option to get the image normalized?, because after run the feature extraction I checked the histogram of the image from which I extracted the features and it didn’t change. (I have normalize enabled in the script)

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [October 19, 2022, 5:51am UTC](https://discourse.slicer.org/t/how-to-get-the-normalized-image-file/25709/2 "2022-10-19T05:51:51Z")

</div>

You can set the same window/level settings by either right-clicking on the volume in a slice view and selecting the same “Window/level preset”; or in Volumes module’s Display section make sure you have the same `W` and `L` (window and level) values for your volumes.

---

<div class="post-metadata">

### Author: ![Josefa\_Garcia](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/josefa_garcia/32/13792_2.png) [@Josefa\_Garcia](https://discourse.slicer.org/u/Josefa_Garcia)
#### Post date: [October 19, 2022, 12:51pm UTC](https://discourse.slicer.org/t/how-to-get-the-normalized-image-file/25709/3 "2022-10-19T12:51:07Z")

</div>

Hi Andras, I’ve checked the histogram from the volume information and then plotted the histogram, so I think that is not the problem. I’ve attached the parameters I’m using, I’ve also tried running the extraction with the manual customization. Do I need to add anything else? thank you, appreciate your help!

imageType:  
Original: {}

featureClass:  
shape:  
firstorder:  
glcm:  
- ‘Autocorrelation’  
- ‘JointAverage’  
- ‘ClusterProminence’  
- ‘ClusterShade’  
- ‘ClusterTendency’  
glrlm:  
glszm:  
gldm:

setting:  
normalize: true  
normalizeScale: 100 # This allows you to use more or less the same bin width.

binWidth: 64  
voxelArrayShift: 300  
label: 1

#Resegmentation: remove outliers  
resegmentRange: [-3, 3]  
resegmentMode: sigma

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [October 19, 2022, 1:45pm UTC](https://discourse.slicer.org/t/how-to-get-the-normalized-image-file/25709/4 "2022-10-19T13:45:04Z")

</div>

I’m not experienced with how to configure SlicerRadiomics. Maybe @JoostJM or other radiomics experts can help.
