Hi Sandra,
Voting does not seem like a good idea, since voxels will not have the same values
(since it's a probability mask), unless there is a region where they are all 1. And your
clip at 0.8 for the gray matter makes it even less likely to work.
What you might do is either use linear (or whatever) interpolation in forming the new
grid, and then threshold to form a binary mask, or else make the binary mask first. I
suggest the former.
3dresample -master subj2_ER_TR_shft+orig \
-input subj2_MP_algntoEP_shft_ns_gm_short+orig \
-prefix subj2_MP_algntoEP_shft_ns_gm3mm_orig \
-rmode Li
3dcalc -a subj2_MP_algntoEP_shft_ns_gm3mm_orig+orig -expr 'step(a-0.8)' -prefix gray.mask.3mm
- rick
Edited 1 time(s). Last edit at 05/18/2012 04:36PM by rick reynolds.