Module adapters

Source
Expand description

Core module for building pixel data adapters.

This module contains the core types and traits for consumers and implementers of transfer syntaxes with encapsulated pixel data.

Complete DICOM object types (such as FileDicomObject<InMemDicomObject>) implement the PixelDataObject trait. Transfer syntaxes which define an encapsulated pixel data encoding need to provide suitable implementations of PixelDataReader and PixelDataWriter to be able to decode and encode imaging data, respectively.

Modules§

decode_error
encode_error

Structs§

EncodeOptions
Custom options when encoding pixel data into an encapsulated form.
RawPixelData

Enums§

DecodeError
The possible error conditions when decoding (reading) pixel data.
EncodeError
The possible error conditions when encoding (writing) pixel data.
NeverPixelAdapter
An immaterial type representing an adapter which is never provided.

Traits§

PixelDataObject
A DICOM object trait to be interpreted as pixel data.
PixelDataReader
Trait object responsible for decoding pixel data based on the transfer syntax.
PixelDataWriter
Trait object responsible for encoding pixel data based on a certain transfer syntax.

Type Aliases§

DecodeResult
The result of decoding (reading) pixel data
DynPixelDataReader
Alias type for a dynamically dispatched pixel data reader.
DynPixelDataWriter
Alias type for a dynamically dispatched pixel data writer.
EncodeResult
The result of encoding (writing) pixel data