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

Support displaying float64/double NIFTI images #389

Open
1 of 7 tasks
roger-schaer opened this issue Jul 8, 2019 · 2 comments
Open
1 of 7 tasks

Support displaying float64/double NIFTI images #389

roger-schaer opened this issue Jul 8, 2019 · 2 comments

Comments

@roger-schaer
Copy link

Description

When trying to load a NIFTI with type FLOAT64, the error message "Unknown data type: datatypeCode: 64" is shown. This is surprising, as it seems as most of the code of the NIFTI parser (parsers.nifti.js) takes this data format into account (for the pixelType for example).

Additionally, I've seen that other viewers using the same NIFTI-Reader-JS library are able to display this image format correctly (e.g. the Papaya viewer).

Live Demo

https://fnndsc.github.io/ami/#viewers_upload

Steps to Reproduce

  1. Go to the viewer example above
  2. Upload this sample file : http://fast.hevs.ch/temp/double.nii (or any other FLOAT64 NIFTI image)

Expected Results

The image should be loaded correctly, as is the case with UINT8, INT8, INT16, UINT16 and FLOAT32 types.

Actual Results

Only an error message is shown and the file is not loaded correctly.

Browsers Affected

  • All
  • Chrome
  • Firefox
  • Edge
  • Safari 9
  • Safari 8
  • IE 11

Versions

  • AMI: v0.32.0
  • THREEJS: r106
@dhinkris
Copy link

I am facing the same issue for INT16. Any updates on this issue?

@axlbonnet
Copy link

Same for me : Unknown data type: datatypeCode : 64

If anyone has a solution or an idea about how to correct this I would be interested !

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

3 participants