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

Output orientation same as input? #3

Open
gdevenyi opened this issue Mar 27, 2017 · 1 comment
Open

Output orientation same as input? #3

gdevenyi opened this issue Mar 27, 2017 · 1 comment

Comments

@gdevenyi
Copy link

When I write something like:

    inp.open(input_files, "mask.mnc")
    out.open(outfilename, "mask.mnc")

I would've expected that outfilename would have the same orientation and size/shape as the input_files.

Instead it's A-P and L-R flipped.

I guess this is due to the RAS/LPS confusion underlying ITK/EZMinc?

@vfonov
Copy link
Member

vfonov commented Mar 27, 2017

No, it has nothing to do with ITK.
It's due to the fact that pyezminc normalizes data internally, to have consistent representation.

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