# brain white matter tissue probability map as mask - behaviour of pyradiomics

**URL:** <https://discourse.slicer.org/t/brain-white-matter-tissue-probability-map-as-mask-behaviour-of-pyradiomics/19969>\
**Category:** Radiomics\
**Created:** [October 2, 2021, 2:16pm UTC](https://discourse.slicer.org/t/brain-white-matter-tissue-probability-map-as-mask-behaviour-of-pyradiomics/19969 "2021-10-02T14:16:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nhaliasos](https://avatars.discourse-cdn.com/v4/letter/n/d2c977/32.png) [@nhaliasos](https://discourse.slicer.org/u/nhaliasos)\
**Post date:** [October 2, 2021, 2:16pm UTC](https://discourse.slicer.org/t/brain-white-matter-tissue-probability-map-as-mask-behaviour-of-pyradiomics/19969/1 "2021-10-02T14:16:54Z")

</div>

greetings to community,

i have a doubt:  
when i use spm12 to produce a brain white matter segmentation from a T1 MRI scan the image produced by spm has various intensities from 0 to 1 especially at the edges between the white and grey matter as it is a tissue probability. So when using this image as mask, how does pyradiomics behave with regards to which value of intensity to use for cut-off between the classes?  
Ideally the mask should be either 0 or 1 at each point.
