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