cornerstonetools-syncbrush
v1.0.3
Published
A cornerstoneTools brush plugin that enables 3-dimentional segmentation
Downloads
10
Maintainers
Readme
cornerstoneTools-SyncBrushTool
A brush that labels 3D views simultaneously. Your axial brushing will be synchronized with sagittal and coronal labelmaps which are displayed via cornerstoneSideImageLoader This is a 3rd party library of cornerstoneTools.
Dependencies
Demo
Right viewport displays original axial images. Left viewports display reconstructed coronal and sagittal images, by cornerstone-side-image-loader. Currently, brushing only at axial view is supported.
Installation
$ yarn add cornerstonetools-syncbrush
or
$ npm i cornerstonetools-syncbrush
Example
import SyncBrushTool from "cornerstonetools-syncbrush"
cornerstoneTools.addTool(SyncBrushTool)
cornerstoneTools.setToolActiveForElement(axialElement, "SyncBrush", {
mouseButtonMask: 1,
})
cornerstoneTools.setToolPassiveForElement(sagittalElement)
cornerstoneTools.setToolPassiveForElement(coronalElement)
LICENSE
MIT