larvitar 1.3.2 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/imaging/tools/segmentation.js +1 -1
- package/index.js +16 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
## Dicom Image Toolkit for CornestoneJS
|
|
8
8
|
|
|
9
|
-
### Current version: 1.3.
|
|
9
|
+
### Current version: 1.3.3
|
|
10
10
|
|
|
11
|
-
### Latest Stable version: 1.3.
|
|
11
|
+
### Latest Stable version: 1.3.3
|
|
12
12
|
|
|
13
|
-
### Latest Published Release: 1.3.
|
|
13
|
+
### Latest Published Release: 1.3.3
|
|
14
14
|
|
|
15
15
|
This library provides common DICOM functionalities to be used in web-applications: it's wrapper that simplifies the use of cornestone-js environment.
|
|
16
16
|
Orthogonal multiplanar reformat is included as well as custom loader/exporter for nrrd files and [Vuex](https://vuex.vuejs.org/) custom integration.
|
|
@@ -480,7 +480,7 @@ export function redoLastStroke(elementId) {
|
|
|
480
480
|
|
|
481
481
|
/**
|
|
482
482
|
* Delete mask from state
|
|
483
|
-
* @param {Number} labelId - The labelmap id to
|
|
483
|
+
* @param {Number} labelId - The labelmap id to delete
|
|
484
484
|
*/
|
|
485
485
|
export function deleteMask(labelId) {
|
|
486
486
|
let masks = values(segModule.state.series)[0].labelmaps3D;
|
package/index.js
CHANGED
|
@@ -138,13 +138,20 @@ import {
|
|
|
138
138
|
import {
|
|
139
139
|
initSegmentationModule,
|
|
140
140
|
addSegmentationMask,
|
|
141
|
+
clearSegmentationState,
|
|
142
|
+
deleteMask,
|
|
141
143
|
setActiveLabelmap,
|
|
142
144
|
setActiveSegment,
|
|
145
|
+
enableBrushTool,
|
|
146
|
+
disableBrushTool,
|
|
143
147
|
undoLastStroke,
|
|
144
148
|
redoLastStroke,
|
|
145
149
|
setBrushProps,
|
|
150
|
+
toggleContourMode,
|
|
151
|
+
toggleVisibility,
|
|
146
152
|
hexToRgb,
|
|
147
|
-
rgbToHex
|
|
153
|
+
rgbToHex,
|
|
154
|
+
getActiveLabelmapBuffer
|
|
148
155
|
} from "./imaging/tools/segmentation";
|
|
149
156
|
|
|
150
157
|
import {
|
|
@@ -369,5 +376,12 @@ export {
|
|
|
369
376
|
redoLastStroke,
|
|
370
377
|
setBrushProps,
|
|
371
378
|
hexToRgb,
|
|
372
|
-
rgbToHex
|
|
379
|
+
rgbToHex,
|
|
380
|
+
clearSegmentationState,
|
|
381
|
+
deleteMask,
|
|
382
|
+
enableBrushTool,
|
|
383
|
+
disableBrushTool,
|
|
384
|
+
toggleContourMode,
|
|
385
|
+
toggleVisibility,
|
|
386
|
+
getActiveLabelmapBuffer
|
|
373
387
|
};
|
package/package.json
CHANGED