# Pyradiomics doesn't calculate features for all VOIs

**URL:** <https://discourse.slicer.org/t/pyradiomics-doesnt-calculate-features-for-all-vois/34454>\
**Category:** Radiomics\
**Tags:** pyradiomics\
**Created:** [February 21, 2024, 4:08pm UTC](https://discourse.slicer.org/t/pyradiomics-doesnt-calculate-features-for-all-vois/34454 "2024-02-21T16:08:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dhartez](https://avatars.discourse-cdn.com/v4/letter/d/9de0a6/32.png) [@Dhartez](https://discourse.slicer.org/u/Dhartez)\
**Post date:** [February 21, 2024, 4:08pm UTC](https://discourse.slicer.org/t/pyradiomics-doesnt-calculate-features-for-all-vois/34454/1 "2024-02-21T16:08:16Z")

</div>

Hi all,

I am having a little issue with pyradiomics in Slicer. Briefly, this is to extract features from CNN generated segmentations of two brain structures (bilaterally, so 4 segmentations / VOIs in total) on MRI.

When I load the MRI volume and the segmentation file, it looks good, only the light blue VOI isn’t fully recognized as a segmentation it seems:

 ![Screen1](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/7/972b96b2bd1ed0f59767d6f2e55b5b125f66e42f.jpeg)

But when I add it in the Segmentations module it looks fine:

 ![Screen2](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/4/240df37792f5e92a8eb0f0d31cfb825eeadc2ca3.jpeg)

However, when I run pyradiomics on it, features are only calculated for one of the four VOIs (the brown one):

 ![Screen3](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/2/6205f08bcf3f0331d852c31b3385db5ebb750e2b.jpeg)

Is there any explanation for this? I am also adding the python console output and the volume and segmentation files in the folder below (all deidentified of course):

> **[MedUni Wien ownCloud - Cloud Dienst auf Servern der MedUni Wien.](https://cloudius.meduniwien.ac.at/index.php/s/tRFmMXwUbacZE05)**
>
> Files wird öffentlich geteilt

Many thanks for your help!

P.S.: It works fine with a set of manual segmentations, so I assume it’s not directly a pyradiomics issue, but must have something to do with the segmentation.
