# pyradiomics w/ fixed bin width: bin number varies significantly across derived images

**URL:** <https://discourse.slicer.org/t/pyradiomics-w-fixed-bin-width-bin-number-varies-significantly-across-derived-images/24498>\
**Category:** Community\
**Tags:** pyradiomics\
**Created:** [July 26, 2022, 2:14pm UTC](https://discourse.slicer.org/t/pyradiomics-w-fixed-bin-width-bin-number-varies-significantly-across-derived-images/24498 "2022-07-26T14:14:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stef](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@stef](https://discourse.slicer.org/u/stef)\
**Post date:** [July 26, 2022, 2:14pm UTC](https://discourse.slicer.org/t/pyradiomics-w-fixed-bin-width-bin-number-varies-significantly-across-derived-images/24498/1 "2022-07-26T14:14:51Z")

</div>

Hi all,

When using the fixed bin width setting, the median number of bins per patient varies a lot across the different derived images and the original image. I know this can be in part addressed by selecting a different bin width for e.g. original, LoG filtered and wavelet images. However, the same issue occurs across different e.g. wavelet decompositions which only differ in their directionality. Here’s an example:

Image → median number of bins across patient cohort  
wavelet-LLH → 172.5  
wavelet-LHL → 210.7  
wavelet-LHH → 35.0  
wavelet-HLL → 197.6  
wavelet-HLH → 33.6  
wavelet-HHL → 35.2  
wavelet-HHH → 8.8  
wavelet-LLL → 1132.2

Anyone familiar with this behaviour? How can this be addressed? Can I specify different binWidth settings for the above decompositions?

Any help would be appreciated 🙂 Thanks much!
