Class StudyIdAnonymizer
Removes the study id from the DICOM files and creates a new study id
Inheritance
System.Object
StudyIdAnonymizer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace:EvilDICOM.Anonymization.Anonymizers
Assembly:EvilDICOM.dll
Syntax
public class StudyIdAnonymizer : IAnonymizer
Constructors
View SourceStudyIdAnonymizer()
Declaration
public StudyIdAnonymizer()
Properties
View SourceName
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
StudyDictionary
A dictionary which stores the original study id and type of study
Declaration
public Dictionary<string, string> StudyDictionary { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.Dictionary<System.String, System.String> |
Methods
View SourceAddDICOMObject(DICOMObject)
Declaration
public void AddDICOMObject(DICOMObject d)
Parameters
| Type | Name | Description |
|---|---|---|
| DICOMObject | d |
Anonymize(DICOMObject)
Declaration
public void Anonymize(DICOMObject d)
Parameters
| Type | Name | Description |
|---|---|---|
| DICOMObject | d |
Implements
View SourceFinalizeDictionary()
This method is to be called once all DICOM objects are added. It then remaps study ids in a private dictionary
Declaration
public void FinalizeDictionary()
GenerateNames()
Declaration
public void GenerateNames()
GenerateNamesByType()
Declaration
public void GenerateNamesByType()
GetFileType(DICOMObject)
Declaration
public static DICOMFileType GetFileType(DICOMObject d)
Parameters
| Type | Name | Description |
|---|---|---|
| DICOMObject | d |
Returns
| Type | Description |
|---|---|
| DICOMFileType |