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