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§
- Dicom
Date - A DICOM DA (Date) value: YYYYMMDD, with optional month and day.
- Dicom
Date Time - A DICOM DT (DateTime) value: YYYYMMDDHHMMSS.FFFFFF+ZZZZ.
- Dicom
Time - A DICOM TM (Time) value: HHMMSS.FFFFFF, with optional components.
- Encapsulated
Frame - One compressed frame worth of encapsulated Pixel Data fragments.
- Person
Name - A DICOM PN (Person Name) value.
Enums§
- Pixel
Data - Pixel data stored either as native (uncompressed) bytes or encapsulated (compressed) fragments.
- Value
- The value held by a DICOM data element.
Functions§
- build_
encapsulated_ pixel_ data - Build encapsulated Pixel Data from per-frame compressed fragments.
- encapsulated_
frames - Split encapsulated pixel data into per-frame compressed payloads.
- encapsulated_
pixel_ data_ from_ frames - Convenience helper for the common one-fragment-per-frame case.