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:
- Open the med3web viewer.
- Load a DICOM data set (e.g., from a local folder).
- Switch to the 3D visualization mode.
- 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.
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:
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.jsshows that:ERROR_COMPRESSED_IMAGE_NOT_SUPPORTED.Desktop (please complete the following information):
Additional context
If possible, please provide a sample dataset that reproduces this issue for further debugging.