Page MenuHomePhabricator

Gibbs Tracking computes also outside of a mask if the dimensions do not fit
Closed, ResolvedPublic

Description

Situation 1

MaskImage : 96x96x30 placed in the middle of the DTI image 96x96x50
The geometry of the images is the same, but the origin (and dimension differs)
GibbsTracking started with this mask produces results also in the top/bottom regions not covered by the mask

Situation 2:

MaskImage : 96x96x50 - created by '0'-padding from the MaskImage above
GibbsTracking works as expected.

The geometry and dimensionality checks are missing. One possibility is also to pad the mask image manually to fit the dimensions of the DTI image in case that they have the same geometry.

Event Timeline

New remote branch pushed: bug-14414-DontDoGibbsOutsideOfMask

Peter, what is the status here? Can the bugfix branch be merged into master?

I have checked it on my data. It works now, i.e. the fibers remain inside the mask. So you can merge the branch into master.

[c4ca6b]: Merge branch 'bug-14414-DontDoGibbsOutsideOfMask'

Merged commits:

2013-03-12 13:16:50 Peter Neher [950591]
setting value outside of mask to 0 instead of 1