Data with 1mm voxel size

76 views
Skip to first unread message

Armin Allahverdy

unread,
Jun 12, 2024, 2:33:07 PMJun 12
to HCP-Users
Hi all
Can we use FreeSurfer pipeline of HCP for T1w and T2w images with 1mm voxel size? Because HCP data are originally in size of 0.7 mm voxel size.  

Glasser, Matthew

unread,
Jun 12, 2024, 2:34:38 PMJun 12
to hcp-...@humanconnectome.org

Yes, though accuracy in thin heavily myelinated cortex is reduced a bit.

 

You should change the input templates for PreFreeSurfer to 1mm instead of 0.7mm.


Matt.

--
You received this message because you are subscribed to the Google Groups "HCP-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hcp-users+...@humanconnectome.org.
To view this discussion on the web visit https://groups.google.com/a/humanconnectome.org/d/msgid/hcp-users/d5711952-eb73-4fb5-9a77-88f9249a8140n%40humanconnectome.org.

 


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.

Armin Allahverdy

unread,
Jun 13, 2024, 8:47:26 AMJun 13
to HCP-Users, glas...@wustl.edu
Thanks for your response, but I meant the freesurfer part, specifically the high-resolution white surface placement, where we must up-sample the 1mm resolution images to 0.7 mm resolution?
Can we skip this up-sampling step? If yes, how can we do?

Thanks in advance,
Armin

Glasser, Matthew

unread,
Jun 13, 2024, 1:15:29 PMJun 13
to Armin Allahverdy, HCP-Users

There is no mandatory upsampling step.

Armin Allahverdy

unread,
Jun 17, 2024, 3:51:00 PMJun 17
to HCP-Users, glas...@wustl.edu, Armin Allahverdy
I used following code to run freesurfer step without using up sampling to 0.7 mm, 
export HCPPIPEDIR=/home/all9kt/CINEPS2/CINEPS2Pipeline_N
. /home/all9kt/CINEPS2/CINEPS2Pipeline_N/Examples/Scripts/SetUpHCPPipeline.sh
export SUBJECTS_dIR=/home/all9kt/CINEPS2/studyfolder

export HCPPIPEDIR_Global=/home/all9kt/CINEPS2/CINEPS2Pipeline_N/global/scripts
export HCPPIPEDIR_Templates=/home/all9kt/CINEPS2/CINEPS2Pipeline_N/global/templates
export CARET7DIR=/home/all9kt/workbench/bin_linux64
source ${HCPPIPEDIR}/Examples/Scripts/SetUpHCPPipeline.sh
#SUBJECTS_dIR="/home/all9kt/CINEPS2/studyfolder"
SUBJECT_ID="sub-130"  # Change this to your subject ID

SUBJECT_Id="sub-130k1mm"


${HCPPIPEDIR}/FreeSurfer/FreeSurferPipeline.sh \
--subjectDIR="${SUBJECTS_dIR}" \
--subject="${SUBJECT_Id}" \
--t1="${SUBJECTS_dIR}/${SUBJECT_ID}/T1w/T1w_acpc_dc_restore.nii.gz" \
--conf2hires=FALSE \
--t2="${SUBJECTS_dIR}/${SUBJECT_ID}/T1w/T2w_acpc_dc_restore.nii.gz" \
--t1brain="${SUBJECTS_dIR}/${SUBJECT_ID}/T1w/T1w_acpc_dc_restore_brain.nii.gz"



but I faced to this Error:
~/CINEPS2/studyfolder/sub-130k1mm/mri ~
Mon Jun 17 15:28:00 EDT 2024:FreeSurferPipeline.sh: While running '/home/all9kt/CINEPS2/CINEPS2Pipeline_N/FreeSurfer/FreeSurferPipeline.sh --subjectDIR=/home/all9kt/CINEPS2/studyfolder --subject=sub-130k1mm --t1=/home/all9kt/CINEPS2/studyfolder/sub-130/T1w/T1w_acpc_dc_restore.nii.gz --conf2hires=FALSE --t2=/home/all9kt/CINEPS2/studyfolder/sub-130/T1w/T2w_acpc_dc_restore.nii.gz --t1brain=/home/all9kt/CINEPS2/studyfolder/sub-130/T1w/T1w_acpc_dc_restore_brain.nii.gz':
Mon Jun 17 15:28:00 EDT 2024:FreeSurferPipeline.sh: ERROR: Expected t2w_input_file: rawavg.T2.prenorm.mgz DOES NOT EXISTMon Jun 17 15:28:00 EDT 2024:FreeSurferPipeline.sh: ABORTING 


how can I solve this error?
I have to say when conf2hires is true, I wont face this issue.

Thanks in advance
Armin

Glasser, Matthew

unread,
Jun 24, 2024, 4:22:47 AMJun 24
to Armin Allahverdy, HCP-Users

Perhaps conf2hires is required to make the pipeline run currently.  I don’t think it is harmful on the 1mm data.

Reply all
Reply to author
Forward
0 new messages