pydicom.config.data_element_callback

pydicom.config.data_element_callback: ElementCallback | None = None

Set to a callable function to be called from dcmread() every time a RawDataElement has been returned, before it is added to the Dataset.

Default None.

Deprecated since version 3.0: data_element_callback will be removed in v4.0, use register_callback() instead.