-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add additional step in init_preprocessing and init_recon_models scripts #27
Comments
Hi Paolo. Does this simply mean that: Thanks for clarifying. |
Started first part with commit 7185db6 |
The scripts to generate the tracking and dissection from the 'fe' structure need to refer the anatomy. We need to be sure that the anatomy file are the one with the proper orientation, it means the one already included in the o3d tree and not the source file of anatomy recovered from the filesystem. |
Hi Paolo. Thanks for the clarification. (2) Do you think I need to recreate the FE structures because of this? The FE structures contain the tractograms and the coordinate frames. So I fear that after this change in orientation the FE structures might become out of synch with the anatomy files. |
Hi @Paolopost is this last question clear to you? |
I apologize the late reply. (1) The init_tracking and init_dissection scripts generates "trk" files. "trk" files are embed info on reference anatomy, the association is established at run time with a given anatomy (not necessarily the original one). In this case the revision of the scripts should only take care that the nifti files given in argument as reference anatomy are those "flipped". (2) The answer to this point is tricky. I'm not 100% sure that we don't need to recompute the FE structures. I believe that independently from this question it would be helpful to define a policy for the sanity check of the orientation of tractography. |
As for (1) the init_tracking and init_dissection scripts do currently grab the reference anatomy from the output of the preprocessing pipeline. So no changes need to be made there. |
The scripts init_preprocessing and init_recon_models copy nifti (nii.gz) files.
The simple copy should be replaced by a call to change the orientation of images from 'neurological' to 'radiological'. This step applies only to STN and HCP3 (not HCHP7).
The change of orientation can be operated by the following call:
mri_convert -iid -1 0 0 <input_file> <output_file>
The init_tracking* and init_dissection* script should refer to these images in such a way also the tractograms will be in the radiological orientation.
The text was updated successfully, but these errors were encountered: