Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

dicomclean

removes and replaces unwanted header values from DICOM images such as OperatorsName or PerformingPhysiciansName

dependencies

for DICOM header manipulation the dicom toolkit ist used. More precisely dcmodify.

plan

Grep-Mode:

  • crawl a directory with dicom images extract all header information maching a pattern and display
  • even archives (zip, tar, tgz, tbz,... ) should be grepped
  • even subdirectories should be grepped
  • duplicate matches should be aggregated in report
  • on demand all affected files should be additionally appear in the report
  • some progress indicator would be nice
  • after processing (and temporarily extraction) the directory and all its containing files should be identically as before

Replace-Mode:

  • basically same behaviour as in the Grep-Mode, but patterns should be replaced with a given value

future

  • sometimes the matching information resides not only in DICOM files, but also in DICOMDIR files as well as in text files such as foobar.txt. Maybe we can use sed for text files. We can check if a file is a text file by the file command.
  • use concurrent processes to speedup on small dicom files