cornerstonejs / cornerstone

JavaScript library to display interactive medical images including but not limited to DICOM
https://docs.cornerstonejs.org/
MIT License
2.04k stars 598 forks source link

Unable to apply colormap to PNG and JPEG images loaded with cornerstoneWebImageLoader #575

Open andydoe19 opened 2 years ago

andydoe19 commented 2 years ago

Hi everyone, am unable to apply colormap changes to my PNG and JPEG images, which I load using the cornerstoneWebImageLoader. But the colormap changes work when I use the "exampleImageIdLoader.js" and "exampleImageIdLoaderCt.js" which uses base64 image strings like in this example: https://rawgit.com/chafey/cornerstone/master/example/falseColorMapping/index.html.

But now I'll like to know how I can select my own images and apply colormap changes on it. Thanks a lot in advance!