@cornerstonejs/adapters 3.8.3 → 3.8.5
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare function generateRTSSFromSegmentations(segmentations: any, metadataProvider: any, DicomMetadataStore: any): {
|
|
1
|
+
declare function generateRTSSFromSegmentations(segmentations: any, metadataProvider: any, DicomMetadataStore: any): Promise<{
|
|
2
2
|
StudyInstanceUID: any;
|
|
3
3
|
SOPClassUID: string;
|
|
4
4
|
SOPInstanceUID: any;
|
|
@@ -30,7 +30,7 @@ declare function generateRTSSFromSegmentations(segmentations: any, metadataProvi
|
|
|
30
30
|
RTROIObservationsSequence: any[];
|
|
31
31
|
ReferencedSeriesSequence: any[];
|
|
32
32
|
ReferencedFrameOfReferenceSequence: any[];
|
|
33
|
-
}
|
|
33
|
+
}>;
|
|
34
34
|
declare function generateRTSSFromAnnotations(annotations: any, metadataProvider: any, DicomMetadataStore: any): {
|
|
35
35
|
StudyInstanceUID: any;
|
|
36
36
|
SOPClassUID: string;
|
|
@@ -14,9 +14,9 @@ const {
|
|
|
14
14
|
const {
|
|
15
15
|
DicomMetaDictionary
|
|
16
16
|
} = dcmjs.data;
|
|
17
|
-
function generateRTSSFromSegmentations(segmentations, metadataProvider, DicomMetadataStore) {
|
|
17
|
+
async function generateRTSSFromSegmentations(segmentations, metadataProvider, DicomMetadataStore) {
|
|
18
18
|
const roiContours = [];
|
|
19
|
-
const contourSets = generateContourSetsFromLabelmap({
|
|
19
|
+
const contourSets = await generateContourSetsFromLabelmap({
|
|
20
20
|
segmentations
|
|
21
21
|
});
|
|
22
22
|
contourSets.forEach((contourSet, segIndex) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cornerstonejs/adapters",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.5",
|
|
4
4
|
"description": "Adapters for Cornerstone3D to/from formats including DICOM SR and others",
|
|
5
5
|
"module": "./dist/esm/index.js",
|
|
6
6
|
"types": "./dist/esm/index.d.ts",
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
"ndarray": "^1.0.19"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
|
-
"@cornerstonejs/core": "^3.8.
|
|
88
|
-
"@cornerstonejs/tools": "^3.8.
|
|
87
|
+
"@cornerstonejs/core": "^3.8.5",
|
|
88
|
+
"@cornerstonejs/tools": "^3.8.5"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "782551a1523d3619fa002b9b5bb2991519fb5f40"
|
|
91
91
|
}
|