There are a number of good and not-so-good DICOM libraries and toolkits available. However, it is not so easy to choose between them. For example, most DICOM anonymizers have bugs, which cause them to be unusable in some fashion or another.
Over the years, I’ve used a lot of DICOM anonymizers. The following is a list of common problems that I have encountered:
http://rsbweb.nih.gov/ij/plugins/anonymize-ij-dicom/index.html
Looks doubtful.
http://www.xs4all.nl/~ingenium/dicom.html
License: BSD-style
Version: 1.4.15
http://sourceforge.net/projects/dicomanonymizer/
Looks doubtful.
http://rsbweb.nih.gov/ij/plugins/dicom-rewriter.html
Looks doubtful.
http://mircwiki.rsna.org/index.php?title=DicomEditor
License: MIRC license
Version: 22
A pretty nice tool for batch editing of DICOM files. You can modify each tag using separate rules, and all fields are accessible.
Private fields can be preserved.
Dates are properly anonymized. There is a feature which allows date offsets, but it only partially works (@incrementdate works fine, but I could not get @offsetdate to work).
It includes a regular expression substitution tool for strings.
It includes a UID remapper, based on UID hashing. However, UIDs within Sequences don’t seem to work (they are not remapped).
The following link includes a comparison of different DICOM toolkits in terms of their APIs:
http://www.vph-noe.eu/vph-repository/doc_download/141-dicom-survey
Here are more links of DICOM toolkits: