Traceback (most recent call last):
File "C:/Users/Lenovo/AppData/Roaming/NA-MIC/Extensions-28202/SlicerRadiomics/lib/Slicer-4.11/qt-scripted-modules/SlicerRadiomics.py", line 65, in setup
self._addCustomizationSection()
File "C:/Users/Lenovo/AppData/Roaming/NA-MIC/Extensions-28202/SlicerRadiomics/lib/Slicer-4.11/qt-scripted-modules/SlicerRadiomics.py", line 202, in _addCustomizationSection
self.featuresButtonGroup.setId(featureButtons[feature], self.features.index(feature))
AttributeError: 'dict_keys' object has no attribute 'index'
I wondered if I download and work on Stable Release version 4.10.1, would it be the same situation. And I could get results from it. Can I use this version instead of Nightly built or is nightly built necessary to get correct results?
2) My second problem is about 2D images. I'm also trying to use this module for feature extraction but I want to do it for 2D CT images. I load just one slice(axial) and when I run it (both in Nightly built and stable release), gives me 3D-based results( for example I want to obtain wavelet function and the programe gives me LLL-HHH...since it is 2D, it should be LL_HH..etc.) and also this is written in settings part of table:
{'distances': [1], 'additionalInfo': True, 'force2D': False, 'interpolator': 'sitkBSpline', 'resampledPixelSpacing': None, 'label': 1, 'normalizeScale': 1, 'normalize': False, 'force2Ddimension': 0, 'removeOutliers': None, 'minimumROISize': None, u'binWidth': 25.0, 'minimumROIDimensions': 2, u'correctMask': True, 'preCrop': False, u'symmetricalGLCM': True, 'resegmentRange': None, 'padDistance': 5}
Since I dont know how to use Phyton, I searched my options online and I tried to use manual command as force2D=true, but it didnt work. I wonder that did I use wrong command? or did I use it wrongly? what is the best option to get 2D feature extraction?
Feature calculation failed.
Traceback (most recent call last):
File "C:/Users/Lenovo/AppData/Roaming/NA-MIC/Extensions-28202/SlicerRadiomics/lib/Slicer-4.11/qt-scripted-modules/SlicerRadiomics.py", line 405, in onApplyButton
self.onFinished)
File "C:/Users/Lenovo/AppData/Roaming/NA-MIC/Extensions-28202/SlicerRadiomics/lib/Slicer-4.11/qt-scripted-modules/SlicerRadiomics.py", line 735, in runCLI
self.runCLIWithParameterFile(imageNode, maskNode, tableNode, parameterFile, callback)
File "C:/Users/Lenovo/AppData/Roaming/NA-MIC/Extensions-28202/SlicerRadiomics/lib/Slicer-4.11/qt-scripted-modules/SlicerRadiomics.py", line 773, in runCLIWithParameterFile
self._startCLI(firstRun=True)
File "C:/Users/Lenovo/AppData/Roaming/NA-MIC/Extensions-28202/SlicerRadiomics/lib/Slicer-4.11/qt-scripted-modules/SlicerRadiomics.py", line 531, in _startCLI
labelName, labelNode, label_idx, imageNode = self._labelGenerators.next()
AttributeError: 'itertools.chain' object has no attribute 'next'
Hello,
Traceback (most recent call last):
File "C:\Users\j.v.griethuysen\AppData\Roaming\NA-MIC\Extensions-28226\SlicerRadiomics\Lib\site-packages\radiomics\scripts\segment.py", line 68, in _extractFeatures
feature_vector.update(extractor.execute(imageFilepath, maskFilepath, label, label_channel))
File "C:\Users\j.v.griethuysen\AppData\Roaming\NA-MIC\Extensions-28226\SlicerRadiomics\Lib\site-packages\radiomics\featureextractor.py", line 271, in execute
boundingBox, correctedMask = imageoperations.checkMask(image, mask, **self.settings)
File "C:\Users\j.v.griethuysen\AppData\Roaming\NA-MIC\Extensions-28226\SlicerRadiomics\Lib\site-packages\radiomics\imageoperations.py", line 238, in checkMask
raise ValueError('Image/Mask datatype or size mismatch. Potential fix: enable correctMask, see '
ValueError: Image/Mask datatype or size mismatch. Potential fix: enable correctMask, see Documentation:Usage:Customizing the Extraction:Settings:correctMask for more information
--
You received this message because you are subscribed to the Google Groups "pyradiomics" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyradiomics...@googlegroups.com.
To post to this group, send email to pyrad...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyradiomics/7c14c5d8-e3a5-4133-abcc-89abac567192%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to pyradiomics+unsubscribe@googlegroups.com.