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