Hi, Are your masks the same size as your data? And what is your randomise command? All the best, Mark On 10 May 2013, at 11:13, Anna <[log in to unmask]> wrote: > Dear FSL-experts, > > > I defined ROI in native space for every subject (per "Create mask). Secondly, I flirted the brains and used the transformation matrix from brain registration to register my masks. Then I created a 4D-file with all masks using fslmerge and applied fslmaths to get the 'maximal' mask across the time. I've tried to use this mask for randomise, but I'm getting following error: > > Loading Data: ERROR: Program failed > > An exception has been thrown > Logic error:- detected by Newmat: index error: requested indices = 1, 9772 > > MatrixType = Rect # Rows = 24; # Cols = 9771 > > > I'm confused, because I can open my mask in fslview at the same time as the standard brain. Could you give me some idea, what's wrong? > > Best, > Anna