#create 6mm ROI around peak task activation
3dUndump -prefix task_6mmROI -master ${pnum}_Anat_bc_ns.AB+tlrc. -srad 6 -orient RAI -xyz task_peak_xyz.txt
output of 3dBrickStat -count -non-zero task_6mmROI+tlrc. is 925 voxels.
#resample task ROI to resting state data
3dresample -master pc09.${pnum}_${RUN}_MEICA.spc.nii.gz -prefix resamp_${RUN}_taskROI -inset task_6mmROI+tlrc.
**Again, I would like all the ROIs to have the same number of voxels. Ideally that number would be in the 100-125 range. Thanks!