14 #ifndef GDCMANONYMIZER_H
15 #define GDCMANONYMIZER_H
26 class CryptographicMessageSyntax;
83 bool Empty(
Tag const &t );
89 bool Remove(
Tag const &t );
95 bool Replace(
Tag const &t,
const char *value );
99 bool Replace(
Tag const &t,
const char *value,
VL const & vl );
104 bool RemovePrivateTags();
107 bool RemoveGroupLength();
110 bool RemoveRetired();
124 bool BasicApplicationLevelConfidentialityProfile(
bool deidentify =
true);
134 static std::vector<Tag> GetBasicApplicationLevelConfidentialityProfileAttributes();
138 bool BALCPProtect(
DataSet &ds,
Tag const & tag,
const IOD &iod);
139 bool CanEmptyTag(
Tag const &tag,
const IOD &iod)
const;
140 void RecurseDataSet(
DataSet & ds );
143 bool BasicApplicationLevelConfidentialityProfile1();
144 bool BasicApplicationLevelConfidentialityProfile2();
145 bool CheckIfSequenceContainsAttributeToAnonymize(
File const &file,
SequenceOfItems* sqi)
const;
161 #endif //GDCMANONYMIZER_H
Class to represent a Data Set (which contains Data Elements) A Data Set represents an instance of a r...
Definition: gdcmDataSet.h:55
File & GetFile()
Definition: gdcmAnonymizer.h:118
Class to represent a Sequence Of Items (value representation : SQ)
Definition: gdcmSequenceOfItems.h:39
#define GDCM_EXPORT
Definition: gdcmWin32.h:34
Anonymizer()
Definition: gdcmAnonymizer.h:78
Value Length.
Definition: gdcmVL.h:29
static SmartPointer< Anonymizer > New()
for wrapped language: instantiate a reference counted object
Definition: gdcmAnonymizer.h:131
Anonymizer This class is a multi purpose anonymizer. It can work in 2 mode:
Definition: gdcmAnonymizer.h:75
Subject.
Definition: gdcmSubject.h:28
Class for Smart Pointer.
Definition: gdcmObject.h:26
a DICOM File See PS 3.10 File: A File is an ordered string of zero or more bytes, where the first byt...
Definition: gdcmFile.h:33
void SetFile(const File &f)
Set/Get File.
Definition: gdcmAnonymizer.h:116
Class for representing a IOD.
Definition: gdcmIOD.h:34
Class to represent a DICOM Data Element (Attribute) Tag (Group, Element). Basically an uint32_t which...
Definition: gdcmTag.h:38
Class for CryptographicMessageSyntax encryption. This is just a simple wrapper around openssl PKCS7_e...
Definition: gdcmCryptographicMessageSyntax.h:33