Anonymizes DICOM files on your disk.
- Modified implementation of DICOM Basic Security Profile
- (Optionally) blanks rectangles in the pixel data
- Generates unique accession numbers, patient names, physician names, birth dates, UIDs, etc.
- Retains patient > study > series > image structure across many files
- Retains patient data consistency, DICOM file UID references, etc across many files
- Fast
- Simple
Recommended
dotnet tool install dcmanonymize --global
Alternative
Download from latest Github release
dcmanonymize file1.dcm file2.dcm file3.dcm
or using piped input
dcmfind | dcmanonymize
See https://github.com/amoerie/dcmfind
Options
value pos. 0 Anonymize these DICOM files. When missing, this option will be read from the piped input.
-p, --parallelism (Default: 8) Process this many files in parallel
--blank-rectangle One or more rectangular regions to blank in the pixel data. Provide values in the shape (x1,y1)->(x2,y2), e.g. (0,0)->(10,10)
--help Display this help screen.
--version Display version information.