Skip to main content

Crate dicom_toolkit_data

Crate dicom_toolkit_data 

Source
Expand description

⚠️ NOT FOR CLINICAL USE — This software has not been validated for diagnostic or therapeutic purposes.

Core DICOM data structures, file I/O, and encoding/decoding.

This crate ports DCMTK’s dcmdata module — the heart of DICOM data handling.

Re-exports§

pub use dataset::parse_attribute_path;
pub use dataset::resolve_attribute_path;
pub use dataset::AttributePathSegment;
pub use dataset::DataSet;
pub use element::Element;
pub use file_format::FileFormat;
pub use io::element_value_bytes;
pub use io::DicomReader;
pub use io::DicomWriter;
pub use meta_info::FileMetaInformation;
pub use value::build_encapsulated_pixel_data;
pub use value::encapsulated_frames;
pub use value::encapsulated_pixel_data_from_frames;
pub use value::DicomDate;
pub use value::DicomDateTime;
pub use value::DicomTime;
pub use value::EncapsulatedFrame;
pub use value::PersonName;
pub use value::PixelData;
pub use value::Value;

Modules§

dataset
DICOM dataset — an ordered map of Tag → Element.
element
DICOM data element — a (Tag, VR, Value) triple.
file_format
High-level DICOM file API.
io
DICOM file and stream I/O.
json
DICOM JSON serialization and deserialization (PS3.18 Annex F).
meta_info
DICOM File Meta Information (group 0002).
sequence
Helper functions for working with DICOM sequences.
value
DICOM value types — the Value enum and its supporting types.
vr
Value Representation type implementations.
xml
DICOM XML representation (PS3.19 Native DICOM Model).