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:
License: MIRC license
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:
Here are more links of DICOM toolkits: