External Email - Use Caution        

Dear Freesurfers, 

I recently started working on an brain sMRI related project. I have a minor (may be a major) issue. 
when I generate label files for a tissue e.g midbrain by using the command 
mri_vol2label --c $SUBJECTS_DIR/bert/mri/brainstemSsLabels.v10.mgz --id 173
--l midbrain.label
 
 or in voxel space 
mri_vol2label --c $SUBJECTS_DIR/bert/mri/brainstemSsLabels.v10.FSvoxelSpace.mgz --id 173 --l midbrain1.label
👉Now I want to lad the label file and the MRI volume, brainstemSsLabels.v10 , in Matlab (I can do this by using MRIread function given in FSmatlab directory. the function read mri in a matlab struct, which along with other info also contain a 'vol' 3D data matrix)
👉 Using the coordinates given in label file, how to extract a specific slice, row, column from a matlab matrix? as the label file need some transformation, I dont know this part.

Any help shall be highly appreciated. 

Regards, 

Safi

Virus-free. www.avast.com