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  

|
January 14, 2014 05:09PM
Try this for another flavor:
Say your surface is SURF and the number of nodes on your surface is: N
#Create a constant
1deval -num $nn -expr '+5' > tt.1D.dset
#Find extrema with thresholds turned off
SurfExtrema -i SURF -input tt.1D.dset -hood 15 -thresh 0 -gthresh 0 -prefix isodist

The file isodist.ext.1D.dset contains a 1 for each node that represents the center of the ROI. You can grow the result if you like with:
ROIgrow -i SURF -roi_labels isodist.ext.1D.dset -roi_nodes isodist.ext.1D.dset -lim 15 -full_list -prefix isodist.grow

Keep in mind that the distance is computed geodesically (along the edges of the mesh), so the shortest geodesic distance between two nodes is an approximation of the shortest distance possible along the surface. But the result should be a decent approximation of what you want.

cheers,
Ziad
Subject Author Posted

Define Uniformly spaced ROIs on surface

Mahshid January 14, 2014 10:58AM

Re: Define Uniformly spaced ROIs on surface

ziad January 14, 2014 04:19PM

Re: Define Uniformly spaced ROIs on surface

ziad January 14, 2014 05:09PM

Re: Define Uniformly spaced ROIs on surface

Mahshid January 16, 2014 11:38AM

Re: Define Uniformly spaced ROIs on surface

ziad January 17, 2014 09:26AM

Re: Define Uniformly spaced ROIs on surface

Mahshid January 17, 2014 02:10PM

Re: Define Uniformly spaced ROIs on surface

nick January 15, 2014 06:45AM

Re: Define Uniformly spaced ROIs on surface

donna.dierker January 15, 2014 09:55AM

Re: Define Uniformly spaced ROIs on surface

Mahshid January 22, 2014 03:01PM