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

RGB24 support #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

tpenzkofer
Copy link

@tpenzkofer tpenzkofer commented Apr 8, 2020

Secondary captures are converted to TYPE_RGB24 nifti files, which are currently not supported by cornerstone-nifti. This fork converts to RGB24 data structure to 32-bit data, which can be consumed by cornerstone.js. (could remedy #14 )

@pcanas
Copy link

pcanas commented Oct 25, 2023

This looks like a working change, and solves a pretty relevant problem. Would it be possible to merge it? @sedghi @jody-zeitler

@sedghi
Copy link
Member

sedghi commented Oct 25, 2023

@pcanas Are you using this repo or the new @cornerstonejs/nifti-volume-loader? https://github.com/cornerstonejs/cornerstone3D/tree/main/packages/nifti-volume-loader

@pcanas
Copy link

pcanas commented Oct 25, 2023

@sedghi I was using this one because I thought it was the most updated one. Could you redirect me to an example of the new @cornerstonejs/nifti-volume-loader where we can load a nifti?

@sedghi
Copy link
Member

sedghi commented Oct 25, 2023

@pcanas
Copy link

pcanas commented Nov 2, 2023

@sedghi what changes we would need to make to load an RGB nifti? The code in the example you sent does not seem to work with RGB files

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.

4 participants