Read all DICOM headers in a directory and return a data.frame

read_all_hdr(directory, outfile = tempfile(fileext = ".rds"),
  overwrite = FALSE, remove_suffixes = c("rds", "rois_series", "exe",
  "bat"))

Arguments

directory

Directory of DICOM files

outfile

Output RDS file to write. If it exists and overwrite = FALSE, then it will be read in and returned.

overwrite

Should the RDS file be overwritten if it exists

remove_suffixes

suffixes to be removed from list.files when trying to determine directories with DICOM

Value

A data.frame of all the tags

See also

read_dicom_header