Hi all,
I'm trying to run randomise on a TBSS anaysis using an ROI.
I have calculated the ROI with this procedure:
I got the mask of the UF using the atlas in tool then i runned
fslmaths Mask_Uncinate_fasciculus_L.nii.gz -thr 20 UF_20
fslmaths UF_20.nii.gz -bin UF_bin
fslmaths all_skel_KERNS.nii.gz -mul UF_bin.nii.gz MASK_UF_FA
then i run randomise with:
LTV_kerns_UF_mask]$ randomise -i all_skel_KERNS.nii.gz -o tbss -m MASK_UF_FA.nii.gz -d design_LTV_kerns.mat -t design_LTV_kerns.con -n 5000 --T2
but I get an error. Here is how appears the screen when I run randomise:
-----------------------------------------------
[mauro.bianchi@lnif-crunch LTV_kerns_UF_mask]$ randomise -i all_skel_KERNS.nii.gz -o tbss -m MASK_UF_FA.nii.gz -d design_LTV_kerns.mat -t design_LTV_kerns.con -n 5000 --T2
randomise options: -i all_skel_KERNS.nii.gz -o tbss -m MASK_UF_FA.nii.gz -d design_LTV_kerns.mat -t design_LTV_kerns.con -n 5000 --T2
Loading Data: ERROR: Program failed
An exception has been thrown
Logic error:- detected by Newmat: index error: requested indices = 1, 168
MatrixType = Rect # Rows = 57; # Cols = 167
Exiting
----------------------------------
the different skeletronised file it is because I have deleted some volumes from the all_FA_skeletonised.nii.gz and i saved it with a different name, however that procedure was correct and i have allready used mine "all_skel_KERNS.nii.gz" in another analysis without ROI and it was ok, so the problem is not there.
some one can help me?
Thanks!
|