View Issue Details

IDProjectCategoryView StatusLast Update
0001517Slicer4Module EMSegmentpublic2011-11-06 19:46
Reporterpohl Assigned Topohl  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSUbuntu OS Version11.10
Product VersionSlicer 4.0.0 
Target VersionSlicer 4.0.0Fixed in VersionSlicer 4.0.0 
Summary0001517: Preprocessing returns inconsistent scalar volume
Description

vtkImageMathematics (0x1ab45e60): Execute: input2 ScalarType, 4, must match output ScalarType 11\n\n") at /software/Slicer4/Slicer4-SuperBuild/CTK/Libs/Core/ctkErrorLogModel.cpp:403

Steps To Reproduce

1 Step: Load MRI Human Brain Sample Data
2 Step: Select EMSegmenter
Select Hum Brain Task
Press Button Simple
3 Step : Select MRI Head and press segment

Additional Information

% ulimit -c unlimited
% ./Slicer-build/Slicer
% gdb ./Slicer-build/bin/SlicerQT-real core

[Thread debugging using libthread_db enabled]
Core was generated by `/software/Slicer4/Slicer4-SuperBuild/Slicer-build/bin/./SlicerQT-real'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f181f89d468 in ctkVTKErrorLogMessageHandler::setEnabledInternal (this=0xb932a0, value=false)
at /software/Slicer4/Slicer4-SuperBuild/CTK/Libs/Visualization/VTK/Core/ctkVTKErrorLogMessageHandler.cpp:180
180 d->SavedVTKOutputWindow->Delete();
(gdb) where
#0 0x00007f181f89d468 in ctkVTKErrorLogMessageHandler::setEnabledInternal (this=0xb932a0, value=false)
at /software/Slicer4/Slicer4-SuperBuild/CTK/Libs/Visualization/VTK/Core/ctkVTKErrorLogMessageHandler.cpp:180
0000001 0x00007f181dd59700 in ctkErrorLogAbstractMessageHandler::setEnabled (this=0xb932a0, value=false)
at /software/Slicer4/Slicer4-SuperBuild/CTK/Libs/Core/ctkErrorLogModel.cpp:94
0000002 0x00007f181dd59fa7 in ctkErrorLogModel::setMsgHandlerEnabled (this=0xb8ff60, handlerName=..., enabled=false)
at /software/Slicer4/Slicer4-SuperBuild/CTK/Libs/Core/ctkErrorLogModel.cpp:228
0000003 0x00007f181dd5a3a0 in ctkErrorLogModel::setAllMsgHandlerEnabled (this=0xb8ff60, enabled=false)
at /software/Slicer4/Slicer4-SuperBuild/CTK/Libs/Core/ctkErrorLogModel.cpp:273
0000004 0x00007f181dd5a2f6 in ctkErrorLogModel::disableAllMsgHandler (this=0xb8ff60)
at /software/Slicer4/Slicer4-SuperBuild/CTK/Libs/Core/ctkErrorLogModel.cpp:264
0000005 0x00007f181dd5b0df in ctkErrorLogModel::addEntry (this=0xb8ff60, logLevel=ctkErrorLogModel::Error, origin=...,
text=0x7f17f80028f0 "ERROR: In /software/Slicer4/Slicer4-SuperBuild/VTK/Imaging/vtkImageMathematics.cxx, line 438\nvtkImageMathematics (0x1ab45e60): Execute: input2 ScalarType, 4, must match output ScalarType 11\n\n") at /software/Slicer4/Slicer4-SuperBuild/CTK/Libs/Core/ctkErrorLogModel.cpp:403
0000006 0x00007f181f89ceee in (anonymous namespace)::ctkVTKOutputWindow::DisplayErrorText (this=0xb7e020,
text=0x7f17f80028f0 "ERROR: In /software/Slicer4/Slicer4-SuperBuild/VTK/Imaging/vtkImageMathematics.cxx, line 438\nvtkImageMathematics (0x1ab45e60): Execute: input2 ScalarType, 4, must match output ScalarType 11\n\n")
at /software/Slicer4/Slicer4-SuperBuild/CTK/Libs/Visualization/VTK/Core/ctkVTKErrorLogMessageHandler.cpp:77

Output Volume: /tmp/Slicer/fn864476537GGnXsc_vtkMRMLScalarVolumeNode15.nrrd
Pixel Type: short
Interpolation: Linear
Background Value: 0
Warp by Deformation Volume: /tmp/Slicer/fn945583536Ido94z_vtkMRMLScalarVolumeNode18.nrrd

TCL: ReadDataFromDisk: Try to read /tmp/Slicer/fn864476537GGnXsc_vtkMRMLScalarVolumeNode15.nrrd
TCL: Resampling atlas image 4 ...
Background level guess :
first place: 0 (99.8307%)
second place: 1 (0.0658017%)
Guessed background level: 0
TCL: Guessed background level: 0.0
TCL: Resampling image ...
TCL: with BRAINSResample using the Deformation Field
TCL: ==========================================
TCL: == Resample Image CLI
TCL: ==========================================
TCL: Create file: /tmp/Slicer/fn2037054672HSOpk9_vtkMRMLScalarVolumeNode6.nrrd
TCL: Create file: /tmp/Slicer/fn1953775746tUNouu_vtkMRMLScalarVolumeNode11.nrrd
TCL: Create file: /tmp/Slicer/fn323605117uW5ilY_vtkMRMLScalarVolumeNode16.nrrd
TCL: Executing /software/Slicer4/Slicer4-SuperBuild/Slicer-build/lib/Slicer-4.0/cli-modules//BRAINSResample --inputVolume "/tmp/Slicer/fn2037054672HSOpk9_vtkMRMLScalarVolumeNode6.nrrd" --referenceVolume "/tmp/Slicer/fn1953775746tUNouu_vtkMRMLScalarVolumeNode11.nrrd" --deformationVolume "/tmp/Slicer/fn945583536Ido94z_vtkMRMLScalarVolumeNode18.nrrd" --outputVolume "/tmp/Slicer/fn323605117uW5ilY_vtkMRMLScalarVolumeNode16.nrrd" --defaultValue "0.0" --pixelType short --interpolationMode Linear
TCL: =====================================================
Input Volume: /tmp/Slicer/fn2037054672HSOpk9_vtkMRMLScalarVolumeNode6.nrrd
Reference Volume: /tmp/Slicer/fn1953775746tUNouu_vtkMRMLScalarVolumeNode11.nrrd
Output Volume: /tmp/Slicer/fn323605117uW5ilY_vtkMRMLScalarVolumeNode16.nrrd
Pixel Type: short
Interpolation: Linear
Background Value: 0
Warp by Deformation Volume: /tmp/Slicer/fn945583536Ido94z_vtkMRMLScalarVolumeNode18.nrrd

TCL: ReadDataFromDisk: Try to read /tmp/Slicer/fn323605117uW5ilY_vtkMRMLScalarVolumeNode16.nrrd
TCL: Atlas-to-target registration complete.
TCL: ==========================================
TCL: == Update Intensity Distribution
TCL: ==========================================
{Minimum: 0.0 1e+299 1e+299}

TCLAuto: ========== EMSegmentGaussCurveCalculation ===============
TCLAuto: Warning: CutOffProbability was specified to be above 95.0% of the voxels in the ROI ! However even just refining computation to voxels with probability 1 results in lower CutOffProbability or not enough samples were taken (min: 10 count: 4301046) ! Set CutOffProbability to 42.80 %
TCLAuto: =========================================================
error: [/software/Slicer4/Slicer4-SuperBuild/Slicer-build/bin/./SlicerQT-real] exit abnormally - Report the problem.

TagsNo tags attached.

Activities

pohl

pohl

2011-11-03 10:57

developer   ~0003246

Execute the following test
ctest -V -R EMSegCL_Task_BRAINS_MRIHumanBrain_scalartype_float_very_small

pohl

pohl

2011-11-03 12:58

developer   ~0003248

checked in

http://viewvc.slicer.org/viewvc.cgi/Slicer3?view=revision&revision=16903
and http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=18583

pohl

pohl

2011-11-06 19:46

developer   ~0003269

resolved with bug fix http://na-mic.org/Mantis/view.php?id=1524

Issue History

Date Modified Username Field Change
2011-11-02 08:53 pohl New Issue
2011-11-02 08:53 pohl Status new => assigned
2011-11-02 08:53 pohl Assigned To => pohl
2011-11-03 10:57 pohl Note Added: 0003246
2011-11-03 12:58 pohl Note Added: 0003248
2011-11-06 19:46 pohl Note Added: 0003269
2011-11-06 19:46 pohl Status assigned => closed
2011-11-06 19:46 pohl Resolution open => fixed
2011-11-06 19:46 pohl Fixed in Version => Slicer 4.0 RSNA