View Source ExDicom.Parser.DicomDataSet (EX_DICOM v0.2.0)
Internal helper functions for parsing implicit and explicit DICOM data sets.
Summary
Functions
Reads an explicit data set.
Parameters
- dataset - The dataset to store elements in
- byte_stream - The byte stream to read from
- max_position - The maximum position to read up to (optional)
- opts - Options map with optional keys:
- :until_tag - Stop reading when this tag is encountered
Reads an implicit data set.
Parameters
- dataset - The dataset to store elements in
- byte_stream - The byte stream to read from
- max_position - The maximum position to read up to (optional)
- opts - Options map with optional keys:
- :until_tag - Stop reading when this tag is encountered
- :vr_callback - Function to determine VR for private tags