@cornerstonejs/adapters 1.73.0 → 1.74.1
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/adapters.es.js +7 -0
- package/dist/adapters.es.js.map +1 -1
- package/package.json +5 -5
package/dist/adapters.es.js
CHANGED
|
@@ -775,6 +775,7 @@ var MeasurementReport$1 = /*#__PURE__*/function () {
|
|
|
775
775
|
// Merge the derived dataset with the content from the Measurement Report
|
|
776
776
|
report.dataset = Object.assign(report.dataset, contentItem);
|
|
777
777
|
report.dataset._meta = _meta;
|
|
778
|
+
report.dataset.SpecificCharacterSet = "ISO_IR 192";
|
|
778
779
|
return report;
|
|
779
780
|
}
|
|
780
781
|
|
|
@@ -2387,6 +2388,7 @@ function fillSegmentation$1(segmentation, inputLabelmaps3D) {
|
|
|
2387
2388
|
Value: ["1.2.840.10008.1.2.5"],
|
|
2388
2389
|
vr: "UI"
|
|
2389
2390
|
};
|
|
2391
|
+
segmentation.dataset.SpecificCharacterSet = "ISO_IR 192";
|
|
2390
2392
|
segmentation.dataset._vrMap.PixelData = "OB";
|
|
2391
2393
|
segmentation.dataset.PixelData = rleEncodedFrames;
|
|
2392
2394
|
} else {
|
|
@@ -2420,6 +2422,7 @@ function _createSegFromImages(images, isMultiframe, options) {
|
|
|
2420
2422
|
var dicomData = DicomMessage.readFile(arrayBuffer);
|
|
2421
2423
|
var dataset = DicomMetaDictionary$2.naturalizeDataset(dicomData.dict);
|
|
2422
2424
|
dataset._meta = DicomMetaDictionary$2.namifyDataset(dicomData.meta);
|
|
2425
|
+
dataset.SpecificCharacterSet = "ISO_IR 192";
|
|
2423
2426
|
datasets.push(dataset);
|
|
2424
2427
|
} else {
|
|
2425
2428
|
for (var i = 0; i < images.length; i++) {
|
|
@@ -2428,6 +2431,7 @@ function _createSegFromImages(images, isMultiframe, options) {
|
|
|
2428
2431
|
var _dicomData = DicomMessage.readFile(_arrayBuffer);
|
|
2429
2432
|
var _dataset = DicomMetaDictionary$2.naturalizeDataset(_dicomData.dict);
|
|
2430
2433
|
_dataset._meta = DicomMetaDictionary$2.namifyDataset(_dicomData.meta);
|
|
2434
|
+
_dataset.SpecificCharacterSet = "ISO_IR 192";
|
|
2431
2435
|
datasets.push(_dataset);
|
|
2432
2436
|
}
|
|
2433
2437
|
}
|
|
@@ -3789,6 +3793,7 @@ var MeasurementReport = /** @class */ (function () {
|
|
|
3789
3793
|
// Merge the derived dataset with the content from the Measurement Report
|
|
3790
3794
|
report.dataset = Object.assign(report.dataset, contentItem);
|
|
3791
3795
|
report.dataset._meta = _meta;
|
|
3796
|
+
report.SpecificCharacterSet = "ISO_IR 192";
|
|
3792
3797
|
return report;
|
|
3793
3798
|
};
|
|
3794
3799
|
/**
|
|
@@ -5306,6 +5311,7 @@ function generateRTSSFromSegmentations(segmentations, metadataProvider, DicomMet
|
|
|
5306
5311
|
}
|
|
5307
5312
|
};
|
|
5308
5313
|
dataset._meta = _meta;
|
|
5314
|
+
dataset.SpecificCharacterSet = "ISO_IR 192";
|
|
5309
5315
|
return dataset;
|
|
5310
5316
|
}
|
|
5311
5317
|
/**
|
|
@@ -5357,6 +5363,7 @@ function generateRTSSFromAnnotations(annotations, metadataProvider, DicomMetadat
|
|
|
5357
5363
|
}
|
|
5358
5364
|
};
|
|
5359
5365
|
dataset._meta = _meta;
|
|
5366
|
+
dataset.SpecificCharacterSet = "ISO_IR 192";
|
|
5360
5367
|
return dataset;
|
|
5361
5368
|
}
|
|
5362
5369
|
// /**
|