Class Anonymizer
Namespace: Aspose.Medical.Dicom.Anonymization
Assembly: Aspose.Medical.dll (25.11.0)
Performs anonymization operations on DICOM file or DICOM Dataset based on selected confidentiality profile. See https://dicom.nema.org/medical/dicom/current/output/chtml/part15/chapter_E.html .
public sealed class AnonymizerInheritance
Inherited Members
object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
Anonymizer(ConfidentialityProfile?)
Performs anonymization operations on DICOM file or DICOM Dataset based on selected confidentiality profile. See https://dicom.nema.org/medical/dicom/current/output/chtml/part15/chapter_E.html .
public Anonymizer(ConfidentialityProfile? profile = null)Parameters
profile ConfidentialityProfile
?
Properties
Profile
Confidentiality profile that controls anonymization operation.
public ConfidentialityProfile Profile { get; }Property Value
Methods
Anonymize(DicomFile)
Creates a new Dicom file with an anonymized dataset.
public DicomFile Anonymize(DicomFile file)Parameters
file DicomFile
The DICOM file containing the original dataset to be anonymized.
Returns
The anonymized Aspose.Medical.Dicom.DicomFile?text=DICOM+file.
Anonymize(Dataset)
Clones and anonymizes a dataset.
public Dataset Anonymize(Dataset dataset)Parameters
dataset Dataset
The DICOM dataset to be cloned and anonymized.
Returns
The anonymized Aspose.Medical.Dicom.Dataset?text=DICOM+Dataset.
Exceptions
The provided data are invalid.
An element can’t be cloned.
AnonymizeInPlace(DicomFile)
Anonymizes a dataset of the given file.
public void AnonymizeInPlace(DicomFile file)Parameters
file DicomFile
The DICOM file containing the dataset to be anonymized (the file will be altered).
Remarks
The given file will be altered.
AnonymizeInPlace(Dataset)
Anonymizes the given dataset.
public void AnonymizeInPlace(Dataset dataset)Parameters
dataset Dataset
The DICOM dataset to be anonymized (the dataset will be altered).
Remarks
The given dataset will be altered.