Open kousu opened 1 year ago
The hard part was sorting out that I have to use the "legacy" Cornerstone and then just writing this demo, but with that knowledge in hand I got this working immediately.
Note that this feature doesn't need git-annex
. Due to #22 (+ #20), if used on an annexed file, $.RawFileLink
will be filled with a working link when the template renders, but that's only a loose coupling and all the code here works independently -- which you can see in the 'unannexed' screenshot.
So as much of a pain as it is, I think we should maintain this as a separate branch from #1.
TODO:
cornerstone
so that we have git-annex
, cornerstone
, and git-annex-cornerstone
branches.I've read enough examples to figure out how to patch in the DICOM loader.
I grabbed some of the dicoms off the wado-image-loader demo, out of https://github.com/cornerstonejs/cornerstoneWADOImageLoader/tree/master/testImages, and demoed them:
This combines the two stated branches, to make a version that's more useful for "neurogitea".