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

Does the nifti head (image orientation) matter? #459

Closed
alizezhu opened this issue Jan 8, 2021 · 2 comments
Closed

Does the nifti head (image orientation) matter? #459

alizezhu opened this issue Jan 8, 2021 · 2 comments

Comments

@alizezhu
Copy link

alizezhu commented Jan 8, 2021

Hi Fabian,
I wonder if the calculation and augmentation in nnUNet takes into consideration the NIFTI data orientation? I understand the resolution is taken care of. Does it matter, can I just write the data orientation with an matrix of [1 0 0; 0 1 0; 0 0 1] into the NIFTI file? Of course I also write annotation file in the same way.
Thanks in advance!

@FabianIsensee
Copy link
Member

nnU-Net ignores data orientation. The only geometry information it uses is the spacing. You need to provide image and the corresponding segmentation in the same orientation (voxel arrays must be aligned!) for nnU-Net to work correctly

@alizezhu
Copy link
Author

thanks a lot for your answer!

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

2 participants