Skip to content

Conversation

@MMelQin
Copy link
Collaborator

@MMelQin MMelQin commented Nov 20, 2025

This WIP pull request adds a custom pydicom decoder plugin using NVIDIA's nvImageCodec library to accelerate DICOM image decompression for various JPEG and JPEG2000 transfer syntaxes.

Key Changes:

  • Implements a new decoder plugin in decoder_nvimgcodec.py supporting 9 DICOM transfer syntaxes (JPEG Baseline, Extended, Lossless, JPEG2000, and HTJ2K variants)
  • Integrates the decoder into DICOMSeriesToVolumeOperator to automatically register the plugin during initialization
  • Exposes the decoder module through the operators package interface

@MMelQin MMelQin requested a review from Copilot November 20, 2025 02:27
Copilot finished reviewing on behalf of MMelQin November 20, 2025 02:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This WIP pull request adds a custom pydicom decoder plugin using NVIDIA's nvImageCodec library to accelerate DICOM image decompression for various JPEG and JPEG2000 transfer syntaxes.

Key Changes:

  • Implements a new decoder plugin in decoder_nvimgcodec.py supporting 9 DICOM transfer syntaxes (JPEG Baseline, Extended, Lossless, JPEG2000, and HTJ2K variants)
  • Integrates the decoder into DICOMSeriesToVolumeOperator to automatically register the plugin during initialization
  • Exposes the decoder module through the operators package interface

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 8 comments.

File Description
monai/deploy/operators/decoder_nvimgcodec.py New decoder plugin implementation with GPU-accelerated DICOM decompression using nvImageCodec, including registration logic and pydicom integration
monai/deploy/operators/dicom_series_to_volume_operator.py Adds automatic registration of nvImageCodec decoder plugin in operator initialization
monai/deploy/operators/__init__.py Exports the new nvimgcodec_handler module and adds it to all for public API

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sonarqubecloud
Copy link

@MMelQin MMelQin closed this Nov 20, 2025
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.

2 participants