Hi AFNI users,
I am interested in "constricting" an ROI mask (single blob). There was a previous post on dilating a blob mask with:
3dcalc -a mask+orig \
-b a+i -c a-i -d a+j -e a-j -f a+k -g a-k \
-expr 'or(a,b,c,d,e,f,g)' -prefix maskplus -nscale
Is there a corresponding, presumably related, 3dcalc command to constrict the ROI?
My goal is to constrict white matter segmentation masks to improve partial voluming before applying the masks to fractional anisotropy data (from AFNI!).
Thanks for your time and help.
Brian