在运行helloRadiomicsWithSettings文件时出现arrays used as indices must be of integer (or boolean) type问题解决方式
新运行程序时出现以下问题:
Traceback (most recent call last):
File “F:/python_program/pyradiomics-master/examples/helloRadiomicsWithSettings.py”, line 52, in
featureVector = extractor.execute(imageName, maskName)
File “F:\python_program\for_env\lib\site-packages\radiomics\featureextractor.py”, line 327, in execute
featureVector.update(self.computeFeatures(inputImage, inputMask, imageTypeName, **inputKwargs))
File “F:\python_program\for_env\lib\site-packages\radiomics\featureextractor.py”, line 514, in computeFeatures
for (featureName, featureValue) in six.iteritems(featureClass.execute()):
File “F:\python_program\for_env\lib\site-packages\radiomics\base.py”, line 185, in execute
self._calculateSegment()