0.0.4 • Published 12 months ago

dcmjs-stream v0.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

dcmjs-stream

Stream version for reading DICOM files of dcmjs.

Usage

import { DicomMessageAsync } from "dcmjs-stream";
import { readFrame } from "dcmjs-stream/readFrame";

const dataset = await DicomMessageAsync.readFile("path/to/file.dcm", {
    untilTag: "7FE00010"
});

// Read the 136th frame
const frame = await readFrame(dataset.bufferStream, 136);

Memory Benchmark

Below is the memory benchmark result of reading a 700MB DICOM file.

Memory Benchmark Result

0.0.3

12 months ago

0.0.4

12 months ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago