NAME
DicomAnonymizer - A module to anonymize Dicom files
SYNOPSIS
use DicomPack::Util::DicomAnonymizer;
# get a DicomAnonymizer object
my $anonymizer = DicomAnonymizer->new();
# input and output Dicom files
my $inDicomFile = "your dicom file";
my $outDicomFile = "anonymized dicom file";
# anonymize PatientName and PatientID
$anonymizer->anonymize($inDicomFile, $outDicomFile,
{PatientName=>"NewPatientName", PatientID=>"NewPatientID"});
DESCRIPTION
This module anonymize (or change) the values of specified Dicom fields.
Methods
new
-
Returns a new DicomAnonymizer object.
anonymize
-
Anonymize the specified dicom fields with new values.
AUTHOR
Baoshe Zhang, Medical School, Virginia Commonwealth University.