Skip to main content

Module value

Module value 

Source
Expand description

DICOM value types — the Value enum and its supporting types.

Ports DCMTK’s per-VR element classes into a single Rust enum, with dedicated structs for the richer DICOM scalar types (dates, times, person names).

Structs§

DicomDate
A DICOM DA (Date) value: YYYYMMDD, with optional month and day.
DicomDateTime
A DICOM DT (DateTime) value: YYYYMMDDHHMMSS.FFFFFF+ZZZZ.
DicomTime
A DICOM TM (Time) value: HHMMSS.FFFFFF, with optional components.
PersonName
A DICOM PN (Person Name) value.

Enums§

PixelData
Pixel data stored either as native (uncompressed) bytes or encapsulated (compressed) fragments.
Value
The value held by a DICOM data element.