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  

|
Daniel Glen
March 22, 2006 05:51PM
How about creating spheres of whatever size at each cluster center of mass as your mask? Would that work for you? Do this for each cluster. If you want to make it more sophisticated, the spheres might be masked against the clusters too and possibly count the voxels also. You could progressively increase the size of the sphere until you get to the number of voxels you would like roughly.

3dcalc includes this example in the help.

7. Create a region-of-interest mask comprised of a 3-dimensional sphere.
Values within the ROI sphere will be labeled as '1' while values
outside the mask will be labeled as '0'. Statistical analyses can
then be done on the voxels within the ROI sphere.

The example below puts a solid ball (sphere) of radius 3=sqrt(9)
about the point with coordinates (x,y,z)=(20,30,70):

3dcalc -a anat+tlrc \
-expr 'step((9-(x-20)*(x-20)-(y-30)*(y-30)-(z-70)*(z-70))'\
-prefix ball
Subject Author Posted

constraining cluster size for 3dmaskave

Agatha March 22, 2006 05:19PM

Re: constraining cluster size for 3dmaskave

Daniel Glen March 22, 2006 05:51PM

Re: constraining cluster size for 3dmaskave

Agatha March 22, 2006 06:01PM

Re: constraining cluster size for 3dmaskave

Daniel Glen March 23, 2006 11:01AM

Re: constraining cluster size for 3dmaskave

Daniel Glen March 23, 2006 01:53PM