# Extract features using pyRadiomis

**URL:** <https://discourse.slicer.org/t/extract-features-using-pyradiomis/4977>\
**Category:** Development\
**Tags:** dicom, radiomics\
**Created:** [December 5, 2018, 7:23pm UTC](https://discourse.slicer.org/t/extract-features-using-pyradiomis/4977 "2018-12-05T19:23:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![camelia](https://avatars.discourse-cdn.com/v4/letter/c/a698b9/32.png) [@camelia](https://discourse.slicer.org/u/camelia)\
**Post date:** [December 5, 2018, 7:23pm UTC](https://discourse.slicer.org/t/extract-features-using-pyradiomis/4977/1 "2018-12-05T19:23:37Z")

</div>

Hello everyone !

I’m trying to use pyRadiomics to extract features on a brain tumor from DICOM images in Python.  
pyRadiomics doesn’t accept dicom as an input.

I’m using SimpleITK to read the dcm images but I can’t do the features extraction when I use the “execute” function from featureextractor, because I need the maskFilePath(label map)

Does someone succeed to extract the features from dicom images using pyRadiomics ?

Thanks a lot in advance !  
Camelia

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [December 6, 2018, 2:38pm UTC](https://discourse.slicer.org/t/extract-features-using-pyradiomis/4977/2 "2018-12-06T14:38:12Z")

</div>

Hi @camelia -

Once you have the dicom data loaded in Slicer or in SimpleITK you can save to any itk-compatible format and load in PyRadiomics.

PyRadiomics specific questions can go to the google group:  
[https://groups.google.com/forum/#!forum/pyradiomics](https://groups.google.com/forum/#!forum/pyradiomics)

Best,  
Steve
