You can use a couple different ways to do this inside AFNI. 3dcalc, 3dOverlap, 3dBrickStat and 3dROIstats are all tools to get that information. See these links in previous message board postings for more information:
[
afni.nimh.nih.gov]
[
afni.nimh.nih.gov]