Re: [HCP-Users] Grayordinate data

2014-04-07 Thread David Van Essen
Hi Mahshid, Another approach might be for you to generate a 'foci' file based on the coordinates of your vertices of interest. Workbench supports foci files and projects them to the nearest surface vertices so that they stay 'glued' to the surface when viewed in different configurations. Unfo

Re: [HCP-Users] Grayordinate data

2014-04-07 Thread Timothy Coalson
Yes, though it takes a bit of doing currently. -metric-reduce with INDEXMAX gets you close to what you want, but you also need to mask out areas that are zero in all maps. We recently worked out how to do this for our own purposes with the currently available commands: -metric-reduce INDEXMAX on

Re: [HCP-Users] Grayordinate data

2014-04-07 Thread Mahshid Najafi
Thanks Tim, Everything worked, except putting all in one map. Even though I used overlap-logic CLOSEST, I could not make them as a gifti file with one map and the output is a gifti file with the same number of maps as the number of ROIs. Is it possible to somehow convert or merge all of maps in the

Re: [HCP-Users] Grayordinate data

2014-04-04 Thread Timothy Coalson
You could try using wb_command -surface-geodesic-rois, it will draw circular ROIs around vertices, as separate maps in a metric file. If you want them all in one map, the -overlap-logic option to that command, and the commands -metric-reduce, -metric-math and -metric-label-import may come in handy

Re: [HCP-Users] Grayordinate data

2014-04-04 Thread Mahshid Najafi
Thank you for your suggestions, The wb_command -cifti-seprate worked well. I have another question which is related to my question regarding uniofrmly spaced ROIs. I have saved the index of vertices in a text file which are distanced uniformly from each other and I know these are the vetices on wh

Re: [HCP-Users] Grayordinate data

2014-03-25 Thread Timothy Coalson
As to your first question, it may currently be easier to use wb_command -cifti-separate to get the different hemispheres and voxels (either by structure or all in a single file) as separate GIFTI/NIFTI files. The GIFTI files made this way have direct correspondence to vertices in the relevant .sur

Re: [HCP-Users] Grayordinate data

2014-03-25 Thread Glasser, Matthew
the CIFTI coordinates. Peace, Matt. From: Mahshid Najafi <mhs...@gmail.com> Date: Tuesday, March 25, 2014 at 12:51 PM To: "hcp-users@humanconnectome.org" <hcp-users@humanconnectome.org> Subject: [HCP-Users] Grayordinate data Hi, I have some problem

[HCP-Users] Grayordinate data

2014-03-25 Thread Mahshid Najafi
Hi, I have some problems in understanding the rfMRI_REST2_RL_Atlas_hp2000_clean.dtseries.nii data. I used wb_command -cifti-convert -to-gifti-ext rfMRI_REST2_RL_Atlas_hp2000_clean.dtseries.nii rest_gifti to convert CIFTI to gifti and used gifti toolbox to load data in the MATLAB. Q1: The size of