X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=TODO;h=b7a40513a06c24a0428f3fcefd71d50ee92543c3;hb=1d7f7845726ab0b4e4630575f629a554d5707576;hp=0e7dc0211dae44f6ae6efc356acbb70f69248c45;hpb=1f5594f4e2bc55ccc70ff04cd66acc7cd8da74c8;p=gdcm.git diff --git a/TODO b/TODO index 0e7dc021..b7a40513 100644 --- a/TODO +++ b/TODO @@ -15,7 +15,6 @@ * As stated by the first lines of Test/ExceptionAndPython/README, it looks like we can move back to the exceptions and remove the errno stuff from src/gdcm* ! -* adapt python/gdcmPython/Makefile to automake/autoconf tools * Fix the bug in Test/bug1.cxx (see first comment line): Win32 only. * All (or at least many of) the methods of gdcmHeader whose only arguments are an ElValue* (e.g. FindLength, FindVR, LoadElementValue...) can @@ -43,3 +42,21 @@ and load image /home/frog/cvs/DCMlib/Data/CT-MONO2-16-ankle.dcm will yield wrong coloring scheme as opposed to affim filein=/home/frog/cvs/DCMlib/Data/CT-MONO2-16-ankle.dcm +* gdcmFile should implement the following: + gdcmFile WriteDicom; + WriteDicom.SetFileName("MyDicomFile.dcm"); + string * AllTags = gdcmHeader.GetDcmTagNames(); + WriteDicom.SetDcmTag(AllTags[5], "253"); + WriteDicom.SetDcmTag("Patient Name", "bozo"); + WriteDicom.SetDcmTag("Patient Name", "bozo"); + WriteDicom.SetImageData(Image); + WriteDicom.Write(); + + Anonymize(ostream& output) { + a = gdcmFile("toto1"); + a.SetPubValueByName("Patient Name", ""); + a.SetPubValueByName("Date", ""); + a.SetPubValueByName("Study Date", ""); + a.write(output); + } +