When preprocessing with fmriprep, the output BOLD images are masked and eyes signal is then removed but we need it to run bidsmreye. How to do it properly? Should we provide a custom mask or is it possible to not mask the BOLD?
Command used (and if a helper script was used, a link to the helper script or the command generated):
Hi @BastienCagna !
I think this masking with fmriprep is specifically due to the processing of the multi-echo data into an āoptimial combinationā timeserie . I donāt see this masking of fmriprep preprocessed image when dealing with single echo data. I will see what would be the correct workoutaround.
Well maybe the āeasiestā way would be to use the first echo, should you save it with the --me-output-echos argument and move it to the T1w space with antsApplyTransforms and the sub-SUB_ses-SES_task-TASK_run-RUN_from-boldref_to-T1w_mode-image_desc-coreg_xfm.txt transform.
DeepMReye needs to have the functional image coregistered with the T1w image.
Thank you all for your responses. We were able to test the proposed solution.
By using the --me-output-echos flag in fMRIPrep and then registering the outputs to the T1w space, we were able to run bidsmreye successfully. However, the subsequent registration to MNI space does not seem to be correct, as we obtain an incorrect final result for our two sessions. For this test, we used all three echoes in T1w space. Do you have any recommendations regarding which echo should be preferred? Our initial thought was to use the first echo because it appears to have a higher signal. How does bidsmereye manage them ?
We also have another question regarding the distinction between the training and testing sets in bidsmreye. For each session, we would like to use some of our BOLD runs (specifically our task-DME runs) as the training set, while using the remaining tasks as the testing set. Is this type of split possible within bidsmreye, and if so, what would be the recommended way to implement it?
Thus, we thought maybe it could probably be easier to directly use DeepMReye for our study. We will try to work on it again next week.
My initial thought to stay in the T1w space may be not great, the most straightforward way with bidsmreye would be to normalize directly the individual echo to the MNI space with fmriprep by concatenating the 2 transforms:
From what I understand, the new models need to be created with DeepMReye:
If you train deepMReye, or if you have eye-tracking training labels and the extracted eyeball voxels, consider sharing it to contribute to the pretrained model pool.