Rick,
Good suggestion. I just tried the following 3dVol2Surf command with an -oob option (didn't use -oom option because I'm not using -cmask):
3dVol2Surf \
-spec CW_BVspec.spec \
-surf_A CW_anat_inhom_crop_SAG_TRF_TAL_LH_RECOSM.srf \
-sv CW_anat_bvalgnd+tlrc \
-grid_parent CW_RNPAallruns+orig'[0..221]' \
-map_func mask \
-outcols_NSDformat \
-oob_value 0.0 \
-out_niml CW_RNPAallruns_lh1.niml.dset
And, then I ran the following SurfSmooth command:
SurfSmooth \
-met HEAT_07 \
-spec CW_BVspec.spec \
-surf_A CW_anat_inhom_crop_SAG_TRF_TAL_LH_RECOSM.srf \
-input CW_RNPAallruns_lh1.niml.dset \
-blurmaster CW_RNPAallruns_lh1.niml.dset \
-detpoly_master 3 \
-output CW_RNPASallruns_lh1.niml.dset \
-target_fwhm 4 \
-cmask '-a CW_RNPAallruns_lh1.niml.dset -expr bool(a)' \
> r1_smooth_LH.1D
Unfortunately, this resulted in the following error (exactly the same as before):
** nodemax(+1) of 111634(+1) is larger than the forced_mask_length of 110648
-cmask datasets may be inappropriate for surface used
*** glibc detected *** free(): invalid pointer: 0x0097e800 ***
Abort (core dumped)
Any other suggestions? I'm at a loss here.
Thanks,
Adam