Skip to main content

Module decoder

Module decoder 

Source
Expand description

JPEG 2000 decoder — wraps the forked dicom-toolkit-jpeg2000 crate for DICOM use.

Decodes raw J2K codestreams (as embedded in DICOM encapsulated pixel data) at native bit depth, preserving the full dynamic range of 12-bit and 16-bit medical images.

Structs§

DecodedFrame
Decoded JPEG 2000 frame with native bit-depth pixel data.

Functions§

decode_jp2k
Decode a JPEG 2000 codestream into pixel data at native bit depth.