@cornerstonejs/adapters 2.0.0-beta.18 → 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.
@@ -23,9 +23,9 @@ declare class PlanarFreehandROI {
23
23
  /** From cachedStats */
24
24
  points: any;
25
25
  area: any;
26
- areaUnit: any;
26
+ areaUnits: any;
27
27
  perimeter: any;
28
- modalityUnit: any;
28
+ pixelValueUnits: any;
29
29
  mean: any;
30
30
  max: any;
31
31
  stdDev: any;
@@ -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 ciruclar references.
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
- areaUnit = _ref.areaUnit,
88
- modalityUnit = _ref.modalityUnit,
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
- areaUnit: areaUnit,
97
+ areaUnits: areaUnits,
98
98
  perimeter: perimeter,
99
- modalityUnit: modalityUnit,
99
+ pixelValueUnits: pixelValueUnits,
100
100
  mean: mean,
101
101
  max: max,
102
102
  stdDev: stdDev,
@@ -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 ciruclar references.
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
- areaUnit = _ref.areaUnit,
4839
- modalityUnit = _ref.modalityUnit,
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
- areaUnit: areaUnit,
4848
+ areaUnits: areaUnits,
4849
4849
  perimeter: perimeter,
4850
- modalityUnit: modalityUnit,
4850
+ pixelValueUnits: pixelValueUnits,
4851
4851
  mean: mean,
4852
4852
  max: max,
4853
4853
  stdDev: stdDev,