Closed geowk closed 8 months ago
The masking failed during inhomogeneity correction because you have ghosting in your images. So sometimes, the ghost is detected as the brain and targeted for registration. You can try using --bold_autobox to automatically remove the bottom part of your images.
Thanks. Actually did some extra cropping of the bottom part of the bold images and then ran preprocessing with both the bold and the anat autobox options. Doing some pre-cropping and still including the autobox options resolved the problem.The inhocor correction steps now work and the masks provide adequate coverage.
Thanks again.
-g
Using Rabies 0.5.1 with singularity container:
No errors reported from preprocessing
Experience this weird problem that I think originates with the original raw_brain_mask.
Here is example: Same subject, sub-05, from two different sessions.
Session 02 & Session 01 : underlay is the initial_bold_ref file and the overlay is the raw_brain_mask.
As you can see, for session 02 (left), the mask is properly overlay and for session 1 there is a complete mismatch despite processing, dimensions, orientation were the same for both sessions. Ran nibabel.aff2axcodes command on both input datasets and the output was ('R', 'A', 'S'), as well as the Atlas template.
Here is the inho_cor output from both sessions where Session-02 looks okay, but Session-01 has mismatch with the mask and results in a bad Final Correction image.
Now this is just one subject's example with two sessions. But ran preprocessing on 8 subjects with 3 sessions on this particular dataset, and about half are good and the other half have this mismatch alignment with the mask. The original t2 and epi datasets are aligned, so not sure where in the preprocessing steps something has gone wrong. Any suggestions would be appreciated.
-g