AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
May 30, 2012 08:36PM
If I've understood you correctly and you want a count of the number of occurrences of 1, 2, 3, ..., 10, etc then 3dhistog will give you what you want

For example, with a mask file containing 2 ROIs numbered 1 and 2 I get the following from 3dhistog:

++ 3dhistog: AFNI version=AFNI_2011_12_21_1014 (May 25 2012) [64-bit]
#Magnitude Freq Cum_Freq
0 900224 900224
1 876 901100
2 1529 902629

telling me that there are 876 voxels in ROI #1 and 1529 in ROI #2.
Subject Author Posted

Counting Voxels in a simple mask dset

Georgios May 30, 2012 07:20PM

Re: Counting Voxels in a simple mask dset

Colm Connolly May 30, 2012 08:36PM

Re: Counting Voxels in a simple mask dset

Georgios May 30, 2012 08:44PM

Re: Counting Voxels in a simple mask dset

Daniel Glen May 31, 2012 08:20AM

Re: Counting Voxels in a simple mask dset

Georgios June 01, 2012 01:39PM