Anonymize Dicom data from code

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
IThirunarayanan
Posts: 12
Joined: Thu, 2021-03-18, 08:57

Anonymize Dicom data from code

#1 Post by IThirunarayanan » Wed, 2021-04-28, 17:34

Hello dcmtk team,

Is there a way to anonymize Dicom data using dcmtk from code rather than with the dcmodify app?

Thanks.

Michael Onken
DCMTK Developer
Posts: 1815
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

Re: Anonymize Dicom data from code

#2 Post by Michael Onken » Thu, 2021-04-29, 08:58

Hi,

unfortunately we do not have any anonymization routines in DCMTK that you could call. You could use the dcmodify code base (mdfdsman.cc) as a basis but it is probably easier to directly use the API provided by DcmItem directly.

Note that good anonymization takes some effort. See the Attribute Confidentiality Profiles in DICOM part 15 for more information.

Best regards,
Michael

IThirunarayanan
Posts: 12
Joined: Thu, 2021-03-18, 08:57

Re: Anonymize Dicom data from code

#3 Post by IThirunarayanan » Thu, 2021-04-29, 17:07

Thank you!

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest