External Email - Use Caution        

Hi Doug,

 

Thank you for the explanation. It explains everything 😃

 

Cheers,

Dev

 

From: freesurfer-boun...@nmr.mgh.harvard.edu 
<freesurfer-boun...@nmr.mgh.harvard.edu> On Behalf Of Douglas N. Greve
Sent: Thursday, March 25, 2021 7:10 AM
To: freesurfer@nmr.mgh.harvard.edu
Subject: Re: [Freesurfer] mri_label2vol - Questions about label file and 
missing voxels?

 

 

On 3/23/2021 4:54 PM, Devavrat Vartak wrote:

        External Email - Use Caution        

Hello freesurfer experts, 

 

I am using mri_label2vol to convert my surface drawn label (of functional 
activity) to functional space (nifti) for more analysis (prf).

 

When I open the label file in text editor - it shows two lines at the top

#!ascii label  , from subject  vox2ras=TkReg

1287

 

1) Does the number 1287 represent selected voxels or does it represent 
something else?

It is the number of points in the label



 

I use the following command to convert:

 

mri_label2vol --subject sub-01 --hemi lh --label CustomLabel/lh.V1.label 
--regheader /sub-01/mri/orig.mgz --temp 
/sub-01/ses-1/mri_files/func_ref_file.nii.gz --o /prfdata/prfroi_mask/lh.V1.nii 
--fillthresh .3 --proj frac 0 1 .1

2) When I load the nifti file in python, I do not get 1287 voxels, I get only 
~300 voxels. Why do I get so few voxels ? 

You mean 300 active voxels, right? There should be as many voxels as in 
func_ref. Probably func_ref has a much larger voxels size, so there are fewer 
voxels.



Any help is appreciated.

Cheers,

Dev

 

 

 


 





_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu <mailto:Freesurfer@nmr.mgh.harvard.edu> 
https://secure-web.cisco.com/152tcxqxkQPxMUYcImdq6mTGNjaxj-bQ3o-SDfOfMSv5DsZ1wlKOQq618RyQ-9QjgcM2eLv0Y8P25sksxCzS3tg5Z-Fy5mcbeECYJPOktE5gcIT16Ud71b4RylHJCajHCfOXhMGfsXfhr7XasuZKPFksDodYeT8BfsvpKc__CzQArtQ0m_om_tlRZbp5C6IcZMl6IUV_nhPslTU1k1KJZ_2PySylSA4yyRIHw_0ZHHnwwtWBvxke0Pg1uokADVp3opfHs0DOQCWytl7d1G-Rqgg/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer

 

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to