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