cornerstoneTools
cornerstoneTools copied to clipboard
Recommended way to save segmentation result labelmap2D as image file?
I am looking for a way to save the segmentation result of labelmap2d as an image file.
Is there any function that does that?
Since labelmap2d is uint16array would I need to manually convert to uin8clampedarray in order to put it on canvas?
Thanks for any help in advance.
I think there already is a function that does this for you: https://github.com/cornerstonejs/cornerstoneTools/blob/master/src/util/SaveAs.js
@jpinxten it save all canvas, but not segmentation result labelmap2D
@oggreo are you solve it?