Function dicom_object::file::open_file

source ·
pub fn open_file<P>(path: P) -> Result<DefaultDicomObject>
where P: AsRef<Path>,
Expand description

Create a DICOM object by reading from a file.

This function assumes the standard file encoding structure: 128-byte preamble, file meta group, and the rest of the data set.