AIM-Harvard / pyradiomics

Open-source python package for the extraction of Radiomics features from 2D and 3D images and binary masks. Support: https://discourse.slicer.org/c/community/radiomics
http://pyradiomics.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.11k stars 485 forks source link

[FEAT EXTRACTION] Same data coming from different data labels #879

Closed limichael2004 closed 3 weeks ago

limichael2004 commented 3 weeks ago

Hi, I am not sure if anyone has experienced this before. I am using pyradionomics to extract data from different ROI defined by total segmentator. However, I am getting the exact same data for the various ROI.

I have simplified it manually and am still getting the same issue; for example pyradiomics Rawimage.raw.nii.gz Maskimage.ml.nii.gz --label 107 (#this is heart label from total segmentator) --param path/to/final.yaml -o output_heart.csv

will give the same data on the csv as pyradiomics Rawimage.raw.nii.gz Maskimage.ml.nii.gz --label 4(#this is aortalabel from total segmentator) --param path/to/final.yaml -o output_aorta.csv

i am having trouble identifying where the issue is coming from, has anyone ever experienced this or can provide input, thanks!

limichael2004 commented 3 weeks ago

It was from a deprecated command; needed to use setting "label:$label"