Skip to main content

encapsulated_frames

Function encapsulated_frames 

Source
pub fn encapsulated_frames(
    pixel_data: &PixelData,
    number_of_frames: u32,
) -> DcmResult<Vec<Vec<u8>>>
Expand description

Split encapsulated pixel data into per-frame compressed payloads.

Supports:

  • single-frame encapsulated objects
  • multi-frame data with one fragment per frame and an empty BOT
  • multi-fragment-per-frame data described by the Basic Offset Table