Be the first to rate this file! 7 Downloads (last 30 days) File Size: 1.88 KB File ID: #25586

Anonymizing a batch of Dicom Files together

by Jaydev

 

15 Oct 2009

To perform batch processing for anonymizing dicom files

| Watch this File

File Information
Description

Disclaimer: Note the removal of patient identifiers is based on 'dicomanon' function provided by Matlab and thus the user needs to independently verify if the anonymized files are as per the rules set by the required governing institution

 User is required to place each series in different folders. The program will ask the user to point to the first DICOM file in a particular series. Generally for the medical images the Dicom filename is a long list of characters with many periods
eg: x.x.xxxxx.xxxxxxxxxx.xxx.000.dcm

This program will work only in the case where the series files are in increasing order from "000" to "999"... i.e the series has filename that is ordered such that the numbers change only between the second-last and last period (quite typical of a medical study)

 Example of filelist:
Dicom File 1: x.x.xxxxx.xxxxxxxxxx.xxx.522.dcm
Dicom File 2: x.x.xxxxx.xxxxxxxxxx.xxx.523.dcm
Dicom File 3: x.x.xxxxx.xxxxxxxxxx.xxx.524.dcm
 ...
 Dicom File n: x.x.xxxxx.xxxxxxxxxx.xxx.793.dcm

The program will create the anonymized files with the name as
 "anon_filelist(i)" where i represents the image number. The program uses the dicomanon function provided in MATLAB.

This program could be useful if the image files within a study with artifacts/problems are required to be sent to the vendor for help in troubleshooting procedure; for such a process anonymizing the images with respect to patient identifiers is always recommended.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.8 (R2009a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
dicom Jaydev 15 Oct 2009 11:58:13
batch processing Jaydev 15 Oct 2009 11:58:13
anonymizing Jaydev 15 Oct 2009 11:58:13

Contact us at files@mathworks.com