@ohif/app 3.14.0-beta.97 → 3.14.0-beta.99
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/{1645.bundle.a98b9ca6.js → 1645.bundle.1a466b16.js} +600 -600
- package/dist/{1788.bundle.3f1349d2.js → 1788.bundle.962951f9.js} +26 -26
- package/dist/{1793.bundle.27458a55.js → 1793.bundle.30f89e46.js} +5 -3
- package/dist/{1862.bundle.79bfe469.js → 1862.bundle.3ae388c3.js} +2 -2
- package/dist/204.bundle.bc44c201.js +101 -0
- package/dist/204.bundle.css +52 -0
- package/dist/{2748.bundle.eaa94e2e.js → 2103.bundle.1cf348e8.js} +1 -1771
- package/dist/{2478.bundle.fc6ab30b.js → 2478.bundle.68ff1b2d.js} +2 -2
- package/dist/{2717.bundle.d5f58443.js → 2717.bundle.4318f1ee.js} +45 -43
- package/dist/{5989.bundle.f484884a.js → 287.bundle.ee60c370.js} +4570 -832
- package/dist/{2894.bundle.d612efb2.js → 2894.bundle.30c0af5b.js} +20 -14
- package/dist/{2991.bundle.f94892fb.js → 2991.bundle.77642eee.js} +101 -97
- package/dist/{3004.bundle.51919fdc.js → 3004.bundle.5568149a.js} +39 -38
- package/dist/{3255.bundle.13e205ac.js → 3255.bundle.3272671f.js} +29 -27
- package/dist/{3366.bundle.62baeeec.js → 3366.bundle.d9e78e25.js} +57 -53
- package/dist/{3468.bundle.f5dc5e44.js → 3468.bundle.666f2441.js} +37 -27
- package/dist/{347.bundle.397bb252.js → 347.bundle.1323658e.js} +44 -44
- package/dist/{3622.bundle.f4cf2d16.js → 3622.bundle.edb42b96.js} +56 -54
- package/dist/{3723.bundle.eab70100.js → 3723.bundle.43ff1971.js} +1 -1
- package/dist/{3771.bundle.aba09bd7.js → 3771.bundle.a5754f97.js} +8 -8
- package/dist/{4449.bundle.aaa4ab92.js → 4487.bundle.fa0375a4.js} +853 -95
- package/dist/{4606.bundle.a3485206.js → 4606.bundle.6c297e2a.js} +9 -7
- package/dist/{4998.bundle.3aedb48d.js → 4998.bundle.25b8cbfe.js} +5 -3
- package/dist/{5076.bundle.95c07142.js → 5076.bundle.2a14756f.js} +66 -66
- package/dist/{5143.bundle.04f54c00.js → 5143.bundle.53156bb0.js} +358 -226
- package/dist/{5154.bundle.2f460017.js → 5154.bundle.ccd02dd7.js} +5 -3
- package/dist/{5320.bundle.9b05cebb.js → 5320.bundle.c17eb4a7.js} +678 -546
- package/dist/{6212.bundle.e505e123.js → 6212.bundle.c4856be7.js} +48 -46
- package/dist/{6253.bundle.9b473339.js → 6253.bundle.596ce463.js} +1225 -1145
- package/dist/{1153.bundle.51d39e80.js → 6314.bundle.5aadfe48.js} +199 -420
- package/dist/{641.bundle.4627a8e1.js → 641.bundle.8e45751e.js} +89 -89
- package/dist/{6481.bundle.d2fca485.js → 6481.bundle.85093e70.js} +29 -23
- package/dist/{6507.bundle.d52f5e81.js → 6507.bundle.bbcdd01e.js} +76 -76
- package/dist/{6722.bundle.d09a8aad.js → 6722.bundle.3e9a4ef6.js} +4 -4
- package/dist/{6956.bundle.c82fd790.js → 6956.bundle.dc0e8660.js} +33 -33
- package/dist/{7526.bundle.0685dfeb.js → 7526.bundle.3460c3ca.js} +55 -53
- package/dist/{7604.bundle.9eb317c8.js → 7604.bundle.f1eeded4.js} +2 -2
- package/dist/{8312.bundle.2cb75b58.js → 8312.bundle.d67b6f4e.js} +652 -687
- package/dist/{6847.bundle.b2adb444.js → 8729.bundle.e17fe9b2.js} +87 -845
- package/dist/{8788.bundle.4bb4c65b.js → 8788.bundle.83ddf642.js} +21 -20
- package/dist/{8868.bundle.4c357767.js → 8868.bundle.8f3653b3.js} +31 -31
- package/dist/{8923.bundle.9aca06c4.js → 8923.bundle.8b682e96.js} +148 -148
- package/dist/{899.bundle.9a033d16.js → 899.bundle.4e1aee7f.js} +73 -203
- package/dist/{9187.bundle.8f72b4fe.js → 9187.bundle.407afa07.js} +112 -110
- package/dist/9385.bundle.fb0bbf4a.js +1888 -0
- package/dist/{9481.bundle.ccb81f53.js → 9481.bundle.d045ae3a.js} +8 -6
- package/dist/{9517.bundle.1ae74db3.js → 9517.bundle.3e2896ef.js} +31 -17
- package/dist/{9620.bundle.d1dc0be1.js → 9620.bundle.b4cc392c.js} +63 -61
- package/dist/{9841.bundle.0f40f02b.js → 9841.bundle.4f2c401a.js} +93 -91
- package/dist/{9886.bundle.cabb4a24.js → 9886.bundle.b00d5d78.js} +4 -4
- package/dist/{8037.bundle.30a187f7.js → 9889.bundle.bf312047.js} +7743 -1098
- package/dist/{9948.bundle.1172ebca.js → 9948.bundle.fecf81f8.js} +5 -5
- package/dist/{app.bundle.12bfd0b7.js → app.bundle.bb359653.js} +1953 -1245
- package/dist/{compute.bundle.0ed1fe87.js → compute.bundle.9267d449.js} +13 -12
- package/dist/{histogram-worker.bundle.58e60d7c.js → histogram-worker.bundle.29bcdbf6.js} +6 -5
- package/dist/index.html +1 -1
- package/dist/{interpolation.bundle.5a53d112.js → interpolation.bundle.ee9998a4.js} +8 -7
- package/dist/{lib-router.bundle.a5ac870a.js → lib-router.bundle.2a887bc7.js} +334 -201
- package/dist/{polySeg.bundle.b4089601.js → polySeg.bundle.a55f8eee.js} +12 -12
- package/dist/sw.js +11 -1
- package/package.json +14 -19
- package/dist/1566.bundle.d58db206.js +0 -3610
|
@@ -469,7 +469,7 @@ const codeMeaningEquals = codeMeaningName => {
|
|
|
469
469
|
;// CONCATENATED MODULE: ../../node_modules/@cornerstonejs/adapters/dist/esm/adapters/helpers/downloadDICOMData.js
|
|
470
470
|
|
|
471
471
|
|
|
472
|
-
const datasetToBlob = dcmjs_es
|
|
472
|
+
const datasetToBlob = dcmjs_es.data.datasetToBlob;
|
|
473
473
|
function downloadDICOMData(bufferOrDataset, filename) {
|
|
474
474
|
let blob;
|
|
475
475
|
if (bufferOrDataset instanceof ArrayBuffer) {
|
|
@@ -585,13 +585,13 @@ function getWriterHeader() {
|
|
|
585
585
|
|
|
586
586
|
|
|
587
587
|
const cs3dLogger = esm.utilities.logger.adaptersLog.getLogger('Cornerstone.MeasurementReport');
|
|
588
|
-
const TID1500 = dcmjs_es
|
|
589
|
-
addAccessors = dcmjs_es
|
|
590
|
-
const StructuredReport = dcmjs_es
|
|
591
|
-
const Normalizer = dcmjs_es
|
|
588
|
+
const TID1500 = dcmjs_es.utilities.TID1500,
|
|
589
|
+
addAccessors = dcmjs_es.utilities.addAccessors;
|
|
590
|
+
const StructuredReport = dcmjs_es.derivations.StructuredReport;
|
|
591
|
+
const Normalizer = dcmjs_es.normalizers.Normalizer;
|
|
592
592
|
const TID1500MeasurementReport = TID1500.TID1500MeasurementReport,
|
|
593
593
|
TID1501MeasurementGroup = TID1500.TID1501MeasurementGroup;
|
|
594
|
-
const DicomMetaDictionary = dcmjs_es
|
|
594
|
+
const DicomMetaDictionary = dcmjs_es.data.DicomMetaDictionary;
|
|
595
595
|
const FINDING = {
|
|
596
596
|
CodingSchemeDesignator: 'DCM',
|
|
597
597
|
CodeValue: '121071'
|
|
@@ -851,7 +851,7 @@ var CORNERSTONE_4_TAG = 'cornerstoneTools@^4.0.0';
|
|
|
851
851
|
|
|
852
852
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
853
853
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
854
|
-
const TID300Length = dcmjs_es
|
|
854
|
+
const TID300Length = dcmjs_es.utilities.TID300.Length;
|
|
855
855
|
const LENGTH = 'Length';
|
|
856
856
|
class Length {
|
|
857
857
|
// TODO: this function is required for all Cornerstone Tool Adapters, since it is called by MeasurementReport.
|
|
@@ -929,7 +929,7 @@ MeasurementReport.registerTool(Length);
|
|
|
929
929
|
|
|
930
930
|
function FreehandRoi_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
931
931
|
function FreehandRoi_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? FreehandRoi_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : FreehandRoi_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
932
|
-
const TID300Polyline = dcmjs_es
|
|
932
|
+
const TID300Polyline = dcmjs_es.utilities.TID300.Polyline;
|
|
933
933
|
class FreehandRoi {
|
|
934
934
|
static getMeasurementData(MeasurementGroup) {
|
|
935
935
|
const _MeasurementReport$ge = MeasurementReport.getSetupMeasurementData(MeasurementGroup),
|
|
@@ -1016,7 +1016,7 @@ MeasurementReport.registerTool(FreehandRoi);
|
|
|
1016
1016
|
|
|
1017
1017
|
|
|
1018
1018
|
|
|
1019
|
-
const TID300Bidirectional = dcmjs_es
|
|
1019
|
+
const TID300Bidirectional = dcmjs_es.utilities.TID300.Bidirectional;
|
|
1020
1020
|
const BIDIRECTIONAL = 'Bidirectional';
|
|
1021
1021
|
const LONG_AXIS = 'Long Axis';
|
|
1022
1022
|
const SHORT_AXIS = 'Short Axis';
|
|
@@ -1166,7 +1166,7 @@ MeasurementReport.registerTool(Bidirectional);
|
|
|
1166
1166
|
|
|
1167
1167
|
function EllipticalRoi_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1168
1168
|
function EllipticalRoi_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? EllipticalRoi_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : EllipticalRoi_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1169
|
-
const TID300Ellipse = dcmjs_es
|
|
1169
|
+
const TID300Ellipse = dcmjs_es.utilities.TID300.Ellipse;
|
|
1170
1170
|
const ELLIPTICALROI = 'EllipticalRoi';
|
|
1171
1171
|
class EllipticalRoi {
|
|
1172
1172
|
// TODO: this function is required for all Cornerstone Tool Adapters, since it is called by MeasurementReport.
|
|
@@ -1340,7 +1340,7 @@ MeasurementReport.registerTool(EllipticalRoi);
|
|
|
1340
1340
|
|
|
1341
1341
|
function CircleRoi_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1342
1342
|
function CircleRoi_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? CircleRoi_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : CircleRoi_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1343
|
-
const TID300Circle = dcmjs_es
|
|
1343
|
+
const TID300Circle = dcmjs_es.utilities.TID300.Circle;
|
|
1344
1344
|
const CIRCLEROI = 'CircleRoi';
|
|
1345
1345
|
class CircleRoi {
|
|
1346
1346
|
/** Gets the measurement data for cornerstone, given DICOM SR measurement data. */
|
|
@@ -1452,7 +1452,7 @@ MeasurementReport.registerTool(CircleRoi);
|
|
|
1452
1452
|
|
|
1453
1453
|
function ArrowAnnotate_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1454
1454
|
function ArrowAnnotate_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ArrowAnnotate_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ArrowAnnotate_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1455
|
-
const TID300Point = dcmjs_es
|
|
1455
|
+
const TID300Point = dcmjs_es.utilities.TID300.Point;
|
|
1456
1456
|
const ARROW_ANNOTATE = 'ArrowAnnotate';
|
|
1457
1457
|
const CORNERSTONEFREETEXT = 'CORNERSTONEFREETEXT';
|
|
1458
1458
|
class ArrowAnnotate {
|
|
@@ -1544,7 +1544,7 @@ MeasurementReport.registerTool(ArrowAnnotate);
|
|
|
1544
1544
|
|
|
1545
1545
|
function CobbAngle_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1546
1546
|
function CobbAngle_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? CobbAngle_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : CobbAngle_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1547
|
-
const TID300CobbAngle = dcmjs_es
|
|
1547
|
+
const TID300CobbAngle = dcmjs_es.utilities.TID300.CobbAngle;
|
|
1548
1548
|
const COBB_ANGLE = 'CobbAngle';
|
|
1549
1549
|
class CobbAngle {
|
|
1550
1550
|
// TODO: this function is required for all Cornerstone Tool Adapters, since it is called by MeasurementReport.
|
|
@@ -1638,7 +1638,7 @@ MeasurementReport.registerTool(CobbAngle);
|
|
|
1638
1638
|
|
|
1639
1639
|
function Angle_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1640
1640
|
function Angle_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? Angle_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Angle_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1641
|
-
const TID300Angle = dcmjs_es
|
|
1641
|
+
const TID300Angle = dcmjs_es.utilities.TID300.Angle;
|
|
1642
1642
|
const ANGLE = 'Angle';
|
|
1643
1643
|
class Angle {
|
|
1644
1644
|
/**
|
|
@@ -1727,7 +1727,7 @@ MeasurementReport.registerTool(Angle);
|
|
|
1727
1727
|
|
|
1728
1728
|
function RectangleRoi_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1729
1729
|
function RectangleRoi_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? RectangleRoi_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : RectangleRoi_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1730
|
-
const RectangleRoi_TID300Polyline = dcmjs_es
|
|
1730
|
+
const RectangleRoi_TID300Polyline = dcmjs_es.utilities.TID300.Polyline;
|
|
1731
1731
|
class RectangleRoi {
|
|
1732
1732
|
static getMeasurementData(MeasurementGroup) {
|
|
1733
1733
|
const _MeasurementReport$ge = MeasurementReport.getSetupMeasurementData(MeasurementGroup),
|
|
@@ -1817,9 +1817,9 @@ var ndarray = __webpack_require__(85822);
|
|
|
1817
1817
|
;// CONCATENATED MODULE: ../../node_modules/@cornerstonejs/adapters/dist/esm/adapters/helpers/getDatasetsFromImages.js
|
|
1818
1818
|
|
|
1819
1819
|
|
|
1820
|
-
const DicomMessage = dcmjs_es
|
|
1821
|
-
getDatasetsFromImages_DicomMetaDictionary = dcmjs_es
|
|
1822
|
-
const getDatasetsFromImages_Normalizer = dcmjs_es
|
|
1820
|
+
const DicomMessage = dcmjs_es.data.DicomMessage,
|
|
1821
|
+
getDatasetsFromImages_DicomMetaDictionary = dcmjs_es.data.DicomMetaDictionary;
|
|
1822
|
+
const getDatasetsFromImages_Normalizer = dcmjs_es.normalizers.Normalizer;
|
|
1823
1823
|
function getDatasetsFromImages(images, isMultiframe, options) {
|
|
1824
1824
|
const datasets = [];
|
|
1825
1825
|
if (isMultiframe) {
|
|
@@ -1931,12 +1931,12 @@ function getSourceFrame(image, metadata) {
|
|
|
1931
1931
|
};
|
|
1932
1932
|
}
|
|
1933
1933
|
const sliceNormal = orientation => {
|
|
1934
|
-
const normal = gl_matrix_esm
|
|
1935
|
-
return gl_matrix_esm
|
|
1934
|
+
const normal = gl_matrix_esm.vec3.cross([0, 0, 0], orientation.slice(0, 3), orientation.slice(3, 6));
|
|
1935
|
+
return gl_matrix_esm.vec3.normalize(normal, normal);
|
|
1936
1936
|
};
|
|
1937
1937
|
function toOrientation(values) {
|
|
1938
1938
|
const orientation = toFiniteVector(values, 6);
|
|
1939
|
-
return orientation && gl_matrix_esm
|
|
1939
|
+
return orientation && gl_matrix_esm.vec3.length(sliceNormal(orientation)) > GEOMETRY_TOLERANCE ? orientation : undefined;
|
|
1940
1940
|
}
|
|
1941
1941
|
|
|
1942
1942
|
|
|
@@ -2124,7 +2124,7 @@ function setPlaneOrientations(dataset, frameOrientations) {
|
|
|
2124
2124
|
|
|
2125
2125
|
|
|
2126
2126
|
const RLE_LOSSLESS_TRANSFER_SYNTAX_UID = '1.2.840.10008.1.2.5';
|
|
2127
|
-
const EXPLICIT_VR_LITTLE_ENDIAN_TRANSFER_SYNTAX_UID = dcmjs_es
|
|
2127
|
+
const EXPLICIT_VR_LITTLE_ENDIAN_TRANSFER_SYNTAX_UID = dcmjs_es.constants.EXPLICIT_LITTLE_ENDIAN;
|
|
2128
2128
|
function getTransferSyntaxUid(multiframe) {
|
|
2129
2129
|
var _meta$TransferSyntaxU;
|
|
2130
2130
|
const meta = multiframe._meta;
|
|
@@ -2589,12 +2589,12 @@ var Events_Events;
|
|
|
2589
2589
|
function Segmentation_4X_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2590
2590
|
function Segmentation_4X_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? Segmentation_4X_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Segmentation_4X_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2591
2591
|
const Segmentation_4X_cs3dLogger = esm.utilities.logger.adaptersLog.getLogger('Cornerstone.Segmentation_4X');
|
|
2592
|
-
const BitArray = dcmjs_es
|
|
2593
|
-
Segmentation_4X_DicomMessage = dcmjs_es
|
|
2594
|
-
Segmentation_4X_DicomMetaDictionary = dcmjs_es
|
|
2595
|
-
const Segmentation_4X_Normalizer = dcmjs_es
|
|
2596
|
-
const SegmentationDerivation = dcmjs_es
|
|
2597
|
-
const _utilities$compressio = dcmjs_es
|
|
2592
|
+
const BitArray = dcmjs_es.data.BitArray,
|
|
2593
|
+
Segmentation_4X_DicomMessage = dcmjs_es.data.DicomMessage,
|
|
2594
|
+
Segmentation_4X_DicomMetaDictionary = dcmjs_es.data.DicomMetaDictionary;
|
|
2595
|
+
const Segmentation_4X_Normalizer = dcmjs_es.normalizers.Normalizer;
|
|
2596
|
+
const SegmentationDerivation = dcmjs_es.derivations.Segmentation;
|
|
2597
|
+
const _utilities$compressio = dcmjs_es.utilities.compression,
|
|
2598
2598
|
encode = _utilities$compressio.encode,
|
|
2599
2599
|
decode = _utilities$compressio.decode;
|
|
2600
2600
|
const Segmentation_4X_RLE_LOSSLESS_TRANSFER_SYNTAX_UID = '1.2.840.10008.1.2.5';
|
|
@@ -3638,7 +3638,7 @@ function unpackPixelData(multiframe, options) {
|
|
|
3638
3638
|
data = multiframe.PixelData;
|
|
3639
3639
|
}
|
|
3640
3640
|
if (data === undefined) {
|
|
3641
|
-
dcmjs_es
|
|
3641
|
+
dcmjs_es.log.error('This segmentation pixelData is undefined.');
|
|
3642
3642
|
}
|
|
3643
3643
|
if (segType === 'BINARY') {
|
|
3644
3644
|
// For extreme big data, we can't unpack the data at once and we need to
|
|
@@ -3665,7 +3665,7 @@ function unpackPixelData(multiframe, options) {
|
|
|
3665
3665
|
// This is a fractional segmentation, which is not currently supported.
|
|
3666
3666
|
return;
|
|
3667
3667
|
}
|
|
3668
|
-
dcmjs_es
|
|
3668
|
+
dcmjs_es.log.warn('This segmentation object is actually binary... processing as such.');
|
|
3669
3669
|
return pixelData;
|
|
3670
3670
|
}
|
|
3671
3671
|
function getUnpackedChunks(data, maxBytesPerChunk) {
|
|
@@ -3789,7 +3789,7 @@ function getImageIdOfSourceImagebyGeometry(ReferencedSeriesInstanceUID, FrameOfR
|
|
|
3789
3789
|
if (!rowCosines || !columnCosines) {
|
|
3790
3790
|
continue;
|
|
3791
3791
|
}
|
|
3792
|
-
const normal = gl_matrix_esm
|
|
3792
|
+
const normal = gl_matrix_esm.vec3.cross([0, 0, 0], rowCosines, columnCosines);
|
|
3793
3793
|
const distance = esm.utilities.voxelSlab.signedDistanceToPlane(segFramePosition, position, normal);
|
|
3794
3794
|
if (Math.abs(distance) < tolerance) {
|
|
3795
3795
|
return imageId;
|
|
@@ -3826,8 +3826,8 @@ function getValidOrientations(iop) {
|
|
|
3826
3826
|
const numericIop = dist_esm/* .utilities.toNumber */.BF.Ro(iop);
|
|
3827
3827
|
const r = numericIop.slice(0, 3);
|
|
3828
3828
|
const c = numericIop.slice(3, 6);
|
|
3829
|
-
const negR = gl_matrix_esm
|
|
3830
|
-
const negC = gl_matrix_esm
|
|
3829
|
+
const negR = gl_matrix_esm.vec3.negate([0, 0, 0], r);
|
|
3830
|
+
const negC = gl_matrix_esm.vec3.negate([0, 0, 0], c);
|
|
3831
3831
|
return [[...r, ...c], [...r, ...negC], [...negR, ...c], [...c, ...negR], [...c, ...r], [...negC, ...negR], [...negR, ...negC], [...negC, ...r]];
|
|
3832
3832
|
}
|
|
3833
3833
|
|
|
@@ -4096,12 +4096,12 @@ const Segmentation = {
|
|
|
4096
4096
|
function Segmentation_3X_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4097
4097
|
function Segmentation_3X_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? Segmentation_3X_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Segmentation_3X_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4098
4098
|
const Segmentation_3X_cs3dLogger = esm.utilities.logger.adaptersLog.getLogger('Cornerstone.Segmentation_3X');
|
|
4099
|
-
const Segmentation_3X_datasetToBlob = dcmjs_es
|
|
4100
|
-
Segmentation_3X_BitArray = dcmjs_es
|
|
4101
|
-
Segmentation_3X_DicomMessage = dcmjs_es
|
|
4102
|
-
Segmentation_3X_DicomMetaDictionary = dcmjs_es
|
|
4103
|
-
const Segmentation_3X_Normalizer = dcmjs_es
|
|
4104
|
-
const Segmentation_3X_SegmentationDerivation = dcmjs_es
|
|
4099
|
+
const Segmentation_3X_datasetToBlob = dcmjs_es.utilities.datasetToBlob,
|
|
4100
|
+
Segmentation_3X_BitArray = dcmjs_es.utilities.BitArray,
|
|
4101
|
+
Segmentation_3X_DicomMessage = dcmjs_es.utilities.DicomMessage,
|
|
4102
|
+
Segmentation_3X_DicomMetaDictionary = dcmjs_es.utilities.DicomMetaDictionary;
|
|
4103
|
+
const Segmentation_3X_Normalizer = dcmjs_es.normalizers.Normalizer;
|
|
4104
|
+
const Segmentation_3X_SegmentationDerivation = dcmjs_es.derivations.Segmentation;
|
|
4105
4105
|
const Segmentation_3X_Segmentation = {
|
|
4106
4106
|
generateSegmentation: Segmentation_3X_generateSegmentation,
|
|
4107
4107
|
generateToolState: Segmentation_3X_generateToolState
|
|
@@ -4306,10 +4306,10 @@ function Segmentation_3X_unpackPixelData(multiframe) {
|
|
|
4306
4306
|
const max = multiframe.MaximumFractionalValue;
|
|
4307
4307
|
const onlyMaxAndZero = pixelData.find(element => element !== 0 && element !== max) === undefined;
|
|
4308
4308
|
if (!onlyMaxAndZero) {
|
|
4309
|
-
dcmjs_es
|
|
4309
|
+
dcmjs_es.log.warn('This is a fractional segmentation, which is not currently supported.');
|
|
4310
4310
|
return;
|
|
4311
4311
|
}
|
|
4312
|
-
dcmjs_es
|
|
4312
|
+
dcmjs_es.log.warn('This segmentation object is actually binary... processing as such.');
|
|
4313
4313
|
return pixelData;
|
|
4314
4314
|
}
|
|
4315
4315
|
|
|
@@ -4509,9 +4509,9 @@ function Segmentation_fillSegmentation(segmentation, inputLabelmaps3D) {
|
|
|
4509
4509
|
|
|
4510
4510
|
|
|
4511
4511
|
const ParametricMap_cs3dLogger = esm.utilities.logger.adaptersLog.getLogger('Cornerstone.ParametricMap');
|
|
4512
|
-
const ParametricMap_DicomMessage = dcmjs_es
|
|
4513
|
-
ParametricMap_DicomMetaDictionary = dcmjs_es
|
|
4514
|
-
const ParametricMap_Normalizer = dcmjs_es
|
|
4512
|
+
const ParametricMap_DicomMessage = dcmjs_es.data.DicomMessage,
|
|
4513
|
+
ParametricMap_DicomMetaDictionary = dcmjs_es.data.DicomMetaDictionary;
|
|
4514
|
+
const ParametricMap_Normalizer = dcmjs_es.normalizers.Normalizer;
|
|
4515
4515
|
async function ParametricMap_generateToolState(imageIds, arrayBuffer, metadataProvider) {
|
|
4516
4516
|
let tolerance = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1e-3;
|
|
4517
4517
|
const dicomData = ParametricMap_DicomMessage.readFile(arrayBuffer);
|
|
@@ -4593,7 +4593,7 @@ function getPixelData(multiframe) {
|
|
|
4593
4593
|
data = multiframe.DoubleFloatPixelData;
|
|
4594
4594
|
}
|
|
4595
4595
|
if (data === undefined) {
|
|
4596
|
-
dcmjs_es
|
|
4596
|
+
dcmjs_es.log.error('This parametric map pixel data is undefined.');
|
|
4597
4597
|
}
|
|
4598
4598
|
if (Array.isArray(data)) {
|
|
4599
4599
|
data = data[0];
|
|
@@ -4864,10 +4864,10 @@ const metaRTSSContour = constants_objectSpread(constants_objectSpread({}, metaSR
|
|
|
4864
4864
|
|
|
4865
4865
|
|
|
4866
4866
|
|
|
4867
|
-
const _dcmjs$sr = dcmjs_es
|
|
4867
|
+
const _dcmjs$sr = dcmjs_es["default"].sr,
|
|
4868
4868
|
valueTypes = _dcmjs$sr.valueTypes,
|
|
4869
4869
|
coding = _dcmjs$sr.coding,
|
|
4870
|
-
Cornerstone3D = dcmjs_es
|
|
4870
|
+
Cornerstone3D = dcmjs_es["default"].adapters.Cornerstone3D;
|
|
4871
4871
|
class LabelData {
|
|
4872
4872
|
constructor(tid300Item, annotation) {
|
|
4873
4873
|
this.tid300Item = tid300Item;
|
|
@@ -4996,13 +4996,13 @@ function MeasurementReport_ownKeys(e, r) { var t = Object.keys(e); if (Object.ge
|
|
|
4996
4996
|
function MeasurementReport_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? MeasurementReport_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : MeasurementReport_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4997
4997
|
const MeasurementReport_cs3dLogger = esm.utilities.logger.adaptersLog.getLogger('Cornerstone3D.MeasurementReport');
|
|
4998
4998
|
const MeasurementReport_MetadataModules = esm.Enums.MetadataModules;
|
|
4999
|
-
const MeasurementReport_TID1500 = dcmjs_es
|
|
5000
|
-
MeasurementReport_addAccessors = dcmjs_es
|
|
5001
|
-
const MeasurementReport_StructuredReport = dcmjs_es
|
|
5002
|
-
const MeasurementReport_Normalizer = dcmjs_es
|
|
4999
|
+
const MeasurementReport_TID1500 = dcmjs_es.utilities.TID1500,
|
|
5000
|
+
MeasurementReport_addAccessors = dcmjs_es.utilities.addAccessors;
|
|
5001
|
+
const MeasurementReport_StructuredReport = dcmjs_es.derivations.StructuredReport;
|
|
5002
|
+
const MeasurementReport_Normalizer = dcmjs_es.normalizers.Normalizer;
|
|
5003
5003
|
const MeasurementReport_TID1500MeasurementReport = MeasurementReport_TID1500.TID1500MeasurementReport,
|
|
5004
5004
|
MeasurementReport_TID1501MeasurementGroup = MeasurementReport_TID1500.TID1501MeasurementGroup;
|
|
5005
|
-
const MeasurementReport_DicomMetaDictionary = dcmjs_es
|
|
5005
|
+
const MeasurementReport_DicomMetaDictionary = dcmjs_es.data.DicomMetaDictionary;
|
|
5006
5006
|
const MeasurementReport_FINDING = {
|
|
5007
5007
|
CodingSchemeDesignator: 'DCM',
|
|
5008
5008
|
CodeValue: '121071'
|
|
@@ -5654,7 +5654,7 @@ class BaseAdapter3D {
|
|
|
5654
5654
|
var _ArrowAnnotate;
|
|
5655
5655
|
function Cornerstone3D_ArrowAnnotate_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5656
5656
|
function Cornerstone3D_ArrowAnnotate_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? Cornerstone3D_ArrowAnnotate_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Cornerstone3D_ArrowAnnotate_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5657
|
-
const TID300ArrowAnnotate = dcmjs_es
|
|
5657
|
+
const TID300ArrowAnnotate = dcmjs_es.utilities.TID300.ArrowAnnotate;
|
|
5658
5658
|
const ArrowAnnotate_imageToWorldCoords = esm.utilities.imageToWorldCoords;
|
|
5659
5659
|
class ArrowAnnotate_ArrowAnnotate extends BaseAdapter3D {
|
|
5660
5660
|
static getMeasurementData(MeasurementGroup, sopInstanceUIDToImageIdMap, metadata, _trackingIdentifier) {
|
|
@@ -5739,7 +5739,7 @@ _ArrowAnnotate = ArrowAnnotate_ArrowAnnotate;
|
|
|
5739
5739
|
var _Bidirectional;
|
|
5740
5740
|
function Bidirectional_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5741
5741
|
function Bidirectional_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? Bidirectional_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Bidirectional_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5742
|
-
const Bidirectional_TID300Bidirectional = dcmjs_es
|
|
5742
|
+
const Bidirectional_TID300Bidirectional = dcmjs_es.utilities.TID300.Bidirectional;
|
|
5743
5743
|
const Bidirectional_LONG_AXIS = 'Long Axis';
|
|
5744
5744
|
const Bidirectional_SHORT_AXIS = 'Short Axis';
|
|
5745
5745
|
class Bidirectional_Bidirectional extends BaseAdapter3D {
|
|
@@ -5851,7 +5851,7 @@ _Bidirectional = Bidirectional_Bidirectional;
|
|
|
5851
5851
|
var _Angle;
|
|
5852
5852
|
function Cornerstone3D_Angle_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5853
5853
|
function Cornerstone3D_Angle_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? Cornerstone3D_Angle_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Cornerstone3D_Angle_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5854
|
-
const Angle_TID300CobbAngle = dcmjs_es
|
|
5854
|
+
const Angle_TID300CobbAngle = dcmjs_es.utilities.TID300.CobbAngle;
|
|
5855
5855
|
class Angle_Angle extends BaseAdapter3D {
|
|
5856
5856
|
static getMeasurementData(MeasurementGroup, sopInstanceUIDToImageIdMap, metadata) {
|
|
5857
5857
|
const _MeasurementReport$ge = MeasurementReport_MeasurementReport.getSetupMeasurementData(MeasurementGroup, sopInstanceUIDToImageIdMap, metadata, this.toolType),
|
|
@@ -5929,7 +5929,7 @@ _Angle = Angle_Angle;
|
|
|
5929
5929
|
var _CobbAngle;
|
|
5930
5930
|
function Cornerstone3D_CobbAngle_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5931
5931
|
function Cornerstone3D_CobbAngle_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? Cornerstone3D_CobbAngle_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Cornerstone3D_CobbAngle_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5932
|
-
const CobbAngle_TID300CobbAngle = dcmjs_es
|
|
5932
|
+
const CobbAngle_TID300CobbAngle = dcmjs_es.utilities.TID300.CobbAngle;
|
|
5933
5933
|
class CobbAngle_CobbAngle extends BaseAdapter3D {
|
|
5934
5934
|
static getMeasurementData(MeasurementGroup, sopInstanceUIDToImageIdMap, metadata) {
|
|
5935
5935
|
const _MeasurementReport$ge = MeasurementReport_MeasurementReport.getSetupMeasurementData(MeasurementGroup, sopInstanceUIDToImageIdMap, metadata, CobbAngle_CobbAngle.toolType),
|
|
@@ -6138,7 +6138,7 @@ function resolveUnit(codeMeaning, unitCode) {
|
|
|
6138
6138
|
var _CircleROI;
|
|
6139
6139
|
function CircleROI_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6140
6140
|
function CircleROI_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? CircleROI_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : CircleROI_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6141
|
-
const CircleROI_TID300Circle = dcmjs_es
|
|
6141
|
+
const CircleROI_TID300Circle = dcmjs_es.utilities.TID300.Circle;
|
|
6142
6142
|
class CircleROI extends BaseAdapter3D {
|
|
6143
6143
|
static getMeasurementData(MeasurementGroup, sopInstanceUIDToImageIdMap, metadata) {
|
|
6144
6144
|
const _MeasurementReport$ge = MeasurementReport_MeasurementReport.getSetupMeasurementData(MeasurementGroup, sopInstanceUIDToImageIdMap, metadata, this.toolType),
|
|
@@ -6235,7 +6235,7 @@ _CircleROI = CircleROI;
|
|
|
6235
6235
|
var _EllipticalROI;
|
|
6236
6236
|
function EllipticalROI_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6237
6237
|
function EllipticalROI_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? EllipticalROI_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : EllipticalROI_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6238
|
-
const EllipticalROI_TID300Ellipse = dcmjs_es
|
|
6238
|
+
const EllipticalROI_TID300Ellipse = dcmjs_es.utilities.TID300.Ellipse;
|
|
6239
6239
|
class EllipticalROI extends BaseAdapter3D {
|
|
6240
6240
|
static getMeasurementData(MeasurementGroup, sopInstanceUIDToImageIdMap, metadata) {
|
|
6241
6241
|
const _MeasurementReport$ge = MeasurementReport_MeasurementReport.getSetupMeasurementData(MeasurementGroup, sopInstanceUIDToImageIdMap, metadata, EllipticalROI.toolType),
|
|
@@ -6340,7 +6340,7 @@ _EllipticalROI.init('EllipticalROI', EllipticalROI_TID300Ellipse);
|
|
|
6340
6340
|
var _RectangleROI;
|
|
6341
6341
|
function RectangleROI_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6342
6342
|
function RectangleROI_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? RectangleROI_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : RectangleROI_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6343
|
-
const RectangleROI_TID300Polyline = dcmjs_es
|
|
6343
|
+
const RectangleROI_TID300Polyline = dcmjs_es.utilities.TID300.Polyline;
|
|
6344
6344
|
class RectangleROI extends BaseAdapter3D {
|
|
6345
6345
|
static isValidMeasurement(measurement) {
|
|
6346
6346
|
const graphicItem = this.getGraphicItem(measurement);
|
|
@@ -6437,7 +6437,7 @@ _RectangleROI = RectangleROI;
|
|
|
6437
6437
|
var _Length;
|
|
6438
6438
|
function Length_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6439
6439
|
function Length_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? Length_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Length_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6440
|
-
const Length_TID300Length = dcmjs_es
|
|
6440
|
+
const Length_TID300Length = dcmjs_es.utilities.TID300.Length;
|
|
6441
6441
|
const Length_LENGTH = 'Length';
|
|
6442
6442
|
class Length_Length extends BaseAdapter3D {
|
|
6443
6443
|
static getMeasurementData(MeasurementGroup, sopInstanceUIDToImageIdMap, metadata) {
|
|
@@ -6505,7 +6505,7 @@ _Length = Length_Length;
|
|
|
6505
6505
|
|
|
6506
6506
|
|
|
6507
6507
|
const ControlPointPolyline_valueTypes = dcmjs_es.sr.valueTypes;
|
|
6508
|
-
const ControlPointPolyline_TID300Polyline = dcmjs_es
|
|
6508
|
+
const ControlPointPolyline_TID300Polyline = dcmjs_es.utilities.TID300.Polyline;
|
|
6509
6509
|
class ControlPointPolyline extends ControlPointPolyline_TID300Polyline {
|
|
6510
6510
|
contentItem() {
|
|
6511
6511
|
const contentEntries = super.contentItem();
|
|
@@ -6612,7 +6612,7 @@ class PlanarFreehandROI extends BaseAdapter3D {
|
|
|
6612
6612
|
worldCoords = _MeasurementReport$ge.worldCoords,
|
|
6613
6613
|
referencedImageId = _MeasurementReport$ge.referencedImageId,
|
|
6614
6614
|
ReferencedFrameNumber = _MeasurementReport$ge.ReferencedFrameNumber;
|
|
6615
|
-
const distanceBetweenFirstAndLastPoint = gl_matrix_esm
|
|
6615
|
+
const distanceBetweenFirstAndLastPoint = gl_matrix_esm.vec3.distance(worldCoords[worldCoords.length - 1], worldCoords[0]);
|
|
6616
6616
|
let isOpenContour = true;
|
|
6617
6617
|
if (distanceBetweenFirstAndLastPoint < this.closedContourThreshold) {
|
|
6618
6618
|
worldCoords.pop();
|
|
@@ -6728,7 +6728,7 @@ _PlanarFreehandROI.closedContourThreshold = 1e-5;
|
|
|
6728
6728
|
var _Probe;
|
|
6729
6729
|
function Probe_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6730
6730
|
function Probe_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? Probe_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Probe_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6731
|
-
const Probe_TID300Point = dcmjs_es
|
|
6731
|
+
const Probe_TID300Point = dcmjs_es.utilities.TID300.Point;
|
|
6732
6732
|
class Probe extends BaseAdapter3D {
|
|
6733
6733
|
static isValidMeasurement(measurement) {
|
|
6734
6734
|
const graphicItem = this.getGraphicItem(measurement);
|
|
@@ -6801,7 +6801,7 @@ _Probe = Probe;
|
|
|
6801
6801
|
var _UltrasoundDirectional;
|
|
6802
6802
|
function UltrasoundDirectional_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6803
6803
|
function UltrasoundDirectional_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? UltrasoundDirectional_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : UltrasoundDirectional_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6804
|
-
const UltrasoundDirectional_TID300Length = dcmjs_es
|
|
6804
|
+
const UltrasoundDirectional_TID300Length = dcmjs_es.utilities.TID300.Length;
|
|
6805
6805
|
const worldToImageCoords = esm.utilities.worldToImageCoords;
|
|
6806
6806
|
class UltrasoundDirectional extends BaseAdapter3D {
|
|
6807
6807
|
static getMeasurementData(measurementGroup, sopInstanceUIDToImageIdMap, metadata) {
|
|
@@ -6872,8 +6872,8 @@ function generateSegmentation_objectSpread(e) { for (var r = 1; r < arguments.le
|
|
|
6872
6872
|
const generateSegmentation_isEqual = dist_esm/* .utilities.isEqual */.BF.n4;
|
|
6873
6873
|
const generateSegmentation_cs3dLogger = esm.utilities.logger.adaptersLog.getLogger('Cornerstone3D.Segmentation.generateSegmentation');
|
|
6874
6874
|
const generateSegmentation_MetadataModules = esm.Enums.MetadataModules;
|
|
6875
|
-
const SEGImageNormalizer = dcmjs_es
|
|
6876
|
-
const generateSegmentation_SegmentationDerivation = dcmjs_es
|
|
6875
|
+
const SEGImageNormalizer = dcmjs_es.normalizers.SEGImageNormalizer;
|
|
6876
|
+
const generateSegmentation_SegmentationDerivation = dcmjs_es.derivations.Segmentation;
|
|
6877
6877
|
const LABELMAP_SEG_SOP_CLASS_UID = '1.2.840.10008.5.1.4.1.1.66.7';
|
|
6878
6878
|
const BITMAP_SEG_SOP_CLASS_UID = '1.2.840.10008.5.1.4.1.1.66.4';
|
|
6879
6879
|
const IMAGE_POSITION_PATIENT_TAG = 0x00200032;
|
|
@@ -7018,7 +7018,7 @@ function getLabelmapDimensions(frames) {
|
|
|
7018
7018
|
const normals = orientations.map(sliceNormal);
|
|
7019
7019
|
const distances = frames.map((_ref5, index) => {
|
|
7020
7020
|
let position = _ref5.position;
|
|
7021
|
-
return gl_matrix_esm
|
|
7021
|
+
return gl_matrix_esm.vec3.dot(normals[frameOrientations[index]], position);
|
|
7022
7022
|
});
|
|
7023
7023
|
const planes = [];
|
|
7024
7024
|
let planeStart = 0;
|
|
@@ -7070,7 +7070,7 @@ function getSourceSliceSpacings(sourceImages, metadata, orientations, normals) {
|
|
|
7070
7070
|
orientation = _getSourceFrame.orientation;
|
|
7071
7071
|
const index = position && orientation ? getOrientationIndex(orientations, orientation, false) : -1;
|
|
7072
7072
|
if (index !== -1) {
|
|
7073
|
-
distances[index].push(gl_matrix_esm
|
|
7073
|
+
distances[index].push(gl_matrix_esm.vec3.dot(normals[index], position));
|
|
7074
7074
|
}
|
|
7075
7075
|
});
|
|
7076
7076
|
return distances.map(planes => {
|
|
@@ -7226,7 +7226,7 @@ function fillLabelmapSegmentation(segmentation, inputLabelmaps3D, metadata, imag
|
|
|
7226
7226
|
let sourceImageSequenceItem = _ref7.sourceImageSequenceItem;
|
|
7227
7227
|
return sourceImageSequenceItem;
|
|
7228
7228
|
});
|
|
7229
|
-
const dimensionOrganizationUID = (_toArray$0$DimensionO = (_toArray$2 = toArray(dataset.DimensionOrganizationSequence)[0]) === null || _toArray$2 === void 0 ? void 0 : _toArray$2.DimensionOrganizationUID) !== null && _toArray$0$DimensionO !== void 0 ? _toArray$0$DimensionO : dcmjs_es
|
|
7229
|
+
const dimensionOrganizationUID = (_toArray$0$DimensionO = (_toArray$2 = toArray(dataset.DimensionOrganizationSequence)[0]) === null || _toArray$2 === void 0 ? void 0 : _toArray$2.DimensionOrganizationUID) !== null && _toArray$0$DimensionO !== void 0 ? _toArray$0$DimensionO : dcmjs_es.data.DicomMetaDictionary.uid();
|
|
7230
7230
|
dataset.DimensionOrganizationSequence = {
|
|
7231
7231
|
DimensionOrganizationUID: dimensionOrganizationUID
|
|
7232
7232
|
};
|
|
@@ -7481,9 +7481,9 @@ const compactMergeSegmentDataWithoutInformationLoss = _ref2 => {
|
|
|
7481
7481
|
function labelmapImagesFromBuffer_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7482
7482
|
function labelmapImagesFromBuffer_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? labelmapImagesFromBuffer_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : labelmapImagesFromBuffer_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7483
7483
|
const labelmapImagesFromBuffer_cs3dLogger = esm.utilities.logger.adaptersLog.getLogger('Cornerstone3D.Segmentation.labelmapImagesFromBuffer');
|
|
7484
|
-
const labelmapImagesFromBuffer_DicomMessage = dcmjs_es
|
|
7485
|
-
labelmapImagesFromBuffer_DicomMetaDictionary = dcmjs_es
|
|
7486
|
-
const labelmapImagesFromBuffer_Normalizer = dcmjs_es
|
|
7484
|
+
const labelmapImagesFromBuffer_DicomMessage = dcmjs_es.data.DicomMessage,
|
|
7485
|
+
labelmapImagesFromBuffer_DicomMetaDictionary = dcmjs_es.data.DicomMetaDictionary;
|
|
7486
|
+
const labelmapImagesFromBuffer_Normalizer = dcmjs_es.normalizers.Normalizer;
|
|
7487
7487
|
const labelmapImagesFromBuffer_LABELMAP_SEG_SOP_CLASS_UID = '1.2.840.10008.5.1.4.1.1.66.7';
|
|
7488
7488
|
const BUFFER_SEG_IMAGE_ID = 'cornerstone-adapters-buffer-seg:0';
|
|
7489
7489
|
function stripFrameQualifiersFromImageId(imageId) {
|
|
@@ -8629,7 +8629,7 @@ function getStructureSetModule(contour, segment) {
|
|
|
8629
8629
|
|
|
8630
8630
|
function referencedMetadataProvider_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
8631
8631
|
function referencedMetadataProvider_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? referencedMetadataProvider_ownKeys(Object(t), !0).forEach(function (r) { (0,defineProperty/* ["default"] */.A)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : referencedMetadataProvider_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8632
|
-
const referencedMetadataProvider_DicomMetaDictionary = dcmjs_es
|
|
8632
|
+
const referencedMetadataProvider_DicomMetaDictionary = dcmjs_es["default"].data.DicomMetaDictionary;
|
|
8633
8633
|
const referencedMetadataProvider_MetadataModules = esm.Enums.MetadataModules;
|
|
8634
8634
|
const definedAttributesOf = dist_esm/* .utilities.definedAttributesOf */.BF.Kx;
|
|
8635
8635
|
const referencedMetadataProvider_cs3dLogger = esm.utilities.logger.adaptersLog.getLogger('utilities.referencedMetadataProvider');
|
|
@@ -8957,7 +8957,7 @@ const RTStruct_generateContourSetsFromLabelmap = tools_dist_esm.utilities.contou
|
|
|
8957
8957
|
|
|
8958
8958
|
|
|
8959
8959
|
var _KeyImage;
|
|
8960
|
-
const KeyImage_TID300Point = dcmjs_es
|
|
8960
|
+
const KeyImage_TID300Point = dcmjs_es.utilities.TID300.Point;
|
|
8961
8961
|
class KeyImage extends Probe {
|
|
8962
8962
|
static getMeasurementData(measurementGroup, sopInstanceUIDToImageIdMap, metadata, trackingIdentifier) {
|
|
8963
8963
|
const baseData = super.getMeasurementData(measurementGroup, sopInstanceUIDToImageIdMap, metadata, trackingIdentifier);
|
|
@@ -9055,8 +9055,8 @@ const Cornerstone3DRT = {
|
|
|
9055
9055
|
;// CONCATENATED MODULE: ../../node_modules/@cornerstonejs/adapters/dist/esm/adapters/VTKjs/Segmentation.js
|
|
9056
9056
|
|
|
9057
9057
|
|
|
9058
|
-
const Colors = dcmjs_es
|
|
9059
|
-
Segmentation_BitArray = dcmjs_es
|
|
9058
|
+
const Colors = dcmjs_es.data.Colors,
|
|
9059
|
+
Segmentation_BitArray = dcmjs_es.data.BitArray;
|
|
9060
9060
|
|
|
9061
9061
|
// TODO: Is there a better name for this? RGBAInt?
|
|
9062
9062
|
// Should we move it to Colors.js
|
|
@@ -121,7 +121,7 @@ var core_src = __webpack_require__(34142);
|
|
|
121
121
|
|
|
122
122
|
|
|
123
123
|
|
|
124
|
-
const { formatPN } = core_src
|
|
124
|
+
const { formatPN } = core_src.utils; /**
|
|
125
125
|
*
|
|
126
126
|
* @param {*} config is a configuration object that defines four lists of elements,
|
|
127
127
|
* one topLeft, topRight, bottomLeft, bottomRight contents.
|
|
@@ -183,7 +183,7 @@ const ViewportOverlay_itemGenerator = (props)=>{
|
|
|
183
183
|
...props.image,
|
|
184
184
|
...props.metadata
|
|
185
185
|
};
|
|
186
|
-
props.formatDate = ui_next_src
|
|
186
|
+
props.formatDate = ui_next_src.formatDICOMDate;
|
|
187
187
|
props.formatTime = formatDICOMTime;
|
|
188
188
|
props.formatPN = formatPN;
|
|
189
189
|
props.formatNumberPrecision = formatNumberPrecision;
|
|
@@ -235,7 +235,7 @@ var dcmjs_es = __webpack_require__(85631);
|
|
|
235
235
|
const DicomMicroscopyViewport = /*#__PURE__*/ react.memo((t0)=>{
|
|
236
236
|
const $ = (0,compiler_runtime.c)(51);
|
|
237
237
|
const { activeViewportId, setViewportActive, displaySets, viewportId, dataSource, resizeRef } = t0;
|
|
238
|
-
const { servicesManager, extensionManager } = (0,core_src
|
|
238
|
+
const { servicesManager, extensionManager } = (0,core_src.useSystem)();
|
|
239
239
|
const [isLoaded, setIsLoaded] = (0,react.useState)(false);
|
|
240
240
|
const [viewer, setViewer] = (0,react.useState)(null);
|
|
241
241
|
const [managedViewer, setManagedViewer] = (0,react.useState)(null);
|
|
@@ -265,7 +265,7 @@ const DicomMicroscopyViewport = /*#__PURE__*/ react.memo((t0)=>{
|
|
|
265
265
|
const volumeImages = [];
|
|
266
266
|
metadata.forEach((m)=>{
|
|
267
267
|
m.ImageType = typeof m.ImageType === "string" ? m.ImageType.split("\\") : m.ImageType;
|
|
268
|
-
const inst = (0,src
|
|
268
|
+
const inst = (0,src.cleanDenaturalizedDataset)(dcmjs_es["default"].data.DicomMetaDictionary.denaturalizeDataset(m), {
|
|
269
269
|
StudyInstanceUID: m.StudyInstanceUID,
|
|
270
270
|
SeriesInstanceUID: m.SeriesInstanceUID,
|
|
271
271
|
dataSourceConfig: dataSource.getConfig()
|