-
Notifications
You must be signed in to change notification settings - Fork 182
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
5TTgen MSMT #3025
base: dev
Are you sure you want to change the base?
5TTgen MSMT #3025
Conversation
|
Rather than accepting suggestions individually, can you please add them to a batch commit; otherwise the commit history becomes non-informative. |
|
I'll have to brush up on my For checking images being on the same voxel grid see Did you duplicate checkboxes because you weren't able to activate the ones I posted? I could imagine GitHub might not give you permission to do that. |
thanks for sharing correct - wasn't able to tick off your checklist |
Co-authored-by: Robert Smith <[email protected]>
Co-authored-by: Robert Smith <[email protected]>
Rebased to clean up commit history. For GitHub code reviews with a lot of minor changes in different locations of the code you can add the agreed-upon changes to a batch, and GitHub will then create a single commit containing all such changes with appropriate attribution: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/incorporating-feedback-in-your-pull-request
|
@arkiev I had a bit of a go at the code here. Sorry if I ended up hacking away much of it. But hopefully there's a few teachable things in there:
|
Thanks for the feedback @Lestropie. It is looking good!! I address the errors from pylint - there was another error that I wasn't familiar with (I think it was a build error, but since my last commit a new set of checks needs to be done to reproduce the error). How do I run those checks (or can I leave this with you)? |
Looks like in 2bc2089 you did a find & replace from The clang-tidy failure is irrelevant to this PR. Might be spontaneous and just need a re-run at a later date. |
ah yes I did do that 😅 Okay, sounds good - let me know what is needed from my end for testing. At some point we should think about comparing the SGM segmentation generated using the vis image (using |
Erroneous change introduced in 2bc2089.
dddce99 shows how you can add tests. These aren't evaluated in CI, but you can run them if you configure CMake accordingly. Also see how I had to commit data to a different repo and then update the reference; this is now a bit different on If you want to add the ability to invoke RE segmenting SGM in each subject and transforming those results to template space and aggregating, I would conceptualise that as a separate discussion to what does or does not get included as an MRtrix3 software feature. Comparability of the two outcomes isn't the only thing determining whether that feature would be useful. Recall |
This script is intended for generating a 5-Tissue Type (5TT) image from Orientation Distribution Function (ODF) images in the MRtrix3 neuroimaging framework.
By default, white-matter, grey-matter, cerebrospinal fluid ODFs along with a binary brain mask is used to generate a 5TT image with empty volumes for subcortical grey-matter and pathological tissue. If SGM and/or PATH segmentations are available, there is an option to include them in the 5TT image.