You could do:
avwstats image -m
to extract the mean and:
avwstats image -v
to extract the number of voxels, and then multiply them together to get
the sum of all voxel intensities in the image.
Cheers, Mark.
Mark Woolrich.
Oxford University Centre for Functional MRI of the Brain (FMRIB),
John Radcliffe Hospital, Headington, Oxford OX3 9DU, UK.
Work: +44-(0)-1865-222713, Mobile: +44-(0)-7808-727745
Email: [log in to unmask]
On Wed, 3 Sep 2003, Xavier Chitnis wrote:
> Dear All,
>
>
>
> I suspect this is really simple but I can't immediately figure out how
> to do it...
>
>
>
> I would like to extract the sum of all voxel values within an image. I
> looked in avwstats but can't see something that would do exactly that.
>
>
>
> Any help would be much appreciated,
>
>
>
> Thanks
>
>
>
> Xavier Chitnis
>
>
>
>
|