Skip to content

MATLAB scripts to anonymize DICOM files generated by Ultrasound machines.

License

Notifications You must be signed in to change notification settings

amir-abdi/ultrasound-anonymization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ultrasound-anonymization

MATLAB scripts to anonymize DICOM files generated by Ultrasound machines.

The script, anonymizes DICOM image records and their associated meta data. The result is stored both as DICOM and a MATLAB sctructure ('Patient'). The summary of the processed files are stored in a csv file in the destination folder.

Parameters which may come handy are set at the beginning of the main.m file. Meta data fields which are transfered to the final anonymized records is set in the 'KeepFields' parameter.

Patient-identifying information is masked out of the DICOM images using the maskPatientInfo function. Since each manufacturer and ultrasound machine has different settings and locations for labels, the maskPatientInfo.m file deals with them in a case-by-case fashion. If you ran into a new manufacturer/machine, you need to follow the same trend to figure out the correct window to mask.

Feel free to send pull requests in case you encountered new manufacturer/machines or refactored the code.

About

MATLAB scripts to anonymize DICOM files generated by Ultrasound machines.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages