dwv 0.33.0-beta.34 → 0.33.0-beta.36
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/dwv.d.ts +20 -8
- package/dist/dwv.min.js +1 -1
- package/dist/dwv.min.js.map +1 -1
- package/package.json +1 -1
package/dist/dwv.d.ts
CHANGED
|
@@ -774,10 +774,9 @@ export declare namespace defaults {
|
|
|
774
774
|
}
|
|
775
775
|
|
|
776
776
|
/**
|
|
777
|
-
*
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
* DICOM code.
|
|
777
|
+
* DICOM code: item of a basic code sequence.
|
|
778
|
+
*
|
|
779
|
+
* @see https://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_8.8.html
|
|
781
780
|
*/
|
|
782
781
|
export declare class DicomCode {
|
|
783
782
|
/**
|
|
@@ -2495,14 +2494,27 @@ export declare class MaskFactory {
|
|
|
2495
2494
|
create(dataElements: {
|
|
2496
2495
|
[x: string]: DataElement;
|
|
2497
2496
|
}, pixelBuffer: Uint8Array | Int8Array | Uint16Array | Int16Array | Uint32Array | Int32Array): Image_2;
|
|
2497
|
+
/**
|
|
2498
|
+
* Convert a mask image into a DICOM segmentation object.
|
|
2499
|
+
*
|
|
2500
|
+
* @param {Image} image The mask image.
|
|
2501
|
+
* @param {MaskSegment[]} segments The mask segments.
|
|
2502
|
+
* @param {Image} sourceImage The source image.
|
|
2503
|
+
* @param {Object<string, any>} [extraTags] Optional list of extra tags.
|
|
2504
|
+
* @returns {Object<string, DataElement>} A list of dicom elements.
|
|
2505
|
+
*/
|
|
2506
|
+
toDicom(image: Image_2, segments: MaskSegment[], sourceImage: Image_2, extraTags?: {
|
|
2507
|
+
[x: string]: any;
|
|
2508
|
+
}): {
|
|
2509
|
+
[x: string]: DataElement;
|
|
2510
|
+
};
|
|
2498
2511
|
#private;
|
|
2499
2512
|
}
|
|
2500
2513
|
|
|
2501
2514
|
/**
|
|
2502
|
-
*
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
* DICOM (mask) segment.
|
|
2515
|
+
* DICOM (mask) segment: item of a SegmentSequence (0062,0002).
|
|
2516
|
+
*
|
|
2517
|
+
* @see https://dicom.nema.org/medical/dicom/2022a/output/chtml/part03/sect_C.8.20.4.html
|
|
2506
2518
|
*/
|
|
2507
2519
|
export declare class MaskSegment {
|
|
2508
2520
|
/**
|