View Source ExDicom.Reader.ReadSequence (EX_DICOM v0.1.0)

Provides functions to read DICOM sequence items in both explicit and implicit VR.

Summary

Functions

Reads sequence items for an element in an explicit VR byte stream.

Reads sequence items for an element in an implicit VR byte stream.

Functions

read_sequence_items_explicit(byte_stream, element, warnings \\ [])

Reads sequence items for an element in an explicit VR byte stream.

Returns:

  • {:ok, updated_element, updated_stream, updated_warnings} on success
  • {:error, reason} on failure

read_sequence_items_implicit(byte_stream, element, vr_callback \\ nil)

Reads sequence items for an element in an implicit VR byte stream.

Returns:

  • {:ok, updated_element, updated_stream, updated_warnings} on success
  • {:error, reason} on failure