Skip to content
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

[feature request] N4 bias correction support #78

Open
LennartPhil opened this issue May 28, 2024 · 1 comment
Open

[feature request] N4 bias correction support #78

LennartPhil opened this issue May 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@LennartPhil
Copy link

LennartPhil commented May 28, 2024

Is your feature request related to a problem? Please describe.
N4 bias correction is quite a common preprocessing step when it comes to MRI image data analysis, which is why it should be part of the BrainLesion preprocessing tool. Adding this step manually at the beginning or at the end does not reflect the idea of a compact preprocessing tool.

Describe the solution you'd like
I'd like to be able to add N4 bias correction to the preprocessing pipeline, this could be achieved for example by using SimpleITK. This could go right with the already added normalization step.

Considering that all the different normalizers are stored in a different Github repository, it might make sense to merge the normalizers into the current repo, to simplify any future changes.

Edit: Z-score normalization should be considered as well. But it should be noted, that z-score normalization especially also requires the brain mask as an input

@LennartPhil LennartPhil changed the title N4 bias correction [feature request] N4 bias correction May 28, 2024
@LennartPhil LennartPhil changed the title [feature request] N4 bias correction [feature request] N4 bias correction support May 28, 2024
@neuronflow
Copy link
Collaborator

In our experiments, we never found an advantage of running N4 bias field corrections, but I agree, that is well-established in the community. Thus, it should be part of our preprocessing pipeline.

Thank you for the suggestion @LennartPhil

When does N4 produce best results?
should this be run on images with or without skull? before or after normalization?

@neuronflow neuronflow added the enhancement New feature or request label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants