dwv 0.37.0-beta.4 → 0.37.0-beta.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.
- package/dev/pacs/viewer.ui.segment.js +119 -13
- package/dist/assets/workers/labeling.worker.min.js.map +1 -1
- package/dist/assets/workers/resampling.worker.min.js.map +1 -1
- package/dist/assets/workers/rle.worker.min.js.map +1 -1
- package/dist/dwv.d.ts +17 -0
- package/dist/dwv.min.js +1 -1
- package/dist/dwv.min.js.map +1 -1
- package/dist/dwv.node.min.js +1 -1
- package/dist/dwv.node.min.js.map +1 -1
- package/package.json +4 -4
package/dist/dwv.d.ts
CHANGED
|
@@ -4853,6 +4853,23 @@ export declare class Matrix33 {
|
|
|
4853
4853
|
#private;
|
|
4854
4854
|
}
|
|
4855
4855
|
|
|
4856
|
+
/**
|
|
4857
|
+
* Merge two mask images into a new combined mask image.
|
|
4858
|
+
*
|
|
4859
|
+
* Segments from mask2 that share a segment number with mask1 are renumbered
|
|
4860
|
+
* (bumped to the next available number) to avoid conflicts. Both masks must
|
|
4861
|
+
* reference the same geometry (same spatial volume).
|
|
4862
|
+
* Brush-painted masks (no per-segment SegmentCollection data) are supported.
|
|
4863
|
+
*
|
|
4864
|
+
* The returned image can be saved with the standard
|
|
4865
|
+
* `new MaskFactory().toDicom(merged, undefined, sourceImage)` workflow.
|
|
4866
|
+
*
|
|
4867
|
+
* @param {Image} mask1 The first mask (provides base geometry and meta).
|
|
4868
|
+
* @param {Image} mask2 The second mask to merge into mask1.
|
|
4869
|
+
* @returns {Image} The new merged mask image.
|
|
4870
|
+
*/
|
|
4871
|
+
export declare function mergeMaskImages(mask1: Image_2, mask2: Image_2): Image_2;
|
|
4872
|
+
|
|
4856
4873
|
export declare namespace NormalisedManufacturers {
|
|
4857
4874
|
let GE: string;
|
|
4858
4875
|
let SIEMENS: string;
|