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.14k stars 492 forks source link

[FEATURE EXTRACTION] #771

Open BbankK opened 2 years ago

BbankK commented 2 years ago

Hi, Im pretty new to pyradiomics. I already have the 3D MRI image (mask is already applied) in the NumPy array using Nibabel lib. My goal is to extract glcm features from it. Is it possible to apply this library straight away and which function do I use to achieve it?

JoostJM commented 2 years ago

1) what do you mean by "mask already applied"? PyRadiomics accepts image and mask as 2 separate objects. 2) Yes this library can be incorporated into a pipeline, though it does not accept numpy arrays as input (these do not contain the geometric information such as spacing and direction. SimpleITK Image objects (or filepaths that can be read as such) are accepted 3) As to implementing this, check out de online documentation on pyradiomics.readthedocs.io, as well as the examples provided in the repository.

rodrigovimieiro commented 7 months ago

Check the alternative in this #576