# Many 0 and 1 appear in the extracted features

**URL:** <https://discourse.slicer.org/t/many-0-and-1-appear-in-the-extracted-features/23172>\
**Category:** Radiomics\
**Tags:** pyradiomics\
**Created:** [April 28, 2022, 2:45pm UTC](https://discourse.slicer.org/t/many-0-and-1-appear-in-the-extracted-features/23172 "2022-04-28T14:45:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lrc\_09](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lrc_09/32/15099_2.png) [@lrc\_09](https://discourse.slicer.org/u/lrc_09)\
**Post date:** [April 28, 2022, 2:45pm UTC](https://discourse.slicer.org/t/many-0-and-1-appear-in-the-extracted-features/23172/1 "2022-04-28T14:45:22Z")

</div>

Hi, I used Radiomics module to extract PET image features. I set resampled voxel size to 1,1,1 and bin width to 64 based on the literatures , and the result shows that there are many 0 and 1 in GLCM, GLDM, GLRLM, GLSZM and NGTDM. I don’t know where the settings are wrong, can you help me check? Thank you!

 ![1](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/9/e9c422a1c6f05bd0bebc097730617597de31812d.jpeg)  
 ![2](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/3/1/3149a3932f8af326ae1e818a70272205e3445f0d.png)

---

<div class="post-metadata">

**Author:** ![JoostJM](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/joostjm/32/1091_2.png) [@JoostJM](https://discourse.slicer.org/u/JoostJM)\
**Post date:** [May 3, 2022, 7:24am UTC](https://discourse.slicer.org/t/many-0-and-1-appear-in-the-extracted-features/23172/2 "2022-05-03T07:24:43Z")

</div>

Hello @lrc_09,

What you are seeing are typical results when extracting from a ‘flat region’. See the online PyRadiomics documentation for more details. TLDR: The binwidth parameter is set too large (default 25, which is too much for SUV values).

The ‘bin width’ of 64 from literature is incorrect, the 64 you encounter in literature is 64 bin_count_. In PyRadiomics we advise against using a fixed binCount, details for this are also found in the PyRadiomics documentation.
