help > niistat voxel level analysis error 'Array dimensions must match for binary array op.'
Showing 1-2 of 2 posts
Jan 11, 2018 07:01 PM | olivier godefroy - Amiens UNiversity hospital
niistat voxel level analysis error 'Array dimensions must match for binary array op.'
hi,
using niistat to perform VLSM analyses (using niistat and MatLab 2016b), it perfectly works when using template as RoI but not when performed at the level of voxel (i.e. RoI=0) and provides this error message;
does anyone have any idea of a good way to fix this Pb ?
many thanks
using niistat to perform VLSM analyses (using niistat and MatLab 2016b), it perfectly works when using template as RoI but not when performed at the level of voxel (i.e. RoI=0) and provides this error message;
does anyone have any idea of a good way to fix this Pb ?
many thanks
Jun 21, 2018 04:06 PM | Chris Rorden
RE: niistat voxel level analysis error 'Array dimensions must match for binary array op.'
For voxelwise analyses, all your images must be resliced to the
save resolution, bounding box and origin. I think if you install
the latest version it will provide a more verbose and clear error
message:
https://github.com/neurolabusc/NiiStat
https://github.com/neurolabusc/NiiStat