Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/sisobus/cornerstoneTools-RotatedEllipticalRoiTool

A 3rd party annotation tool that draw rotated ellipse of cornerstoneTools
https://github.com/sisobus/cornerstoneTools-RotatedEllipticalRoiTool

Last synced: 5 days ago
JSON representation

A 3rd party annotation tool that draw rotated ellipse of cornerstoneTools

Lists

README

        

# cornerstoneTools-RotatedEllipticalRoiTool

An annotation tool of drawing rotated elliptical roi. It is 3rd party library of [cornerstoneTools](https://github.com/cornerstonejs/cornerstoneTools).

You can try to test this tool in [here](https://examples.sisobus.com/rotated-elliptical-roi)

## Demo

## Installation

```sh
$ yarn add cornerstone-tools-rotated-elliptical-roi-tool
```

or

```sh
$ npm i cornerstone-tools-rotated-elliptical-roi-tool
```

This library has dependencies below

* [cornerstone-core](https://github.com/cornerstonejs/cornerstone)
* [cornerstone-tools](https://github.com/cornerstonejs/cornerstoneTools)
* [cornerstone-math](https://github.com/cornerstonejs/cornerstoneMath)

## Examples

#### browser [example](https://github.com/sisobus/cornerstoneTools-RotatedEllipticalRoiTool/blob/master/example/index.html)
```html

cornerstoneTools.init({
showSVGCursors: true,
});
cornerstoneTools.addTool(RotatedEllipticalRoiTool);
cornerstoneTools.setToolActive("RotatedEllipticalRoi", { mouseButtonMask: 1 });

```

#### node [example](https://github.com/sisobus/cornerstoneTools-RotatedEllipticalRoiTool/blob/master/example/react.js)
```js
import RotatedEllipticalRoiTool from "cornerstone-tools-rotated-elliptical-roi-tool";
cornerstoneTools.init({
showSVGCursors: true,
})
cornerstoneTools.addTool(RotatedEllipticalRoiTool)
cornerstoneTools.setToolActive("RotatedEllipticalRoi", {
mouseButtonMask: 1,
})
```

## LICENSE

MIT