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

The shape of GLxxx file is resize !! #12

Open
hphuongdhsp opened this issue Dec 21, 2020 · 2 comments
Open

The shape of GLxxx file is resize !! #12

hphuongdhsp opened this issue Dec 21, 2020 · 2 comments

Comments

@hphuongdhsp
Copy link

It about the size of GLxxx file. I tried to get the 2D - central image from the 3D image. Here is the result of GL 003.

Do y know why the size of these files is not correct?

GL003_11

@christianpayer
Copy link
Owner

The files are correct. In medical image files, there additional metadata that defines the physical size of a pixel. In this case, the file is anisotropic, i.e., there is a different physical spacing size per dimension.

In your visualization, you are not correctly handling the spacing information. Our framework however, should handle such files correctly, the same as most medical image viewers.

Look into https://simpleitk.readthedocs.io/en/master/fundamentalConcepts.html for more details.

@hphuongdhsp
Copy link
Author

Thank you for your quick 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