You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wh_inmask is always a single column
inboth is multi-column when applying multiple masks and only its first column is included in the current code.
I tried replacing line 171 from
inmaskdat = logical(mask.dat);
to
inmaskdat = get_nonempty_voxels(mask);
but this leads to improper norms for the data the mask is applied on.
Maybe the best way would be to check if multiple masks and run apply_mask again for each individually.