Skip to content

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

@DanilRostov

Description

@DanilRostov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions