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

mask default in n4_bias_field_correction #559

Closed
ntustison opened this issue Mar 7, 2024 · 0 comments
Closed

mask default in n4_bias_field_correction #559

ntustison opened this issue Mar 7, 2024 · 0 comments

Comments

@ntustison
Copy link
Member

ntustison commented Mar 7, 2024

Just discovered this

    if mask is None:
        mask = get_mask(image)

which we should probably change it to match the command line version, i.e.., something like

    if mask is None:
        mask = image * 0 + 1

Does anybody have any issues with this proposed change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant