I tried this a couple months ago for generic ROIs:
[
afni.nimh.nih.gov]
For hemispheres, I just tried this with success:
@auto_tlrc -base TT_N27+tlrc -suffix None -input anat+orig
3dcalc -a anat+tlrc -expr 'a*ispositive(x)' -prefix lefthemi
3dcalc -a anat+tlrc -expr 'a*(iszero(ispositive(x)))' -prefix righthemi
3dLRflip -prefix righthemi_flip righthemi+tlrc.
3dAllineate -cmass -warp shift_rotate -base lefthemi+tlrc. \
-source righthemi_flip+tlrc. -prefix righthemi_flip_al2left \
-cost ls -source_mask lefthemi+tlrc -weight lefthemi+tlrc.
The tlrc dataset was created using the @auto_tlrc script. The aligned hemispheres are attached in a jpeg image.