-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed normalization of BOLD into MNI space #2393
Comments
Hi, I got similar issues for some subjects. Did you check how is the registration from the functional space to the T1w image? You can look at it from the temporary files generated by nipype or directly by asking fmriprep to get output in the T1w space in addition to the MNI space (--output-spaces T1w MNI152NLin2009cAsym). |
Hey, thank you very much for the quick reply! crash-20210411-151153-root-autorecon2_vol-67b85c1c-9a7f-47e6-a226-302b3b3a27d5.txt |
Hi, your error log looks like a FreeSurfer error, which may or may not be related to your normalisation issue. |
Hey, we use a fieldmap in the map-directory. |
Maybe there is a problem in the T1w brain masking procedure. Did you see anything wrong with the brainmask of the T1w image? |
The brainmask of the T1w looks perfectly normal. The bainmask of the BOLD-image, however, is totally distorted. |
The thing with the brain mask is logic and reflects that the normalisation of the bold images failed along the way. It discards the fact that the bold-2-T1w registration may have failed due to a poor T1w brain masked image. You should look at the temporary files generated by fmriprep to see at which stage the normalization process went wrong. |
My system has deleted the /tmp directory automatically, I will rerun the analysis and let you know. "You mean that the HTML report looks totally normal?" Exactly! The wanring in FSLeyes tells "Displaying images with different orientation/fields of view!" |
Don't forget the option: to be sure to save the intermediate results. |
Hey, However, the distortion can be seen in the bold_std_trans_wf node. Both t1w_brain and final_boldref_wf look fine. bold reg_reg_wf doesn't store any *.nii file in the respective directory. There is a second thing, that might be of interest: As our MPRAGE has a size of >256mm we have to reduce the size of the image in using fsl in bash: |
Hi, Could you check bold_to_t1w_transform/bold_to_t1w_transform and the look of the bold volumes in there? These are bold volumes in the T1w space after linear registration. |
Hey, we changed the FOV of the T1w-image and, thus, didn't have to crop the image. However, the normalization-results looked identical. |
Hi nipreps-team, We observe failed normalization of BOLD images into MNI space, very similar to Christian who started this thread (actually, he pointed us to look after it, many thanks!). The fmriprep htmls look also good. Using an external viewer however, where we overlay the subject's structural in MNI space with the normalized BOLD image shows similar deviation as in Christian's images. The problem appears with fMRIPrep 20.2.0, while normalization worked clearly better with version 20.0.6 (see image below). The fmriprep.toml file and the html output is provided via my googledrive: https://drive.google.com/drive/folders/1SzL-8SKPj1NHv-JMJt5NzS7VtgWRa12Q?usp=sharing Code to execute fmriprep: |
@ChristianNSchmitz and @julfou81 please confirm this issue has been resolved in the latest two releases (20.1.4 and 20.2.2, depending on the series you are locked in) and reopen if necessary. Further conversation can be centralized #2451 and #2452 if it is not to inform that this bug has not been resolved on your data. |
The structarray was used directly and the extra axis actually changed the order of operations when the direction cosines were scaled by the voxel sizes. A new test case has been added for which this error was apparent. This bug caused nipreps/fmriprep#2307, nipreps/fmriprep#2393, and nipreps/fmriprep#2410. nipreps/fmriprep#2444 just works around the problem by using ``lta_convert`` instead of *NiTransforms*. The ``lta_convert`` tool can be now dropped. Resolves: #125
Dear niprep-team,
we've stumbled accross poor MNI normalizations for our functional images (see images below) using fMRIPrep versions 20.1.1 on docker. This bug seems to be quite similar to #2307
You can find example images attached:
What version of fMRIPrep are you using?
Version 20.1.1
What kind of installation are you using? Containers (Singularity, Docker), or "bare-metal"?
Docker
What is the exact command-line you used?
Have you checked that your inputs are BIDS valid?
Yes, using bids-validator
Did fMRIPrep generate the visual report for this particular subject? If yes, could you share it?
Shared with nipreps@gmail.com on my Google Drive under 'fMRIPrep'
Can you find some traces of the error reported in the visual report (at the bottom) or in crashfiles?
fMRIPrep finished without any errors but produced a poor MNI normalization of functional images. However, structural images are normalized correctly.
Are you reusing previously computed results (e.g., FreeSurfer, Anatomical derivatives, work directory of previous run)?
No.
fMRIPrep log
If you have access to the output logged by fMRIPrep, please make sure to attach it as a text file to this issue.
fmriprepLog.txt
The text was updated successfully, but these errors were encountered: