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.15k stars 494 forks source link

MemoryError while running feature extraction #881

Open amitjc opened 3 months ago

amitjc commented 3 months ago

Describe the bug Dear Experts, I am trying run feature extraction from HCC CT images. However, executing pyradiomics "path\to\image.nii" "path\to\mask.nrrd" --out-dir "path\to\Radiomics" --mode voxel --log-file path\to\run_21.6.24.txt fails with a MemoryError.

PyRadiomics configuration Pyradiomics_Params.txt

PyRadiomics log file run_21.6.24.txt

To Reproduce Steps to reproduce the behavior: pyradiomics "path\to\image.nii" "path\to\mask.nrrd" --out-dir "path\to\Radiomics" --mode voxel --log-file path\to\run_21.6.24.txt

Version:

Additional context Please guide to address this error. Please advice whether the used syntax and arguments are optimal for feature extraction from CT scan. Is there a way to save the resampled image and mask as well as LoG and wavelet transformed images?