Awesome
cornerstoneTools-RotatedEllipticalRoiTool
An annotation tool of drawing rotated elliptical roi. It is 3rd party library of cornerstoneTools.<br> You can try to test this tool in here
Demo
<img src="https://user-images.githubusercontent.com/3329885/58860190-87c5d480-86e6-11e9-9564-018ad626ae30.gif" width="400">Installation
$ yarn add cornerstone-tools-rotated-elliptical-roi-tool
or
$ npm i cornerstone-tools-rotated-elliptical-roi-tool
This library has dependencies below
Examples
browser example
<script src="../dist/rotated-elliptical-roi-tool.umd.js"></script>
<script>
cornerstoneTools.init({
showSVGCursors: true,
});
cornerstoneTools.addTool(RotatedEllipticalRoiTool);
cornerstoneTools.setToolActive("RotatedEllipticalRoi", { mouseButtonMask: 1 });
</script>
node example
import RotatedEllipticalRoiTool from "cornerstone-tools-rotated-elliptical-roi-tool";
cornerstoneTools.init({
showSVGCursors: true,
})
cornerstoneTools.addTool(RotatedEllipticalRoiTool)
cornerstoneTools.setToolActive("RotatedEllipticalRoi", {
mouseButtonMask: 1,
})
LICENSE
MIT