You would need to map the ROIs onto the surface for the surface portion and into subcortical parcels for the subcortical portion.  You can use wb_command -volume-to-surface-mapping to map ROIs onto the surface and then you can use wb_command -cifti-create-dense-scalar <out.dscalar.nii> -volume <your subcortical volume ROIs> <${StudyFolder}/${Subject}/MNINonLinear/ROIs/Atlas_ROIs.2.nii.gz> -metric <your left surface mapped ROIs> <${StudyFolder}/${Subject}/MNINonLinear/ROIs/${Subject}.L.atlasroi.32k_fs_LR.shape.gii> -metric <your right surface mapped ROIs> <${StudyFolder}/${Subject}/MNINonLinear/ROIs/${Subject}.R.atlasroi.32k_fs_LR.shape.gii> 

Peace,

Matt.

From: <Hope>, Thomas <[email protected]>
Date: Wednesday, November 19, 2014 at 1:30 PM
To: "[email protected]" <[email protected]>
Subject: [HCP-Users] Projecting from Grayordinates to Nifti / Analyze voxels and vice versa

Hello all,

 

I have a set of ROIs, in MNI-space and nifti format – basically binary boxes where ‘1’ indicates the ROI. I’d like to use these masks to process some of the group-averaged rfMRI data, extracting activation time series and computing cross-correlations and so on. But I’m having trouble projecting either data-type onto the other.

 

HCP Data:

When I read the file:  <HCP_Q1-Q6_R468_rfMRI_groupPCA_d4500_Eigenmaps.dtseries.nii> into Matlab (using cifitopen), I get a 2D matrix which is ~92,000x4500 cells. As I understand (but please correct me I’m wrong), this matrix has ‘grayordinates’ as rows and time as columns.

 

ROIs:

My regions are in boxes, in MNI space of size [91,109,91]. These regions have been used as seeds for other analyses that don’t involve HCP data, so even though they may be ‘worse’ than the HCP data, in the sense that they don’t represent surface features explicitly, I’m not keen to dump them in favour of a more natively surface-including parcellation.

 

What I need to do, is work out what grayordinates go with what ROI (or vice versa). I either need to convert the HCP data into 4D (brain-box + time), or convert my brain-box ROIs into grayordinate vectors. I’ve searched the forum for answers here, and tried to convert the HCP files to nifti, but even allowing for the rather odd ‘wrapping’ of the voxels into 3 dimensions, I’m finding I can’t quite work the conversion out.

 

Can anyone help?

 

Many thanks,

 

Tom

 

Thomas Hope

 

Wellcome Trust Centre for Neuroimaging

Institute of Neurology
University College London
12 Queen Square
LONDON, WC1N 3BG

E-mail: [email protected]

Website: www.ucl.ac.uk/ploras

 

cid:image003.jpg@01CF4F52.C382B730     cid:image004.jpg@01CF4F52.C382B730

 

 

_______________________________________________
HCP-Users mailing list
[email protected]
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

 


The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

_______________________________________________
HCP-Users mailing list
[email protected]
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

Reply via email to