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  

|
March 12, 2013 10:02AM
Dear all,
I have to create ROIs for each individual. The idea being that people are different so they don't show activity in exactly the same spot. Is there a way by which I could do the following in a script:
1. Identify the peak voxel of a cluster, save its coordinates
2. Using those coordinates as the center and a given radius, insert a sphere in a blank dataset and save the dataset.

3droistat can tell the peak value through the -nzminmax option but doesn't tell the coordinates of the peak voxel.

I have already thresholded and clusterized each individual through a script.

I am not a linux guru but reasonably proficient at shell scripting and can improvise. Any pointers will help.
Thanks a lot!
Best regards,
Gaurav
Subject Author Posted

scripting roi creation

gauravm March 12, 2013 10:02AM

Re: scripting roi creation

rick reynolds March 12, 2013 10:44AM