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