11 releases (7 breaking)

0.8.0 Nov 6, 2024
0.7.0 Apr 25, 2024
0.6.1 Oct 31, 2023
0.6.0 Jul 23, 2023
0.1.0 Aug 31, 2019

#874 in Images

Download history 773/week @ 2024-07-29 706/week @ 2024-08-05 1118/week @ 2024-08-12 907/week @ 2024-08-19 1180/week @ 2024-08-26 1824/week @ 2024-09-02 1290/week @ 2024-09-09 981/week @ 2024-09-16 1477/week @ 2024-09-23 996/week @ 2024-09-30 1118/week @ 2024-10-07 1202/week @ 2024-10-14 1676/week @ 2024-10-21 1278/week @ 2024-10-28 1608/week @ 2024-11-04 4707/week @ 2024-11-11

9,434 downloads per month
Used in 26 crates (14 directly)

MIT/Apache

2MB
27K SLoC

DICOM-rs standard dictionary

CratesIO Documentation

This sub-project uses entries generated by the dictionary_builder to provide the standard DICOM data dictionary.

This crate is part of the DICOM-rs project and is contained by the parent crate dicom.


lib.rs:

This crate implements standard DICOM dictionaries and constants.

Run-time dictinaries

The following modules provide definitions for dictionaries which can be queried during a program's lifetime:

  • data_element: Contains all information about the DICOM attributes specified in the standard, and it will be used by default in most other abstractions available. When not using private tags, this dictionary should suffice.
  • sop_class (requires Cargo feature sop-class): Contains information about DICOM Service-Object Pair (SOP) classes and their respective unique identifiers.

The records in these dictionaries are typically collected from DICOM PS3.6 directly, but they may be obtained through other sources. Each dictionary is provided as a singleton behind a unit type for efficiency and ease of use.

Constants

The following modules contain constant declarations, which perform an equivalent mapping at compile time, thus without incurring a look-up cost:

  • tags, which map an attribute alias to a DICOM tag
  • uids, for various normative DICOM unique identifiers

Dependencies

~2–7MB
~54K SLoC