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

feat(NiftiVolumeLoader): enable the nifti-volume-loader to read nifti file with datatype such as int32, float64, int8, uint16 and uint32. Because there is something wrong with function ‘createInt16SharedArray’ and ‘createUint16SharedArray’(window.crossOriginIsolated is false), Float32SharedArray is used for representing datatypes except for uint8. #1033

Closed

Conversation

SuperSuperKey
Copy link

@SuperSuperKey SuperSuperKey commented Jan 24, 2024

Context

[Feature Request] #964

Changes & Results

Before: The nifti-volume-loader can not read nifti file with datatype such as int32, float64, int8, uint16 and uint32, so the cornerstone3D cannot render them.
After: The nifti-volume-loader can read nifti file with datatype such as int32, float64, int8, uint16 and uint32.

Testing

Use the nifti-volume-loader component to load nifti file with datatype such as int32, float64, int8, uint16 and uint32.

Checklist

PR

  • My Pull Request title is descriptive, accurate and follows the
    semantic-release format and guidelines.

Code

Public Documentation Updates

  • The documentation page has been updated as necessary for any public API
    additions or removals.

Tested Environment

  • "OS: Ubuntu 18.04, macOS 14.2.1
  • "Node version: v16.14.0
  • "Browser: Chrome 120.0.6099.234

Copy link

netlify bot commented Jan 24, 2024

Deploy Preview for cornerstone-3d-docs ready!

Name Link
🔨 Latest commit b21aa70
🔍 Latest deploy log https://app.netlify.com/sites/cornerstone-3d-docs/deploys/65b07a4187ee4a00089a775e
😎 Deploy Preview https://deploy-preview-1033--cornerstone-3d-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@sedghi
Copy link
Member

sedghi commented Jan 26, 2024

Can you please share the data to test this?

@SuperSuperKey
Copy link
Author

Can you please share the data to test this?

Of course, I've uploaded the data to http://116.63.104.172/nifti_data.zip

@sedghi
Copy link
Member

sedghi commented Feb 15, 2024

@SuperSuperKey Ok i"m much more free from now on
I can't download your data, can you please upload it somewhere else?

@SuperSuperKey
Copy link
Author

@SuperSuperKey Ok i"m much more free from now on I can't download your data, can you please upload it somewhere else?

Sure, I've uploaded the data to google drive (https://drive.google.com/file/d/1sLOBm3PGT2XOAWdPRdcyMLZ7tOB9fCcT/view?usp=drive_link).

@sedghi
Copy link
Member

sedghi commented May 15, 2024

Thank you for your PR. I believe this new PR offers better support, so I will close your PR in favor of it.

#1219

@sedghi sedghi closed this May 15, 2024
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

Successfully merging this pull request may close these issues.

2 participants