Confounds extraction from bold signal

Hello, I used fMRIPREP for preprocessing my bold images, the bold output is not perfectly registered to MNI space so I’m going to the registration again, just a quick question, Is that ok to remove the confounds from my signal and then apply for nonlinear registration on my bold images?

Hi @Mahsa,

Can you share the result of the original fMRIPrep registration, and your original fMRIPrep command? It is not ideal to perform registration again, as this involves data interpolation, which should be minimized.

Denoising, such as confound regression, should happen after all spatial normalization.

Best,
Steven

Here is my command, the result of registration for two different subject


singularity run -B /scratch --cleanenv fmriprep-21.0.1.simg mahsa96/V1Bids /mahsa96/V1Bids/derivatives participant --participant-label 1 2\
        --skip-bids-validation \
        --fs-no-reconall\
        --md-only-boilerplate \
        --fs-license-file /mahsa96/V1Bids/derivatives/license.txt \
        --bold2t1w-dof 12\
        --output-spaces MNI152NLin6Asym\
        -w /scratch/mahsa96/mywork1\
        --stop-on-first-crash\
        --nthreads 16

Hi @Mahsa,

This is not recommended, see here. Please try rerunning by dropping this flag, enabling the FreeSurfer workflow. The boundary based registration workflow works better than volume based registration.

You can also try using the default DOF of 6.

Best,
Steven

I tried all the variations you mentioned before, but I don’t get a better registration result.