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.