10 releases (6 breaking)

0.7.0 Apr 25, 2024
0.6.1 Oct 31, 2023
0.6.0 Jul 23, 2023
0.5.0 Apr 28, 2022
0.1.0 Aug 31, 2019

#891 in Images

Download history 494/week @ 2024-06-17 750/week @ 2024-06-24 999/week @ 2024-07-01 829/week @ 2024-07-08 736/week @ 2024-07-15 677/week @ 2024-07-22 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

5,618 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–7.5MB
~54K SLoC