Module dataset

Module dataset 

Source
Expand description

Interpretation of DICOM data sets as streams of tokens.

Re-exports§

pub use self::read::DataSetReader;
pub use self::write::DataSetWriter;

Modules§

lazy_read
This module contains a mid-level abstraction for reading DICOM content sequentially and in a lazy fashion. That is, unlike the reader in the read module, DICOM values can be skipped and most allocations can be avoided.
read
This module contains a mid-level abstraction for reading DICOM content sequentially.
write
Module for the data set writer

Structs§

AsItem
A newtype for interpreting the given data as an item. When converting a value of this type into tokens, the inner value’s tokens will be surrounded by an item start and an item delimiter.
FlattenTokens
Flatten a sequence of elements into their respective token sequence in order.
IntoTokensOptions
Options for token generation
ItemValue
A newtype for wrapping a piece of raw data into an item. When converting a value of this type into tokens, the algorithm will create an item start with an explicit length, followed by an item value token, then an item delimiter.
OffsetTableItem
A newtype for wrapping a sequence of u32s into an offset table item. When converting a value of this type into tokens, the algorithm will create an item start with an explicit length, followed by an item value token, then an item delimiter.

Enums§

DataElementTokens
Token generator from a DICOM data element.
DataToken
A token of a DICOM data set stream. This is part of the interpretation of a data set as a stream of symbols, which may either represent data headers or actual value data.
Error
ItemTokens
ItemValueTokens
LazyDataToken
A lazy data token for reading a data set without requiring values to be fully read in memory. This is part of the interpretation of a data set as a stream of symbols, which may either represent data headers or actual value data.
LazyDataTokenRepr
A structured description of a lazy data token, for diagnostics and error reporting purposes.
OffsetTableItemTokens
SeqTokenType
The type of delimiter: sequence or item.

Traits§

IntoTokens
A trait for converting structured DICOM data into a stream of data tokens.

Type Aliases§

Result