Skip to content

refactor(dicom): unify loading and extract core and vtk modules - #994

Draft
PaulHax wants to merge 8 commits into
Kitware:mainfrom
PaulHax:dicom-loading
Draft

PaulHax wants to merge 8 commits into
Kitware:mainfrom
PaulHax:dicom-loading

Conversation

@PaulHax

@PaulHax PaulHax commented Oct 25, 2026

Copy link
Copy Markdown
Collaborator

DICOM files and URLs now share a metadata-first loading pipeline with progressive whole-instance decoding. Plan collections consistently across batch and incremental imports, splitting incompatible acquisitions and pixel geometries while preserving stable identities, reconstruction details and session provenance.

Extract the reusable browser pipeline into private packages/dicom core and vtk entry points. Core owns sources, structured metadata, collection planning and typed pixel decoding; the vtk consumer owns image allocation, pixel writes, rendering updates and cleanup. VolView retains its stores, UI and import transactions, while the package shares the existing root tooling and provides standalone JavaScript and declaration builds.

Configure worker/WASM assets explicitly, recover decoding after worker startup failures, and reconcile source disposal with rollback and deletion. Discard stale thumbnail results and keep sparse slice mappings anchored at slot zero.

Depends on #993.

@netlify

netlify Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for volview-dev ready!

Name Link
🔨 Latest commit 4f47bea
🔍 Latest deploy log https://app.netlify.com/projects/volview-dev/deploys/6adf5761c3d33b13802a4c53
😎 Deploy Preview https://deploy-preview-994--volview-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Keep surviving collection sources usable through rollback, settle worker
startup failures, discard stale thumbnail results, and avoid repeated
metadata scans. Preserve rendering selectors and wait for completed views
in browser tests.
Require zero-based slice mappings while preserving sparse slots. Normalize
the standalone consumer guard path, document worker hosting, and remove
the redundant shared-worker GDCM preload.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant