-
Notifications
You must be signed in to change notification settings - Fork 51
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
'measurement frame' should be double matrix #76
Comments
Fixing |
ihnorton
added a commit
to ihnorton/pynrrd
that referenced
this issue
Jan 17, 2019
Thanks! |
Sorry, that's on me! I don't use the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Guys, looks like we have a problem here. The measurement frame returned should be a double matrix, not integer. https://github.com/mhe/pynrrd/blob/master/nrrd/reader.py#L103
We need the exact measurement frame defined in the NRRD header. See the following returned by
unu head file.nrrd
:However, due to typecasting to int,
nrrd.read( )
is returning justTry out the following, you will notice the difference:
I think we must make it a double matrix like other filed types set there.
cc: @ihnorton
The text was updated successfully, but these errors were encountered: