epam / epam/mriviewer

[Bug] 3D View fails to render for some DICOM datasets

Open
#232 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
367
Forks
104
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
The 3D view mode does not work correctly for certain DICOM data sets. In some cases, the volume is not rendered at all, or it appears distorted.

**To Reproduce**
Steps to reproduce the behavior:
1. Open the med3web viewer.
2. Load a DICOM data set (e.g., from a local folder).
3. Switch to the 3D visualization mode.
4. Observe that the 3D view is empty or shows incorrect data.

**Expected behavior**
The 3D view should display a correct volumetric reconstruction of the loaded DICOM data set.

**Technical Context**
Preliminary investigation of `src/engine/loaders/LoaderDicom.js` shows that:
- Compressed DICOM formats (JPEG Lossless, JPEG 2000, RLE, etc.) are currently not supported and return `ERROR_COMPRESSED_IMAGE_NOT_SUPPORTED`.
- Images with bit depths other than 8 or 16 are not yet implemented.
- These limitations might be the root cause for the reported issues with specific datasets.

**Desktop (please complete the following information):**
- OS: [e.g. Windows 10, macOS]
- Browser: [e.g. Chrome, Firefox]
- Version: [Latest]

**Additional context**
If possible, please provide a sample dataset that reproduces this issue for further debugging.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.