[Insight-users] Dicom Anonymizer

Luis Ibanez luis.ibanez at kitware.com
Thu Oct 21 10:37:22 EDT 2004


Hi Jonathan,

You can write DICOM files by using ITK in combination
with gdcm.  This is an open-source library developed
by the Creatis team at INSA-Lyon.

      http://www.creatis.insa-lyon.fr/Public/Gdcm/

Please look at the FAQ:

       http://www.itk.org/Wiki/ITK_FAQ


in particular to:

http://www.itk.org/Wiki/ITK_FAQ#How_to_write_a_volume_as_DICOM_series


for a source code example, look at

    Insight/Examples/IO/DicomSeriesReadImageWrite2.cxx


In order to replace the tags, you can manipulate the
MetaDataDictionary that is returned from the ImageIO
object.

You are *strongly* encouraged to read the IO chapter
of the ITK Software Guide

     http://www.itk.org/ItkSoftwareGuide.pdf


Please let us know if you have further questions,


    Thanks


      Luis



-----------------------------
Jonathan Lok-Chuen Lo wrote:
> Hello All,
> 
> I am trying to write a Dicom anonymizer (i.e. removing all the patient's
> information, and replacing them with a random tag), and I believe that
> currently ITK does not have a Dicom writer (please correct me if I am
> wrong).  
> 
> I am wondering if anyone may have done this before.  I believe there are
> software packages available, but all of them can only remove the tags.  I
> however would want a Dicom anonymizer which can export the original tag
> values.
> 
> Thanks!
> 
> Regards,
> Jonathan
> 
> 
> *************************************
> Jonathan Lok-Chuen Lo
> 
> Wolfson Medical Vision Laboratory
> Department of Engineering Science 
> University of Oxford 
> Parks Road
> Oxford OX1 3PJ
> United Kingdom
>  
> Phone: +44 (0)1865 283069
> Fax:   +44 (0)1865 283145
> *************************************
> 
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 






More information about the Insight-users mailing list