Decompresses RLE-compressed (or encapsulated) DICOM files into standard
Explicit VR Little Endian (1.2.840.10008.1.2.1) uncompressed DICOM format.
Usage
dicom_decompress(path, out_path = tempfile(fileext = ".dcm"))Examples
dcm_file <- system.file("extdata", "example.dcm", package = "dicomtk")
rle_file <- dicom_compress(dcm_file)
dec_file <- dicom_decompress(rle_file)
is_dicom(dec_file)
#> [1] TRUE
