[VoxBo] Getting region stats from the command line

Daniel Y Kimberg kimberg at mail.med.upenn.edu
Tue Apr 17 20:38:00 EDT 2007


Thad Polk wrote:
> Is there an easy way to get the average value (& other obvious descriptive
> statistics) from a region (specified from a mask) in a .cub?
>
> I looked at vbdumpstats but it doesn't seem to work on .cub files, but
> rather requires a full GLM.  vbregion seems close but doesn't output the
> average value and also lists all the regions it can find rather than the
> region specified by the mask.

Ridiculously, there's no straightforward way to do this.  The best way
is probably to convert the cub file to a 4D file with vb2tes and then
use sumrfx.  i.e.,

vb2tes my.cub my.tes
sumrfx -m mask my.tes

sumrfx is a horrible kludge written to provide some semi-random
summary stats on 4D files, it has very limited usefulness but is
helpful here.

dan


More information about the voxbo-general mailing list