@cornerstonejs/tools 1.58.3 → 1.58.4
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/dist/cjs/utilities/contours/interpolation/selectHandles.js +1 -1
- package/dist/cjs/utilities/contours/interpolation/selectHandles.js.map +1 -1
- package/dist/esm/utilities/contours/interpolation/selectHandles.js +1 -1
- package/dist/esm/utilities/contours/interpolation/selectHandles.js.map +1 -1
- package/dist/types/utilities/contours/interpolation/selectHandles.d.ts.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/package.json +3 -3
- package/src/utilities/contours/interpolation/selectHandles.ts +1 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cornerstonejs/tools",
|
|
3
|
-
"version": "1.58.
|
|
3
|
+
"version": "1.58.4",
|
|
4
4
|
"description": "Cornerstone3D Tools",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"webpack:watch": "webpack --mode development --progress --watch --config ./.webpack/webpack.dev.js"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@cornerstonejs/core": "^1.58.
|
|
32
|
+
"@cornerstonejs/core": "^1.58.4",
|
|
33
33
|
"@icr/polyseg-wasm": "0.4.0",
|
|
34
34
|
"@types/offscreencanvas": "2019.7.3",
|
|
35
35
|
"comlink": "^4.4.1",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"type": "individual",
|
|
60
60
|
"url": "https://ohif.org/donate"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "27788d9a480cf3dff59865f721cde0d158439734"
|
|
63
63
|
}
|
|
@@ -137,8 +137,7 @@ function findMinimumRegions(dotValues, handleCount) {
|
|
|
137
137
|
const { length } = dotValues;
|
|
138
138
|
// Fallback for very uniform ojects.
|
|
139
139
|
if (deviation < 0.01 || length < handleCount * 3) {
|
|
140
|
-
|
|
141
|
-
return [0, Math.floor(length / 3), Math.floor((length * 2) / 3)];
|
|
140
|
+
return [];
|
|
142
141
|
}
|
|
143
142
|
|
|
144
143
|
const inflection = [];
|