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  

|
December 16, 2015 04:13PM
Hi-

This is probably not the most elegant way to visualize the results, but this works.

The spec file is used to define various states and groups of surfaces to view together. Here, I've made a spec file to view the L- and R- hemispheres of smoothed WM from the standard TT template set along with your *.py file in the same space. Because of path oddness within the spec file, you will have to copy some files from the suma_TT_N27 file to your working directory that contains your chosen file of interest (ply_paths.ply).

So, this will copy the two surfaces and their node labels to your 'current' directory:
$ cp ~/.afni/data/suma_TT_N27/?h.smoothwm.gii .
$ cp ~/.afni/data/suma_TT_N27/?h.aparc.a2009s.annot.niml.dset .

You should then open a blank text file in your current working directory, copy and paste the following there, and then save it as "COMBO.spec":
        Group = TT_N27_plus

        StateDef = smoothwm_plus

NewSurface
        SurfaceFormat = ASCII
        SurfaceType = GIFTI
        SurfaceName = lh.smoothwm.gii
        LocalDomainParent = SAME
        SurfaceState = smoothwm_plus
        EmbedDimension = 3
        Anatomical = Y
        LabelDset =  lh.aparc.a2009s.annot.niml.dset

NewSurface
        SurfaceFormat = ASCII
        SurfaceType = GIFTI
        SurfaceName = rh.smoothwm.gii
        LocalDomainParent = SAME
        SurfaceState = smoothwm_plus
        EmbedDimension = 3
        Anatomical = Y
        LabelDset =  rh.aparc.a2009s.annot.niml.dset

NewSurface
        SurfaceFormat = ASCII
        SurfaceType = Ply
        SurfaceName = ply_paths.ply
        LocalDomainParent = SAME
        SurfaceState = smoothwm_plus
        EmbedDimension = 3
        Anatomical = Y

Now, you are all set to go. You can open/view this as:
$ suma -spec COMBO.spec &
and/or you could add '-vol SOME_FILE' to this if you wanted to view a volume file additionally.

Here are a couple of (hopefully viewable) screenshots, one showing the "walnut brain"ability of opening the smooth WM cortices, and the other of using CTRL+o to turn the smooth WM cortices semi-transparent:
[afni.nimh.nih.gov]
[afni.nimh.nih.gov]

--pt
Subject Author Posted

Displaying 3d ROI in SUMA

archerdb December 09, 2015 03:46PM

Re: Displaying 3d ROI in SUMA

ptaylor December 09, 2015 05:22PM

Re: Displaying 3d ROI in SUMA

archerdb December 10, 2015 09:18AM

Re: Displaying 3d ROI in SUMA

ptaylor December 10, 2015 09:37AM

Re: Displaying 3d ROI in SUMA

archerdb December 10, 2015 10:23AM

Re: Displaying 3d ROI in SUMA

ptaylor December 10, 2015 10:50AM

Re: Displaying 3d ROI in SUMA

archerdb December 10, 2015 01:01PM

Re: Displaying 3d ROI in SUMA

ptaylor December 10, 2015 06:15PM

Re: Displaying 3d ROI in SUMA

archerdb December 11, 2015 03:19PM

Re: Displaying 3d ROI in SUMA

ptaylor December 11, 2015 05:08PM

Re: Displaying 3d ROI in SUMA

archerdb December 14, 2015 09:41AM

Re: Displaying 3d ROI in SUMA

ptaylor December 14, 2015 10:42AM

Re: Displaying 3d ROI in SUMA

archerdb December 14, 2015 11:56AM

Re: Displaying 3d ROI in SUMA

ptaylor December 14, 2015 12:35PM

Re: Displaying 3d ROI in SUMA

archerdb December 15, 2015 02:15PM

Re: Displaying 3d ROI in SUMA

ptaylor December 16, 2015 04:13PM

Re: Displaying 3d ROI in SUMA

archerdb December 16, 2015 05:41PM