Page MenuHomePhabricator

ImageStatisticsCalculator crashes on ignoring zero value voxels
Closed, ResolvedPublic

Description

The ImageStatistics bundle crashes once the ignore zero value voxel checkbox gets activated. Try with attached image!

Event Timeline

mersmann added a subscriber: mersmann.

Test Image

Tested with the attached image and several other images on current master clone. Works for me!

Sven is currently looking for another image, that might not work. If he cannot find one, we can close this bug.

new image

tested on my and alex's computer in the current MITK_extApp. Does not crash there. Assigning back to Sven.

Tested the bundle with the uploaded images and no crash occured (Win7, 64bit).

BUT when activating ignore zero voxel checkbox an error appear: "Error! Unequal Dimension of Image and Segmentation. No recompute possible". But no mask was loaded at all.

Maybe this was the reason why the ExtApp crashed on Sven's PC?!

[f1577f]: Merge branch 'bug-8308-ImageStatisticsCalculatorCrash'

Merged commits:

2011-06-29 16:10:02 Diana Wald [46cab3]
Added differentiation between 2D and 3D images for creating the required Mask when no mask was loaded.

Sven, could you please varify the fix. Does the change prevent your crash? If yes, please close this bug.

I checked the fix and it works now perfectly fine!
I'll close this bug.