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 04, 2022 02:04PM
In suma, you can load other datasets including masks or atlases. You can either extract these from a dataset already mapped to the surface or map a new dataset to the surface. In the surface controller (ctrl-s), select "Load Dset". If the dataset is named with the current hemisphere, you will likely see it in the list; otherwise, change the filter at the top to be more liberal - like *.niml.dset. Change the coloring method from "Col" to "Con" to use contours instead. "C&C" is to do both. Combine other datasets with "1" turned off.

# extract an ROI by itself, and give the voxels a value of 1
3dcalc -a myatlas.nii.gz'<myROI>' -expr 'step(a)' -prefix myROI.nii.gz

# map the ROI to the surface from segment connecting smoothwm and pial surfaces
# use mode or nzmode here for statistic
3dVol2Surf -spec std.141.myspec.spec -surf_A std.141.rh.smoothwm.gii -surf_B std.141.rh.pial.gii \
-sv myanatvol.nii.gz -grid_parent myROI.nii.gz -gp_index -1 -map_func nzmode \
-f_steps 10 -f_index nodes -out_niml mymask.niml.dset

# optional cleanup irregular regular regions on smoothwm surface (should use one of the "anatomical" surfaces here)
SurfLocalstat -prefix ROI_cluster2mm -input mymask.niml.dset -stat mode -nbhd_rad 2 -i std.141.lh.smoothwm.gii

# inside suma, select mymask.niml.dset to color the surface (Ctrl-s), Dsp to set Colors/Contour/Both.



Edited 1 time(s). Last edit at 03/04/2022 02:08PM by Daniel Glen.
Subject Author Posted

Outline of an atlas area in SUMA? Attachments

wgraves March 03, 2022 05:00PM

Re: Outline of an atlas area in SUMA?

Daniel Glen March 04, 2022 02:04PM

Re: Outline of an atlas area in SUMA?

wgraves March 07, 2022 11:21AM

Re: Outline of an atlas area in SUMA?

ptaylor March 09, 2022 07:27AM