I thought it might be useful to add that the initial .w file is thresholded and does not contain values for all cerebral cortical regions. Thank you very much, Xavier. ________________________________________ From: hcp-users-boun...@humanconnectome.org [hcp-users-boun...@humanconnectome.org] on behalf of Xavier Guell Paradis [xavie...@mit.edu] Sent: Tuesday, September 12, 2017 2:05 PM To: hcp-users@humanconnectome.org Subject: [HCP-Users] Resampling freesurfer-HCP
Dear HCP experts, I have an overlay freesurfer file (format is .w) which corresponds to a task activity surface map (group result). I have one .w file for each cerebral hemisphere. I would like to visualize these maps using wb_view, and have tried to follow the instructions you published (https://wiki.humanconnectome.org/display/PublicData/HCP+Users+FAQ#HCPUsersFAQ-9.HowdoImapdatabetweenFreeSurferandHCP?). As a first step I would need to convert the .w files into .func.gii files using mris_convert. Then I would use wb_command -metric-resample, as indicated in your instructions. This does not seem to work with my .w file: 1) mris_convert myfile.w myfile.func.gii This generates myfile.func.gii, but when I use wb_command -metric-resample I get the following error: ERROR: Parse error while reading: error occurred while parsing element, line number: 1 column number: 1 2) As an alternative approach, I opened myfile.w using Tksurfer and saved the overlay (myfile.w) with .mgh format (generating a new file: "myfile.mgh"). Then I do the following: mris_convert myfile.mgh myfile.func.gii This generates the myfile.func.gii file, but when I use wb_command -metric-resample with this file I get a different error: ERROR: All data arrays (columns) in the file must have the same number of rows. The first array (column) contains 163842 rows. Array 2 contains 327680 rows. Thank you very much for your help, Xavier. _______________________________________________ HCP-Users mailing list HCP-Users@humanconnectome.org http://lists.humanconnectome.org/mailman/listinfo/hcp-users _______________________________________________ HCP-Users mailing list HCP-Users@humanconnectome.org http://lists.humanconnectome.org/mailman/listinfo/hcp-users