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

getaffine bug? #23

Open
JohnAshburner opened this issue Jun 27, 2019 · 0 comments
Open

getaffine bug? #23

JohnAshburner opened this issue Jun 27, 2019 · 0 comments

Comments

@JohnAshburner
Copy link

I've recently started dabbling with Julia and find the NIfTI module quite useful. I hope you don't mind me feeding back any bugs as I find them. One I've found so far is that the getaffine function should perhaps use pixdim[4], rather than bitpix[4].

elseif h.qform_code == 0
    # Method 1
    return Float64[
         pixdim[2] 0         0          0 0
                   0 pixdim[3]          0 0
                   0         0  bitpix[4] 0
                   0         0          0 1
    ]
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

1 participant