1 2004-06-30 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2 * Test/CmakeList.txt: removed the following from black list (to be coherent
3 with removal from gdcmData):
4 - gdcm-MR-PHILIPS-16-Multi-Seq.fixed.dcm
5 - gdcm-MR-PHILIPS-16.dcm
7 Added the following because after last cvs update, they cause
8 ctest -R TestReadWriteReadCompare
10 - gdcm-MR-SIEMENS-16-1.acr
12 * Test/TestReadWriteReadCompare.cxx was properly written (with a call
13 to gdcmFile::SetImageData()) BUT since gdcmFile is brain damaged (see
14 new comments in this file) we temporarily (sigh) move to a weaker
16 * Test/CmakeList.txt: with the change to Test/TestReadWriteReadCompare.cxx
17 we don't need to black list the following images anymore:
18 - 8BitsUncompressedColor.dcm
20 - US-PAL-8-10x-echo.dcm
21 * src/gdcmDocument.[h|cxx]: RE-Reverting to version 1.42 with the proper
22 fixes and the beautified code ;-)
23 This fixes the bug introduced in version 1.42 (when beautifying)
24 that made the parsing of 8BitsRunLengthColor.dcm unproper.
25 Note: ctest was blind to this bug (this means we need to still
26 improve the test suite). The bug could be detected by using
27 gdcmbin/bin/PrintDocument $GDCM_DATA/8BitsRunLengthColor.dcm
29 gdcmbin/bin/ReadWrite $GDCM_DATA/8BitsRunLengthColor.dcm
30 and by displaying the (garbage) produced file temp.XDCM...
32 2004-06-29 Jean-Pierre Roux
33 FIX : - remove Frog's beautified, but never checked 'Parse7FE0' code,
34 - replace by uggly but working old code :-(
35 A lot of things should be OK again.
36 It's really urgent to have a test suite that *tests*,
37 to prevent Frog's beautifying sessions to break all the stuff
38 (twice, withing a fortnigh ...)
40 2004-06-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
41 * Test/TestWriteRead.cxx and TestReadWrite.cxx merged (because of
42 redundancy) to added Test/TestReadWriteReadCompare.cxx
43 * Test/CmakeList.txt: because the compare test of
44 Test/TestReadWriteReadCompare.cxx fails, the following images are
45 black listed: - 8BitsUncompressedColor.dcm
47 - US-PAL-8-10x-echo.dcm
48 * src/gdcmDocument.cxx: for broken (non DICOM V3 conformal) images
49 (e.g. gdcm-JPEG-LossLess3a.dcm see comments in
50 gdcm/gdcmPython/testSuite.py for details) ::FindDocLengthOB() had
51 and ad-hoc kludge. This kludge is now removed, and on encountering
52 such an image (OB field brain damaged) we set errno. Then in
53 ::FindDocLength() we "fix" the length as being ALL what remains
54 in the file (until EOF). We then proceed, hoping for the best...
55 This fixes a SegFault in ShowDicom when trying to write such an
57 * Test/CmakeList.txt: 8BitsRunLengthColor.dcm is now blacklisted
58 (because TestWriteRead breaks on it, after a non conformal commit?).
59 ctest now runs properly, except for MakeDicomDir (which was allways
60 broken) and the Python related stuff (still not fixed).
62 2004-06-24 Jean-Pierre Roux
63 ADD : Examples/WriteRead, that acts like the former Test/TestWriteRead
64 FIX : Test/TestReadWrite now iterates on all the file names
65 (instead of infinite loop)
66 ENH : Test/TestWriteRead now iterates on all the file names
68 2004-06-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
69 * Test/TestReadWrite.cxx: now uses all the images of gdcmData.
71 2004-06-24 Jean-Pierre Roux
72 FIX : - now Write drops LUT Descriptors and LUTs (if any)
73 when SamplesPerPixel =3
74 - now Write is no longer confused by
75 'BitsAllocated = 12" and 'BitsStored=12"
76 - "UN" value representation Elements are now written correctly
77 (their legth is stored on 4 bytes -just like OB, OW, and SQ-)
78 ENH : - now gdcmHeader has its own Write methods
79 (in order to split the job that has not to be done
82 2004-06-23 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
83 * Test/PrintAllDocument.cxx: looping on files is now effective. It used to
84 loop on the same image until memory went out.
85 Note: this means we still have gobs of memory loss in PrintDocument
86 * src/gdcmDocument.cxx: fixes problem on parsing on file
87 gdcmData/16BitsJpegLosslessGrayScale.dcm.
89 2004-06-24 Jean-Pierre Roux
90 FIX : Write - All the Sequences and Sequence Item are now written
91 as 'no length' stuff, and a Sequence Delimitor aor an Item Delimitor
92 is added a the end, when necessary.
93 - A lot of brain-damaged images, that were read correctly are
95 - length compatible BinEntry are now loaded correctly
97 Note : only Explicit Value Representation was checked.
98 (question : is implicit VR really necessary for gdcm ?)
100 2004-06-23 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
101 * DEVELOPPER: added a proposition of coding style.
102 * src/gdcmDocEntry.h: removed every inline declaration (for test of
105 2004-06-23 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
106 * gdcmDocEntry::PrintCommonPart() and ::WriteCommonPart() removed.
107 Use the gdcmDocEntry::Print() and Write() instead.
108 * src/gdcmDocument.cxx: bug fix.
110 2004-06-22 Jean-Pierre Roux
111 FIX : gdcmDocument.cxx
112 - Now we do recognize the JpegLossLess format (there was a misstyping in
113 code 'beautyfication' :-(
114 - Now we automaticaticaly load the Luts, if any
116 2004-06-22 Jean-Pierre Roux
117 In order : to write Sequences, whatever their imbrication level,
118 : to allow user to create his own Sequences
119 a lot of modif where necessary (adding, moving, or virtualising methods)
121 WARNING : save your own sources *before* cvs up !
124 ADD virtual void Write(FILE *fp, FileType filetype);
127 ADD virtual void Write(FILE *fp, FileType filetype);
128 ADD void gdcmDocEntry::WriteCommonPart(FILE *fp, FileType filetype);
131 ADD virtual void Write (FILE *fp, FileType filetype)=0;
132 ADD virtual gdcmDocEntry *GetDocEntryByNumber(guint16 group,guint16 element) = 0;
133 ADD gdcmDocEntry *GetDocEntryByName(std::string name);
134 ADD virtual std::string GetEntryByNumber(guint16 group,guint16 element) = 0;
135 ADD std::string GetEntryByName(TagName name);
136 ADD gdcmDictEntry *NewVirtualDictEntry(guint16 group,
138 std::string vr = "unkn",
139 std::string fourth = "unkn",
140 std::string name = "unkn");
141 ADD gdcmValEntry *NewValEntryByNumber(guint16 group, guint16 element);
142 ADD gdcmBinEntry *NewBinEntryByNumber(guint16 group, guint16 element);
143 ADD gdcmDocEntry *NewDocEntryByNumber(guint16 group, guint16 element);
144 ADD gdcmDocEntry *NewDocEntryByName (std::string Name);
145 ADD gdcmDictEntry *GetDictEntryByName (std::string Name);
146 ADD gdcmDictEntry *GetDictEntryByNumber(guint16, guint16);
147 REM virtual gdcmDocEntry *NewDocEntryByNumber(guint16 group, guint16 element)=0;
148 REM virtual gdcmDocEntry *NewDocEntryByName (std::string Name)=0;
151 ADD virtual bool WriteF(FileType type); // New stuff, with recursive exploration
152 ADD virtual std::string GetEntryByName (TagName tagName);
153 ADD virtual std::string GetEntryVRByName (TagName tagName);
154 REM virtual bool Write(FILE *, FileType);
155 REM virtual void WriteEntryTagVRLength(gdcmDocEntry *tag,
156 FILE *_fp, FileType type);
157 REM virtual void WriteEntryValue(gdcmDocEntry *tag,FILE *_fp,FileType type);
158 REM virtual bool WriteEntry(gdcmDocEntry *tag,FILE *_fp,FileType type);
159 REM virtual bool WriteEntries(FILE *_fp,FileType type);
160 REM virtual std::string GetEntryByName (std::string tagName);
161 REM virtual std::string GetEntryVRByName (std::string tagName);
162 REM gdcmDictEntry *GetDictEntryByName (std::string Name);
163 REM gdcmDictEntry *GetDictEntryByNumber(guint16, guint16);
164 REM gdcmDictEntry *NewVirtualDictEntry(guint16 group,
166 std::string vr = "unkn",
167 std::string fourth = "unkn",
168 std::string name = "unkn");
169 REM gdcmDocEntry *NewDocEntryByNumber(guint16 group, guint16 element);
170 REM gdcmDocEntry *NewDocEntryByName (std::string Name);
171 REM gdcmValEntry *NewValEntryByNumber(guint16 group, guint16 element);
172 REM gdcmBinEntry *NewBinEntryByNumber(guint16 group, guint16 element);
175 ADD virtual void Write(FILE *fp, FileType filetype);
178 ADD virtual void Write(FILE *fp,FileType filetype);
181 ADD virtual void Write(FILE *fp, FileType filetype);
182 ADD virtual std::string GetEntryByNumber(guint16 group, guint16 element);
183 REM std::string GetEntryByNumber(guint16 group, guint16 element);
184 REM std::string GetEntryByName(TagName name);
187 ADD virtual void gdcmValEntry::Write(FILE *fp, FileType filetype);
189 2004-06-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
190 * Test/TestWriteSimple.cxx: fix to gdcmHeader-gdcmHeaderHelper revamping.
191 The default constructor invoked by the line
192 gdcmHeader *f1 = new gdcmHeader( header );
193 was gdcmHeader::gdcmHeader(bool) instead of the expected
194 gdcmHeader::gdcmHeader(std::string const &, bool = false, bool, bool).
195 Hence the parsing wasn't executed... See also below.
196 * src/gdcmHeader.h: the declaration of gdcmHeader::gdcmHeader(bool)
197 as explicit constructor didn't do the trick to fix the above problem.
198 Could anyone explain why ?
199 * src/gdcmBinEntry.cxx, gdcmValEntry.cxx: gdcmBinEntry::Print() now
200 properly calls gdcmValEntry::Print() (that was weed out from
201 code related to gdcmBinEntry).
203 2004-06-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
204 * In order to fix memory leaks:
205 - Test/TestWriteSimple.cxx: added cleaning of free store through
207 - src/gdcmBinEntry.cxx: fix to avoid SegFault.
208 - src/gdcmDicomDir.[cxx|h]: fixed initialisation in constructor
209 gdcmDicomDir::gdcmDicomDir(bool) [either the constructor itself
210 (through the call to ::AddDicomDirMeta()) or the destructor
211 would crash when deleting uninitialized ::metaElems].
212 - src/gdcmDictEntry.cxx: annotation of ununderstood memory leak.
213 - src/gdcmDocument.cxx:
214 -- ::~gdcmDocument() destructor now cleans up all dictionary entries
216 -- ::ParseDES() misplaced deletion of temporary NewDocEntry
217 was causing memory leaks.
218 - src/gdcmSQItem.cxx:
219 -- ::~gdcmSQItem() dummy code cleaned (learned that deletion is
220 cleanly handled with polymophism: sorry but my milage is low).
221 -- ::SetEntryByNumber(string, guint16, guint16) now cleanly allocates
222 a gdcmValENtry, and makes no assumption on type (gdcmDocEntry,
223 gdcmSeqEntry vs gdcmValEntry) of existing entry (when present).
224 This avoids SegFaulting.
225 - src/gdcmSQItem.h: coding style.
227 - Test/TestWriteSimple still severely sucks. The output image content
228 (when $(GDCMDATA_HOME)/012345.002.050.dcm in input) is brain
229 damaged when displayed with vtkgdcmViewer.
230 - on memory leaks: TestWriteSimple leaks really less (see entry
231 of 2004-06-18 in Changelog file for the call to valgrind).
232 - on segfaults: ctest now passes all the tests but one (no more
234 * Erroneous leading white fix:
235 - src/gdcmDict.cxx: getline(from,xxx) doesn't remove the leading
236 white[s] (as opposed to from >> xxx, that removes it [them].
237 - src/gdcmTS.cxx: ditto.
238 - gdcmPython/testSuite.py: dirty related kludge removed.
239 * src/*: remaining references to gdcmParser removed.
240 * src/*[cxx|h]: added copy[way]left header.
243 2004-06-18 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
244 * In order to fix writing of dicom files:
245 - Test/TestWriteSimple.cxx: a simpler example of writing.
246 - Test/CMakeLists.txt changed accordingly.
247 - src/gdcmDocument.cxx:
248 -- The destructor now recursilvely removes potential sequences.
249 -- Bug fix in ::IsJPEG2000()
250 -- ::ReplaceOrCreateByNumber(std::string, guint16, guint16)
251 now handles promotion of gdcmDocEntry to gdcmValEntry in a cleaner
253 -- ::GetValEntryByNumber(guint16, guint16) now defined (as opposed
254 to only declared) and build on top of
255 ::GetDocEntryByNumber(guint16, guint16).
256 -- ::SetEntryByNumber() now uses GetValEntryByNumber(group, element)
257 - src/gdcmElementSet.[h|cxx]: added ::RemoveEntry(gdcmDocEntry *)
258 for usage in destructor and treatement of promotion in
259 ::ReplaceOrCreateByNumber().
260 - src/gdcmSQItem.cxx: destructor should better handle his job.
261 Test/TestWriteSimple now runs (or at least it DOES something).
262 * We can now start hutting memory links. A good starting point is:
263 valgrind -q --skin=memcheck --leak-check=yes --leak-resolution=high
264 --num-callers=100 --show-reachable=yes gdcmTests TestWriteSimple
265 $(GDCMDATA_HOME)/012345.002.050.dcm foo.dcm
267 2004-06-18 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
268 * Valgrind note: after Mathieu Malaterre teached me how to read
269 the valgrind FAQ ;-] (see http://valgrind.kde.org/faq.html), I
271 Using gcc, you can force the STL to use malloc and to free memory as
272 soon as possible by globally disabling memory caching.
273 With 3.2.2 and later, you should export the environment variable
274 GLIBCPP_FORCE_NEW before running your program.
275 By setting GLIBCPP_FORCE_NEW, STL related memory leak messages of gdcm
276 simply vanish (it is still not clear to me, whether this means that
277 STL std::string leaks or if valgrind believes it leaks...).
278 * Fixing of SegFault of Test/makeDicomDir (as shown by ctest or by
279 running bin/gdcmTests makeDicomDir):
280 - src/gdcmDicomDir.cxx: dynamic casting used + clean up.
281 - Test/makeDicomDir.cxx now properly traps empty lists and returns
283 NOW, makeDicomDir cleanly fails (in ctest terminology) instead of
284 SegFaulting (I drowned in DicomDir related code when trying to
285 understand why the list is empty...).
286 * src/gdcmDocument.h: first BSD license header try.
287 * Doc/License.txt added.
289 2004-06-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
290 * src/gdcmDocument.[h|cxx]:
291 - Clean up of the Transfer related predicates. They are now all based
292 on new method isGivenTransferSyntax, that (should) handle properly
294 - general clean up, simplification, and coding style.
295 - Specific clean up of Parse7FE0() (umproperly named actually).
296 * gdcmPython/testSuite.py: an odd temporary kludge introduced.
298 2004-06-14 Jean-Pierre Roux
300 - fix the display of Sequence Delimitor (SQDepthLevel pb)
301 - fix the display of SQItem ordinal number
302 - add the GetSQItemByOrdinalNumber method
303 - remove some useless never written private methods
305 2004-06-14 Jean-Pierre Roux
307 - adding a constructor taking a gdcmDocEntry as an input param
308 - ReplaceOrCreateByNumber now returns :
309 a gdcmBinEntry * if a Binary (void *) value is passed as a param
310 a gdcmValEntry * if a string value is passed as a param
312 - SetEntryByNumber now allows setting gdcmValEntry or gdcmBinEntry,
313 according to the param type (no longer sets a gdcmDocEntry)
314 - GetValEntryByNumber, GetBinEntryByNumber added
315 - NewValEntryByNumber and NewBinEntryByNumber added
317 - Pixel Data are now linked to the (7fe0,0010) elements, after reading
319 - GetSQItemNumber and SetSQItemNumber added, to provide
320 a (relative) Item identier inside a given Sequence
321 \warning : some pb remaining around this number
323 - AddEntry now takes the Item Number as a param
325 - adding a constructor taking a gdcmDocEntry as an input param
327 2004-06-14 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
328 * Memory leak hunt with the following command:
329 valgrind --leak-check=yes --leak-resolution=high --num-callers=40
330 --show-reachable=yes gdcmTests PrintDocument
331 It looks like many (all?) leaks are due to the STL (or a bad usage
332 of the STL. The lines producing the leaks now have a comment with
333 a "MEMORY LEAK" tag: you can retrieve them with
334 grep "MEMORY LEAK" src/*
335 Here are two typical examples which I can't help fixing:
340 char * test = "babo";
341 name = test; //// <--- valgrind detects 960 bytes lost in
342 //// call to std::string::operator=(char const*)
343 name.clear(); //// Doesn't help !
351 std::cout << "Type a bunch of characters followed by RETURN: ";
352 getline(std::cin, line); //// <--- valgrind dectects a loss
353 //// of 1320 bytes in call to
354 /// std::basic_istream<>& std::getline<>
360 2004-06-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
361 * src/gdcmHeader.[cxx|h]:
362 - Predicates on the Transfer syntax (of the form Is[JPEG|RLE]*)
363 and related, moved away to gdcmDocument.
364 - Accessors (on the form [Get|Set]Entry*) set up to expose publicly
365 the corresponding protected accessors of inherited class
366 gdcmDocument, removed ! As a consequence gdcmFile had to be
367 declared friend of class gdcmDocument (see below).
368 - operator< moved to gdcmDocument (in fact it belongs to gdcmDicomDir).
369 - Clean up of undefined or unused methods.
370 * src/gdcmFile.[cxx|h]: added SetEntryByNumber (in order to take into
371 account the changes to gdcmHeader.h).
372 * src/gdcmDocument.h:
373 - gdcmFile is now a friend class (in order to take into account the
374 changes to gdcmHeader.h).
375 - Predicates on the Transfer syntax (of the form Is[JPEG|RLE]*) added
376 (see changes to gdcmHeader.h).
377 - Accessors (reading on the form GetEntry*) are now public.
378 - Clean up of undefined or unused methods.
379 * src/gdcmDocument.cxx:
380 - adaptation to changes to gdcmDocument.h
381 - ::OpenFile now writes a verbose message when file cannot be opened.
382 - some std::string properly set to VRKey
383 * src/gdcmDicomDir.h: historical references to gdcmHeader changed to
384 references to gdcmDocument.
385 * Test/TestFindTags.cxx: changed accordingly to above changes.
386 * gdcmPython/testSuite.py: adapted to renaming of acr files in
387 cvs repository gdcmData.
389 2004-06-09 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
390 * src/gdcmValEntry.h: member voidArea type changed from char* to void*.
391 * src/gdcmBinEntry.h: member voidArea commented out, since it potentially
392 conflicts with gdcmValEntry::voidArea.
393 * src/gdcmValEntry.cxx: unmatching comment wiped out.
394 * src/gdcmVR.[h|cxx]: added two predicates that partition the possible
395 Value representation between StringRepresentable and BinaryRepresentable.
396 * src/gdcmDocument.cxx:
397 - method ParseDES: proper indentation restored and usage of
398 gdcmVR::IsVROfGdcmStringRepresentable wired in.
399 - method LoadDocEntry: the fingerprint left in the SetValue() of
400 unloaded entries (length > MaxSizeLoadEntry) had curiously been
401 removed. Reverting to previous code segment with the proper
402 dynamic_cast< gdcmValEntry* >.
403 Note: this was (partially) breaking the python test suite
404 (gdcmPython/testSuite.py) that made usage of the above
405 fingerprint to check presence of "Pixel Data".
406 * src/gdcmDocEntry.h: coding style.
407 * gdcmPython/__init__.py: environement variable GDCM_DATA_PATH is
408 now taken into account.
409 * gdcmPython/gdcm.i: adaptation to the new internal representation
410 of gdcm (exit gdcmParser, hello gdcmDocument).
411 * gdcmPython/testSuite.py: quick and dirty fix for loading vtkgdcmPython
413 * gdcmPython/demo/PrintHeader.py: doesn't use the gdcmDocument::Print()
414 anymore, but instead prints the loaded Python dictionary.
415 * .... alas, the python testSuite is still broken.
417 2004-05-18 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
418 * gdcmPython/gdcm.i : remove useless lines concerning the gdcmGlobal
420 * gdcmPython/setup.py : replace the use of cvar.gdcmGlob to gdcmGlobal
421 * src/gdcmUtil.h : export methods
423 2004-05-16 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
424 * Some more cleanup/enhancement in gdcmPython/CMakeLists.txt getting close
426 * Initial addition of automatic python testing
427 * Initial addition of automatic image comparison
429 2004-05-04 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
430 * src/gdcmCommon.h, gdcmDicomDir.cxx, gdcmFile.cxx, gdcmHeaderHelper.h,
431 gdcmParser.cxx, gdcmParser.h : bug fix for the Microsoft .Net compilation
433 2004-05-04 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
434 * src/gdcmFile.cxx, gdcmHeader.cxx : bug fix for the msvc compilation
435 * Test/ShowDicom.cxx : bug fix for msvc compilation
436 * vtk/vtkgdcmViewer.cxx : bug fix for msvc compilation
438 2004-05-04 Jean-Pierre Roux
439 * ADD Taking into account the 'Dicom Sequences' leads up to introduce
440 new concepts (and new classes) :
441 a 'gdcmDocument' is composed of a set of Doc Entries, that are
442 - elementary gdcmDocEntries (former gdcmHeaderEntries)
443 - Sequence Doc Entries (gdcmSeqEntries)
444 a Sequence is composed of Items.
445 Each item is a set of Doc Entries (this is recursive)
446 The non uniqueness of the 'Dicom tag' is due to this recursivity
447 (never taken into account)
448 Our unability to add a new 'entry' in the header
449 at the proper location (neither in the H-Table (map or multimap),
450 nor in the Chained List is also due to this recursivity.
451 Don't try, right now, to use/modify/compile these new sources :
453 We just commit all the stuff, 'as is', in order not to loose it.
455 2004-05-04 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
456 * vtk/vtkGdcmReader.cxx : bug fix in the setting of file name
458 2004-05-03 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
459 * vtk/vtkGdcmReader.cxx : bug fix when loading a list of files using the
460 file prefix (SetFilePrefix)
462 2004-05-02 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
463 * Add a new test: ShowDicom, for now this is just the c++ version of
464 checkRead.sh, later it will be able to compare the image read against a
466 * Replace the DEBUG on the stack with a global entry in cmake interface:
467 GDCM_DEBUG, so you can turn verbosity ON/OFF for debug statement.
469 2004-04-30 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
470 * Add an example subdir, with a real example on how to read + write a
473 2004-04-30 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
474 * Doc/gdcmUML.xmi added raw UML class view (umbrello format)
475 * Doc/CMakeLists.txt: the main page is now properly differentiated
476 between the developper and user version.
477 * Doc/doxygen.config.in: dropped search related obsolete flags
478 * src/gdcmParser.h, gdcmHeader.h: doxygenation
480 2004-04-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
481 * DEVELOPPER: added some helpfull comments for compile/test/install
484 2004-04-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
485 * ENH: 1. Remove remp solution of gdcmTests.cxx+ gdcmMain directly in
486 src directory, now generated in the build dir.
487 2. Tests as mentionned smarter
489 4. Add a new method in gdcmDict that return the PubDict by name
490 this is interesting for 3rd party lib like ITK,
491 where we could set the institution name / patient name...
493 * ENH: 1. Now the test suite is working for real
494 2. All binaries are now output in the gdcm-bin directory
495 (this was not true before)
497 2004-04-28 Jean-Pierre Roux
498 * ENH add the provisional gdcmHeader::SQDepthLevel to allow
499 SeQuence indented printing of Dicom Header.
500 * ENH merge methods gdcmParser::Parse and gdcmParser::LoadHeaderEntries
501 into the single gdcmParser::LoadHeaderEntries for efficiency purpose.
502 Computation of SQDepthLevel is now part of gdcmHeader constructor
503 * ENH add self defined param 'new' to PrintHeader to 'show' the SeQuence
504 tree-like structure of a Dicom Header.
505 * FIX Test code cleaning
507 2004-04-25 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
508 * ENH: Adding automatic testing
509 1. Need a DartConfig.cmake to submit to public
510 2. Add a test driver gdcmTest.cxx
511 3. gdcmTestMain, an helper for the main test driver gdcmTest
512 4. Files in Test don't have a main anymore, this becomes interesting
513 when we add more and more tests, thus dsw don't have to load
515 * ENH: Adding a GDCM_DATA_ROOT for testing
516 * ENH: Remove redundancie about GDCM_DICT stuff, now we only need to modify
517 one file instead of seven + some small cleanup
519 2004-04-22 Jean-Pierre Roux
520 * ENH Minor changes to the Print() methods.
521 * ADD gdcmParser::PrintEntryNiceSQ() to allow SQ-indented
522 Header printing. Example given with :
523 > PrintHeader fileName 2 new
524 (SQ based tree-like structure still to be done for the Header ...)
526 2004-04-22 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
527 * ENH: Some cosmetic clean up for compilation with -W -Wall -Werror
528 1. I have added some unsigned where needed
529 2. Some function parameter not used -> (void)
530 3. In gdcmDicomDir.cxx, add GDCM_DICOMDIR_NONE case
531 4. g++ don't like character '\' in comment
532 5. #define jpeg_create_decompress jCreaDecompress
533 this really need to be fixed
534 6. virtualize destructor of gdcmObject ... leakage
535 7. sscanf(g->first.c_str(),"%x",&gr_bid);
536 this also really need to be fixed
537 8. gdcm/src/jpeg/libijg8/CMakeLists.txt,
538 remove compression file
539 (as we only do decompression, right ?)
540 * ENH: Change malloc/calloc/free with c++ equivalent
542 2004-04-21 Jean-Pierre Roux
543 * FIX gdcmHeaderHelper::GetXSpacing
544 when a single value is found (bug ?), xpacing is now
545 defaulted to yspacing
547 2004-04-19 Jean-Pierre Roux
548 * ADD gdcmData/Wrist.pap (PAPYRUS 3.0 -single frame-) for checking purpose
549 * ENH add parameters :
550 bool exception_on_error = false,
551 bool enable_sequences = false,
552 bool ignore_shadow = false
553 to the gdcmFile constructors to be full gdcmParser compliant
554 * FIX vtk/vtkGdcmReader.cxx now uses enable_sequences = true in gdcmFile
555 to allow reading of PAPYRUS 3.0 files
557 2004-04-06 Jean-Pierre Roux
558 * ADD gdcmData/E00001S03I0015.dcm for SQ checking purpose
560 2004-04-02 Jean-Pierre Roux
561 * ADD : Test/checksequence.sh, for a general recap on SQ pb
562 * FIX : gdcmParser::WriteEntryTagVRLength emprovement of special treatement
563 for Philips spurious Tag fffe|0000 while rewritting Dicom files
565 2004-03-30 Jean-Pierre Roux
566 * FIX gdcmParser::ReplaceOrCreateByNumber shouldn't seg fault any more
567 for ACR file, written out as DICOM files (hope so...)
569 2004-03-30 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
570 * src/gdcmParser.[cxx|h] and gdcmHeader.[cxx.h]: gdcmHeader::Write split
571 in WriteEntryTagVRLength and WriteEntryValue. Those methods were
572 moved to base class gdcmParser and only the specialisation is kept
574 * src/gdcmParser.[cxx|h]: ReplaceOrCreateByNumber(char*, guint16, guint16)
575 trashed out (because ReplaceOrCreateByNumber(string, guint16, guint16)
576 already does the job.
577 * src/gdcmDicomDir.[cxx|h]: WriteDicomDirEntries renamed to WriteEntries
578 (to be consistent with gdcmParser::WriteEntries).
580 2004-03-30 Benoit Regrain
581 * vtk/vtkGdcmReader.[h|cxx] : fix the read of 3 gdcmHeader when making an
582 upate of the object's instance. It's passed to 2 in the unfavorable
583 case : one in the ExecuteInformation, one in the ExecuteData
585 2004-03-29 Jean-Pierre Roux
586 * ENH : Check on file type to be written moved
587 from gdcmParser::WriteEntry to gdcmParser::WriteEntries
588 * FIX : gdcmObject::ResetBoundaries now stops properly
589 when end-of-list is reached
590 : gdcmVersion modified (as Benoit Regrain asked)
592 2004-03-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
593 * src/gdcmParser.cxx: removal of all TAB character. Indentation fixed.
594 * src/gdcmUtil.cxx: added forgotten iostream include.
595 * src/gdcmCommon.h: FileType enum entry DICOMDIR removed (since
596 equivalent to ExplicitVR in existing code).
598 2004-03-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
599 * src/gdcmUtil.[cxx|h] split in two. Additional file gdcmGlobal.[cxx|h]
600 now contains all the gdcmGlobal related code.
601 * minor coding style and doxygenation changes.
603 2004-03-26 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
604 * src/gdcmUtil.[cxx|h] split in two. Additional file gdcmDebug.[cxx|h]
605 now contains all the Debug related code.
606 * minor clean-up of includes in src/*.cxx
607 * src/gdcmUtil.[cxx|h] _cleanString C style function (replaced with
608 CreateCleanString) removed.
609 * src/gdcmUtil.[cxx|h] _CreateCleanString renamed to CreateCleanString
610 * Doc/DoxyMainPageUser.txt added.
611 * Doc/Doc/DoxyfileUsers updated to version 1.3.4 of Doxygen.
612 * src/gdcmCommon.h now defines getcwd for Win32 (moved away from
615 2004-03-24 Jean-Pierre Roux
616 * FIX a lot of little surface modifications to be doxygen 1.3.6 compliant
618 2004-03-23 Jean-Pierre Roux
619 * FIX Now gdcmFile::SwapZone doesn't seg faults any longer for
620 big endian made volumes
621 * ENH Now gdcmParser constructor and destructor are protected to forbid
622 end user to instanciate class gdcmParser
623 (only gdcmHeader and gdcmDicomDir are meaningfull)
625 2004-03-22 Benoit Regrain
626 * FIX : src/gdcmDicomDir.cxx : make windows compilable
627 * FIX : gdcmPython/gdcm.i : change gdcmStudy to gdcmDicomDirStudy and
628 gdcmSerie to gdcmDicomDirSerie
630 2004-03-19 Jean-Pierre Roux
631 * ENH Now the tree-like structure describing a DICOMDIR comming from
632 an already existing DICOMDIR file is consistent with
633 the home-made tree-like structure build ex-nihilo
634 or build from the files held (recursively) in a Directory
635 functions gdcmDicomDir::CheckBoundaries()
636 gdcmObject::SetBoundaries() added
638 2004-03-17 Jean-Pierre Roux
639 * REM (Eric Boix bug) : removal of meaningless
640 gdcmDicomDirImage::NewImage function.
641 * FIX now file names and directory name are written properly in the
643 * FIX now gdcmDicomDir constructor may be call without any trick
646 2004-03-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
647 * FIX (JPR bug) : src/gdcmDicomDirImage.cxx added missing definition
648 of gdcmDicomDirImage::NewImage as empty function.
650 2004-02-28 Jean-Pierre Roux
651 * ENH add gdcmDicomDir:NewPatient
652 add gdcmDicomDirPatient:NewStudy
653 add gdcmDicomDirStudy:NewSerie
654 add gdcmDicomDirSerie:NewImage
655 to allow making gdcDicomDir object.
656 * ADD PrintDicomDir executable that uses gdcmDicomDir tree-like structure
657 (as opposite to the gdcmHeader chained list)
659 2004-02-11 Benoit Regrain
660 * FIX : memory leaks and the set of ArgDelete methods in gdcmDicomDir
661 when using from python
663 2004-02-10 Benoit Regrain
664 * FIX : bug fix in the gdcmDirList for the recursivity in directories
665 * FIX : in gdcmDicomDir when the directory is empty
666 * ENH : add callback and methods to get the progression of dicomDir
669 2004-02-06 Jean-Pierre Roux
670 * ENH : - now gdcmDicomDir::CreateDicomDir() returns also the meta elements
671 - GDCM_META added to gdcmDicomDirType
672 - class gdcmMeta created
673 * ENH : - A brief summary is now displayed at the beginning of
674 'testDicomDir' to help disaster magnitude estimation
675 * REM : Now useless Test/explDICOMDIR.cxx
677 2004-02-05 Benoit Regrain
678 * ENH : add methods in gdcmObject to get the hash table or the list of
680 * FIX : wrapping python for ListPatient, ListStudy, ListSerie, ListImage
681 * FIX : wrapping python for TagHeaderEntryHT
683 2004-02-04 Benoit Regrain
684 * FIX : even length for some strings when writting the dicom dir
685 * FIX : sort the images in the dicom dir
686 * FIX : Bug fix for python use of dicom dir
687 * ADD : a python demo
689 2004-02-04 Jean-Pierre Roux
690 * FIX : Final solution (?) for icone embedded images
691 * FIX : dicomVR.dic Overlay group is not *only* 6000, but 60xxx
692 (see http://medical.nema.org/dicom/2003/03_06PU.PDF)
693 add groups 6002, 6004, 6006, to allow 'clean' parsing of
694 gdcmData/gdcm-MR-SIEMENS-16.acr1
695 * ENH add gdcmData/checkWriteExplicit.sh gdcmData/checkWriteImplicit.sh
696 to make full checking easier
698 2004-02-04 Benoit Regrain
699 * FIX : WriteEntries : coding style & logic in parameters
700 * FIX : Set the elements to create the DicomDir in a dictionary file
702 2004-02-03 Benoit Regrain
703 * gdcmDirList : to parse a hard drive directory in recursive (or not)
704 * gdcmDicomDir : add the load of directory
705 * Bug fix and print add-on
707 2004-02-03 Jean-Pierre Roux
708 * ENH gdcmParser : allows "DICM" files, with NO group '0002'
709 * FIX handling 'non string elements' unsecure area (LUT, overlays, etc)
710 * FIX Dicts/dicomV3.dic : Add a few missing 'group length' Elements
711 * FIX gdcmParser.cxx : 'group length' elements are now considered
712 as integers, even for shadow groups, when file is Implicit VR
714 2004-02-02 Jean-Pierre Roux
715 * FIX : gdcmWrite : equal_range() for multimap doesn't return a 'second'
717 of the last synonym :-(
718 * FIX : gdcmWrite::WriteBase : method stops if Pixels not yet Read (except
720 * ENH gdcmData/checkWrite.sh :modif for full check of Explicit VR writting
721 * FIX taking into account the possible 7fe0,0010 multiplicity
722 * FIX add GRPixel,NumPixel,countGrPixel (gdcmParser protected members)
723 to allow removal of references to 7fe0,0010, to deal with
724 ACR-NEMA images, when 0028,0200 is meaningfull
726 2004-01-31 Jean-Pierre Roux
727 * FIX gdcmParser::WriteEntries : when a VR is tagged as 'Unknown'
728 no longer writes 'Un' on disk
729 * FIX SQ elements with actual length are now dealt with corectly
730 * FIX gdcmFile::WriteBase make the difference, for color images, between
731 the length (for Palette expanded images)
732 and Raw Length (non expanded image + Palette)
733 * FIX Dicts/dicomV3.dic : removal of 'CTX' (context dependant) VR
734 (that broke Write). Replaced by UL.
735 Aware user will reload the field if he
736 thinks it's necesssary
738 2004-01-30 Jean-Pierre Roux
739 * gdcmParser::CheckSwap() now defaults the filetype to ACR
740 when 'dirty Acr' is found, to be compliant with the new
741 IsReadable() methods.
743 * gdcmHeaderHelper :add Pixel Type 'FD', for dealing with 'double' images.
744 (no DOUBLE images in kosher DICOM,
745 but so usefull for people that miss them ;-)
747 * add Test/testDicomDir.cxx, Test/makeDicomDir.cxx , Test/explDICOMDIR.cxx
748 DICOMDIR related utilities (not checked as Windoze compliant)
750 2004-01-28 Jean-Pierre Roux
751 * upgrade GdcmHeaderEntry Print Method for DICOMDIR
753 2004-01-27 Jean-Pierre Roux
754 * gdcmParser constructor has a new boolean param,'ignore_shadow',
755 to allow skipping the shadow elements, to save memory space.
756 The TRUE value for this param has to be used
757 with a FALSE value for the 'enable_sequence' param.
758 ('public elements' may be embedded in 'shadow Sequences')
759 * gdcmHeader methods now deal with 'embedded icones images' in the header
760 (even when an 'icone image sequence' is announced by the
761 element (0x0088,0x0200), but there is NO icone at all ...
763 * gdcmHeader sometimes Image Location value doesn't follow
764 the supposed processor endianity (see gdcmData/cr172241.dcm).
767 * gdcmHeader add the method
768 IterHT GetHeaderEntrySameNumber(grPixel,numPixel);
769 to get *all* the Header Entries with the same tag.
770 GetHeaderEntrySameName is probabely *useless*
771 (no meaning : Name is *not* an identifier within the Dictionnary)
773 2004-01-26 Benoit Regrain
774 * Bug fix in the print of hexadecimal representations. Remove long fields
775 in the print and add a third level of print to print them
777 2004-01-23 Benoit Regrain
778 * Bug fix on field having a VR = 'UI'. Assume that is a string field
779 * Bug fix on test suite after remove the strip made on not string fields
780 * Split the IsReadable method between gdcmParser which test that the file
781 is dicom and gdcmHeader which test that it's an image file
783 2004-01-22 Benoit Regrain
784 * DicomDir : clean code, add methods, set variables in protected or private
785 * gdcmUtil : bug fix for the clean string method
787 2004-01-19 Benoit Regrain
788 * Add the use of shadow dictionaries
789 * bug fix and coding style
791 2004-01-19 Benoit Regrain
792 * src/gdcmFile.cxx : bug fix concerning the close of file
793 * src/gdcmParser.[h|cxx] : remove obvious Pub informations
794 * Add the update of header entries using the shadow library
796 2004-01-19 Benoit Regrain
797 * removal of file gdcmHeader2.cxx
798 * split class gdcmHeader into gdcmParser and gdcmHeader, with gdcmHeader
799 inheriting from gdcmParser. This split is to prepare the integration
801 * bug fix under python
803 2004-01-16 Jean-Pierre Roux
804 * REM removal of class gdcmHeaderEntrySet
805 * REM removal of files gdcmHeaderEntrySet.cxx, gdcmHeaderEntrySet.h
806 * ADD add file gdcmHeader2.cxx
807 * ADD add method gdcmHeader::SetPrintLevel (for PrintHeader)
809 2004-01-15 Benoit Regrain
810 * src/gdcmDicSet.[h|cxx] : add virtual entries to have a reference of
811 entries created while parsing the header. Thus, they will be destroyed
812 when the gdcmDictSet will be destroyed
813 * src/gdcmHeader.cxx, gdcmHeaderEntrySet.cxx : uses virtual entries of
816 2004-01-15 Benoit Regrain
817 * vtk/vtkGdcmReader.cxx : bug fix : before, with python only, the program
818 made a fatal error because of the memory release at the end of program.
819 The problem was in vtkGdcmReader::ExecuteData where we were allocate
820 some memory and vtk seems to have some problems with that.
821 * src/gdcmHeaderEntrySet.cxx : bug fix for std lib and cout
823 2004-01-14 Benoit Regrain
824 * src/gdcmHeaderEntry.[h|cxx] : gdcmElValue -> gdcmHeaderEntry
825 * src/gdcmHeaderEntrySet.[h|cxx] : gdcmElValSet -> gdcmHeaderEntrySet
826 * src/*.[h|cxx] : make changes due to class name changes
827 * gdcmPython/demo/*.py : bug fix due to method names
829 2004-01-13 Benoit Regrain
830 * src/*.[h|cxx] : coding style
831 * vtk/*.[h|cxx] : coding style
833 2004-01-13 Benoit Regrain
834 * gdcmPython/testSuite.py : test the readable flag of file for tests
835 * src/gdcmDict.cxx, gdcmElValSet.cxx : bug fix under windows for prints.
836 It's lied to the stl compilation by MSVC (windows, always windows...)
837 * src/gdcmIdo.h, gdcmHeaderIdo.cxx : remove the Ido unused files
839 2004-01-12 Benoit Regrain
840 * src/*.h : add comments
841 * src/gdcmDictSet.h : set the method BuildDictPath in public
842 * src/gdcmTS.cxx, gdcmVR.cxx : use now a dictionnary file other than to be
843 directly setted in the source code
844 * Dicts/dicomTS.dic, dicomVR.dic : 2 new dictionnary files loaded by
847 2004-01-09 Benoit Regrain
848 * gdcmPython/gdcmVersion.py : add a gdcmVERSION variable information
849 * setup.py : use a reference to gdcmVERSION
851 2004-01-07 Benoit Regrain
852 * Modification to compile with the distutils.
855 2003-12-10 Benoit Regrain
856 * gdcmHeader is now aggregating gdcmFile, and not derived into. Thus, we
857 can use a gdcmHeaderHelper to load datas
858 * gdcmPython/testSuite.py : make the testSuite compliant with modifications
859 made in the source code
861 2003-12-10 Benoit Regrain
862 * Update Windows projects and .cvsignore files
864 2003-11-12 Jean-Pierre Roux
865 * ENH gdcmHeader constructor has one more parameter (default value : false)
866 that allows the user to 'go inside' the SeQuences only
868 gdcmElValSet:Print takes it into account
870 2003-11-12 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
871 * ENH: Update gdcmPython/CMakeLists
872 * FIX: (gdcmHeaderHelper) GetRescale and GetSlope
873 * FIX: (gdcmElValSet) char 'tag' was overiding private members (VC++)
875 2003-11-10 Jean-Pierre Roux
876 * FIX : gdcmHeader::LoadElements is now based
877 on the ListTag listElem member,
878 not longer on the TagElValueHT tagHt member
879 * ENH : PrintPubElVal shows (temporarily) both results,
880 with the tagHt member and the listElem member.
881 (it's easier to 'see' the problems when using Printheader)
883 * FIX : old private member LgrElem is now splitted into
884 ReadLength : Length actually found on disk (updated only
885 if bug fixing is necessary), for internal
887 UsableLength : Updated by FixFoundLength, to fix a bug
888 or to allow Parser going on.
889 Will allow to re-write a kosher header when a SeQuence
890 with a length (not 0000) is found
891 Warning : gdcmFile::Write still uses the TagHt (not ListElem)
892 because gdcmElValSet::Add does not update ListElem
895 2003-11-07 Jean-Pierre Roux
896 * FIX misstyping in Transfert Syntax name table
897 * ENH gdcmHeader::FixFoundLength now allow to 'go inside' tge SeQuences
898 when they have an actual length (not 0000 nor FFFFF)
899 (Nobody should care of it, but DICOMDIR explorers)
901 2003-11-06 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
902 * ENH: vtkgdcmViewer now works with LUT dicom (OT-PAL-face ...)
904 2003-11-05 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
905 * ENH: vtkGdcmReader now supports LUT !
906 (vtkgdcmViewer for now is not able to use them though)
908 2003-11-05 Jean-Pierre Roux
909 * in testSuite.py : new files names for checking the package
910 * FIX : Forgot to commit gdcmFile::GetImageDataSizeRaw();
911 that returns the pixel area size to the *aware* (vtk) user
912 that DOESN'T want to turn the PALETTE COLOR image into an RGB image
914 2003-11-05 Benoit Regrain
915 * in testSuite.py : Modify the rules for checking the paths
916 : Explicit error messages
917 * in __init__.py : Related modif
919 2003-11-03 Jean-Pierre Roux
920 * add gdcmHeaderHelper::GetNumberOfScalarComponentsRaw()
921 to be used by aware (vtk) users that want to manage
922 LUT (and no to turn the PALETTE image into an RGB pixels one)
923 * GetPixelType now returns 8U for 24 Bits images
924 (vtkGdcmReader compliant)
926 2003-10-31 Jean-Pierre Roux
927 * Removal of *all* gdcmData images and add them again
928 in order to loose the 'history' of un-anonymised images
930 2003-10-31 Jean-Pierre Roux
931 * RMV : removal of useless jBitsInJsample.h
932 for both 8 and 12 Bits JPEG Lossy Libraries
934 2003-10-31 Jean-Pierre Roux
935 * ENH : Add the functions gdcmFile::GetImageDataRaw
936 gdcmFile::GetImageDataIntoVectorRaw
937 that act as GetImageData and GetImageDataIntoVector
938 except the making of an RGB Plane from Gray Plane + LUT
939 Intended to aware (vtk) users who know how to manage
942 GetLUTRGBA return a R,G,B,A LUT if any
943 lgrTotaleRaw gives the 'Raw' length
944 GetImageDataRaw returns the gray Plane
945 * FIX : no more dirty trick for 'Segmented xxx Palette Color Lookup' images
946 (They stay Grey, just like with other Dicom viewers :-(
948 2003-10-30 Jean-Pierre Roux
949 * FIX : a VC++ intended syntax modif broke the 12/12 Bytes expanding
951 2003-10-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
952 * ENH: Can be used like this '$vtkgdcmViewer *.dcm' with *.dcm
953 being coherents dicom files.
955 2003-10-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
956 * FIX: DOH ! Forgot about windo$e users, they couldn't read lossless jpeg,
958 * ENH: Turn it into DOS file type to match libgdcmijpeg8.dsp file type
959 * ENH: Two steps is necessary to please VC++ compiler...
960 * FIX: DOH ! libgdcmijpg8 -> libgdcmljpeg
961 * ENH: Add include dir to medcon lib
962 * FIX: only one function is being exported for now !
963 You should use GLOBAL(return type) see ljpg/jpeg.h for more info
965 2003-10-29 Jean-Pierre Roux
966 * adding gdcmHeader::GetLUTRGBA
967 returns a 4 * 256 Bytes Reg/Green/Blue/Alpha vtk compliant LUT
968 --> Mathieu, the modif u're waiting for is not yet committed
969 * removal of now useless GetLUTRed,GetLUTGreen,GetLUTBlue,GetLUTRGB
971 2003-10-27 Jean-Pierre Roux
972 * adding some xmedcon breaker files (courtesy of Loïc Boussel)
973 00191113.dcm DermaColorLossLess.dcm
974 MxTwinLossLess.dcm RadBWLossLess.dcm
975 * ENH: For version prior to vtkImageViewer2 -r 1.19
976 * FIX: avoid pb with xmedcon-breaker CT McTwin Elscint images
978 2003-10-27 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
979 * Removal of ido stuff in CMakeLists.txt
981 2003-10-24 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
982 * ENH: vtkGdcmReader.cxx can now read multiframe dicom
983 * FIX: remove a call to ->Modified ... see comments
984 * FIX: vtkgdcmViewer.cxx was writting ASCII file...this is so slooooow !
986 2003-10-23 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
987 * FIX: Problem with path for libvtkgdcmPython
988 * ENH: Try adding a search script for python site-package
989 * RMV: Remove some file from medcon lib that are not necessary
990 * FIX: gdcm/Makefile.am fix for generating ljpg medcon
991 * ENH: CMakeLists.txt now generate 'pygdcm.so' instead of 'libpygdcm.so'
992 * FIX: More pragma disable fro VC++,
993 I don't think I break something as it is also disable in VTK/ITK.
994 But it fasten debug compilation time.
996 2003-10-23 Jean-Pierre Roux
997 * gdcm now deals with 16 Bits Run Length Encoded images
998 (they are compressed as 2 planes images,
999 one for the high Bytes, the other for low Bytes)
1001 2003-10-22 Jean-Pierre Roux
1002 * Now CheckRead takes into account :
1003 - the bugged 'Leonardo' Siemens images
1004 - the XA images, sent thru the burning VPRO station
1005 * add I9000001.dcm, a GE dlx XA image, thru the VEPRO burning station
1008 2003-10-22 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
1009 * FIX: When copying a Makefile.am to CMakeLists.txt
1010 one should remove the '\'
1012 2003-10-22 Jean-Pierre Roux
1013 * in gdcmData adding a bugged 'Leonardo' Siemens image
1014 (wrong lengths in header)
1015 OK with gdcm, KO with the other viewers :-)
1016 * add a GE dlx XA image, thru the VEPRO burning station
1019 2003-10-21 Jean-Pierre Roux
1020 * in gdcmData add the checkvtkgdcmViewer.sh shell script
1021 for a brutal checking of vtkgdcmViewer compliance
1023 2003-10-21 Jean-Pierre Roux
1024 * add the files for 'xmedcon' Jpeg Lossless library
1025 * call of 'xmedcom' Jpeg Lossles libray (instead of the old LibIDO one)
1027 2003-10-21 Jean-Pierre Roux
1028 * 'Compacted Files' (12 Bits Allocate, 12 Bits Stored) are now dealt with
1030 2003-10-21 Jean-Pierre Roux
1031 * garbage Siemens 'Leonardo' images dealt with
1032 (the patch is easy to remove)
1033 * cosmetic changes to avoid warnings
1035 2003-10-20 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
1036 * ENH: vtkgdcmViewer now autoscale color/window level on start-up,
1037 no need to press 'r' now.
1039 2003-10-20 Jean-Pierre Roux
1040 * upgrade of checkRead.sh checkWrite.sh according
1041 to new Jpeg Lossless decompressor
1042 * add US.3405.1.dcm, a genuine RGB medical file ...
1043 * add gdcm-ACR-LibIDO.acr, unnormalized Rectangular LibIDO format image
1044 * add CLIP0001-Sequoia-U11.dcm, US 'Clip', from SEQUOIA machine,
1046 2003-10-15 Jean-Pierre Roux
1047 * general anonymisation in gdcmData
1048 * adding the 'color files' from
1049 http://www.leadtools.com/SDK/Medical/DICOM/ltdc19.htm
1050 * adding some well knowed bugged-header images
1051 * adding checkRead.sk, checkReadColor.sh, checkWrite.sh,
1052 waiting for their inclusion in Python testsuite
1054 2003-10-15 Jean-Pierre Roux
1055 * gdcmHeader::gdcmHeader(const char *InFilename, bool exception_on_error)
1056 no longer seg faults when file is not found
1058 2003-10-14 Jean-Pierre Roux
1059 * Emprovement of reading for Dicom encapsulated Jpeg LossLess
1062 2003-10-14 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
1063 * TODO: *.in file to genereate a UseGDCM later
1065 2003-10-14 Jean-Pierre Roux
1066 * Some supposed-to-be Dicom Images have no preamble.
1067 OpenFile takes it into account
1068 * Jpeg LossLess 24 Bits images doesn't break any longer gdcm
1069 * Missing elements added in dicomV3.dic
1070 (just to be affraid : have a look at
1071 ftp://medical.nema.org/medical/dicom/2003/01v03dif/01v03_06.pdf
1072 and do it again next year ;->
1074 2003-10-13 Jean-Pierre Roux
1075 * According to PS 3.3-2003 C.11.1.1.2 p 619, when each pixel of
1076 a PALETTE COLOR is stored on 2 Bytes, theese 2 Bytes must be equal.
1077 But there are NOT. It's fixed !
1079 2003-10-13 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
1080 * FIX: "jpeglib.h" was not found on VC++
1081 * FIX: vtkgdcm was not being installed
1083 2003-10-10 Jean-Pierre Roux
1084 * ENH : OpenFile closes the file if it *really* doesn't look like
1085 an ACR-NEMA / DICOM one.
1086 * FIX : testWrite no longer writes an empty file if the source file
1087 is not gdcm Readable
1088 * ENH : One more JPEG LossLess type "JPEG Baseline (Process 14)"
1091 2003-10-10 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
1092 * FIX: CMake generate now documentation
1093 * ENH: out of source doc build !
1094 * ENH: Generate both user and dev documentation
1095 * ENH: Should work on windows too
1096 * ENH: Only one doxygen config.in file is needed
1097 * FIX: make install should be ok now on ùnix plateform
1098 * FIX: PATH to dictionary was wrong (missing /)
1099 * ENH: OpenFile, return true if the file looks like an ACR or DICOM file
1101 2003-10-09 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
1102 * vtkGdcmReader is now able to read rgb dicom file.
1103 * src/gdcmHeaderHelper : GetNumberOfScalarComponents()
1104 * added a gdcmViewer to vtk test, use mouse to control
1105 window level & window width
1107 2003-10-09 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
1108 * CMake-ification of gdcm, we have now two build system
1109 * FIX: on cygwin Wsock32 doesn't exist
1110 * FIX: force jpeg dir to the local one (gdcm/src/jpeg)
1112 2003-10-06 Emanuel Ollart
1113 * FIX : compilation process wad broken.
1114 Changed gdcmViewer_sources to vtkgdcmViewer_sources
1116 2003-10-06 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
1117 * change gdcmViewer -> vtkgdcmViewer
1118 * change GetXSpacing and GetYSpacing "%f\\%" is parsed backward
1120 2003-10-06 Jean-Pierre Roux
1121 * FIX :A few nasty patches to allow the reading of a lot of nasty images
1122 ( e.g : well known GE images with a wrong elem length,
1123 : Philips MRI Images with a wrong Huffman table)
1124 * still to be done : allow the reading of bugged LEONARDO Siemens images
1126 2003-10-03 Jean-Pierre Roux
1127 * Odd length strings are padded with '\0' (not with spaces,
1128 to remain compliant with already defined strings,
1129 like Transfert Syntax UID and others)
1131 2003-10-03 Jean-Pierre Roux
1132 * ENH :gdcmHeaderHelper::GetNumberOfScalarComponents() added,
1133 to allow displaying RGB images (not only by affim ;-)
1135 2003-10-03 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
1136 * vtkGdcmReader is now able to read rgb dicom file.
1137 * src/gdcmHeaderHelper : GetNumberOfScalarComponents()
1139 2003-10-03 Jean-Pierre Roux
1140 * A few nasty patches to allow the reading of a lot of nasty images
1141 ( e.g : well known GE images with a wrong elem length,
1142 : Philips MRI Images with a wrong Huffman table)
1143 * still to be done : allow the reading of bugged LEONARDO Siemens images
1145 2003-10-03 Jean-Pierre Roux
1146 * One more JPEG LossLess type "JPEG Baseline (Process 14)" is now decoded.
1148 2003-10-03 Jean-Pierre Roux
1149 * gdcmHeaderHelper::GetNumberOfScalarComponents() added,
1150 to allow displaying RGB images (not only by affim ;-)
1152 2003-10-03 Jean-Pierre Roux
1153 * gdcmFile::GetImageDataIntoVector now
1154 - deals with MultiFrames MultiFragments Run Length Encoded files
1155 - deals with YcBcR (YBR_FULL) files
1156 - deals with YBR_YBR_FULL_422 files (they work as RBG files ?!?)
1157 WARNING : nothing was checked for YBR_PARTIAL_422, YBR_ICT,
1159 (no sample found :-(
1161 2003-10-02 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
1162 * src/*.cxx removed pragma thingies to src/gdcmCommon.h
1163 Two reasons: - clear things
1164 - third parties acces gdcm through header files, so won't
1165 suffer anymore VC++ complains
1167 2003-09-30 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
1168 * add argv[1] in testvtkGdcmReader.cxx
1171 2003-09-24 Jean-Pierre Roux
1172 * The lines are now eigthy characters long.for
1173 gdcmHeader.cxx gdcmHeaderHelper.cxx gdcmParse.cxx
1175 2003-09-22 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1176 * src/gdcmUtil.[cxx|h] : change the _CreateCleanString return value from
1177 char* to std::string. Thus, the use of strdup becomes useless. (see
1178 previous commis of Malaterre)
1179 * src/gdcmElValSet.cxx : reuse commented call to _CreateCleanString like
1180 before the last Malaterre's commit.
1182 2003-09-19 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
1183 * This commit should fix the Debug building under VC++, the problem
1184 was mainly a mixture of debug and release lib being loaded at startup.
1185 * I also remove a depency to a specific C function: strdup. Because I had
1186 to force the link to msvcrtd (whereas strdup is in libc).
1188 2003-09-16 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1189 * "gdcm::Unfound" string changed to a constant variable (GDCM_UNFOUND)
1190 located in the gdcmCommon.h file. All use of reference of tha has been
1191 changed to now use the variable GDCM_UNFOUND.
1193 2003-09-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1195 - gdcmPython/testSuite.py adapted to the JPR updated Dicts/dicomV3.dic
1196 Dicom dictionary. The test suite can now be run again. Note:
1197 I'm note very happy with the " (RET)" changes. I believe this
1198 RETAINED comment should be dropped when parsing the dictionary.
1199 - PACKAGER corrected
1201 - AUTHORS updated and now in alphabetical order
1202 * Makefile.am now exports gdcm.dsw for Windoze users.
1204 2003-09-11 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
1205 * cygwin complains about missing std:: in subdir Test/
1207 2003-09-10 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
1208 * remove some methods that are now in gdcmHeaderHelper
1210 2003-09-10 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
1211 * vtkGdcmReader set spacing and origin correctly
1213 2003-09-09 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
1214 * Fix a few delete/delete[] mismatch
1216 2003-09-08 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
1217 * src/gdcmHeaderHelper.[h cxx]: added new class that provide an
1218 interpretation to data given by gdcmHeader. For instance there are
1219 heuristics to get informations (look at different places).
1220 * it also include a specific class: gdcmSerieHeaderHelper devoted to
1221 sorting DICOM images based on different strategies.
1222 * modified Makefiles accordingly.
1224 2003-09-05 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
1225 * src/*.cxx : added pragma disable 4786/4251 to get rid of ~4300 warning
1226 when building in debug mode
1227 * vtk/win32/vtkgdcm.dsp : change /MT -> /MD and /MTd -> /MDd to match
1228 src/win32/gdcmdll.dsp
1229 * vtk/win32/vtkgdcm.dsp : added /nodefaultlib "mscvrt" for debug mode
1231 2003-08-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
1232 * Corrected a leak in vtkGdcmREader.cxx, the pSource was find thanks
1235 2003-07-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
1236 * src/win32/libgdcmjpeg12.dsp was not dos format
1237 * src/win32/libgdcmjpeg12.dsp :
1238 libgdcmijpeg12_EXPORTS -> LIBGDCMIJPEG12_EXPORTS
1239 * src/win32/gdcmdll.dsp: + /I "..\jpeg\libijg12"
1241 2003-07-29 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1242 * src/gdcmHeader.h : add std:: prefix for stl elements... like others in
1244 * src/gdcmFile.cxx : bug fix in affectation type
1245 * src/jpeg/libijpeg12/jmorecfg12.h : export for windows modified... like
1246 in src/jpeg/libijpeg8/jmorecfg8.h (JPR : copy/paste exists !!!)
1247 * Modifs of MVSC projects to compile them. Not concerning 2 identic
1248 symbols... future problem ?
1250 2003-07-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
1251 * src/win32/libgdcmijpeg12.dsp was missing
1252 * modified gdcm.dsw accordingly
1254 2003-07-28 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
1255 * src/gdcmHeader.cxx : misplaced return 0.; for ACR/NEMA
1257 2003-07-24 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1258 * src/jpeg/libijg12/.cvsignore, jconfig.* : ommited files while last
1259 commit of JPR (before his hollidays to facilitate our work).
1260 * setup.py : bug fix in code. Modifications made while the last commit
1261 of JPR. The code hasn't been tested before the commit... it's so
1262 useless to make that (for best programmer that is JPR) !!!
1264 2003-07-08 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1265 * tagged the current version as Version0_3 (i.e. version 0.3)
1267 2003-07-08 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1268 * vtk/testvtkGdcmReader.cxx : remove a symbol that is unused
1269 * src/jpeg/libijg8/jmorecfg.h : adding export symbol for windows
1270 * *.dsp : modifications to use new libgdcmijpeg8 library
1271 * setup.py : bug fix on VTKPATH variable
1272 * PACKAGER : adding all concerning windows
1274 2003-07-07 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1275 * src/gdcmElValSet.cxx, gdcmFile.cxx: JPR bug fix, removal of
1277 * TODO, vtk/vtkGdcmReader.cxx: upcoming fixes comments.
1278 * gdcmPython/testSuite.py: JPR bug fix, brutal erasement of
1279 test suite reported error.
1280 * PACKAGER file added (describes what a packager must do when
1281 packaging a new release).
1282 * MANIFEST.in, now declares jconfig.linux and jconfig.vc
1283 * configure.in: upgraded version number to 0.3.0
1284 * fixing build of rpm (through rpm -ta):
1285 - Doc/Makefile.am exports proper doxygen files
1286 - src/jpeg/libijg8/Makefile.am exports the include files.
1288 2003-07-07 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1289 * vtk/vtkGdcmReader.cxx : bug fix when loading only 1 file.
1290 * src/gdcmHeader.h : formatting code
1292 2003-07-07 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1293 * vtk/vtkGdcmReader.[cxx|h] : bug fix when loading only one file.
1294 We were obtaining error message from vtk. Now, creation of file list
1295 is made in an internal list to prevent this problem.
1296 Bug fix when output is empty.
1297 Bug fix in update of progress value. Previous commit for this was a bad
1299 * vtk/vtkGdcmReader.h : adding comments for InternalFileNaleList variable
1301 2003-07-04 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1302 * src/gdcmHeader.h : added method to get the file name
1303 * vtk/vtkGdcmReader.[cxx|h] : bug fix concerning loading of bad dicom
1304 files. Added method to remove all files on the input
1305 Added FIXME comment concerning the bad parsing of header made by
1306 ExecuteInformation method (in ExecuteData method)
1308 2003-07-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1309 * vtk/Makefile.am: vtkGdcmReader.h should now be cleany installed
1310 when using make instal.
1311 * src/gdcmFile.cxx : bug fix under Window after JPR commit
1312 RQ : the JPR doesn't appear in the ChangeLog... normal for him
1314 2003-07-03 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1315 * setup.py : adding include dir of jpeg lib to compile all sources
1316 * */Win32/*.dsp : JPR fix for windows compilation
1318 2003-07-02 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1319 * src/jpeg/libijg8/jconfig.* : JPR bug fix : now compile on both
1321 * src/gdcmJpeg.cxx : JPR bug fix : erroneous include
1322 * src/win32/gdcmdll.dsp : JPR fix for windows compilation
1324 2003-07-02 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1325 * setup.py is again effective on un*x (takes into account the
1326 addon of the jpeg library)
1327 * Doc/DoxyDevelInstal.txt added (developper's raw documentation)
1328 * Doc/Doxy* updated (includes above enhancements)
1329 * INSTALL now points to web documentation
1331 2003-07-01 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1332 * src/gdcmHeader.h doesn't make unnecessary reference to
1334 * gdcmPython/Makefile.am now avoids calling the wrappers for the
1336 * src/gdcm*.[cxx|h] :
1337 - to allow compilation with gcc 3.x
1338 -- clean up of STL usage (added explicit usage of std::)
1339 -- small fixes on exceptions.
1340 Note: linking not tested !
1341 - clean of doxygen comments to avoid warnings at documentation
1343 * vtk/vtkGdcmReader.cxx: g++ warning message clean up (platform
1344 dependent convertion).
1346 2003-06-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1347 * Clean up of previous JPR garbage commit (not even commented in the
1349 - Test/Makefile.am removed the reference to unexisting testTS.cxx
1350 - moved all jpeg related files from src to src/jpeg/libijg8, with
1351 addition/modification of Makefile.am and configure.in.
1352 - the testSuite is still brain damage (not guilty).
1354 2003-06-02 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1355 * WrapVTK.py : modifications to get correctly vtk source files to
1357 * vtk/vtkGdcmReader.cxx : modification for an already existing name
1358 (FileName -> Filename)
1360 2003-06-11 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1361 * vtk/vtkGdcmReader.[cxx/h]:
1362 - UpdateProgress method should now be effective
1363 - removed the limitation on having only images loaded (as opposed
1365 - when building a stack of images/volume, a lesser number of
1366 gdcmHeader and gdcmFile instances should be used (hopefully
1367 accelerating things).
1368 - when building a stack of images/volumes, files which are not
1369 loadable (wrong path-filename, wrong permissions on existing file,
1370 or file not parsable by gdcm) are replaced with a black image
1371 in the stack (for the caller to notice the problem).
1373 2003-06-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1374 * vtk/vtkGdcmReader.cxx: hopefully corrected Z extent.
1376 2003-06-02 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1377 * vtk/vtkGdcmReader[cxx|h] : makes correct code to remove conflicts
1378 between standard library (std) and vtk library (problems are found
1379 under Windows... thanks Windows !)
1381 2003-05-30 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1382 * vtk/vtkGdcmReader[cxx|h] should now be volume aware (read ready for
1384 * gdcmPython/demo/vtkGdcmReader.py: commented lines for volume test
1386 2003-05-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1387 * vtk/vtkGdcmReader[cxx|h] preparation addons for loading volumes.
1389 2003-05-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1390 * When compiling with distutils (see setup.py) the C++ compiler is
1391 called with different flags than the default ones (with automake).
1392 In order to fix all those warning, I compiled gdcm with the command
1393 make 'CXXFLAGS=-Wall -Wstrict-prototypes -D__STDC_LIMIT_MACROS'
1394 and went for warning fixes:
1395 - src/gdcmHeader.cxx, Test/dcm2acr.cxx, pourFindTaggs.cxx cleaned
1396 up from unused variables.
1397 - vtk/vtkGdcmReader.cxx: potential bug fix.
1398 * src/gdcmHeader.h: Doxygen warning cleanup
1400 2003-05-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1401 * gdcmPython/gdcm.i:
1402 - typemaps correction to take into account the systematic replacement
1403 of "using namespace std" with std:: prefix e.g. std::list,
1404 std::string... (cf changes of 2003-05-21).
1405 - gdcmGlob global variable of type gdcmGlobal (defined in
1406 src/gdcmUtil.cxx and declared in gdcmPython/gdcm.i) is now
1407 exported to Python a as cvar.
1408 * gdcmPython/__init__.py now defines two functions GetPubDictTagNames()
1409 and GetPubDictTagNamesByCategory() as a replacement for deprecated
1410 gdcmDictSet.GetPubDictTagNames() and
1411 gdcmDictSet.GetPubDictTagNamesByCategory() class functions (i.e.
1412 C++ static methods).
1413 * gdcmPython/demo/printGroupedPublicDict.py is operational again,
1414 with the above changes.
1416 2003-05-22 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1417 * setup.py, manifest.in : bug fix under linux
1419 2003-05-22 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1420 * Modification of setup.py to compile vtk part too. Then, we have 2
1421 wrappers which must work with same distutils. For that, we have a
1422 generic distutils in distusiltsWrapping.py ; with :
1423 - build_extWrap class to wrap generically all extensions,
1424 - ExtensionWrap base class for all wrapping extension that contains
1426 - Wrapper interface which wrap sources
1427 + In WrapSwig.py we have extension and wrapper for Swig
1428 + In WrapVTK.py we have extension and wrapper for VTK
1429 * MANIFEST.in : modifications to consider vtk directory and new python
1430 files for compilation
1432 2003-05-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with Benoit Regrain
1433 * Added python wrappers of vtkGdcmReader vtk class (see the
1434 source in vtk/vtkGdcmReader.cxx) :
1435 - vtk/Makefile.am now builds a library
1436 - gdcmPython/Makefile.am now builds vtkgdcmPython a second import
1437 python library (as opposed to _gdcm.so wich are the python
1438 wrappers of gdcm). vtkgdcmPython.so uses the vtk python wrappers
1439 (vtkWrapPython and vtkWrapPythonInit utility) to build vtkgdcmPython
1441 - configure.in has an additional flag --enable-vtk that needs
1442 to be set to enable compilation of vtk related code, that is:
1443 + vtk/vtkGdcmReader.so and
1444 + vtk/testvtkGdcmReader C++ demo of vtk wrappers of gdcm)
1445 + gdcmPython/vtkgdcmPython.so (see above)
1446 - gdcmPython/demo/vtkGdcmDemo.py corrected (some images cannot
1447 be read when compressed or when HighBit + 1 != BitsStored),
1448 - gdcmPython/demo/vtkGdcmReader.py added. This demo illustrates
1449 the usage of the python wrapper of vtkGdcmReader vtk class.
1450 * vtk/vtkGdcmReader.cxx: bug fixed (thanks to Benoit Regrain).
1451 * src/*.[h] all occurences of stl classes are now prefixed with
1452 std::, and all occurences of "using namespace std;" where removed.
1453 This is to avoid pollution of global namespace in included files.
1454 Apparently vtk does not avoid this pitfall: when using both
1455 gdcm and vtk (as in vtk/vtkGdcmReader.cxx) this ended up in a
1456 collision of various stl members (principally cout...).
1457 * gdcmPython/testSuite.py now cleanly removes temprory generated
1459 * gdcmPython/gdcm.i now declares a typemap for std::string (to
1460 comply with above changes)
1462 2003-05-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1463 * src/gdcmHeader>[h/cxx] added gdcmHeader::GetPixelSize()
1464 * vtk/vtkGdcmReader.cxx now properly inports the image in the
1465 vtk data structure (an image Flip was required).
1466 * vtk/testvtkGdcmReader.cxx refers to gdcmData subdir instead of Data.
1467 * cosmetic changes in documentation.
1469 2003-05-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1470 * src/gdcmHeader.cxx: the constructor no longer exits when an
1471 unexisting file is given as argument.
1472 * The subdirectory Data (containing all the images used for the
1473 test suite) is not part of this repository anymore. A new module
1474 containing those images is now available at
1475 :pserver:xxx@cvs.creatis.insa-lyon.fr:2402/cvs/public
1476 with the name gdcmData.
1477 All the python scripts (including the package initialisation file
1478 gdcmPython/__init__.py) were adapated to take this change into
1479 account (basically GDCM_DATA_PATH is now GDCM_TEST_DATA_PATH).
1481 2003-05-5 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1482 * vtk subdir added. Contains vtkGdcmReader.[cxx|h] a vtk class
1483 inherinting from vtkImageReader and testvtkGdcmReader.cxx a small
1484 demo of the usage of this class.
1485 Compilation of this vtk part is only done when using the --enable-vtk
1486 at configure (or autogen.sh) stage.
1488 2003-04-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1489 * More memory link related corrections and documentation fixes.
1491 - maximum info is obtained with a command of the form:
1492 valgrind --leak-check=yes --leak-resolution=high --num-callers=40
1493 --show-reachable=yes PrintHeader
1494 - the remaining reachable blocks seem to come from the STL
1495 allocation scheme through the usage of map and list. It looks
1496 like this memory cannot be freed but it is not a memory leak
1497 (in fact further invocation to the STL would recollect the
1498 unused memory allthough it cannot explicitely be freed).
1499 * gdcmPython/demo/vtkGdcmDemo.py added: this is a small demo
1500 of displaying an image parsed with gdcm and displayed with VTK.
1501 Note: some images don't seem to work e.g.
1502 python vtkGdcmDemo.py ../../Data/US-RGB-8-esopecho.dcm
1503 * src/gdcmHeader.x: dicom_vr and Dicts are not class members anymore.
1504 Allthough this weakens the semantics, it is a ditch attempt to
1505 make gdcm more thread friendly.
1507 2003-04-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1508 * Memory link hunt (by using valgrind through the command
1509 valgrind --show-reachable=yes --leak-check=yes PrintHeader).
1510 - added src/gdcmVR.cxx gdcmVR.h that objectify the previous
1511 gdcmHeader::_dicom_vr.
1512 - gdcmHeader::InitVRDict transfered as gdcmVR::gdcmVR().
1513 - gdcmHeader::dicom_vr is now of type gdcmVR* as opposed to
1515 - gdcmGlobal global object contained class added (see src/gdcmUtil.x)
1517 2003-04-9 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1518 * src/Makefile.am now exports all the necessary include files at
1522 * UpdateGroupLength replaced by new one
1525 * UpdateGroupLength re-written using H-Table
1526 (named UpdateGroupLengthNew untill checks are over)
1528 2003-04-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1529 * Data/im_00001 renamed to gdcm-MR-PHILIPS-16-Multi-Seq.dcm
1530 * gdcmPython/testSuite.py now include a test of gdcmFile::Write.
1532 - gdcmHeader::GetPubElValSet removed.
1533 - gdcmElValSet::WriteDcm, WriteAcr, WriteExplVR, revamped to
1534 UpdateGroupLength, WriteElements, Write.
1535 - gdcmHeader::FileType moved to gdcmCommon.h. The enum FileType
1536 doesn't contain TrueDicom anymore since ExplicitVR and ImplicitVR
1537 carried the same semantics.
1538 - src/gdcmHeaderIdo.cxx changed accordingly.
1539 - gdcmFile::WriteBase now regroups all the codes from previous
1540 versions of WriteDcm, WriteDcmImplVR, and WriteACR.
1541 - enum FileType moved to gdcmCommon.h
1542 * src/gdcmHeader.cxx AddDefault trashed
1543 * gdcmGetXSize added
1544 * getimageDataSize now calls gdcmGetXSize
1545 * Test/*.cxx changed to agree with above changes
1547 2003-03-31 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1548 * src/gdcmHeader.h: LoadElements() is not a public method anymore
1549 (to avoid double call by end user).
1550 * Test/*.cxx LoadElements() doesn't need to be called explicitely
1551 by end user, since gdcmHeader::gdcmHeader now handles it.
1553 2003-03-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1554 * gdcm/Doc many doxygen changes:
1555 - Doxyfile now has two different versions, DoxyfileUsers that generates
1556 the html.users end users oriented documentation and
1557 DoxyfileDeveloppers that generates the html.developper developper
1558 oriented documentation.
1559 - README changed accordingly
1560 - requirement.txt removed (old design info moved to TODO).
1561 - Additional files DoxyInstallation.txt, DoxyIntroduction.txt,
1562 DoxyMainPage.txt, DoxyPython.txt provide more information.
1563 - Note: the website http://www.creatis.insa-lyon.fr/Public/Gdcm/ can now
1564 be updated by simply regenerating the docs with doxygen and copying
1565 html.developper and html.users to tux:/home/httpd/html/Public/Gdcm
1566 * src/gdcmElValSet.cxx: stl <map>.count() can only return 0 or 1. Hence
1567 all the tests in the form "if (<map>.count() >1)" were removed.
1568 * src/gdcmFile.cxx: cosmetic changes to avoid messages of doxygen about
1569 ill-formed documentation sections.
1570 * src/gdcmHeader.cxx: ditto
1572 2003-03-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1573 * setup.py fixed for un*x (needed macro for stdint.h)
1574 * Test/test.cxx renamed to PrintHeader.cxx to avoid collision on
1575 un*ces with sh-utils test utility.
1576 * gdcmPython/demo/test.py renamed to PrintHeader.py
1577 * gdcmPython/demo/ReorganiseFiles.py new demo script added.
1578 * gdcmPython/win32/gdcmpycomplet.dsp renamed to gdcmpyembedded.dsp.
1579 * gdcmPython/win32/gdcmpy.dsp trashed away (brain damaged).
1580 * src/gdcm*.cxx JPR's bad inclusion fixed.
1582 2003-03-26 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1583 * src/gdcmHeader[h, cxx] gdcmHeader now has an IsReadable predicate.
1584 * gdcmPython/demo/test.py changed accordingly.
1586 2003-03-25 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1587 * gdcmPython/Makefile.am fixed linking against libstdc++
1588 * gdcmPython/_gdcm.so symbolic link to gdcmPython/.libs/pygdcm.so added.
1589 * Swig subdir (historical tests of swig version 1.3.17++) removed
1590 * Test/testChangeEntete.cxx some lines commented out in order to make
1592 * src/gdcmHeader.cxx cleaned up wild JPR's dirty kludge.
1593 * src/gdcmElValSet.cxx cleaned up frog's forgotten debug message
1595 2003-03-24 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1596 * src/gdcmHeader.cxx gdcmHeader::gdcmHeader now calls LoadElements(),
1597 hence the user doesn't need this explicit call.
1598 - gdcmPython/testSuite.py, gdcmPython/demo/*.py changed accordingly
1599 i.e. LoadElements() call removed.
1600 * src/gdcmCommon.h now defines UINT32_MAX (see stdint.h).
1601 - src/Makefile.am declares the proper flag for g++.
1602 * src/gdcmElValSet.h added gdcmElValSet::GenerateFreeTagKeyInGroup
1603 for adding user defined new tags.
1604 - src/gdcmHeader.cxx gdcmHeader::NewManualElValToPubDict added.
1605 - src/gdcmHeader.cxx gdcmHeader::AddAndDefaultElements now
1606 cleanly adds some gdcm added tags (like gdcmXSize, gdcmYSize...)
1608 2003-03-17 Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>
1609 * Makefile.am, acinclude.m4, configure.in, python.m4, Dicts/Makefile.am,
1610 Doc/Makefile.am, Test/Makefile.am, gdcmPython/Makefile.am,
1611 src/Makefile.am : the project should properly compile and install
1612 with the autotools, included the python wrappers part.
1613 * gdcm.spec.in : added a spec file for RPM packaging.
1615 2003-03-14 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1616 * src/gdcmUtils.cxx : redifinition of defaults parameters in code
1618 2003-03-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1619 * gdcmPython/__init__.py fix of GDCM_DICT_PATH which was not
1620 to exported to the environement (see gdcmPython/testSuite.py
1622 * src/gdcmElValSet.[cxx/h], gdcmElValue.[cxx/h], gdcmFile.[cxx/h],
1623 gdcmHeader.[cxx/h]: ElValSet class renamed to gdcmElValSet, and
1624 ElValue class renamed to gdcmElValue for obvious consistency reasons.
1625 * src/gdcmElValSet.cxx, src/gdcmUtil.[cxx-h] Tokenize utility function
1626 moved away from gdcmElValSet.cxx to gdcmUtil.cxx.
1628 2003-03-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1629 * gdcmPython/__init__.py doesn't crash anymore when running in
1630 in InstallMode or PreInstallMode but with an environement given
1631 value of GDCM_DICT_PATH.
1632 * src/gdcmDictSet.[cxx/h] coding style.
1634 2003-03-06 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1635 * src/gdcmHeader.h and gdcmHeader.cxx Coding style + doxigenation.
1636 * src/gdcm.h general comments moved to TODO, and README
1637 * src/gdcm.h should now be seen as a user commodity (including it
1638 should suffice to fully use gdcm). It is nowhere including within
1639 any of the kernel files src/*.cxx and src/*.h.
1641 2003-03-05 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1642 * src/gdcm.h splitted in gdcmCommon.h, gdcmDict.h, gdcmDictEntry.h,
1643 gdcmDictSet.h, gdcmElValSet.h, gdcmElValue.h, gdcmFile.h,
1645 * src/gdcm*.cxx only include their corresponding include file
1646 (as opposed to gdcm.h)
1647 * gdcmPython/gdcm.i changed accordingly
1648 * Test/Makefile.am corrected and added NEWS, AUTHORS in order for
1649 the autogen.sh generated "make snapshot" command to work.
1650 * autogen.sh removed history related references to crea package.
1652 2003-03-04 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1653 * distutilsSwigCPlusPlus.py work around some swig portability
1656 2003-03-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1657 * Eventually, python/gdcmPython was renamed to gdcmPython. This
1658 was done in a last ditch attempt to get setup.py _really_
1659 operationnal. The python/gdcmPython layaout add the advantage
1660 of hidding away the python related distutils specific files
1661 (MANIFEST.in, setup.py, distutils*.py...) from the main directory.
1662 Alas, the src directory was out of scope (i.e. it's relative
1663 position to setup.py was ../src) which made things impossible to
1664 handle (see previous version of python/setup.py). Crossing fingers...
1666 2003-02-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1667 * python/setup.py now works on Un*x. (harder than I thougth)
1668 * python/distutilsSwigCPlusPlus.py can now have include files
1669 among the list of sources.
1671 2003-02-20 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1672 * src/gdcmHeader.cxx : bug fix - opening dicom file in binary !!!
1673 * modifications in MSVC projects
1675 2003-02-19 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1676 * As stated by the first lines of Test/ExceptionAndPython/README, it
1677 looks like we can move back to original usage of exception within
1678 src/gdcm* and hence remove the errno stuff that was introduced
1679 as a quick and dirty fixture of this problem (added to the TODO).
1680 * Doc/Doxyfile configuration file for Doxygen and corresponding
1681 README file for usage added.
1682 * Test/testWrite.cxx added. This new test comes from a split of
1683 test.cxx that is now reverted to its original purpous i.e.
1684 testing the proper parsing of a Dicom related file.
1685 testWrite.cxx concentrates on testing the IO part of gdcm.
1686 * Test/bug1.cxx (containing a bug on WIn32) added.
1687 * src/gdcm.h, gdcmHeader.cxx, gdcmDictSet.cxx:
1688 - gdcmHeader::GetPubTagNames and gdcmHeader::GetPubTagNamesByCategory
1689 whose purpose is to publish the content of the TagNames of the
1690 Dicom public dictionnary were not accessible without an
1691 instance of class gdcmHeader.
1692 - those methods are now static methods of gdcmDictSet and hence
1693 require no instances at all to be invocated.
1694 - within gdcmDictSet this change required to change some method
1695 to class methods (i.e. are now static) among which SetDictPath
1696 (renamed to BuildDictPath) and LoadDefaultPubDict.
1697 * python/gdcmPython/demo/printGroupedPublicDict.py changed to illustrate
1698 the above changes by calling the new method classes of gdcmDictSet.
1699 * python/gdcmPython/__init__.py now exposes gdcm.gdcmDictSet for
1700 the above to be effective.
1701 * python/gdcmPython: in order to wrap properly the above changes
1702 for Python, swig version now needs to be > 1.3.17.
1703 * python/gdcmPython/Makefile fixed to adapt itself to new
1704 configure/make shema introduced by Johan Montagnat (thanks for the
1705 contribution). Alas this Makefile cannot be turned into a proper
1706 Makefile.am without some heavy changes in the configure.in
1707 (for python dectection).
1708 * python/gdcmPython/gdcm.i: the out typemap map<string, list<string>>*
1709 now avoids publishing the empty entries.
1711 2003-02-13 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1712 * python/setup.py : bug fix concerning install under windows
1713 ExtraPath reused :-P
1714 * gdcm.dsw : bug fix concerning path for libraries for python !!!
1716 2003-02-13 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1717 * Dicts/dicomV3.dic : remove double spaces !!!
1718 * src/gdcmElValSet.cxx : bug fix concerning windows compiler
1719 * python/gdcmPython/win32/gdcmpycomplet.dsp : bug fix concerning paths
1722 2003-01-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1723 * src/gdcmHeader.cxx added a post header parsing AddAndDefaultElements
1724 method. Doxygenation.
1725 * src/gdcm.h clean up of JPR spurious comments.
1727 2003-01-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1728 * python/distutilsSwigCPlusPlus.py now properly collects the
1729 shadow classes generated by "swig -c++" (gdcm.py in our case)
1730 when using "python setup.py install".
1731 * python/gdcmPython/__init__.py imports gdcm.py and only manually
1732 reexports the working classes.
1733 * src/gdcmHeader.cxx all the try/catch/throw calls were replaced
1734 by the classical C errno scheme. This is to prevent an obscure
1735 behavior of the python wrappers when importing wxPython.wx prior
1736 to gdcmPython (which ended up in an abort call). An illustration
1737 of this oddity can be found in the Test/ExceptionAndPython
1738 subdir (see the README file). This problem probably due to
1739 an combination of g++ and dynamic loading.
1740 * added Test/ExceptionAndPython (see above)
1742 2003-01-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1743 * Changed the layout of the python part to avoid bloating main
1744 directory with setup.py, distutilsSwigCPlusPlus.py, MANIFEST.in
1745 i.e. the distutils arsenal. All the python related stuff is
1746 again in a python subdir, but the package itself is now in
1748 * setup.py was cleaned up:
1749 - pythonIncludePath removed
1750 - python setup.py bdist target is now functional.
1751 * gdcmPython/__init__.py doesn't export FileName any more (to avoid
1752 collision with other packages). gdcmPython/demo/*.py changed
1755 2003-01-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1756 * python subdir moved to gdcmPython (preparation of distutils packaging).
1757 * gdcmPython/setup.py and distutilsSwigCPlusPlus.py added. The
1758 distutils installer is operational.
1759 * - gdcmPython/__init__.py now properly loads the swig generated
1760 shadow classes (from gdcm.py).
1761 - gdcmPython/demo/*.py changed to import the package gdcmPython
1762 instead of gdcmPython/demo/load.py.
1763 - gdcmPython/testSuite.py changed to import the package gdcmPython.
1765 2002-12-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1766 * src/gdcm.h, src/gdcmHeader.cxx: added GetPubTagNames() resp.
1767 GetPubTagNamesByCategory() to gdcmHeader that return a list of the
1768 entries within the associated public Dicom dictionary resp. the same
1769 information but sorted by the fourth field (PAT, IMG, DIR) of the
1771 - Dicts/dicomV3.dic Entries which had and unspecified fourth field
1772 are now in the "???" group.
1773 - python/gdcm.i changed accordingly,
1774 - python/demo/printGroupedPublicDict.py added, that gives an example
1775 of the above new functionalities in Python.
1777 2002-12-11 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1778 * src/gdcm.h, gdcmHeader.cxx:
1779 - historic references to glib's g_malloc and g_free (#defined)
1780 were definitively removed.
1781 - gdcm.h: cosmetic changes (part of comments moved to Doc/requirements)
1782 * src/gdcmElValSet.cxx:
1783 - GetElement(guint32, guint32) renamed to GetElementByNumber.
1784 - GetElValue(guint32, guint32) renamed to GetElValueByNumber.
1785 - GetElValue(string) renamed to GetElValueByName.
1786 - Added GetElementByName(string).
1787 * src/gdcmHeader.cxx: added
1788 - GetPubElValRepByNumber(guint16, guint16)
1789 - GetPubElValRepByName(string)
1790 - GetShaElValRepByNumber(guint16, guint16)
1791 - GetShaElValRepByName(string)
1792 - GetShaElValByNumber(guint16, guint16)
1793 - GetShaElValRepByName(string)
1794 - GetElValRepByNumber(guint16, guint16)
1795 - GetElValRepByName(string)
1796 - GetElValByNumber(guint16, guint16)
1797 - GetElValRepByName(string)
1798 * Doc/requirements.txt added.
1800 2002-12-9 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1801 * Test/Makefile building now depends on the one of libgdcm.so
1802 * src/gdcmHeader.cxx and gdcm.h are now OB (undefined length encoded
1803 pixel data) aware which enables finding the address (offset) of
1804 the pixel data of JPEG encoded DICOM files. This leaves only a single
1805 file in the testSuite whose pixel data address (offset) is unknown.
1806 * python/testSuite.py changed accordingly.
1808 2002-12-6 Christophe Odet + Hugues Benoit-Cattin + Eric.Boix
1809 * VC++ has some strong limitations when working with the STL, as stated
1810 in http://support.microsoft.com/support/kb/articles/Q168/9/58.ASP :
1811 "Also note that some STL containers (map, set, queue, list, deque)
1812 cannot be exported. [...]
1813 Some STL classes contain nested classes. These classes can not
1815 This is caused by a designed limitation that once a template
1816 class is instantiated, it can not be re-instantiated and
1818 Since our usage of map<> is ubiquitous in gdcm, this "designed
1819 limitation" of VC++ is a pitfall.
1820 Hence the Python wrappers of gdcm cannot be incrementally linked
1821 against the c++ dynamic library. The dirty but only workaround is
1822 to forget about incremental link of dynamic libraries and to generate
1823 the Python wrappers library with the inclusions of the underlying C++
1825 The following modifications concern this matter on Win32/VC++:
1826 - wrapping python correct with standalone wrapped dll (don't use separate
1827 dll under windows !!!!)
1828 - python21_d debug mode enabled (ask Frog how to use it :-)
1829 - NO problem with having an STL member of class for example string in C++
1830 WITH THE RESTRICTION OF FORGETING ABOUT INCREMENTAL LINK.
1831 - Python test of dcmlib in Python is ok under windows on a large set
1833 * removed glib references
1834 * typedef's inserted in gdcm.i for correct swig type management
1836 2002-11-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1837 * python/demo/*.py load.py extracted from test.py. Added explore.py
1838 that only displays required tags and testAll.py that parses all
1839 the files of the testsuite without using unittest.
1840 * python/testSuite.py other additional test on new files added.
1841 * Data/* new test files added accordingly to the testSuite.
1842 * src/gdcmHeader.cxx avoid overwriting of the dictionary when
1843 the vr in the file differs from the one of the dictionary.
1845 2002-11-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1846 * src/gdcm.h and gdcmHeader.cxx gdcm no longer loads all the elements
1847 values, but limits itself to values which are below a user specified
1848 size (by default 1024 bytes).
1849 * python/gdcm.i : elements not loaded (because their size is above the
1850 user specified treshold) are exported with their TagKey as key of the
1851 python dictionary. This enables the testsuite to make some checks
1852 on the unloaded elements (since we have their offset and size).
1853 * python/testSuite.py
1854 - now tests for the existence and proper value of the pixel data
1855 - two new examples added.
1856 * Data/gdcm-MR-SIEMENS-16.acr[12] added.
1858 2002-11-18 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1859 * src/gdcm.h and gdcmHeader.cxx are now "Big Endian transfer syntax"
1860 aware. See the strategy comments in gdcmHeader::FindeLength().
1861 * Test/test.cxx now accepts a filename as first argument.
1862 * Data/US-PAL-8-10x-echo.dcm and US-RGB-8-epicard.dcm added.
1863 * python/testSuite.py changed to integrate test on above files.
1865 2002-11-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1866 * Dicts/dicomV3.dic removed all the trailing (RET) when the
1867 the vr was also RET.
1868 * python/testSuite.py more tests added.
1870 2002-11-14 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1871 * python/testSuite.py unittest test suite added (uses Data)
1872 * Data/* dcm and acr files for the test suite.
1873 * glib dependance removed from un*x version. We now use ISO C99
1874 7.18 Integer types (see stdint.h)
1875 - python/Makefile, src/Makefile src/gdcm.h
1876 * src/ when an explicit vr (like dicom files) suddenly poped an
1877 implicit element we use to mark the underlying DictEntry of the
1878 concerned ElValue with "Implicit". This strategy was damageable
1879 too the public or provite dictionaries, since some of their vr
1880 would be changed. Since Header::FindLength heavily relies on the
1881 detection by Header::FindVR of falsely explicit elements, I
1882 added an extra ImplicitVr member to ElValue (boolean).
1883 The rest of the changes we the necessary adaptations.
1885 2002-11-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1886 * src/gdcmHeader::FindLength bug fix when trapping falsely explicit
1888 * src/gdcmHeader::FindVR: hard way fix of falsely explicit vr files.
1890 2002-11-8 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1891 * Adaptation for porting to VC++:
1893 o forced to use std namespace (for string to be known)
1894 o all class use __declspec export style on WIN32
1895 - src/gdcmUtil.cxx new Exit method that wraps the exit call
1896 (in stdlib.h on Win32 but in std:: for gcc)
1897 * src/gdcmDictSet::SetDictPath adds a trailing / to environement
1898 variable GDCM_DICT_PATH.
1899 * src/gdcmHeader.cxx verbose comments made discrete.
1901 2002-11-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1902 * python/gdcm.i: added a typemap that converts a C++ hashing table
1903 to native Python dictionary.
1904 * python/demo/test.py:
1905 - now uses the native dictionary for exploration of gdcmHeader.
1906 - takes an optional filename argument (the file to parse).
1907 * src/gdcm.h and gdcmHeader.cxx: gdcmHeader now has an accessor on
1908 PubElVals hashing table.
1909 * Dicts/dicomV3.dic removed error prone trailing spaces.
1911 2002-11-6 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1912 * Python wrapping process moved away from src/Makefile to
1913 newly created python/Makefile (as well as gdcm.i)
1914 * python/demo/test.py (that mirrors Test/test.cxx) is effective.
1915 * src/gdcmHeader::FindLength only looks for current vr when necessary.
1916 * src/gdcmDictSet.cxx: the dictionnaries directory path is now imported
1917 from the environement variable GDCM_DICT_PATH (when existing).
1918 * src/gdcmDict::GetTag bug fix.
1920 2002-10-31 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1921 * Straightforward temporary fixes for swig to build the python wrappers.
1922 src/Makefile now has a python working entry [by working we mean
1923 that we can import de shadow classes without errors].
1925 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1926 * hashtest.cxx removed (since allready in Test)
1927 * src/gdcmlib.h renamed to src/gdcm.h
1928 * src/dcm.i renamed to src/gdcm.i
1929 * src/Makefile prepared for python wrapping
1931 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1932 * src/gdcmHeader.cxx :
1933 - Parsing of header is now separated from loading of element values
1934 (see gdcmHeader::LoadElements).
1935 - general clean up of hopefully all file access (creation of
1936 ReadInt16 and ReadInt32)
1938 2002-10-22 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1939 * src/gdcmHeader.cxx :
1940 - RecupLgr renamed to FindLength and cut off with new IsAnInteger
1942 - SetLgrElem renamed to SetLength
1943 - GetLgrElem renamed to GetLength
1944 - ~gdcmHeader() made virtual to pesky warning messages at compile.
1945 * src/gdcmElValSet.cxx fixed both GetElValue methods
1946 * Dicts/dicomV3.dic falacious entry [7fe0 0010 OT PXL Pixel Data]
1947 due to IdoDude was cleaned out.
1949 2002-10-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1950 * src/gdcmHeader.cxx RecupLgr split in FindVR and RecupLgr. FindVR
1951 concentrates on finding the value representation (when it exists).
1952 RecupLgr now only finds the element value length, and it avoids
1953 returning the unecessary skL (skipped length).
1954 Also, offsetCourant was simply removed (with taille_fich) since
1955 it was redundant with the File position internals (by using
1956 ftell and fseek). This also made skL (see above in RecupLgr) usage
1958 * src/gdcmHeaderIdo.cxx src/gdcmIdo.h added. Those files concentrate
1959 on the libido specificities which are handled through class
1961 * Test/implicit_vr.dcm dicom v3 in implicit value representation
1964 2002-10-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1965 * Truckload of changes. Parsing of header is barely functional
1966 (see Test/test) with the standard dictionary (see Dicts/dicomV3.dic).
1968 2002-10-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1969 * src/gdcmHeader.cxx many addons of low level methods
1971 2002-10-07 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1972 * src/gdcmHeader now contains_IdDcmCheckSwap, _IdDcmRecupLgr,
1973 and _IdDcmSWAP_LONG.
1975 2002-09-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1976 * This corresponds to all the changes decided at the meeting of
1977 May 23 2002. Needless to say we are running late...