@Joost,
When the verbosity is kept default setting of `WARNING`, I get no errors or notifications whatsoever. I just get an empty OrderedDict as a result without any messages.
However, when I set
radiomics.setVerbosity(logging.DEBUG)
I get the following message,
Calculating features with label: 1
Enabled images types: {'Original': {}}
Enabled features: {'firstorder': []}
Current settings: {'minimumROISize': None, 'normalizeScale': 1, 'preCrop': False, 'interpolator': 'sitkBSpline', 'binWidth': 25, 'verbose': True, 'minimumROIDimensions': 1, 'force2Ddimension': 0, 'label': 1, 'resampledPixelSpacing': None, 'additionalInfo': True, 'normalize': False, 'force2D': False, 'padDistance': 5, 'removeOutliers': None, 'distances': [1], 'resegmentRange': None, 'voxelBased': False}
Loading image and mask
Checking mask with label 1
Calculating bounding box
This message does not seem to be telling me what went wrong and why I am getting an empty orderedDict as a result. Or does it? I hope this answers your question of 'What is the output to the console?".
Do I need to do anything else or look some other place to see what the 'log' is telling me or what is written to the console? Is there any way I can see what is going wrong and preventing pyradiomics from giving me the calculated features?
I am trying to figure out what is going on and currently my theory is that the output.nrrd produced by plastimatch has incorrect dimensions. I have 136 slices of 512x512 pixels. The RTstruct file contains 17 different structures/contours. When I use plastimatch to convert the RTstruct to an nrrd, I get an nrrd that has dimensions 3x512x512x136. The dimensions seem off to me. Why 3 in the beginning? It should be 17 perhaps since I have 17 structures.
@AndrewFedorov: I tried to open the nrrd files with 3dSlicer, and I see the slices but not the RTstructs which again makes me think that the problem is with the RTstruct file produced by plastimatch, though I do not know how to fix it. I posted a question on plastimatch forum, and am hoping that I will find a solution there. Other things I am trying:
a) I am asking the 3d slicer forum for step-by-step instructions on how to conert RTstruct file to an nrrd. (as I find 3d slicer confusing)
b) I will try to manually (without using plastimatch) generate my own nrrd files with pynrrd from the numpy arrays that represent the masks and see if that helps me avoid running into this empty dictionary issue. I already tried this with a slice and a corresponding mask file but had the exact same issue as above even though the dimensions were not weird like above. I will see if generating many slices to make a 3d structure will improve things.