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
Be aware that .jpg has no geometrical information (like pixel spacing). This may result in incorrect values for certain features (especially shape features).
I am unable to extract GLRLM features using the PyRadiomix library for a .jpg file. It has a mask input, which is not clear to me.
I have used below code
import SimpleITK as sitk
from radiomics import glrlm
from radiomics import featureextractor
image = sitk.ReadImage('D:\Desert.jpg', sitk.sitkInt8)
extractor = featureextractor.RadiomicsFeatureExtractor()
extractor.disableAllFeatures()
extractor.enableFeatureClassByName('glrlm')
result = extractor.execute(image, ******)
What will be the 'maskFilepath' input at the last line as a second argument of the execute method?