Anonymizing a batch of Dicom Files together
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.
Cita come
Jaydev (2025). Anonymizing a batch of Dicom Files together (https://it.mathworks.com/matlabcentral/fileexchange/25586-anonymizing-a-batch-of-dicom-files-together), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- Image Processing and Computer Vision > Image Processing Toolbox > Import, Export, and Conversion > Image Sequences and Batch Processing >
- Parallel Computing > Parallel Computing Toolbox > Big Data Processing >
- Industries > Medical Devices > DICOM Format >
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |
