Expand description
This module contains a mid-level abstraction for reading DICOM content sequentially.
The rest of the crate is used to obtain DICOM element headers and values. At this level, headers and values are treated as tokens which can be used to form a syntax tree of a full data set.
Structs§
- Data
SetReader - A higher-level reader for retrieving structure in a DICOM data set from an arbitrary data source.
- Data
SetReader Options - The set of options for the data set reader.
- Skipped
Fragment - Where one skipped encapsulated pixel data fragment’s payload sat in the data set.
- Skipped
Pixel Sequence - The Basic Offset Table and per-fragment locations of an encapsulated pixel data sequence
skipped by
DataSetReader::skip_pixel_sequence_indexed. - Skipped
Value - Where a skipped value sat in the data set:
positionis the value’s first byte, relative to where this reader started reading (add the data set’s own offset in the file for an absolute file offset), andlengthits byte length.
Enums§
- Error
- OddLength
Strategy - A strategy for when the parser finds a data element with an odd number in the length header field.
- Value
Read Strategy - The value reading strategy for the data set reader.