flirt from BIDS T1w to QSIPREP T1w is not working.
Hello, because the default skull stripping method used in QSIPREP is not adequate for our infant data, we decided to swap the qsiprep’s anatomical brain mask (which is later used during qsiprep reconstruction) with the brain mask obtained from another pipeline that more accurately does skull stripping.
However, as the picture below shows, we found that the Red (BIDS T1w) image is not aligned with the Grey (QSIPREP T1w) image. (orange is the skull stripped image)
The anatomical workflow is being updated in the upcoming release, please retry then. In addition, the native-to-ACPC transform will be output in the new version as well. Currently this can be found in your working directory: /work/qsiprep_wf/single_subject_XX_wf/dwi_preproc_wf/b0_anat_coreg/itk_to_rigid/
unfortunately, i deleted the /tmp file, which is where I believe your reference is. Is there another way to obtain this?
As my picture in the original question shows, when I manually did flirt from the original image to the qsiprep image, it didn’t work. Is there a way for me to at least to flirt manually?
*addition : it seems that the original BIDS image has a total dimension of 220x220x120 mm, while the QSIPREP image has the shape of 193x229x193, which is weird since the original BIDS image has two long edges and one short edge, while the QSIPREP seems to have two short ones and long one edge. Could this be the reason for the error?
the different voxel sizes are no problem. I’m not sure how to do it in antsPy, but with antsRegistration the argument would be --initial-moving-transform 1