@cornerstonejs/adapters 2.0.0-beta.17 → 2.0.0-beta.19
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.
|
@@ -79,13 +79,13 @@ var PlanarFreehandROI = /*#__PURE__*/function () {
|
|
|
79
79
|
if (!isOpenContour) {
|
|
80
80
|
// Need to repeat the first point at the end of to have an explicitly closed contour.
|
|
81
81
|
var firstPoint = points[0];
|
|
82
|
-
// Explicitly expand to avoid
|
|
82
|
+
// Explicitly expand to avoid circular references.
|
|
83
83
|
points.push([firstPoint[0], firstPoint[1]]);
|
|
84
84
|
}
|
|
85
85
|
var _ref = data.cachedStats["imageId:".concat(referencedImageId)] || {},
|
|
86
86
|
area = _ref.area,
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
areaUnits = _ref.areaUnits,
|
|
88
|
+
pixelValueUnits = _ref.pixelValueUnits,
|
|
89
89
|
perimeter = _ref.perimeter,
|
|
90
90
|
mean = _ref.mean,
|
|
91
91
|
max = _ref.max,
|
|
@@ -94,9 +94,9 @@ var PlanarFreehandROI = /*#__PURE__*/function () {
|
|
|
94
94
|
/** From cachedStats */
|
|
95
95
|
points: points,
|
|
96
96
|
area: area,
|
|
97
|
-
|
|
97
|
+
areaUnits: areaUnits,
|
|
98
98
|
perimeter: perimeter,
|
|
99
|
-
|
|
99
|
+
pixelValueUnits: pixelValueUnits,
|
|
100
100
|
mean: mean,
|
|
101
101
|
max: max,
|
|
102
102
|
stdDev: stdDev,
|
package/dist/umd/adapters.umd.js
CHANGED
|
@@ -4830,13 +4830,13 @@
|
|
|
4830
4830
|
if (!isOpenContour) {
|
|
4831
4831
|
// Need to repeat the first point at the end of to have an explicitly closed contour.
|
|
4832
4832
|
var firstPoint = points[0];
|
|
4833
|
-
// Explicitly expand to avoid
|
|
4833
|
+
// Explicitly expand to avoid circular references.
|
|
4834
4834
|
points.push([firstPoint[0], firstPoint[1]]);
|
|
4835
4835
|
}
|
|
4836
4836
|
var _ref = data.cachedStats["imageId:".concat(referencedImageId)] || {},
|
|
4837
4837
|
area = _ref.area,
|
|
4838
|
-
|
|
4839
|
-
|
|
4838
|
+
areaUnits = _ref.areaUnits,
|
|
4839
|
+
pixelValueUnits = _ref.pixelValueUnits,
|
|
4840
4840
|
perimeter = _ref.perimeter,
|
|
4841
4841
|
mean = _ref.mean,
|
|
4842
4842
|
max = _ref.max,
|
|
@@ -4845,9 +4845,9 @@
|
|
|
4845
4845
|
/** From cachedStats */
|
|
4846
4846
|
points: points,
|
|
4847
4847
|
area: area,
|
|
4848
|
-
|
|
4848
|
+
areaUnits: areaUnits,
|
|
4849
4849
|
perimeter: perimeter,
|
|
4850
|
-
|
|
4850
|
+
pixelValueUnits: pixelValueUnits,
|
|
4851
4851
|
mean: mean,
|
|
4852
4852
|
max: max,
|
|
4853
4853
|
stdDev: stdDev,
|