Description Usage Arguments Value Note Examples
View source: R/dcm_subtract_date.R
Anonymizes DICOM images
1 2 3 4 5 6 |
file |
DICOM Image |
base_date |
baseline date to subtract dates from.
The new date is
|
origin |
origin to add back in. The new date is
|
date_tags |
tags to modify |
Output filename
If no tags are changed, then a warning will be printed.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
file = "~/Desktop/000000.dcm"
base_date = lubridate::ymd("2004-06-10")
origin = as.Date("19000101", format = "%Y%m%d")
tfile = tempfile()
file.copy(file, tfile)
anon = dcm_subtract_date(tfile, base_date = base_date)
hdr = read_dicom_header(anon)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.