int main(int argc, char *argv[])
{
if( argc < 3 )
{
std::cerr << argv[0] << " input.dcm output.dcm" << std::endl;
return 1;
}
const char *filename = argv[1];
const char *outfilename = argv[2];
{
std::cerr << "Could not read: " << filename << std::endl;
return 1;
}
{
return 1;
}
return 0;
}
Anonymizer.
Definition gdcmAnonymizer.h:78
bool RemovePrivateTags()
Main function that loop over all elements and remove private tags.
void SetFile(const File &f)
Set/Get File.
Definition gdcmAnonymizer.h:126
bool Replace(Tag const &t, const char *value)
bool RemoveGroupLength()
Main function that loop over all elements and remove group length.
Reader ala DOM (Document Object Model)
Definition gdcmReader.h:54
const File & GetFile() const
Set/Get File.
Definition gdcmReader.h:72
virtual bool Read()
Main function to read a file.
void SetFileName(const char *filename_native)
Class to represent a DICOM Data Element (Attribute) Tag (Group, Element).
Definition gdcmTag.h:39
Writer ala DOM (Document Object Model)
Definition gdcmWriter.h:49
virtual bool Write()
Main function to tell the writer to write.
void SetFile(const File &f)
Set/Get the DICOM file (DataSet + Header)
Definition gdcmWriter.h:66
void SetFileName(const char *filename_native)
Set the filename of DICOM file to write: