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