dwv 0.33.0-beta.34 → 0.33.0-beta.35
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 +16 -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,23 @@ 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} [extraTags] Optional list of extra tags.
|
|
2504
|
+
* @returns {object} A list of dicom elements.
|
|
2505
|
+
*/
|
|
2506
|
+
toDicom(image: Image_2, segments: MaskSegment[], sourceImage: Image_2, extraTags?: object): object;
|
|
2498
2507
|
#private;
|
|
2499
2508
|
}
|
|
2500
2509
|
|
|
2501
2510
|
/**
|
|
2502
|
-
*
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
* DICOM (mask) segment.
|
|
2511
|
+
* DICOM (mask) segment: item of a SegmentSequence (0062,0002).
|
|
2512
|
+
*
|
|
2513
|
+
* @see https://dicom.nema.org/medical/dicom/2022a/output/chtml/part03/sect_C.8.20.4.html
|
|
2506
2514
|
*/
|
|
2507
2515
|
export declare class MaskSegment {
|
|
2508
2516
|
/**
|