Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
faq:how_can_i_anonymize_dicom_files [2018/01/31 11:14]
robert include GDCM
faq:how_can_i_anonymize_dicom_files [2018/01/31 11:15] (current)
robert
Line 11: Line 11:
 Since it is not easy to determine if there is potentially identifying data in the DICOM headers, many researchers choose to share the data in NIfTI format rather than DICOM format. The NIfTI format is used by most neuroimaging software anyway, and the NIfTI header is very simple and does not allow to store any identifying information. However, there are also situations where it is desired to share the original DICOM files.  ​ Since it is not easy to determine if there is potentially identifying data in the DICOM headers, many researchers choose to share the data in NIfTI format rather than DICOM format. The NIfTI format is used by most neuroimaging software anyway, and the NIfTI header is very simple and does not allow to store any identifying information. However, there are also situations where it is desired to share the original DICOM files.  ​
  
-==== Using MATLAB ====+===== Using MATLAB ​=====
  
 The MATLAB image processing toolbox contains functions for reading and writing DICOM files. You can use The MATLAB image processing toolbox contains functions for reading and writing DICOM files. You can use
Line 24: Line 24:
  
  
-==== Using Horos ====+===== Using Horos =====
  
 [[https://​www.horosproject.org|Horos]] is a free DICOM image file viewer for Mac OS X. You can use it to view your image files and explore the metadata in the header. It works by importing all DICOM files and organizing it in its own internal database. ​ It has an "​anonymize"​ option which allows you to remove/​replace the values in specific fields. ​ [[https://​www.horosproject.org|Horos]] is a free DICOM image file viewer for Mac OS X. You can use it to view your image files and explore the metadata in the header. It works by importing all DICOM files and organizing it in its own internal database. ​ It has an "​anonymize"​ option which allows you to remove/​replace the values in specific fields. ​
Line 30: Line 30:
 The default behavior of the anonymize option is that only the metadata in own internal database is anonymized; if you want the DICOM files to be anonymized on disk, you should use the export option to write the data back to disk. To be sure that the data on disk is anonymized, I recommend importing it a second time to check the metadata. ​ The default behavior of the anonymize option is that only the metadata in own internal database is anonymized; if you want the DICOM files to be anonymized on disk, you should use the export option to write the data back to disk. To be sure that the data on disk is anonymized, I recommend importing it a second time to check the metadata. ​
  
-==== Using GDCM ====+===== Using GDCM =====
  
 [[http://​gdcm.sourceforge.net/​wiki/​index.php/​Main_Page|GDMC]] is an open source implementation of the DICOM standard in C++. You can download the software from [[http://​gdcm.sourceforge.net|SourceForge]],​ or on the compute cluster at the DCCN you can use  [[http://​gdcm.sourceforge.net/​wiki/​index.php/​Main_Page|GDMC]] is an open source implementation of the DICOM standard in C++. You can download the software from [[http://​gdcm.sourceforge.net|SourceForge]],​ or on the compute cluster at the DCCN you can use 
Line 46: Line 46:
 You can use the [[http://​gdcm.sourceforge.net/​html/​gdcmdump.html|gdcmdump]] command line program to dump one of the output DICOM file to the console and to check that all metadata fields have been anonymized. You can use the [[http://​gdcm.sourceforge.net/​html/​gdcmdump.html|gdcmdump]] command line program to dump one of the output DICOM file to the console and to check that all metadata fields have been anonymized.
  
-==== Using DCMTK ====+===== Using DCMTK =====
  
 [[http://​www.dcmtk.org|DCMTK]] is a collection of libraries and applications implementing large parts the DICOM standard. It includes software for examining, constructing and converting DICOM image files. You can download the software from its [[http://​www.dcmtk.org|homepage]],​ or on the compute cluster at the DCCN you can use  [[http://​www.dcmtk.org|DCMTK]] is a collection of libraries and applications implementing large parts the DICOM standard. It includes software for examining, constructing and converting DICOM image files. You can download the software from its [[http://​www.dcmtk.org|homepage]],​ or on the compute cluster at the DCCN you can use