- Load T:\3M3 Demodaten\GeneralTestingData\CT_LiverLarge_Mask_3D.pic.gz
- Load T:\3M3 Demodaten\Organsegmentierung (Daniel M.)\Pic3D.nrrd
- Select both images. -> CRASH
Description
Event Timeline
Tried to reproduce:
148.93 ERROR: Standard Exception: C:\MITK\Modules\ImageStatistics\mitkImageStatisticsCalculator.cpp:848:
itk::ERROR: ImageStatisticsCalculator(00000000164858E0): Mask needs to have same
spacing as image! (Image spacing: [1, 1, 3]; Mask spacing: [0.58594, 0.58594, 1
])
Message on the console, but no crash. Will try it with same spacing but no overlap.
Using a segmentation drawn on Pic3D and moved manually:
413.15 ERROR: Standard Exception: C:\MITK\Modules\ImageStatistics\mitkImageStatisticsCalculator.cpp:906:
itk::ERROR: ImageStatisticsCalculator(00000000164B58C0): Mask region needs to be
inside of image region! (Image region: ImageRegion (000000001821C5A0)
Dimension: 3 Index: [0, 0, 0] Size: [256, 256, 49]
; Mask region: ImageRegion (000000001821C980)
Dimension: 3 Index: [127, 0, 0] Size: [256, 256, 49]
)
Still no crash.
As no crash occurs I am reducing the severity of this bug. There still should be some kind of more obvious feedback.
[0e8883]: Merge branch 'bug-14604-Add-output-for-exceptions'
Merged commits:
2013-03-13 15:55:13 Caspar Goch [39c580]
Added error message text to the statistics thread for runtime errors and exceptions