Enet4 / dicom-rs

Rust implementation of the DICOM standard
https://dicom-rs.github.io
Apache License 2.0
404 stars 76 forks source link

Extend value retrieval API for encapsulated pixel data #339

Closed Enet4 closed 1 year ago

Enet4 commented 1 year ago

This extends dicom-core with a few convenience methods for retrieving specific parts from a DICOM value, namely pixel data fragments and the basic offset table. Originally, one would need to go through data_element.value(), and sometimes even match against the value. Inspired by #336.