cornerstone-nifti-image-loader icon indicating copy to clipboard operation
cornerstone-nifti-image-loader copied to clipboard

RGB24 support

Open tpenzkofer opened this issue 4 years ago • 5 comments

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 )

tpenzkofer avatar Apr 08 '20 17:04 tpenzkofer

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

pcanas avatar Oct 25 '23 17:10 pcanas

@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 avatar Oct 25 '23 18:10 sedghi

@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?

pcanas avatar Oct 25 '23 18:10 pcanas

https://www.cornerstonejs.org/docs/examples#nifti-volume-loader

sedghi avatar Oct 25 '23 18:10 sedghi

@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

pcanas avatar Nov 02 '23 18:11 pcanas