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

Physical image axes are ignored #35

Open
lassoan opened this issue Mar 26, 2024 · 1 comment
Open

Physical image axes are ignored #35

lassoan opened this issue Mar 26, 2024 · 1 comment
Assignees

Comments

@lassoan
Copy link
Owner

lassoan commented Mar 26, 2024

MONAI Auto3DSeg prostate model only works well if the IJK axes of the input are approximately aligned with the patient RAS axes. This is a bug, because the orientation of the IJK coordinate system can be freely chosen by applications. All that an application guarantees is that the image is oriented correctly in physical (LPS) coordinate system.

It seems that the prostate model (but maybe others, too?) does not appropriately reorder slices, rows, or columns, but simply ignores the IJK to LPS transform.

This is proven by the test images created from ProstateX-0000 T2 and ADC images: https://github.com/lassoan/PublicTestingData/releases/download/data/prostate-orientation.zip
The images are in the same physical position but with the IJK axes oriented in different ways. Only the images in Good-straightened-flipped folder provide correct segmentation results.

@diazandr3s
Copy link
Collaborator

diazandr3s commented Apr 10, 2024

Thanks for pointing this, @lassoan
This #39 should solve the issue.

UPDATE: This is still and issue. Removed the label arg in this PR: #60

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