Add scoped DICOM series previews with 3D volume and MPR views
This commit is contained in:
1 parent
7371c29111
commit
6d8faa7d03
23 files changed
+1479
-20
No files matched your search
@@ -73,6 +73,13 @@ self.onmessage({
|
||||
});
|
||||
assert.equal(replies[4]?.encoding, "utf-8");
|
||||
assert.ok(replies[4]?.metadata.some((entry) => entry.value === "Иван Петров"));
|
||||
self.onmessage({
|
||||
data: { id: 6, mode: "volumeSlice", buffer: fixture(16, { slice: 2 }) },
|
||||
});
|
||||
assert.equal(replies[5]?.error, undefined);
|
||||
assert.deepEqual(Array.from(replies[5].slice.position), [0, 0, 2]);
|
||||
assert.deepEqual(Array.from(replies[5].slice.orientation), [1, 0, 0, 0, 1, 0]);
|
||||
assert.equal(replies[5].slice.pixels[0], -2048);
|
||||
console.log(
|
||||
"Production DICOM worker: decode, metadata and text encodings passed"
|
||||
"Production DICOM worker: decode, metadata, text encodings and volume slices passed"
|
||||
);
|
||||
Reference in new issue
Block a user