Hi there,
I am starting with 3D Slicer, using version 5.0.2. I did a segmentation on CT images and tried to process it using SegmentStatistics to get organ volumes.
I am running 3D Slicer on an AMD Ryzen 7 3700X with 32 GB RAM and an RTX 2700 Super GPU under Windows 11.
I got the following error. Does someone get the same error: Any clue about what’s happening?
Traceback (most recent call last):
File “C:\Users\1090\AppData\Local\NA-MIC\Slicer 5.0.2\bin\Python\slicer\util.py”, line 2830, in tryWithErrorDisplay
yield
File “C:\Users\1090\AppData\Local\NA-MIC\Slicer 5.0.2\lib\Slicer-5.0\qt-scripted-modules\SegmentStatistics.py”, line 206, in onApply
self.logic.computeStatistics()
File “C:\Users\1090\AppData\Local\NA-MIC\Slicer 5.0.2\lib\Slicer-5.0\qt-scripted-modules\SegmentStatistics.py”, line 455, in computeStatistics
self.updateStatisticsForSegment(segmentID)
File “C:\Users\1090\AppData\Local\NA-MIC\Slicer 5.0.2\lib\Slicer-5.0\qt-scripted-modules\SegmentStatistics.py”, line 484, in updateStatisticsForSegment
stats = plugin.computeStatistics(segmentID)
File “C:\Users\1090\AppData\Local\NA-MIC\Slicer 5.0.2\NA-MIC\Extensions-30822\PET-IndiC\lib\Slicer-5.0\qt-scripted-modules\PETVolumeSegmentStatisticsPlugin\PETVolumeSegmentStatisticsPlugin.py”, line 79, in computeStatistics
resultMap[feature]=float(newResult)
ValueError: could not convert string to float: ‘’