Preprocess outputs, resolutions and resampling #275
-
Hi guys :) First of all, thank you for having created such a tool!
My input image had this resolution here: input_hd.txt From my understanding, the first step of your robust registration workflow is the creation of an initial bold reference image (i.e. initial_bold_ref ), whose resolution is the same as the input image (initial_bold_ref_hd.txt) Can you please clarify a bit better what each output represents and how it was obtained? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Hi, the documentation does not currently cover the steps at this level of details, so these are all good questions to clarify.
Hope this helps! Let me know if you have more questions. |
Beta Was this translation helpful? Give feedback.
-
Hi Gabriel, thank you so much for your answer, it was very helpful :) I still have some doubts about the template in the commonspace. I would have expected to have the commonspace template in the same space as the final preprocessed image, instead the resampled_template is in another space with respect to the final preprocessed images. (different FOV). I think I am missing how from the inho_cor_bold image that was resampled on the resampled_template, we arrive to the EPI_bold_combined image, that has the same resolution as the input and different from the inho_cor_bold and resampled_template. Moreover, the EPi_bold_combined image (in my case) doesn't have same FOV of the commonspace image. It is like I am missing one intermediate step and the "real" commonspace template. Thank you for your help! |
Beta Was this translation helpful? Give feedback.
-
Hi Bianca, As for your question about resampling, the final step takes the transforms previously computed from the registration steps (from the inho_cor_bold, head motion realignment, etc.), and applies them to your input timeseries with Best, |
Beta Was this translation helpful? Give feedback.
-
Hi Gabriel, Thank you. All it's clear now :) |
Beta Was this translation helpful? Give feedback.
-
Hi Bianca, I made a small mistake in my original comment, where I specified that the template was resampled to match the lowest resolution of the EPI image, but this is actually only if using the --bold_only option (i.e. not using structural scans). If using structural images, the template is resampled to match the lowest resolution of the structural images instead. I corrected the original comment. - Gabe |
Beta Was this translation helpful? Give feedback.
Hi Bianca,
by commonspace template you are referring to the file found in bold_datasink/commonspace_resampled_template/, and comparing it to the bold_datasink/commonspace_bold preprocessed EPI images? These two files should have the same FOV, but can have different resolutions.
As for your question about resampling, the final step takes the transforms previously computed from the registration steps (from the inho_cor_bold, head motion realignment, etc.), and applies them to your input timeseries with
antsApplyTransforms
, for each one EPI frame at a time. With this step, we also control at which resolution we want the EPI to be resampled to, and by default, RABIES constrains the resampling…