cornerstone-nifti-image-loader
cornerstone-nifti-image-loader copied to clipboard
RGB24 support
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 )
This looks like a working change, and solves a pretty relevant problem. Would it be possible to merge it? @sedghi @jody-zeitler
@pcanas Are you using this repo or the new @cornerstonejs/nifti-volume-loader? https://github.com/cornerstonejs/cornerstone3D/tree/main/packages/nifti-volume-loader
@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?
https://www.cornerstonejs.org/docs/examples#nifti-volume-loader
@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