1 2004-06-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2 * src/gdcmHeader.[cxx|h]:
3 - Predicates on the Transfer syntax (of the form Is[JPEF|RLE]*)
4 and related, moved away to gdcmDocument.
5 - Accessors (on the form [Get|Set]Entry*) set up to expose publicly
6 the corresponding protected accessors of inherited class
7 gdcmDocument, removed ! As a consequence gdcmFile had to be
8 declared friend of class gdcmDocument (see below).
9 - operator< moved to gdcmDocument (in fact it belongs to gdcmDicomDir).
10 - Clean up of undefined or unused methods.
11 * src/gdcmFile.[cxx|h]: added SetEntryByNumber (in order to take into
12 account the changes to gdcmHeader.h).
14 - gdcmFile is now a friend class (in order to take into account the
15 changes to gdcmHeader.h).
16 - Predicates on the Transfer syntax (of the form Is[JPEF|RLE]*) added
17 (see changes to gdcmHeader.h).
18 - Accessors (reading on the form GetEntry*) are now public.
19 - Clean up of undefined or unused methods.
20 * src/gdcmDocument.cxx:
21 - adaptation to changes to gdcmDocument.h
22 - ::OpenFile now writes a verbose message when file cannot be opened.
23 - some std::string properly set to VRKey
24 * src/gdcmDicomDir.h: historical references to gdcmHeader changed to
25 references to gdcmDocument.
26 * Test/TestFindTags.cxx: changed accordingly to above changes.
27 * gdcmPython/testSuite.py: adapted to renaming of acr files in
28 cvs repository gdcmData.
30 2004-06-09 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
31 * src/gdcmValEntry.h: member voidArea type changed from char* to void*.
32 * src/gdcmBinEntry.h: member voidArea commented out, since it potentially
33 conflicts with gdcmValEntry::voidArea.
34 * src/gdcmValEntry.cxx: unmatching comment wiped out.
35 * src/gdcmVR.[h|cxx]: added two predicates that partition the possible
36 Value representation between StringRepresentable and BinaryRepresentable.
37 * src/gdcmDocument.cxx:
38 - method ParseDES: proper indentation restored and usage of
39 gdcmVR::IsVROfGdcmStringRepresentable wired in.
40 - method LoadDocEntry: the fingerprint left in the SetValue() of
41 unloaded entries (length > MaxSizeLoadEntry) had curiously been
42 removed. Reverting to previous code segment with the proper
43 dynamic_cast< gdcmValEntry* >.
44 Note: this was (partially) breaking the python test suite
45 (gdcmPython/testSuite.py) that made usage of the above
46 fingerprint to check presence of "Pixel Data".
47 * src/gdcmDocEntry.h: coding style.
48 * gdcmPython/__init__.py: environement variable GDCM_DATA_PATH is
49 now taken into account.
50 * gdcmPython/gdcm.i: adaptation to the new internal representation
51 of gdcm (exit gdcmParser, hello gdcmDocument).
52 * gdcmPython/testSuite.py: quick and dirty fix for loading vtkgdcmPython
54 * gdcmPython/demo/PrintHeader.py: doesn't use the gdcmDocument::Print()
55 anymore, but instead prints the loaded Python dictionary.
56 * .... alas, the python testSuite is still broken.
58 2004-05-18 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
59 * gdcmPython/gdcm.i : remove useless lines concerning the gdcmGlobal
61 * gdcmPython/setup.py : replace the use of cvar.gdcmGlob to gdcmGlobal
62 * src/gdcmUtil.h : export methods
64 2004-05-16 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
65 * Some more cleanup/enhancement in gdcmPython/CMakeLists.txt getting close
67 * Initial addition of automatic python testing
68 * Initial addition of automatic image comparison
70 2004-05-04 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
71 * src/gdcmCommon.h, gdcmDicomDir.cxx, gdcmFile.cxx, gdcmHeaderHelper.h,
72 gdcmParser.cxx, gdcmParser.h : bug fix for the Microsoft .Net compilation
74 2004-05-04 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
75 * src/gdcmFile.cxx, gdcmHeader.cxx : bug fix for the msvc compilation
76 * Test/ShowDicom.cxx : bug fix for msvc compilation
77 * vtk/vtkgdcmViewer.cxx : bug fix for msvc compilation
79 2004-05-04 Jean-Pierre Roux
80 * ADD Taking into account the 'Dicom Sequences' leads up to introduce
81 new concepts (and new classes) :
82 a 'gdcmDocument' is composed of a set of Doc Entries, that are
83 - elementary gdcmDocEntries (former gdcmHeaderEntries)
84 - Sequence Doc Entries (gdcmSeqEntries)
85 a Sequence is composed of Items.
86 Each item is a set of Doc Entries (this is recursive)
87 The non uniqueness of the 'Dicom tag' is due to this recursivity
88 (never taken into account)
89 Our unability to add a new 'entry' in the header
90 at the proper location (neither in the H-Table (map or multimap),
91 nor in the Chained List is also due to this recursivity.
92 Don't try, right now, to use/modify/compile these new sources :
94 We just commit all the stuff, 'as is', in order not to loose it.
96 2004-05-04 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
97 * vtk/vtkGdcmReader.cxx : bug fix in the setting of file name
99 2004-05-03 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
100 * vtk/vtkGdcmReader.cxx : bug fix when loading a list of files using the
101 file prefix (SetFilePrefix)
103 2004-05-02 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
104 * Add a new test: ShowDicom, for now this is just the c++ version of
105 checkRead.sh, later it will be able to compare the image read against a
107 * Replace the DEBUG on the stack with a global entry in cmake interface:
108 GDCM_DEBUG, so you can turn verbosity ON/OFF for debug statement.
110 2004-04-30 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
111 * Add an example subdir, with a real example on how to read + write a
114 2004-04-30 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
115 * Doc/gdcmUML.xmi added raw UML class view (umbrello format)
116 * Doc/CMakeLists.txt: the main page is now properly differentiated
117 between the developper and user version.
118 * Doc/doxygen.config.in: dropped search related obsolete flags
119 * src/gdcmParser.h, gdcmHeader.h: doxygenation
121 2004-04-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
122 * DEVELOPPER: added some helpfull comments for compile/test/install
125 2004-04-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
126 * ENH: 1. Remove remp solution of gdcmTests.cxx+ gdcmMain directly in
127 src directory, now generated in the build dir.
128 2. Tests as mentionned smarter
130 4. Add a new method in gdcmDict that return the PubDict by name
131 this is interesting for 3rd party lib like ITK,
132 where we could set the institution name / patient name...
134 * ENH: 1. Now the test suite is working for real
135 2. All binaries are now output in the gdcm-bin directory
136 (this was not true before)
138 2004-04-28 Jean-Pierre Roux
139 * ENH add the provisional gdcmHeader::SQDepthLevel to allow
140 SeQuence indented printing of Dicom Header.
141 * ENH merge methods gdcmParser::Parse and gdcmParser::LoadHeaderEntries
142 into the single gdcmParser::LoadHeaderEntries for efficiency purpose.
143 Computation of SQDepthLevel is now part of gdcmHeader constructor
144 * ENH add self defined param 'new' to PrintHeader to 'show' the SeQuence
145 tree-like structure of a Dicom Header.
146 * FIX Test code cleaning
148 2004-04-25 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
149 * ENH: Adding automatic testing
150 1. Need a DartConfig.cmake to submit to public
151 2. Add a test driver gdcmTest.cxx
152 3. gdcmTestMain, an helper for the main test driver gdcmTest
153 4. Files in Test don't have a main anymore, this becomes interesting
154 when we add more and more tests, thus dsw don't have to load
156 * ENH: Adding a GDCM_DATA_ROOT for testing
157 * ENH: Remove redundancie about GDCM_DICT stuff, now we only need to modify
158 one file instead of seven + some small cleanup
160 2004-04-22 Jean-Pierre Roux
161 * ENH Minor changes to the Print() methods.
162 * ADD gdcmParser::PrintEntryNiceSQ() to allow SQ-indented
163 Header printing. Example given with :
164 > PrintHeader fileName 2 new
165 (SQ based tree-like structure still to be done for the Header ...)
167 2004-04-22 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
168 * ENH: Some cosmetic clean up for compilation with -W -Wall -Werror
169 1. I have added some unsigned where needed
170 2. Some function parameter not used -> (void)
171 3. In gdcmDicomDir.cxx, add GDCM_DICOMDIR_NONE case
172 4. g++ don't like character '\' in comment
173 5. #define jpeg_create_decompress jCreaDecompress
174 this really need to be fixed
175 6. virtualize destructor of gdcmObject ... leakage
176 7. sscanf(g->first.c_str(),"%x",&gr_bid);
177 this also really need to be fixed
178 8. gdcm/src/jpeg/libijg8/CMakeLists.txt,
179 remove compression file
180 (as we only do decompression, right ?)
181 * ENH: Change malloc/calloc/free with c++ equivalent
183 2004-04-21 Jean-Pierre Roux
184 * FIX gdcmHeaderHelper::GetXSpacing
185 when a single value is found (bug ?), xpacing is now
186 defaulted to yspacing
188 2004-04-19 Jean-Pierre Roux
189 * ADD gdcmData/Wrist.pap (PAPYRUS 3.0 -single frame-) for checking purpose
190 * ENH add parameters :
191 bool exception_on_error = false,
192 bool enable_sequences = false,
193 bool ignore_shadow = false
194 to the gdcmFile constructors to be full gdcmParser compliant
195 * FIX vtk/vtkGdcmReader.cxx now uses enable_sequences = true in gdcmFile
196 to allow reading of PAPYRUS 3.0 files
198 2004-04-06 Jean-Pierre Roux
199 * ADD gdcmData/E00001S03I0015.dcm for SQ checking purpose
201 2004-04-02 Jean-Pierre Roux
202 * ADD : Test/checksequence.sh, for a general recap on SQ pb
203 * FIX : gdcmParser::WriteEntryTagVRLength emprovement of special treatement
204 for Philips spurious Tag fffe|0000 while rewritting Dicom files
206 2004-03-30 Jean-Pierre Roux
207 * FIX gdcmParser::ReplaceOrCreateByNumber shouldn't seg fault any more
208 for ACR file, written out as DICOM files (hope so...)
210 2004-03-30 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
211 * src/gdcmParser.[cxx|h] and gdcmHeader.[cxx.h]: gdcmHeader::Write split
212 in WriteEntryTagVRLength and WriteEntryValue. Those methods were
213 moved to base class gdcmParser and only the specialisation is kept
215 * src/gdcmParser.[cxx|h]: ReplaceOrCreateByNumber(char*, guint16, guint16)
216 trashed out (because ReplaceOrCreateByNumber(string, guint16, guint16)
217 already does the job.
218 * src/gdcmDicomDir.[cxx|h]: WriteDicomDirEntries renamed to WriteEntries
219 (to be consistent with gdcmParser::WriteEntries).
221 2004-03-30 Benoit Regrain
222 * vtk/vtkGdcmReader.[h|cxx] : fix the read of 3 gdcmHeader when making an
223 upate of the object's instance. It's passed to 2 in the unfavorable
224 case : one in the ExecuteInformation, one in the ExecuteData
226 2004-03-29 Jean-Pierre Roux
227 * ENH : Check on file type to be written moved
228 from gdcmParser::WriteEntry to gdcmParser::WriteEntries
229 * FIX : gdcmObject::ResetBoundaries now stops properly
230 when end-of-list is reached
231 : gdcmVersion modified (as Benoit Regrain asked)
233 2004-03-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
234 * src/gdcmParser.cxx: removal of all TAB character. Indentation fixed.
235 * src/gdcmUtil.cxx: added forgotten iostream include.
236 * src/gdcmCommon.h: FileType enum entry DICOMDIR removed (since
237 equivalent to ExplicitVR in existing code).
239 2004-03-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
240 * src/gdcmUtil.[cxx|h] split in two. Additional file gdcmGlobal.[cxx|h]
241 now contains all the gdcmGlobal related code.
242 * minor coding style and doxygenation changes.
244 2004-03-26 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
245 * src/gdcmUtil.[cxx|h] split in two. Additional file gdcmDebug.[cxx|h]
246 now contains all the Debug related code.
247 * minor clean-up of includes in src/*.cxx
248 * src/gdcmUtil.[cxx|h] _cleanString C style function (replaced with
249 CreateCleanString) removed.
250 * src/gdcmUtil.[cxx|h] _CreateCleanString renamed to CreateCleanString
251 * Doc/DoxyMainPageUser.txt added.
252 * Doc/Doc/DoxyfileUsers updated to version 1.3.4 of Doxygen.
253 * src/gdcmCommon.h now defines getcwd for Win32 (moved away from
256 2004-03-24 Jean-Pierre Roux
257 * FIX a lot of little surface modifications to be doxygen 1.3.6 compliant
259 2004-03-23 Jean-Pierre Roux
260 * FIX Now gdcmFile::SwapZone doesn't seg faults any longer for
261 big endian made volumes
262 * ENH Now gdcmParser constructor and destructor are protected to forbid
263 end user to instanciate class gdcmParser
264 (only gdcmHeader and gdcmDicomDir are meaningfull)
266 2004-03-22 Benoit Regrain
267 * FIX : src/gdcmDicomDir.cxx : make windows compilable
268 * FIX : gdcmPython/gdcm.i : change gdcmStudy to gdcmDicomDirStudy and
269 gdcmSerie to gdcmDicomDirSerie
271 2004-03-19 Jean-Pierre Roux
272 * ENH Now the tree-like structure describing a DICOMDIR comming from
273 an already existing DICOMDIR file is consistent with
274 the home-made tree-like structure build ex-nihilo
275 or build from the files held (recursively) in a Directory
276 functions gdcmDicomDir::CheckBoundaries()
277 gdcmObject::SetBoundaries() added
279 2004-03-17 Jean-Pierre Roux
280 * REM (Eric Boix bug) : removal of meaningless
281 gdcmDicomDirImage::NewImage function.
282 * FIX now file names and directory name are written properly in the
284 * FIX now gdcmDicomDir constructor may be call without any trick
287 2004-03-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
288 * FIX (JPR bug) : src/gdcmDicomDirImage.cxx added missing definition
289 of gdcmDicomDirImage::NewImage as empty function.
291 2004-02-28 Jean-Pierre Roux
292 * ENH add gdcmDicomDir:NewPatient
293 add gdcmDicomDirPatient:NewStudy
294 add gdcmDicomDirStudy:NewSerie
295 add gdcmDicomDirSerie:NewImage
296 to allow making gdcDicomDir object.
297 * ADD PrintDicomDir executable that uses gdcmDicomDir tree-like structure
298 (as opposite to the gdcmHeader chained list)
300 2004-02-11 Benoit Regrain
301 * FIX : memory leaks and the set of ArgDelete methods in gdcmDicomDir
302 when using from python
304 2004-02-10 Benoit Regrain
305 * FIX : bug fix in the gdcmDirList for the recursivity in directories
306 * FIX : in gdcmDicomDir when the directory is empty
307 * ENH : add callback and methods to get the progression of dicomDir
310 2004-02-06 Jean-Pierre Roux
311 * ENH : - now gdcmDicomDir::CreateDicomDir() returns also the meta elements
312 - GDCM_META added to gdcmDicomDirType
313 - class gdcmMeta created
314 * ENH : - A brief summary is now displayed at the beginning of
315 'testDicomDir' to help disaster magnitude estimation
316 * REM : Now useless Test/explDICOMDIR.cxx
318 2004-02-05 Benoit Regrain
319 * ENH : add methods in gdcmObject to get the hash table or the list of
321 * FIX : wrapping python for ListPatient, ListStudy, ListSerie, ListImage
322 * FIX : wrapping python for TagHeaderEntryHT
324 2004-02-04 Benoit Regrain
325 * FIX : even length for some strings when writting the dicom dir
326 * FIX : sort the images in the dicom dir
327 * FIX : Bug fix for python use of dicom dir
328 * ADD : a python demo
330 2004-02-04 Jean-Pierre Roux
331 * FIX : Final solution (?) for icone embedded images
332 * FIX : dicomVR.dic Overlay group is not *only* 6000, but 60xxx
333 (see http://medical.nema.org/dicom/2003/03_06PU.PDF)
334 add groups 6002, 6004, 6006, to allow 'clean' parsing of
335 gdcmData/gdcm-MR-SIEMENS-16.acr1
336 * ENH add gdcmData/checkWriteExplicit.sh gdcmData/checkWriteImplicit.sh
337 to make full checking easier
339 2004-02-04 Benoit Regrain
340 * FIX : WriteEntries : coding style & logic in parameters
341 * FIX : Set the elements to create the DicomDir in a dictionary file
343 2004-02-03 Benoit Regrain
344 * gdcmDirList : to parse a hard drive directory in recursive (or not)
345 * gdcmDicomDir : add the load of directory
346 * Bug fix and print add-on
348 2004-02-03 Jean-Pierre Roux
349 * ENH gdcmParser : allows "DICM" files, with NO group '0002'
350 * FIX handling 'non string elements' unsecure area (LUT, overlays, etc)
351 * FIX Dicts/dicomV3.dic : Add a few missing 'group length' Elements
352 * FIX gdcmParser.cxx : 'group length' elements are now considered
353 as integers, even for shadow groups, when file is Implicit VR
355 2004-02-02 Jean-Pierre Roux
356 * FIX : gdcmWrite : equal_range() for multimap doesn't return a 'second'
358 of the last synonym :-(
359 * FIX : gdcmWrite::WriteBase : method stops if Pixels not yet Read (except
361 * ENH gdcmData/checkWrite.sh :modif for full check of Explicit VR writting
362 * FIX taking into account the possible 7fe0,0010 multiplicity
363 * FIX add GRPixel,NumPixel,countGrPixel (gdcmParser protected members)
364 to allow removal of references to 7fe0,0010, to deal with
365 ACR-NEMA images, when 0028,0200 is meaningfull
367 2004-01-31 Jean-Pierre Roux
368 * FIX gdcmParser::WriteEntries : when a VR is tagged as 'Unknown'
369 no longer writes 'Un' on disk
370 * FIX SQ elements with actual length are now dealt with corectly
371 * FIX gdcmFile::WriteBase make the difference, for color images, between
372 the length (for Palette expanded images)
373 and Raw Length (non expanded image + Palette)
374 * FIX Dicts/dicomV3.dic : removal of 'CTX' (context dependant) VR
375 (that broke Write). Replaced by UL.
376 Aware user will reload the field if he
377 thinks it's necesssary
379 2004-01-30 Jean-Pierre Roux
380 * gdcmParser::CheckSwap() now defaults the filetype to ACR
381 when 'dirty Acr' is found, to be compliant with the new
382 IsReadable() methods.
384 * gdcmHeaderHelper :add Pixel Type 'FD', for dealing with 'double' images.
385 (no DOUBLE images in kosher DICOM,
386 but so usefull for people that miss them ;-)
388 * add Test/testDicomDir.cxx, Test/makeDicomDir.cxx , Test/explDICOMDIR.cxx
389 DICOMDIR related utilities (not checked as Windoze compliant)
391 2004-01-28 Jean-Pierre Roux
392 * upgrade GdcmHeaderEntry Print Method for DICOMDIR
394 2004-01-27 Jean-Pierre Roux
395 * gdcmParser constructor has a new boolean param,'ignore_shadow',
396 to allow skipping the shadow elements, to save memory space.
397 The TRUE value for this param has to be used
398 with a FALSE value for the 'enable_sequence' param.
399 ('public elements' may be embedded in 'shadow Sequences')
400 * gdcmHeader methods now deal with 'embedded icones images' in the header
401 (even when an 'icone image sequence' is announced by the
402 element (0x0088,0x0200), but there is NO icone at all ...
404 * gdcmHeader sometimes Image Location value doesn't follow
405 the supposed processor endianity (see gdcmData/cr172241.dcm).
408 * gdcmHeader add the method
409 IterHT GetHeaderEntrySameNumber(grPixel,numPixel);
410 to get *all* the Header Entries with the same tag.
411 GetHeaderEntrySameName is probabely *useless*
412 (no meaning : Name is *not* an identifier within the Dictionnary)
414 2004-01-26 Benoit Regrain
415 * Bug fix in the print of hexadecimal representations. Remove long fields
416 in the print and add a third level of print to print them
418 2004-01-23 Benoit Regrain
419 * Bug fix on field having a VR = 'UI'. Assume that is a string field
420 * Bug fix on test suite after remove the strip made on not string fields
421 * Split the IsReadable method between gdcmParser which test that the file
422 is dicom and gdcmHeader which test that it's an image file
424 2004-01-22 Benoit Regrain
425 * DicomDir : clean code, add methods, set variables in protected or private
426 * gdcmUtil : bug fix for the clean string method
428 2004-01-19 Benoit Regrain
429 * Add the use of shadow dictionaries
430 * bug fix and coding style
432 2004-01-19 Benoit Regrain
433 * src/gdcmFile.cxx : bug fix concerning the close of file
434 * src/gdcmParser.[h|cxx] : remove obvious Pub informations
435 * Add the update of header entries using the shadow library
437 2004-01-19 Benoit Regrain
438 * removal of file gdcmHeader2.cxx
439 * split class gdcmHeader into gdcmParser and gdcmHeader, with gdcmHeader
440 inheriting from gdcmParser. This split is to prepare the integration
442 * bug fix under python
444 2004-01-16 Jean-Pierre Roux
445 * REM removal of class gdcmHeaderEntrySet
446 * REM removal of files gdcmHeaderEntrySet.cxx, gdcmHeaderEntrySet.h
447 * ADD add file gdcmHeader2.cxx
448 * ADD add method gdcmHeader::SetPrintLevel (for PrintHeader)
450 2004-01-15 Benoit Regrain
451 * src/gdcmDicSet.[h|cxx] : add virtual entries to have a reference of
452 entries created while parsing the header. Thus, they will be destroyed
453 when the gdcmDictSet will be destroyed
454 * src/gdcmHeader.cxx, gdcmHeaderEntrySet.cxx : uses virtual entries of
457 2004-01-15 Benoit Regrain
458 * vtk/vtkGdcmReader.cxx : bug fix : before, with python only, the program
459 made a fatal error because of the memory release at the end of program.
460 The problem was in vtkGdcmReader::ExecuteData where we were allocate
461 some memory and vtk seems to have some problems with that.
462 * src/gdcmHeaderEntrySet.cxx : bug fix for std lib and cout
464 2004-01-14 Benoit Regrain
465 * src/gdcmHeaderEntry.[h|cxx] : gdcmElValue -> gdcmHeaderEntry
466 * src/gdcmHeaderEntrySet.[h|cxx] : gdcmElValSet -> gdcmHeaderEntrySet
467 * src/*.[h|cxx] : make changes due to class name changes
468 * gdcmPython/demo/*.py : bug fix due to method names
470 2004-01-13 Benoit Regrain
471 * src/*.[h|cxx] : coding style
472 * vtk/*.[h|cxx] : coding style
474 2004-01-13 Benoit Regrain
475 * gdcmPython/testSuite.py : test the readable flag of file for tests
476 * src/gdcmDict.cxx, gdcmElValSet.cxx : bug fix under windows for prints.
477 It's lied to the stl compilation by MSVC (windows, always windows...)
478 * src/gdcmIdo.h, gdcmHeaderIdo.cxx : remove the Ido unused files
480 2004-01-12 Benoit Regrain
481 * src/*.h : add comments
482 * src/gdcmDictSet.h : set the method BuildDictPath in public
483 * src/gdcmTS.cxx, gdcmVR.cxx : use now a dictionnary file other than to be
484 directly setted in the source code
485 * Dicts/dicomTS.dic, dicomVR.dic : 2 new dictionnary files loaded by
488 2004-01-09 Benoit Regrain
489 * gdcmPython/gdcmVersion.py : add a gdcmVERSION variable information
490 * setup.py : use a reference to gdcmVERSION
492 2004-01-07 Benoit Regrain
493 * Modification to compile with the distutils.
496 2003-12-10 Benoit Regrain
497 * gdcmHeader is now aggregating gdcmFile, and not derived into. Thus, we
498 can use a gdcmHeaderHelper to load datas
499 * gdcmPython/testSuite.py : make the testSuite compliant with modifications
500 made in the source code
502 2003-12-10 Benoit Regrain
503 * Update Windows projects and .cvsignore files
505 2003-11-12 Jean-Pierre Roux
506 * ENH gdcmHeader constructor has one more parameter (default value : false)
507 that allows the user to 'go inside' the SeQuences only
509 gdcmElValSet:Print takes it into account
511 2003-11-12 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
512 * ENH: Update gdcmPython/CMakeLists
513 * FIX: (gdcmHeaderHelper) GetRescale and GetSlope
514 * FIX: (gdcmElValSet) char 'tag' was overiding private members (VC++)
516 2003-11-10 Jean-Pierre Roux
517 * FIX : gdcmHeader::LoadElements is now based
518 on the ListTag listElem member,
519 not longer on the TagElValueHT tagHt member
520 * ENH : PrintPubElVal shows (temporarily) both results,
521 with the tagHt member and the listElem member.
522 (it's easier to 'see' the problems when using Printheader)
524 * FIX : old private member LgrElem is now splitted into
525 ReadLength : Length actually found on disk (updated only
526 if bug fixing is necessary), for internal
528 UsableLength : Updated by FixFoundLength, to fix a bug
529 or to allow Parser going on.
530 Will allow to re-write a kosher header when a SeQuence
531 with a length (not 0000) is found
532 Warning : gdcmFile::Write still uses the TagHt (not ListElem)
533 because gdcmElValSet::Add does not update ListElem
536 2003-11-07 Jean-Pierre Roux
537 * FIX misstyping in Transfert Syntax name table
538 * ENH gdcmHeader::FixFoundLength now allow to 'go inside' tge SeQuences
539 when they have an actual length (not 0000 nor FFFFF)
540 (Nobody should care of it, but DICOMDIR explorers)
542 2003-11-06 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
543 * ENH: vtkgdcmViewer now works with LUT dicom (OT-PAL-face ...)
545 2003-11-05 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
546 * ENH: vtkGdcmReader now supports LUT !
547 (vtkgdcmViewer for now is not able to use them though)
549 2003-11-05 Jean-Pierre Roux
550 * in testSuite.py : new files names for checking the package
551 * FIX : Forgot to commit gdcmFile::GetImageDataSizeRaw();
552 that returns the pixel area size to the *aware* (vtk) user
553 that DOESN'T want to turn the PALETTE COLOR image into an RGB image
555 2003-11-05 Benoit Regrain
556 * in testSuite.py : Modify the rules for checking the paths
557 : Explicit error messages
558 * in __init__.py : Related modif
560 2003-11-03 Jean-Pierre Roux
561 * add gdcmHeaderHelper::GetNumberOfScalarComponentsRaw()
562 to be used by aware (vtk) users that want to manage
563 LUT (and no to turn the PALETTE image into an RGB pixels one)
564 * GetPixelType now returns 8U for 24 Bits images
565 (vtkGdcmReader compliant)
567 2003-10-31 Jean-Pierre Roux
568 * Removal of *all* gdcmData images and add them again
569 in order to loose the 'history' of un-anonymised images
571 2003-10-31 Jean-Pierre Roux
572 * RMV : removal of useless jBitsInJsample.h
573 for both 8 and 12 Bits JPEG Lossy Libraries
575 2003-10-31 Jean-Pierre Roux
576 * ENH : Add the functions gdcmFile::GetImageDataRaw
577 gdcmFile::GetImageDataIntoVectorRaw
578 that act as GetImageData and GetImageDataIntoVector
579 except the making of an RGB Plane from Gray Plane + LUT
580 Intended to aware (vtk) users who know how to manage
583 GetLUTRGBA return a R,G,B,A LUT if any
584 lgrTotaleRaw gives the 'Raw' length
585 GetImageDataRaw returns the gray Plane
586 * FIX : no more dirty trick for 'Segmented xxx Palette Color Lookup' images
587 (They stay Grey, just like with other Dicom viewers :-(
589 2003-10-30 Jean-Pierre Roux
590 * FIX : a VC++ intended syntax modif broke the 12/12 Bytes expanding
592 2003-10-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
593 * ENH: Can be used like this '$vtkgdcmViewer *.dcm' with *.dcm
594 being coherents dicom files.
596 2003-10-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
597 * FIX: DOH ! Forgot about windo$e users, they couldn't read lossless jpeg,
599 * ENH: Turn it into DOS file type to match libgdcmijpeg8.dsp file type
600 * ENH: Two steps is necessary to please VC++ compiler...
601 * FIX: DOH ! libgdcmijpg8 -> libgdcmljpeg
602 * ENH: Add include dir to medcon lib
603 * FIX: only one function is being exported for now !
604 You should use GLOBAL(return type) see ljpg/jpeg.h for more info
606 2003-10-29 Jean-Pierre Roux
607 * adding gdcmHeader::GetLUTRGBA
608 returns a 4 * 256 Bytes Reg/Green/Blue/Alpha vtk compliant LUT
609 --> Mathieu, the modif u're waiting for is not yet committed
610 * removal of now useless GetLUTRed,GetLUTGreen,GetLUTBlue,GetLUTRGB
612 2003-10-27 Jean-Pierre Roux
613 * adding some xmedcon breaker files (courtesy of Loïc Boussel)
614 00191113.dcm DermaColorLossLess.dcm
615 MxTwinLossLess.dcm RadBWLossLess.dcm
616 * ENH: For version prior to vtkImageViewer2 -r 1.19
617 * FIX: avoid pb with xmedcon-breaker CT McTwin Elscint images
619 2003-10-27 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
620 * Removal of ido stuff in CMakeLists.txt
622 2003-10-24 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
623 * ENH: vtkGdcmReader.cxx can now read multiframe dicom
624 * FIX: remove a call to ->Modified ... see comments
625 * FIX: vtkgdcmViewer.cxx was writting ASCII file...this is so slooooow !
627 2003-10-23 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
628 * FIX: Problem with path for libvtkgdcmPython
629 * ENH: Try adding a search script for python site-package
630 * RMV: Remove some file from medcon lib that are not necessary
631 * FIX: gdcm/Makefile.am fix for generating ljpg medcon
632 * ENH: CMakeLists.txt now generate 'pygdcm.so' instead of 'libpygdcm.so'
633 * FIX: More pragma disable fro VC++,
634 I don't think I break something as it is also disable in VTK/ITK.
635 But it fasten debug compilation time.
637 2003-10-23 Jean-Pierre Roux
638 * gdcm now deals with 16 Bits Run Length Encoded images
639 (they are compressed as 2 planes images,
640 one for the high Bytes, the other for low Bytes)
642 2003-10-22 Jean-Pierre Roux
643 * Now CheckRead takes into account :
644 - the bugged 'Leonardo' Siemens images
645 - the XA images, sent thru the burning VPRO station
646 * add I9000001.dcm, a GE dlx XA image, thru the VEPRO burning station
649 2003-10-22 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
650 * FIX: When copying a Makefile.am to CMakeLists.txt
651 one should remove the '\'
653 2003-10-22 Jean-Pierre Roux
654 * in gdcmData adding a bugged 'Leonardo' Siemens image
655 (wrong lengths in header)
656 OK with gdcm, KO with the other viewers :-)
657 * add a GE dlx XA image, thru the VEPRO burning station
660 2003-10-21 Jean-Pierre Roux
661 * in gdcmData add the checkvtkgdcmViewer.sh shell script
662 for a brutal checking of vtkgdcmViewer compliance
664 2003-10-21 Jean-Pierre Roux
665 * add the files for 'xmedcon' Jpeg Lossless library
666 * call of 'xmedcom' Jpeg Lossles libray (instead of the old LibIDO one)
668 2003-10-21 Jean-Pierre Roux
669 * 'Compacted Files' (12 Bits Allocate, 12 Bits Stored) are now dealt with
671 2003-10-21 Jean-Pierre Roux
672 * garbage Siemens 'Leonardo' images dealt with
673 (the patch is easy to remove)
674 * cosmetic changes to avoid warnings
676 2003-10-20 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
677 * ENH: vtkgdcmViewer now autoscale color/window level on start-up,
678 no need to press 'r' now.
680 2003-10-20 Jean-Pierre Roux
681 * upgrade of checkRead.sh checkWrite.sh according
682 to new Jpeg Lossless decompressor
683 * add US.3405.1.dcm, a genuine RGB medical file ...
684 * add gdcm-ACR-LibIDO.acr, unnormalized Rectangular LibIDO format image
685 * add CLIP0001-Sequoia-U11.dcm, US 'Clip', from SEQUOIA machine,
687 2003-10-15 Jean-Pierre Roux
688 * general anonymisation in gdcmData
689 * adding the 'color files' from
690 http://www.leadtools.com/SDK/Medical/DICOM/ltdc19.htm
691 * adding some well knowed bugged-header images
692 * adding checkRead.sk, checkReadColor.sh, checkWrite.sh,
693 waiting for their inclusion in Python testsuite
695 2003-10-15 Jean-Pierre Roux
696 * gdcmHeader::gdcmHeader(const char *InFilename, bool exception_on_error)
697 no longer seg faults when file is not found
699 2003-10-14 Jean-Pierre Roux
700 * Emprovement of reading for Dicom encapsulated Jpeg LossLess
703 2003-10-14 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
704 * TODO: *.in file to genereate a UseGDCM later
706 2003-10-14 Jean-Pierre Roux
707 * Some supposed-to-be Dicom Images have no preamble.
708 OpenFile takes it into account
709 * Jpeg LossLess 24 Bits images doesn't break any longer gdcm
710 * Missing elements added in dicomV3.dic
711 (just to be affraid : have a look at
712 ftp://medical.nema.org/medical/dicom/2003/01v03dif/01v03_06.pdf
713 and do it again next year ;->
715 2003-10-13 Jean-Pierre Roux
716 * According to PS 3.3-2003 C.11.1.1.2 p 619, when each pixel of
717 a PALETTE COLOR is stored on 2 Bytes, theese 2 Bytes must be equal.
718 But there are NOT. It's fixed !
720 2003-10-13 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
721 * FIX: "jpeglib.h" was not found on VC++
722 * FIX: vtkgdcm was not being installed
724 2003-10-10 Jean-Pierre Roux
725 * ENH : OpenFile closes the file if it *really* doesn't look like
726 an ACR-NEMA / DICOM one.
727 * FIX : testWrite no longer writes an empty file if the source file
729 * ENH : One more JPEG LossLess type "JPEG Baseline (Process 14)"
732 2003-10-10 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
733 * FIX: CMake generate now documentation
734 * ENH: out of source doc build !
735 * ENH: Generate both user and dev documentation
736 * ENH: Should work on windows too
737 * ENH: Only one doxygen config.in file is needed
738 * FIX: make install should be ok now on ùnix plateform
739 * FIX: PATH to dictionary was wrong (missing /)
740 * ENH: OpenFile, return true if the file looks like an ACR or DICOM file
742 2003-10-09 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
743 * vtkGdcmReader is now able to read rgb dicom file.
744 * src/gdcmHeaderHelper : GetNumberOfScalarComponents()
745 * added a gdcmViewer to vtk test, use mouse to control
746 window level & window width
748 2003-10-09 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
749 * CMake-ification of gdcm, we have now two build system
750 * FIX: on cygwin Wsock32 doesn't exist
751 * FIX: force jpeg dir to the local one (gdcm/src/jpeg)
753 2003-10-06 Emanuel Ollart
754 * FIX : compilation process wad broken.
755 Changed gdcmViewer_sources to vtkgdcmViewer_sources
757 2003-10-06 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
758 * change gdcmViewer -> vtkgdcmViewer
759 * change GetXSpacing and GetYSpacing "%f\\%" is parsed backward
761 2003-10-06 Jean-Pierre Roux
762 * FIX :A few nasty patches to allow the reading of a lot of nasty images
763 ( e.g : well known GE images with a wrong elem length,
764 : Philips MRI Images with a wrong Huffman table)
765 * still to be done : allow the reading of bugged LEONARDO Siemens images
767 2003-10-03 Jean-Pierre Roux
768 * Odd length strings are padded with '\0' (not with spaces,
769 to remain compliant with already defined strings,
770 like Transfert Syntax UID and others)
772 2003-10-03 Jean-Pierre Roux
773 * ENH :gdcmHeaderHelper::GetNumberOfScalarComponents() added,
774 to allow displaying RGB images (not only by affim ;-)
776 2003-10-03 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
777 * vtkGdcmReader is now able to read rgb dicom file.
778 * src/gdcmHeaderHelper : GetNumberOfScalarComponents()
780 2003-10-03 Jean-Pierre Roux
781 * A few nasty patches to allow the reading of a lot of nasty images
782 ( e.g : well known GE images with a wrong elem length,
783 : Philips MRI Images with a wrong Huffman table)
784 * still to be done : allow the reading of bugged LEONARDO Siemens images
786 2003-10-03 Jean-Pierre Roux
787 * One more JPEG LossLess type "JPEG Baseline (Process 14)" is now decoded.
789 2003-10-03 Jean-Pierre Roux
790 * gdcmHeaderHelper::GetNumberOfScalarComponents() added,
791 to allow displaying RGB images (not only by affim ;-)
793 2003-10-03 Jean-Pierre Roux
794 * gdcmFile::GetImageDataIntoVector now
795 - deals with MultiFrames MultiFragments Run Length Encoded files
796 - deals with YcBcR (YBR_FULL) files
797 - deals with YBR_YBR_FULL_422 files (they work as RBG files ?!?)
798 WARNING : nothing was checked for YBR_PARTIAL_422, YBR_ICT,
802 2003-10-02 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
803 * src/*.cxx removed pragma thingies to src/gdcmCommon.h
804 Two reasons: - clear things
805 - third parties acces gdcm through header files, so won't
806 suffer anymore VC++ complains
808 2003-09-30 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
809 * add argv[1] in testvtkGdcmReader.cxx
812 2003-09-24 Jean-Pierre Roux
813 * The lines are now eigthy characters long.for
814 gdcmHeader.cxx gdcmHeaderHelper.cxx gdcmParse.cxx
816 2003-09-22 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
817 * src/gdcmUtil.[cxx|h] : change the _CreateCleanString return value from
818 char* to std::string. Thus, the use of strdup becomes useless. (see
819 previous commis of Malaterre)
820 * src/gdcmElValSet.cxx : reuse commented call to _CreateCleanString like
821 before the last Malaterre's commit.
823 2003-09-19 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
824 * This commit should fix the Debug building under VC++, the problem
825 was mainly a mixture of debug and release lib being loaded at startup.
826 * I also remove a depency to a specific C function: strdup. Because I had
827 to force the link to msvcrtd (whereas strdup is in libc).
829 2003-09-16 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
830 * "gdcm::Unfound" string changed to a constant variable (GDCM_UNFOUND)
831 located in the gdcmCommon.h file. All use of reference of tha has been
832 changed to now use the variable GDCM_UNFOUND.
834 2003-09-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
836 - gdcmPython/testSuite.py adapted to the JPR updated Dicts/dicomV3.dic
837 Dicom dictionary. The test suite can now be run again. Note:
838 I'm note very happy with the " (RET)" changes. I believe this
839 RETAINED comment should be dropped when parsing the dictionary.
842 - AUTHORS updated and now in alphabetical order
843 * Makefile.am now exports gdcm.dsw for Windoze users.
845 2003-09-11 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
846 * cygwin complains about missing std:: in subdir Test/
848 2003-09-10 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
849 * remove some methods that are now in gdcmHeaderHelper
851 2003-09-10 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
852 * vtkGdcmReader set spacing and origin correctly
854 2003-09-09 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
855 * Fix a few delete/delete[] mismatch
857 2003-09-08 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
858 * src/gdcmHeaderHelper.[h cxx]: added new class that provide an
859 interpretation to data given by gdcmHeader. For instance there are
860 heuristics to get informations (look at different places).
861 * it also include a specific class: gdcmSerieHeaderHelper devoted to
862 sorting DICOM images based on different strategies.
863 * modified Makefiles accordingly.
865 2003-09-05 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
866 * src/*.cxx : added pragma disable 4786/4251 to get rid of ~4300 warning
867 when building in debug mode
868 * vtk/win32/vtkgdcm.dsp : change /MT -> /MD and /MTd -> /MDd to match
869 src/win32/gdcmdll.dsp
870 * vtk/win32/vtkgdcm.dsp : added /nodefaultlib "mscvrt" for debug mode
872 2003-08-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
873 * Corrected a leak in vtkGdcmREader.cxx, the pSource was find thanks
876 2003-07-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
877 * src/win32/libgdcmjpeg12.dsp was not dos format
878 * src/win32/libgdcmjpeg12.dsp :
879 libgdcmijpeg12_EXPORTS -> LIBGDCMIJPEG12_EXPORTS
880 * src/win32/gdcmdll.dsp: + /I "..\jpeg\libijg12"
882 2003-07-29 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
883 * src/gdcmHeader.h : add std:: prefix for stl elements... like others in
885 * src/gdcmFile.cxx : bug fix in affectation type
886 * src/jpeg/libijpeg12/jmorecfg12.h : export for windows modified... like
887 in src/jpeg/libijpeg8/jmorecfg8.h (JPR : copy/paste exists !!!)
888 * Modifs of MVSC projects to compile them. Not concerning 2 identic
889 symbols... future problem ?
891 2003-07-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
892 * src/win32/libgdcmijpeg12.dsp was missing
893 * modified gdcm.dsw accordingly
895 2003-07-28 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
896 * src/gdcmHeader.cxx : misplaced return 0.; for ACR/NEMA
898 2003-07-24 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
899 * src/jpeg/libijg12/.cvsignore, jconfig.* : ommited files while last
900 commit of JPR (before his hollidays to facilitate our work).
901 * setup.py : bug fix in code. Modifications made while the last commit
902 of JPR. The code hasn't been tested before the commit... it's so
903 useless to make that (for best programmer that is JPR) !!!
905 2003-07-08 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
906 * tagged the current version as Version0_3 (i.e. version 0.3)
908 2003-07-08 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
909 * vtk/testvtkGdcmReader.cxx : remove a symbol that is unused
910 * src/jpeg/libijg8/jmorecfg.h : adding export symbol for windows
911 * *.dsp : modifications to use new libgdcmijpeg8 library
912 * setup.py : bug fix on VTKPATH variable
913 * PACKAGER : adding all concerning windows
915 2003-07-07 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
916 * src/gdcmElValSet.cxx, gdcmFile.cxx: JPR bug fix, removal of
918 * TODO, vtk/vtkGdcmReader.cxx: upcoming fixes comments.
919 * gdcmPython/testSuite.py: JPR bug fix, brutal erasement of
920 test suite reported error.
921 * PACKAGER file added (describes what a packager must do when
922 packaging a new release).
923 * MANIFEST.in, now declares jconfig.linux and jconfig.vc
924 * configure.in: upgraded version number to 0.3.0
925 * fixing build of rpm (through rpm -ta):
926 - Doc/Makefile.am exports proper doxygen files
927 - src/jpeg/libijg8/Makefile.am exports the include files.
929 2003-07-07 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
930 * vtk/vtkGdcmReader.cxx : bug fix when loading only 1 file.
931 * src/gdcmHeader.h : formatting code
933 2003-07-07 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
934 * vtk/vtkGdcmReader.[cxx|h] : bug fix when loading only one file.
935 We were obtaining error message from vtk. Now, creation of file list
936 is made in an internal list to prevent this problem.
937 Bug fix when output is empty.
938 Bug fix in update of progress value. Previous commit for this was a bad
940 * vtk/vtkGdcmReader.h : adding comments for InternalFileNaleList variable
942 2003-07-04 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
943 * src/gdcmHeader.h : added method to get the file name
944 * vtk/vtkGdcmReader.[cxx|h] : bug fix concerning loading of bad dicom
945 files. Added method to remove all files on the input
946 Added FIXME comment concerning the bad parsing of header made by
947 ExecuteInformation method (in ExecuteData method)
949 2003-07-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
950 * vtk/Makefile.am: vtkGdcmReader.h should now be cleany installed
951 when using make instal.
952 * src/gdcmFile.cxx : bug fix under Window after JPR commit
953 RQ : the JPR doesn't appear in the ChangeLog... normal for him
955 2003-07-03 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
956 * setup.py : adding include dir of jpeg lib to compile all sources
957 * */Win32/*.dsp : JPR fix for windows compilation
959 2003-07-02 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
960 * src/jpeg/libijg8/jconfig.* : JPR bug fix : now compile on both
962 * src/gdcmJpeg.cxx : JPR bug fix : erroneous include
963 * src/win32/gdcmdll.dsp : JPR fix for windows compilation
965 2003-07-02 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
966 * setup.py is again effective on un*x (takes into account the
967 addon of the jpeg library)
968 * Doc/DoxyDevelInstal.txt added (developper's raw documentation)
969 * Doc/Doxy* updated (includes above enhancements)
970 * INSTALL now points to web documentation
972 2003-07-01 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
973 * src/gdcmHeader.h doesn't make unnecessary reference to
975 * gdcmPython/Makefile.am now avoids calling the wrappers for the
977 * src/gdcm*.[cxx|h] :
978 - to allow compilation with gcc 3.x
979 -- clean up of STL usage (added explicit usage of std::)
980 -- small fixes on exceptions.
981 Note: linking not tested !
982 - clean of doxygen comments to avoid warnings at documentation
984 * vtk/vtkGdcmReader.cxx: g++ warning message clean up (platform
985 dependent convertion).
987 2003-06-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
988 * Clean up of previous JPR garbage commit (not even commented in the
990 - Test/Makefile.am removed the reference to unexisting testTS.cxx
991 - moved all jpeg related files from src to src/jpeg/libijg8, with
992 addition/modification of Makefile.am and configure.in.
993 - the testSuite is still brain damage (not guilty).
995 2003-06-02 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
996 * WrapVTK.py : modifications to get correctly vtk source files to
998 * vtk/vtkGdcmReader.cxx : modification for an already existing name
999 (FileName -> Filename)
1001 2003-06-11 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1002 * vtk/vtkGdcmReader.[cxx/h]:
1003 - UpdateProgress method should now be effective
1004 - removed the limitation on having only images loaded (as opposed
1006 - when building a stack of images/volume, a lesser number of
1007 gdcmHeader and gdcmFile instances should be used (hopefully
1008 accelerating things).
1009 - when building a stack of images/volumes, files which are not
1010 loadable (wrong path-filename, wrong permissions on existing file,
1011 or file not parsable by gdcm) are replaced with a black image
1012 in the stack (for the caller to notice the problem).
1014 2003-06-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1015 * vtk/vtkGdcmReader.cxx: hopefully corrected Z extent.
1017 2003-06-02 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1018 * vtk/vtkGdcmReader[cxx|h] : makes correct code to remove conflicts
1019 between standard library (std) and vtk library (problems are found
1020 under Windows... thanks Windows !)
1022 2003-05-30 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1023 * vtk/vtkGdcmReader[cxx|h] should now be volume aware (read ready for
1025 * gdcmPython/demo/vtkGdcmReader.py: commented lines for volume test
1027 2003-05-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1028 * vtk/vtkGdcmReader[cxx|h] preparation addons for loading volumes.
1030 2003-05-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1031 * When compiling with distutils (see setup.py) the C++ compiler is
1032 called with different flags than the default ones (with automake).
1033 In order to fix all those warning, I compiled gdcm with the command
1034 make 'CXXFLAGS=-Wall -Wstrict-prototypes -D__STDC_LIMIT_MACROS'
1035 and went for warning fixes:
1036 - src/gdcmHeader.cxx, Test/dcm2acr.cxx, pourFindTaggs.cxx cleaned
1037 up from unused variables.
1038 - vtk/vtkGdcmReader.cxx: potential bug fix.
1039 * src/gdcmHeader.h: Doxygen warning cleanup
1041 2003-05-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1042 * gdcmPython/gdcm.i:
1043 - typemaps correction to take into account the systematic replacement
1044 of "using namespace std" with std:: prefix e.g. std::list,
1045 std::string... (cf changes of 2003-05-21).
1046 - gdcmGlob global variable of type gdcmGlobal (defined in
1047 src/gdcmUtil.cxx and declared in gdcmPython/gdcm.i) is now
1048 exported to Python a as cvar.
1049 * gdcmPython/__init__.py now defines two functions GetPubDictTagNames()
1050 and GetPubDictTagNamesByCategory() as a replacement for deprecated
1051 gdcmDictSet.GetPubDictTagNames() and
1052 gdcmDictSet.GetPubDictTagNamesByCategory() class functions (i.e.
1053 C++ static methods).
1054 * gdcmPython/demo/printGroupedPublicDict.py is operational again,
1055 with the above changes.
1057 2003-05-22 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1058 * setup.py, manifest.in : bug fix under linux
1060 2003-05-22 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1061 * Modification of setup.py to compile vtk part too. Then, we have 2
1062 wrappers which must work with same distutils. For that, we have a
1063 generic distutils in distusiltsWrapping.py ; with :
1064 - build_extWrap class to wrap generically all extensions,
1065 - ExtensionWrap base class for all wrapping extension that contains
1067 - Wrapper interface which wrap sources
1068 + In WrapSwig.py we have extension and wrapper for Swig
1069 + In WrapVTK.py we have extension and wrapper for VTK
1070 * MANIFEST.in : modifications to consider vtk directory and new python
1071 files for compilation
1073 2003-05-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with Benoit Regrain
1074 * Added python wrappers of vtkGdcmReader vtk class (see the
1075 source in vtk/vtkGdcmReader.cxx) :
1076 - vtk/Makefile.am now builds a library
1077 - gdcmPython/Makefile.am now builds vtkgdcmPython a second import
1078 python library (as opposed to _gdcm.so wich are the python
1079 wrappers of gdcm). vtkgdcmPython.so uses the vtk python wrappers
1080 (vtkWrapPython and vtkWrapPythonInit utility) to build vtkgdcmPython
1082 - configure.in has an additional flag --enable-vtk that needs
1083 to be set to enable compilation of vtk related code, that is:
1084 + vtk/vtkGdcmReader.so and
1085 + vtk/testvtkGdcmReader C++ demo of vtk wrappers of gdcm)
1086 + gdcmPython/vtkgdcmPython.so (see above)
1087 - gdcmPython/demo/vtkGdcmDemo.py corrected (some images cannot
1088 be read when compressed or when HighBit + 1 != BitsStored),
1089 - gdcmPython/demo/vtkGdcmReader.py added. This demo illustrates
1090 the usage of the python wrapper of vtkGdcmReader vtk class.
1091 * vtk/vtkGdcmReader.cxx: bug fixed (thanks to Benoit Regrain).
1092 * src/*.[h] all occurences of stl classes are now prefixed with
1093 std::, and all occurences of "using namespace std;" where removed.
1094 This is to avoid pollution of global namespace in included files.
1095 Apparently vtk does not avoid this pitfall: when using both
1096 gdcm and vtk (as in vtk/vtkGdcmReader.cxx) this ended up in a
1097 collision of various stl members (principally cout...).
1098 * gdcmPython/testSuite.py now cleanly removes temprory generated
1100 * gdcmPython/gdcm.i now declares a typemap for std::string (to
1101 comply with above changes)
1103 2003-05-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1104 * src/gdcmHeader>[h/cxx] added gdcmHeader::GetPixelSize()
1105 * vtk/vtkGdcmReader.cxx now properly inports the image in the
1106 vtk data structure (an image Flip was required).
1107 * vtk/testvtkGdcmReader.cxx refers to gdcmData subdir instead of Data.
1108 * cosmetic changes in documentation.
1110 2003-05-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1111 * src/gdcmHeader.cxx: the constructor no longer exits when an
1112 unexisting file is given as argument.
1113 * The subdirectory Data (containing all the images used for the
1114 test suite) is not part of this repository anymore. A new module
1115 containing those images is now available at
1116 :pserver:xxx@cvs.creatis.insa-lyon.fr:2402/cvs/public
1117 with the name gdcmData.
1118 All the python scripts (including the package initialisation file
1119 gdcmPython/__init__.py) were adapated to take this change into
1120 account (basically GDCM_DATA_PATH is now GDCM_TEST_DATA_PATH).
1122 2003-05-5 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1123 * vtk subdir added. Contains vtkGdcmReader.[cxx|h] a vtk class
1124 inherinting from vtkImageReader and testvtkGdcmReader.cxx a small
1125 demo of the usage of this class.
1126 Compilation of this vtk part is only done when using the --enable-vtk
1127 at configure (or autogen.sh) stage.
1129 2003-04-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1130 * More memory link related corrections and documentation fixes.
1132 - maximum info is obtained with a command of the form:
1133 valgrind --leak-check=yes --leak-resolution=high --num-callers=40
1134 --show-reachable=yes PrintHeader
1135 - the remaining reachable blocks seem to come from the STL
1136 allocation scheme through the usage of map and list. It looks
1137 like this memory cannot be freed but it is not a memory leak
1138 (in fact further invocation to the STL would recollect the
1139 unused memory allthough it cannot explicitely be freed).
1140 * gdcmPython/demo/vtkGdcmDemo.py added: this is a small demo
1141 of displaying an image parsed with gdcm and displayed with VTK.
1142 Note: some images don't seem to work e.g.
1143 python vtkGdcmDemo.py ../../Data/US-RGB-8-esopecho.dcm
1144 * src/gdcmHeader.x: dicom_vr and Dicts are not class members anymore.
1145 Allthough this weakens the semantics, it is a ditch attempt to
1146 make gdcm more thread friendly.
1148 2003-04-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1149 * Memory link hunt (by using valgrind through the command
1150 valgrind --show-reachable=yes --leak-check=yes PrintHeader).
1151 - added src/gdcmVR.cxx gdcmVR.h that objectify the previous
1152 gdcmHeader::_dicom_vr.
1153 - gdcmHeader::InitVRDict transfered as gdcmVR::gdcmVR().
1154 - gdcmHeader::dicom_vr is now of type gdcmVR* as opposed to
1156 - gdcmGlobal global object contained class added (see src/gdcmUtil.x)
1158 2003-04-9 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1159 * src/Makefile.am now exports all the necessary include files at
1163 * UpdateGroupLength replaced by new one
1166 * UpdateGroupLength re-written using H-Table
1167 (named UpdateGroupLengthNew untill checks are over)
1169 2003-04-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1170 * Data/im_00001 renamed to gdcm-MR-PHILIPS-16-Multi-Seq.dcm
1171 * gdcmPython/testSuite.py now include a test of gdcmFile::Write.
1173 - gdcmHeader::GetPubElValSet removed.
1174 - gdcmElValSet::WriteDcm, WriteAcr, WriteExplVR, revamped to
1175 UpdateGroupLength, WriteElements, Write.
1176 - gdcmHeader::FileType moved to gdcmCommon.h. The enum FileType
1177 doesn't contain TrueDicom anymore since ExplicitVR and ImplicitVR
1178 carried the same semantics.
1179 - src/gdcmHeaderIdo.cxx changed accordingly.
1180 - gdcmFile::WriteBase now regroups all the codes from previous
1181 versions of WriteDcm, WriteDcmImplVR, and WriteACR.
1182 - enum FileType moved to gdcmCommon.h
1183 * src/gdcmHeader.cxx AddDefault trashed
1184 * gdcmGetXSize added
1185 * getimageDataSize now calls gdcmGetXSize
1186 * Test/*.cxx changed to agree with above changes
1188 2003-03-31 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1189 * src/gdcmHeader.h: LoadElements() is not a public method anymore
1190 (to avoid double call by end user).
1191 * Test/*.cxx LoadElements() doesn't need to be called explicitely
1192 by end user, since gdcmHeader::gdcmHeader now handles it.
1194 2003-03-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1195 * gdcm/Doc many doxygen changes:
1196 - Doxyfile now has two different versions, DoxyfileUsers that generates
1197 the html.users end users oriented documentation and
1198 DoxyfileDeveloppers that generates the html.developper developper
1199 oriented documentation.
1200 - README changed accordingly
1201 - requirement.txt removed (old design info moved to TODO).
1202 - Additional files DoxyInstallation.txt, DoxyIntroduction.txt,
1203 DoxyMainPage.txt, DoxyPython.txt provide more information.
1204 - Note: the website http://www.creatis.insa-lyon.fr/Public/Gdcm/ can now
1205 be updated by simply regenerating the docs with doxygen and copying
1206 html.developper and html.users to tux:/home/httpd/html/Public/Gdcm
1207 * src/gdcmElValSet.cxx: stl <map>.count() can only return 0 or 1. Hence
1208 all the tests in the form "if (<map>.count() >1)" were removed.
1209 * src/gdcmFile.cxx: cosmetic changes to avoid messages of doxygen about
1210 ill-formed documentation sections.
1211 * src/gdcmHeader.cxx: ditto
1213 2003-03-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1214 * setup.py fixed for un*x (needed macro for stdint.h)
1215 * Test/test.cxx renamed to PrintHeader.cxx to avoid collision on
1216 un*ces with sh-utils test utility.
1217 * gdcmPython/demo/test.py renamed to PrintHeader.py
1218 * gdcmPython/demo/ReorganiseFiles.py new demo script added.
1219 * gdcmPython/win32/gdcmpycomplet.dsp renamed to gdcmpyembedded.dsp.
1220 * gdcmPython/win32/gdcmpy.dsp trashed away (brain damaged).
1221 * src/gdcm*.cxx JPR's bad inclusion fixed.
1223 2003-03-26 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1224 * src/gdcmHeader[h, cxx] gdcmHeader now has an IsReadable predicate.
1225 * gdcmPython/demo/test.py changed accordingly.
1227 2003-03-25 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1228 * gdcmPython/Makefile.am fixed linking against libstdc++
1229 * gdcmPython/_gdcm.so symbolic link to gdcmPython/.libs/pygdcm.so added.
1230 * Swig subdir (historical tests of swig version 1.3.17++) removed
1231 * Test/testChangeEntete.cxx some lines commented out in order to make
1233 * src/gdcmHeader.cxx cleaned up wild JPR's dirty kludge.
1234 * src/gdcmElValSet.cxx cleaned up frog's forgotten debug message
1236 2003-03-24 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1237 * src/gdcmHeader.cxx gdcmHeader::gdcmHeader now calls LoadElements(),
1238 hence the user doesn't need this explicit call.
1239 - gdcmPython/testSuite.py, gdcmPython/demo/*.py changed accordingly
1240 i.e. LoadElements() call removed.
1241 * src/gdcmCommon.h now defines UINT32_MAX (see stdint.h).
1242 - src/Makefile.am declares the proper flag for g++.
1243 * src/gdcmElValSet.h added gdcmElValSet::GenerateFreeTagKeyInGroup
1244 for adding user defined new tags.
1245 - src/gdcmHeader.cxx gdcmHeader::NewManualElValToPubDict added.
1246 - src/gdcmHeader.cxx gdcmHeader::AddAndDefaultElements now
1247 cleanly adds some gdcm added tags (like gdcmXSize, gdcmYSize...)
1249 2003-03-17 Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>
1250 * Makefile.am, acinclude.m4, configure.in, python.m4, Dicts/Makefile.am,
1251 Doc/Makefile.am, Test/Makefile.am, gdcmPython/Makefile.am,
1252 src/Makefile.am : the project should properly compile and install
1253 with the autotools, included the python wrappers part.
1254 * gdcm.spec.in : added a spec file for RPM packaging.
1256 2003-03-14 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1257 * src/gdcmUtils.cxx : redifinition of defaults parameters in code
1259 2003-03-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1260 * gdcmPython/__init__.py fix of GDCM_DICT_PATH which was not
1261 to exported to the environement (see gdcmPython/testSuite.py
1263 * src/gdcmElValSet.[cxx/h], gdcmElValue.[cxx/h], gdcmFile.[cxx/h],
1264 gdcmHeader.[cxx/h]: ElValSet class renamed to gdcmElValSet, and
1265 ElValue class renamed to gdcmElValue for obvious consistency reasons.
1266 * src/gdcmElValSet.cxx, src/gdcmUtil.[cxx-h] Tokenize utility function
1267 moved away from gdcmElValSet.cxx to gdcmUtil.cxx.
1269 2003-03-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1270 * gdcmPython/__init__.py doesn't crash anymore when running in
1271 in InstallMode or PreInstallMode but with an environement given
1272 value of GDCM_DICT_PATH.
1273 * src/gdcmDictSet.[cxx/h] coding style.
1275 2003-03-06 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1276 * src/gdcmHeader.h and gdcmHeader.cxx Coding style + doxigenation.
1277 * src/gdcm.h general comments moved to TODO, and README
1278 * src/gdcm.h should now be seen as a user commodity (including it
1279 should suffice to fully use gdcm). It is nowhere including within
1280 any of the kernel files src/*.cxx and src/*.h.
1282 2003-03-05 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1283 * src/gdcm.h splitted in gdcmCommon.h, gdcmDict.h, gdcmDictEntry.h,
1284 gdcmDictSet.h, gdcmElValSet.h, gdcmElValue.h, gdcmFile.h,
1286 * src/gdcm*.cxx only include their corresponding include file
1287 (as opposed to gdcm.h)
1288 * gdcmPython/gdcm.i changed accordingly
1289 * Test/Makefile.am corrected and added NEWS, AUTHORS in order for
1290 the autogen.sh generated "make snapshot" command to work.
1291 * autogen.sh removed history related references to crea package.
1293 2003-03-04 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1294 * distutilsSwigCPlusPlus.py work around some swig portability
1297 2003-03-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1298 * Eventually, python/gdcmPython was renamed to gdcmPython. This
1299 was done in a last ditch attempt to get setup.py _really_
1300 operationnal. The python/gdcmPython layaout add the advantage
1301 of hidding away the python related distutils specific files
1302 (MANIFEST.in, setup.py, distutils*.py...) from the main directory.
1303 Alas, the src directory was out of scope (i.e. it's relative
1304 position to setup.py was ../src) which made things impossible to
1305 handle (see previous version of python/setup.py). Crossing fingers...
1307 2003-02-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1308 * python/setup.py now works on Un*x. (harder than I thougth)
1309 * python/distutilsSwigCPlusPlus.py can now have include files
1310 among the list of sources.
1312 2003-02-20 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1313 * src/gdcmHeader.cxx : bug fix - opening dicom file in binary !!!
1314 * modifications in MSVC projects
1316 2003-02-19 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1317 * As stated by the first lines of Test/ExceptionAndPython/README, it
1318 looks like we can move back to original usage of exception within
1319 src/gdcm* and hence remove the errno stuff that was introduced
1320 as a quick and dirty fixture of this problem (added to the TODO).
1321 * Doc/Doxyfile configuration file for Doxygen and corresponding
1322 README file for usage added.
1323 * Test/testWrite.cxx added. This new test comes from a split of
1324 test.cxx that is now reverted to its original purpous i.e.
1325 testing the proper parsing of a Dicom related file.
1326 testWrite.cxx concentrates on testing the IO part of gdcm.
1327 * Test/bug1.cxx (containing a bug on WIn32) added.
1328 * src/gdcm.h, gdcmHeader.cxx, gdcmDictSet.cxx:
1329 - gdcmHeader::GetPubTagNames and gdcmHeader::GetPubTagNamesByCategory
1330 whose purpose is to publish the content of the TagNames of the
1331 Dicom public dictionnary were not accessible without an
1332 instance of class gdcmHeader.
1333 - those methods are now static methods of gdcmDictSet and hence
1334 require no instances at all to be invocated.
1335 - within gdcmDictSet this change required to change some method
1336 to class methods (i.e. are now static) among which SetDictPath
1337 (renamed to BuildDictPath) and LoadDefaultPubDict.
1338 * python/gdcmPython/demo/printGroupedPublicDict.py changed to illustrate
1339 the above changes by calling the new method classes of gdcmDictSet.
1340 * python/gdcmPython/__init__.py now exposes gdcm.gdcmDictSet for
1341 the above to be effective.
1342 * python/gdcmPython: in order to wrap properly the above changes
1343 for Python, swig version now needs to be > 1.3.17.
1344 * python/gdcmPython/Makefile fixed to adapt itself to new
1345 configure/make shema introduced by Johan Montagnat (thanks for the
1346 contribution). Alas this Makefile cannot be turned into a proper
1347 Makefile.am without some heavy changes in the configure.in
1348 (for python dectection).
1349 * python/gdcmPython/gdcm.i: the out typemap map<string, list<string>>*
1350 now avoids publishing the empty entries.
1352 2003-02-13 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1353 * python/setup.py : bug fix concerning install under windows
1354 ExtraPath reused :-P
1355 * gdcm.dsw : bug fix concerning path for libraries for python !!!
1357 2003-02-13 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1358 * Dicts/dicomV3.dic : remove double spaces !!!
1359 * src/gdcmElValSet.cxx : bug fix concerning windows compiler
1360 * python/gdcmPython/win32/gdcmpycomplet.dsp : bug fix concerning paths
1363 2003-01-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1364 * src/gdcmHeader.cxx added a post header parsing AddAndDefaultElements
1365 method. Doxygenation.
1366 * src/gdcm.h clean up of JPR spurious comments.
1368 2003-01-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1369 * python/distutilsSwigCPlusPlus.py now properly collects the
1370 shadow classes generated by "swig -c++" (gdcm.py in our case)
1371 when using "python setup.py install".
1372 * python/gdcmPython/__init__.py imports gdcm.py and only manually
1373 reexports the working classes.
1374 * src/gdcmHeader.cxx all the try/catch/throw calls were replaced
1375 by the classical C errno scheme. This is to prevent an obscure
1376 behavior of the python wrappers when importing wxPython.wx prior
1377 to gdcmPython (which ended up in an abort call). An illustration
1378 of this oddity can be found in the Test/ExceptionAndPython
1379 subdir (see the README file). This problem probably due to
1380 an combination of g++ and dynamic loading.
1381 * added Test/ExceptionAndPython (see above)
1383 2003-01-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1384 * Changed the layout of the python part to avoid bloating main
1385 directory with setup.py, distutilsSwigCPlusPlus.py, MANIFEST.in
1386 i.e. the distutils arsenal. All the python related stuff is
1387 again in a python subdir, but the package itself is now in
1389 * setup.py was cleaned up:
1390 - pythonIncludePath removed
1391 - python setup.py bdist target is now functional.
1392 * gdcmPython/__init__.py doesn't export FileName any more (to avoid
1393 collision with other packages). gdcmPython/demo/*.py changed
1396 2003-01-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1397 * python subdir moved to gdcmPython (preparation of distutils packaging).
1398 * gdcmPython/setup.py and distutilsSwigCPlusPlus.py added. The
1399 distutils installer is operational.
1400 * - gdcmPython/__init__.py now properly loads the swig generated
1401 shadow classes (from gdcm.py).
1402 - gdcmPython/demo/*.py changed to import the package gdcmPython
1403 instead of gdcmPython/demo/load.py.
1404 - gdcmPython/testSuite.py changed to import the package gdcmPython.
1406 2002-12-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1407 * src/gdcm.h, src/gdcmHeader.cxx: added GetPubTagNames() resp.
1408 GetPubTagNamesByCategory() to gdcmHeader that return a list of the
1409 entries within the associated public Dicom dictionary resp. the same
1410 information but sorted by the fourth field (PAT, IMG, DIR) of the
1412 - Dicts/dicomV3.dic Entries which had and unspecified fourth field
1413 are now in the "???" group.
1414 - python/gdcm.i changed accordingly,
1415 - python/demo/printGroupedPublicDict.py added, that gives an example
1416 of the above new functionalities in Python.
1418 2002-12-11 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1419 * src/gdcm.h, gdcmHeader.cxx:
1420 - historic references to glib's g_malloc and g_free (#defined)
1421 were definitively removed.
1422 - gdcm.h: cosmetic changes (part of comments moved to Doc/requirements)
1423 * src/gdcmElValSet.cxx:
1424 - GetElement(guint32, guint32) renamed to GetElementByNumber.
1425 - GetElValue(guint32, guint32) renamed to GetElValueByNumber.
1426 - GetElValue(string) renamed to GetElValueByName.
1427 - Added GetElementByName(string).
1428 * src/gdcmHeader.cxx: added
1429 - GetPubElValRepByNumber(guint16, guint16)
1430 - GetPubElValRepByName(string)
1431 - GetShaElValRepByNumber(guint16, guint16)
1432 - GetShaElValRepByName(string)
1433 - GetShaElValByNumber(guint16, guint16)
1434 - GetShaElValRepByName(string)
1435 - GetElValRepByNumber(guint16, guint16)
1436 - GetElValRepByName(string)
1437 - GetElValByNumber(guint16, guint16)
1438 - GetElValRepByName(string)
1439 * Doc/requirements.txt added.
1441 2002-12-9 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1442 * Test/Makefile building now depends on the one of libgdcm.so
1443 * src/gdcmHeader.cxx and gdcm.h are now OB (undefined length encoded
1444 pixel data) aware which enables finding the address (offset) of
1445 the pixel data of JPEG encoded DICOM files. This leaves only a single
1446 file in the testSuite whose pixel data address (offset) is unknown.
1447 * python/testSuite.py changed accordingly.
1449 2002-12-6 Christophe Odet + Hugues Benoit-Cattin + Eric.Boix
1450 * VC++ has some strong limitations when working with the STL, as stated
1451 in http://support.microsoft.com/support/kb/articles/Q168/9/58.ASP :
1452 "Also note that some STL containers (map, set, queue, list, deque)
1453 cannot be exported. [...]
1454 Some STL classes contain nested classes. These classes can not
1456 This is caused by a designed limitation that once a template
1457 class is instantiated, it can not be re-instantiated and
1459 Since our usage of map<> is ubiquitous in gdcm, this "designed
1460 limitation" of VC++ is a pitfall.
1461 Hence the Python wrappers of gdcm cannot be incrementally linked
1462 against the c++ dynamic library. The dirty but only workaround is
1463 to forget about incremental link of dynamic libraries and to generate
1464 the Python wrappers library with the inclusions of the underlying C++
1466 The following modifications concern this matter on Win32/VC++:
1467 - wrapping python correct with standalone wrapped dll (don't use separate
1468 dll under windows !!!!)
1469 - python21_d debug mode enabled (ask Frog how to use it :-)
1470 - NO problem with having an STL member of class for example string in C++
1471 WITH THE RESTRICTION OF FORGETING ABOUT INCREMENTAL LINK.
1472 - Python test of dcmlib in Python is ok under windows on a large set
1474 * removed glib references
1475 * typedef's inserted in gdcm.i for correct swig type management
1477 2002-11-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1478 * python/demo/*.py load.py extracted from test.py. Added explore.py
1479 that only displays required tags and testAll.py that parses all
1480 the files of the testsuite without using unittest.
1481 * python/testSuite.py other additional test on new files added.
1482 * Data/* new test files added accordingly to the testSuite.
1483 * src/gdcmHeader.cxx avoid overwriting of the dictionary when
1484 the vr in the file differs from the one of the dictionary.
1486 2002-11-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1487 * src/gdcm.h and gdcmHeader.cxx gdcm no longer loads all the elements
1488 values, but limits itself to values which are below a user specified
1489 size (by default 1024 bytes).
1490 * python/gdcm.i : elements not loaded (because their size is above the
1491 user specified treshold) are exported with their TagKey as key of the
1492 python dictionary. This enables the testsuite to make some checks
1493 on the unloaded elements (since we have their offset and size).
1494 * python/testSuite.py
1495 - now tests for the existence and proper value of the pixel data
1496 - two new examples added.
1497 * Data/gdcm-MR-SIEMENS-16.acr[12] added.
1499 2002-11-18 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1500 * src/gdcm.h and gdcmHeader.cxx are now "Big Endian transfer syntax"
1501 aware. See the strategy comments in gdcmHeader::FindeLength().
1502 * Test/test.cxx now accepts a filename as first argument.
1503 * Data/US-PAL-8-10x-echo.dcm and US-RGB-8-epicard.dcm added.
1504 * python/testSuite.py changed to integrate test on above files.
1506 2002-11-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1507 * Dicts/dicomV3.dic removed all the trailing (RET) when the
1508 the vr was also RET.
1509 * python/testSuite.py more tests added.
1511 2002-11-14 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1512 * python/testSuite.py unittest test suite added (uses Data)
1513 * Data/* dcm and acr files for the test suite.
1514 * glib dependance removed from un*x version. We now use ISO C99
1515 7.18 Integer types (see stdint.h)
1516 - python/Makefile, src/Makefile src/gdcm.h
1517 * src/ when an explicit vr (like dicom files) suddenly poped an
1518 implicit element we use to mark the underlying DictEntry of the
1519 concerned ElValue with "Implicit". This strategy was damageable
1520 too the public or provite dictionaries, since some of their vr
1521 would be changed. Since Header::FindLength heavily relies on the
1522 detection by Header::FindVR of falsely explicit elements, I
1523 added an extra ImplicitVr member to ElValue (boolean).
1524 The rest of the changes we the necessary adaptations.
1526 2002-11-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1527 * src/gdcmHeader::FindLength bug fix when trapping falsely explicit
1529 * src/gdcmHeader::FindVR: hard way fix of falsely explicit vr files.
1531 2002-11-8 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1532 * Adaptation for porting to VC++:
1534 o forced to use std namespace (for string to be known)
1535 o all class use __declspec export style on WIN32
1536 - src/gdcmUtil.cxx new Exit method that wraps the exit call
1537 (in stdlib.h on Win32 but in std:: for gcc)
1538 * src/gdcmDictSet::SetDictPath adds a trailing / to environement
1539 variable GDCM_DICT_PATH.
1540 * src/gdcmHeader.cxx verbose comments made discrete.
1542 2002-11-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1543 * python/gdcm.i: added a typemap that converts a C++ hashing table
1544 to native Python dictionary.
1545 * python/demo/test.py:
1546 - now uses the native dictionary for exploration of gdcmHeader.
1547 - takes an optional filename argument (the file to parse).
1548 * src/gdcm.h and gdcmHeader.cxx: gdcmHeader now has an accessor on
1549 PubElVals hashing table.
1550 * Dicts/dicomV3.dic removed error prone trailing spaces.
1552 2002-11-6 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1553 * Python wrapping process moved away from src/Makefile to
1554 newly created python/Makefile (as well as gdcm.i)
1555 * python/demo/test.py (that mirrors Test/test.cxx) is effective.
1556 * src/gdcmHeader::FindLength only looks for current vr when necessary.
1557 * src/gdcmDictSet.cxx: the dictionnaries directory path is now imported
1558 from the environement variable GDCM_DICT_PATH (when existing).
1559 * src/gdcmDict::GetTag bug fix.
1561 2002-10-31 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1562 * Straightforward temporary fixes for swig to build the python wrappers.
1563 src/Makefile now has a python working entry [by working we mean
1564 that we can import de shadow classes without errors].
1566 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1567 * hashtest.cxx removed (since allready in Test)
1568 * src/gdcmlib.h renamed to src/gdcm.h
1569 * src/dcm.i renamed to src/gdcm.i
1570 * src/Makefile prepared for python wrapping
1572 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1573 * src/gdcmHeader.cxx :
1574 - Parsing of header is now separated from loading of element values
1575 (see gdcmHeader::LoadElements).
1576 - general clean up of hopefully all file access (creation of
1577 ReadInt16 and ReadInt32)
1579 2002-10-22 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1580 * src/gdcmHeader.cxx :
1581 - RecupLgr renamed to FindLength and cut off with new IsAnInteger
1583 - SetLgrElem renamed to SetLength
1584 - GetLgrElem renamed to GetLength
1585 - ~gdcmHeader() made virtual to pesky warning messages at compile.
1586 * src/gdcmElValSet.cxx fixed both GetElValue methods
1587 * Dicts/dicomV3.dic falacious entry [7fe0 0010 OT PXL Pixel Data]
1588 due to IdoDude was cleaned out.
1590 2002-10-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1591 * src/gdcmHeader.cxx RecupLgr split in FindVR and RecupLgr. FindVR
1592 concentrates on finding the value representation (when it exists).
1593 RecupLgr now only finds the element value length, and it avoids
1594 returning the unecessary skL (skipped length).
1595 Also, offsetCourant was simply removed (with taille_fich) since
1596 it was redundant with the File position internals (by using
1597 ftell and fseek). This also made skL (see above in RecupLgr) usage
1599 * src/gdcmHeaderIdo.cxx src/gdcmIdo.h added. Those files concentrate
1600 on the libido specificities which are handled through class
1602 * Test/implicit_vr.dcm dicom v3 in implicit value representation
1605 2002-10-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1606 * Truckload of changes. Parsing of header is barely functional
1607 (see Test/test) with the standard dictionary (see Dicts/dicomV3.dic).
1609 2002-10-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1610 * src/gdcmHeader.cxx many addons of low level methods
1612 2002-10-07 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1613 * src/gdcmHeader now contains_IdDcmCheckSwap, _IdDcmRecupLgr,
1614 and _IdDcmSWAP_LONG.
1616 2002-09-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1617 * This corresponds to all the changes decided at the meeting of
1618 May 23 2002. Needless to say we are running late...