How to perform ROI analysis in the fMRI package SPM. More details about the commands can be found here: http://andysbrainblog.blogspot.com/2014/07/quick-and-efficient-roi-analysis-using.html
Note: Around the
1:10 mark, I take the average over only seven voxels, but divide by 8. That's because there is an extra cube in the lower left whose face isn't showing, and it was too difficult to point to it without the screen getting too busy. So just assume it doesn't exist