Hello everyone, I am working with radiomics and want to use RadiomicsGLCM to extract feature. I want to extract glcm from brain tumor which will be segmented by mask.
Here is my code:
img = sitk.ReadImage(path)
mask = sitk.ReadImage(path) #images are png format
glcm = radiomics.RadiomicsGLCM(img,mask,force2D=2)
But I got an error: min() arg is an empty sequence
Please help me with this problem! Thank u so much in advance!