Skip to content

Provide a readImageDICOMArrayBufferSeries #480

@FezVrasta

Description

@FezVrasta

Our pipeline looks like the following:

  1. fetch a .tar file containing several DICOM files
  2. untar the DICOM files with js-untar
  3. pipe each of them into a File instance
  4. pass the list of Files to readImageDICOMFileSeries

It'd be extremely useful if itk-wasm exposed a function similar to readImageDICOMFileSeries but that accepts a list of ArrayBuffers, since that's what we already receive from js-untar, this way the logic would look like this:

  1. fetch a .tar file containing several DICOM files
  2. untar the DICOM files with js-untar
  3. pass the list of ArrayBuffers to readImageDICOMArrayBufferSeries

The process that creates the "fake" File instances can take a lot of time (400ms on a ~300 DICOMs list)

Is there any technical reason that prevents this from being added?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions