cornerstone-core
Advanced tools
Changelog
Version 1.1.1
Changelog
Version 1.1.0
In 1.1.0 we have added several rendering functions to support the use of layers for composite images.
Previously, users had to use convertToFalseColorImage which converted the entire grayscale image to a color image, and then rendered the RGB pixels. Now, you can set the 'colormap' property on the viewport and the image will be displayed in false color. The False Color Mapping and Composite Images examples have been updated accordingly.
renderLabelMapImage: In medical imaging it is very common to have results stored as label maps. Pixel values are set to arbitrary numbers which represent something specific in an image (e.g. 1 for heart, 2 for lung). These label maps do not require any modality LUT or VOI LUT transformations and can just be mapped to RGBA pixels through color lookup tables. Support for label maps has now (finally!) been added to Cornerstone. Just set the viewport property 'labelmap' to true and add a colormap and you can display a label map.
renderGrayscaleImage: Now has support for rendering using either just the alpha channel or RGBA channels. This is required for proper layer support.
Removed redundant code in renderWebImage which was being run before renderColorImage was being called. This should hopefully fix performance issues for Web images that have been reported (#164).
More work towards dropping jQuery from @maistho: Trigger all jQuery events inside triggerEvent function (#185)
Minor code cleanup, converted LookupTable to use ES6 Class syntax
Changelog
Version 1.0.1
Changelog
Version 1.0.0
The solution for this is to inject your jQuery instance into Cornerstone as follows:
cornerstone.external.$ = $;
An example commit doing this in the OHIF Viewer Meteor application is here: https://github.com/OHIF/Viewers/commit/012bba44806d0fb9bb60af329c4875e7f6b751e0#diff-d9ccd906dfc48b4589d720766fe14715R25
We apologize for any headaches that the breaking change 0.13.1 may have caused for those using module systems.
Changelog
Version 0.13.2 (deprecated due to breaking change)
e.g. CornerstoneImageRendered has a native CustomEvent name 'cornerstoneimagerendered'
Changelog
Version 0.13.1 (deprecated due to breaking change)
Changelog
Version 0.13.0
always
from imageCache's method decache to better stabilitycornerstone-core
for commonjs, commonjs2 and amdChangelog
Version 0.12.1