dcm_anon | R Documentation |
Anonymizes DICOM images
dcm_anon(
file,
rem_tags = dcmtk::removal_tags$tag,
mod_tags = NULL,
insert_tags = NULL,
new_uids = TRUE,
new_date = NULL,
new_time = NULL,
verbose_flag = FALSE,
...
)
file |
DICOM Image |
rem_tags |
tags to remove |
mod_tags |
tags to modify. Must be a character vector, with the names of that vector as the tags. |
insert_tags |
tags to insert. Must be a character vector, with the names of that vector as the tags. |
new_uids |
Should new unique identifiers (IDs) be generated |
new_date |
date to be change date fields to. |
new_time |
time to be change time fields to. |
verbose_flag |
print diagnostic messages, using
|
... |
Additional arguments to add to |
Result of dcmodify
command
## Not run:
file = "~/Desktop/000000.dcm"
anon = dcm_anon(file, new_date = "20060101")
new_hd = 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.