1 2004-01-31 Jean-Pierre Roux
2 * FIX gdcmParser::WriteEntries : when a VR is tagged as 'Unknown'
3 no longer writes 'Un' on disk
4 * FIX SQ elements with actual length are now dealt with corectly
5 * FIX gdcmFile::WriteBase make the difference, for color images, between
6 the length (for Palette expanded omages)
7 and Raw Length (non expanded image + Palette)
8 * FIX Dicts/dicomV3.dic : removal of 'CTX' (context dependant) VR
9 (that broke Write). Replaced by UL.
10 Aware user will reload the field if he
11 thinks it's necesssary
13 2004-01-30 Jean-Pierre Roux
14 * gdcmParser::CheckSwap() now defaults the filetype to ACR
15 when 'dirty Acr' is found, to be compliant with the new
18 * gdcmHederlHelper :add Pixel Type 'FD', for dealing with 'double' images.
19 (no DOUBLE images in kosher DICOM,
20 but so usefull for people that miss them ;-)
22 * add Test/testDicomDir.cxx, Test/makeDicomDir.cxx , Test/explDICOMDIR.cxx
23 DICOMDIR related utilities (not checked as Windoze compliant)
25 2004-01-28 Jean-Pierre Roux
26 * upgrade GdcmHeaderEntry Print Method for DICOMDIR
28 2004-01-27 Jean-Pierre Roux
29 * gdcmParser constructor has a new boolean param,'ignore_shadow',
30 to allow skipping the shadow elements, to save memory space.
31 The TRUE value for this param has to be used
32 with a FALSE value for the 'enable_sequence' param.
33 ('public elements' may be embedded in 'shadow Sequences')
34 * gdcmHeader methods now deal with 'embedded icones images' in the header
35 (even when an 'icone image sequence' is announced by the
36 element (0x0088,0x0200), but there is NO icone at all ...
38 * gdcmHeader sometimes Image Location value doesn't follow
39 the supposed processor endianity (see gdcmData/cr172241.dcm).
42 * gdcmHeader add the method
43 IterHT GetHeaderEntrySameNumber(grPixel,numPixel);
44 to get *all* the Header Entries with the same tag.
45 GetHeaderEntrySameName is probabely *useless*
46 (no meaning : Name is *not* an identifier within the Dictionnary)
48 2004-01-26 Benoit Regrain
49 * Bug fix in the print of hexadecimal representations. Remove long fields
50 in the print and add a third level of print to print them
52 2004-01-23 Benoit Regrain
53 * Bug fix on field having a VR = 'UI'. Assume that is a string field
54 * Bug fix on test suite after remove the strip made on not string fields
55 * Split the IsReadable method between gdcmParser which test that the file
56 is dicom and gdcmHeader which test that it's an image file
58 2004-01-22 Benoit Regrain
59 * DicomDir : clean code, add methods, set variables in protected or private
60 * gdcmUtil : bug fix for the clean string method
62 2004-01-19 Benoit Regrain
63 * Add the use of shadow dictionaries
64 * bug fix and coding style
66 2004-01-19 Benoit Regrain
67 * src/gdcmFile.cxx : bug fix concerning the close of file
68 * src/gdcmParser.[h|cxx] : remove obvious Pub informations
69 * Add the update of header entries using the shadow library
71 2004-01-19 Benoit Regrain
72 * removal of file gdcmHeader2.cxx
73 * split class gdcmHeader into gdcmParser and gdcmHeader, with gdcmHeader
74 inheriting from gdcmParser. This split is to prepare the integration
76 * bug fix under python
78 2004-01-16 Jean-Pierre Roux
79 * removal of class gdcmHeaderEntrySet
80 * removal of files gdcmHeaderEntrySet.cxx, gdcmHeaderEntrySet.h
81 * add file gdcmHeader2.cxx
82 * add method gdcmHeader::SetPrintLevel (for PrintHeader)
84 2004-01-15 Benoit Regrain
85 * src/gdcmDicSet.[h|cxx] : add virtual entries to have a reference of
86 entries created while parsing the header. Thus, they will be destroyed
87 when the gdcmDictSet will be destroyed
88 * src/gdcmHeader.cxx, gdcmHeaderEntrySet.cxx : uses virtual entries of
91 2004-01-15 Benoit Regrain
92 * vtk/vtkGdcmReader.cxx : bug fix : before, with python only, the program
93 made a fatal error because of the memory release at the end of program.
94 The problem was in vtkGdcmReader::ExecuteData where we were allocate
95 some memory and vtk seems to have some problems with that.
96 * src/gdcmHeaderEntrySet.cxx : bug fix for std lib and cout
98 2004-01-14 Benoit Regrain
99 * src/gdcmHeaderEntry.[h|cxx] : gdcmElValue -> gdcmHeaderEntry
100 * src/gdcmHeaderEntrySet.[h|cxx] : gdcmElValSet -> gdcmHeaderEntrySet
101 * src/*.[h|cxx] : make changes due to class name changes
102 * gdcmPython/demo/*.py : bug fix due to method names
104 2004-01-13 Benoit Regrain
105 * src/*.[h|cxx] : coding style
106 * vtk/*.[h|cxx] : coding style
108 2004-01-13 Benoit Regrain
109 * gdcmPython/testSuite.py : test the readable flag of file for tests
110 * src/gdcmDict.cxx, gdcmElValSet.cxx : bug fix under windows for prints.
111 It's lied to the stl compilation by MSVC (windows, always windows...)
112 * src/gdcmIdo.h, gdcmHeaderIdo.cxx : remove the Ido unused files
114 2004-01-12 Benoit Regrain
115 * src/*.h : add comments
116 * src/gdcmDictSet.h : set the method BuildDictPath in public
117 * src/gdcmTS.cxx, gdcmVR.cxx : use now a dictionnary file other than to be
118 directly setted in the source code
119 * Dicts/dicomTS.dic, dicomVR.dic : 2 new dictionnary files loaded by
122 2004-01-09 Benoit Regrain
123 * gdcmPython/gdcmVersion.py : add a gdcmVERSION variable information
124 * setup.py : use a reference to gdcmVERSION
126 2004-01-07 Benoit Regrain
127 * Modification to compile with the distutils.
130 2003-12-10 Benoit Regrain
131 * gdcmHeader is now aggregating gdcmFile, and not derived into. Thus, we
132 can use a gdcmHeaderHelper to load datas
133 * gdcmPython/testSuite.py : make the testSuite compliant with modifications
134 made in the source code
136 2003-12-10 Benoit Regrain
137 * Update Windows projects and .cvsignore files
139 2003-11-12 Jean-Pierre Roux
140 *ENH gdcmHeader constructor has one more parameter (default value : false)
141 that allows the user to 'go inside' the SeQuences only
143 gdcmElValSet:Print takes it into account
145 2003-11-12 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
146 *ENH: Update gdcmPython/CMakeLists
147 *FIX: (gdcmHeaderHelper) GetRescale and GetSlope
148 *FIX: (gdcmElValSet) char 'tag' was overiding private members (VC++)
150 2003-11-10 Jean-Pierre Roux
151 *FIX : gdcmHeader::LoadElements is now based
152 on the ListTag listElem member,
153 not longer on the TagElValueHT tagHt member
154 *ENH : PrintPubElVal shows (temporarily) both results,
155 with the tagHt member and the listElem member.
156 (it's easier to 'see' the problems when using Printheader)
158 *FIX : old private member LgrElem is now splitted into
159 ReadLength : Length actually found on disk (updated only
160 if bug fixing is necessary), for internal
162 UsableLength : Updated by FixFoundLength, to fix a bug
163 or to allow Parser going on.
164 Will allow to re-write a kosher header when a SeQuence
165 with a length (not 0000) is found
166 Warning : gdcmFile::Write still uses the TagHt (not ListElem)
167 because gdcmElValSet::Add does not update ListElem
170 2003-11-07 Jean-Pierre Roux
171 *FIX misstyping in Transfert Syntax name table
172 *ENH gdcmHeader::FixFoundLength now allow to 'go inside' tge SeQuences
173 when they have an actual length (not 0000 nor FFFFF)
174 (Nobody should care of it, but DICOMDIR explorers)
176 2003-11-06 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
177 *ENH: vtkgdcmViewer now works with LUT dicom (OT-PAL-face ...)
179 2003-11-05 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
180 *ENH: vtkGdcmReader now supports LUT !
181 (vtkgdcmViewer for now is not able to use them though)
183 2003-11-05 Jean-Pierre Roux
184 * in testSuite.py : new files names for checking the package
185 * Fix : Forgot to commit gdcmFile::GetImageDataSizeRaw();
186 that returns the pixel area size to the *aware* (vtk) user
187 that DOESN'T want to turn the PALETTE COLOR image into an RGB image
189 2003-11-05 Benoit Regrain
190 * in testSuite.py : Modify the rules for checking the paths
191 : Explicit error messages
192 * in __init__.py : Related modif
194 2003-11-03 Jean-Pierre Roux
195 * add gdcmHeaderHelper::GetNumberOfScalarComponentsRaw()
196 to be used by aware (vtk) users that want to manage
197 LUT (and no to turn the PALETTE image into an RGB pixels one)
198 * GetPixelType now returns 8U for 24 Bits images
199 (vtkGdcmReader compliant)
201 2003-10-31 Jean-Pierre Roux
202 * Removal of *all* gdcmData images and add them again
203 in order to loose the 'history' of un-anonymised images
205 2003-10-31 Jean-Pierre Roux
206 *RMV : removal of useless jBitsInJsample.h
207 for both 8 and 12 Bits JPEG Lossy Libraries
209 2003-10-31 Jean-Pierre Roux
210 * ENH : Add the functions gdcmFile::GetImageDataRaw
211 gdcmFile::GetImageDataIntoVectorRaw
212 that act as GetImageData and GetImageDataIntoVector
213 except the making of an RGB Plane from Gray Plane + LUT
214 Intended to aware (vtk) users who know how to manage
217 GetLUTRGBA return a R,G,B,A LUT if any
218 lgrTotaleRaw gives the 'Raw' length
219 GetImageDataRaw returns the gray Plane
220 * FIX : no more dirty trick for 'Segmented xxx Palette Color Lookup' images
221 (They stay Grey, just like with other Dicom viewers :-(
223 2003-10-30 Jean-Pierre Roux
224 * FIX : a VC++ intended syntax modif broke the 12/12 Bytes expanding
226 2003-10-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
227 *ENH: Can be used like this '$vtkgdcmViewer *.dcm' with *.dcm
228 being coherents dicom files.
230 2003-10-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
231 *FIX: DOH ! Forgot about windo$e users, they couldn't read lossless jpeg,
233 *ENH: Turn it into DOS file type to match libgdcmijpeg8.dsp file type
234 *ENH: Two steps is necessary to please VC++ compiler...
235 *FIX: DOH ! libgdcmijpg8 -> libgdcmljpeg
236 *ENH: Add include dir to medcon lib
237 *FIX: only one function is being exported for now !
238 You should use GLOBAL(return type) see ljpg/jpeg.h for more info
240 2003-10-29 Jean-Pierre Roux
241 * adding gdcmHeader::GetLUTRGBA
242 returns a 4 * 256 Bytes Reg/Green/Blue/Alpha vtk compliant LUT
243 --> Mathieu, the modif u're waiting for is not yet committed
244 * removal of now useless GetLUTRed,GetLUTGreen,GetLUTBlue,GetLUTRGB
246 2003-10-27 Jean-Pierre Roux
247 * adding some xmedcon breaker files (courtesy of Loïc Boussel)
248 . 00191113.dcm DermaColorLossLess.dcm
249 MxTwinLossLess.dcm RadBWLossLess.dcm
250 * ENH: For version prior to vtkImageViewer2 -r 1.19
251 * FIX: avoid pb with xmedcon-breaker CT McTwin Elscint images
253 2003-10-27 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
254 * Removal of ido stuff in CMakeLists.txt
256 2003-10-24 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
257 * ENH: vtkGdcmReader.cxx can now read multiframe dicom
258 * FIX: remove a call to ->Modified ... see comments
259 * FIX: vtkgdcmViewer.cxx was writting ASCII file...this is so slooooooow !
261 2003-10-23 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
262 * FIX: Problem with path for libvtkgdcmPython
263 * ENH: Try adding a search script for python site-package
264 * RMV: Remove some file from medcon lib that are not necessary
265 * FIX: gdcm/Makefile.am fix for generating ljpg medcon
266 * ENH: CMakeLists.txt now generate 'pygdcm.so' instead of 'libpygdcm.so'
267 * FIX: More pragma disable fro VC++,
268 I don't think I break something as it is also disable in VTK/ITK.
269 But it fasten debug compilation time.
271 2003-10-23 Jean-Pierre Roux
272 * gdcm now deals with 16 Bits Run Length Encoded images
273 (they are compressed as 2 planes images,
274 one for the high Bytes, the other for low Bytes)
276 2003-10-22 Jean-Pierre Roux
277 * Now CheckRead takes into account :
278 the bugged 'Leonardo' Siemens images
279 the XA images, sent thru the burning VPRO station
280 * add I9000001.dcm, a GE dlx XA image, thru the VEPRO burning station
283 2003-10-22 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
284 * FIX: When copying a Makefile.am to CMakeLists.txt
285 one should remove the '\'
287 2003-10-22 Jean-Pierre Roux
288 * in gdcmData adding a bugged 'Leonardo' Siemens image
289 (wrong lengths in header)
290 OK with gdcm, KO with the other viewers :-)
291 * add a GE dlx XA image, thru the VEPRO burning station
294 2003-10-21 Jean-Pierre Roux
295 * in gdcmData add the checkvtkgdcmViewer.sh shell script
296 for a brutal checking of vtkgdcmViewer compliance
298 2003-10-21 Jean-Pierre Roux
299 * add the files for 'xmedcon' Jpeg Lossless library
300 * call of 'xmedcom' Jpeg Lossles libray (instead of the old LibIDO one)
302 2003-10-21 Jean-Pierre Roux
303 * 'Compacted Files' (12 Bits Allocate, 12 Bits Stored) are now dealt with
305 2003-10-21 Jean-Pierre Roux
306 * garbage Siemens 'Leonardo' images dealt with
307 (the patch is easy to remove)
308 * cosmetic changes to avoid warnings
310 2003-10-20 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
311 * ENH: vtkgdcmViewer now autoscale color/window level on start-up,
312 no need to press 'r' now.
314 2003-10-20 Jean-Pierre Roux
315 * upgrade of checkRead.sh checkWrite.sh according
316 to new Jpeg Lossless decompressor
317 * add US.3405.1.dcm, a genuine RGB medical file ...
318 * add gdcm-ACR-LibIDO.acr, unnormalized Rectangular LibIDO format image
319 * add CLIP0001-Sequoia-U11.dcm, US 'Clip', from SEQUOIA machine,
321 2003-10-15 Jean-Pierre Roux
322 * general anonymisation in gdcmData
323 * adding the 'color files' from
324 http://www.leadtools.com/SDK/Medical/DICOM/ltdc19.htm
325 * adding some well knowed bugged-header images
326 * adding checkRead.sk, checkReadColor.sh, checkWrite.sh,
327 waiting for their inclusion in Python testsuite
329 2003-10-15 Jean-Pierre Roux
330 * gdcmHeader::gdcmHeader(const char *InFilename, bool exception_on_error)
331 no longer seg faults when file is not found
333 2003-10-14 Jean-Pierre Roux
334 * Emprovement of reading for Dicom encapsulated Jpeg LossLess MultiFrame images
336 2003-10-14 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
337 * TODO: *.in file to genereate a UseGDCM later
339 2003-10-14 Jean-Pierre Roux
340 * Some supposed-to-be Dicom Images have no preamble.
341 OpenFile takes it into account
342 * Jpeg LossLess 24 Bits images doesn't break any longer gdcm
343 * Missing elements added in dicomV3.dic
344 (just to be affraid : have a look at
345 ftp://medical.nema.org/medical/dicom/2003/01v03dif/01v03_06.pdf
346 and do it again next year ;->
348 2003-10-13 Jean-Pierre Roux
349 * According to PS 3.3-2003 C.11.1.1.2 p 619, when each pixel of
350 a PALETTE COLOR is stored on 2 Bytes, theese 2 Bytes must be equal.
351 But there are NOT. It's fixed !
353 2003-10-13 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
354 * FIX: "jpeglib.h" was not found on VC++
355 * FIX: vtkgdcm was not being installed
357 2003-10-10 Jean-Pierre Roux
358 * ENH : OpenFile closes the file if it *really* doesn't look like
359 an ACR-NEMA / DICOM one.
360 * FIX : testWrite no longer writes an empty file if the source file
362 * ENH : One more JPEG LossLess type "JPEG Baseline (Process 14)"
365 2003-10-10 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
366 * FIX: CMake generate now documentation
367 * ENH: out of source doc build !
368 * ENH: Generate both user and dev documentation
369 * ENH: Should work on windows too
370 * ENH: Only one doxygen config.in file is needed
371 * FIX: make install should be ok now on ùnix plateform
372 * FIX: PATH to dictionary was wrong (missing /)
373 * ENH: OpenFile, return true if the file looks like an ACR or DICOM file
375 2003-10-09 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
376 * vtkGdcmReader is now able to read rgb dicom file.
377 * src/gdcmHeaderHelper : GetNumberOfScalarComponents()
378 * added a gdcmViewer to vtk test, use mouse to control
379 window level & window width
381 2003-10-09 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
382 * CMake-ification of gdcm, we have now two build system
383 * FIX: on cygwin Wsock32 doesn't exist
384 * FIX: force jpeg dir to the local one (gdcm/src/jpeg)
386 2003-10-06 Emanuel Ollart
387 * FIX : compilation process wad broken.
388 Changed gdcmViewer_sources to vtkgdcmViewer_sources
390 2003-10-06 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
391 * change gdcmViewer -> vtkgdcmViewer
392 * change GetXSpacing and GetYSpacing "%f\\%" is parsed backward
394 2003-10-06 Jean-Pierre Roux
395 * FIX :A few nasty patches to allow the reading of a lot of nasty images
396 ( e.g : well known GE images with a wrong elem length,
397 : Philips MRI Images with a wrong Huffman table)
398 * still to be done : allow the reading of bugged LEONARDO Siemens images
400 2003-10-03 Jean-Pierre Roux
401 * Odd length strings are padded with '\0' (not with spaces,
402 to remain compliant with already defined strings,
403 like Transfert Syntax UID and others)
405 2003-10-03 Jean-Pierre Roux
406 * ENH :gdcmHeaderHelper::GetNumberOfScalarComponents() added,
407 to allow displaying RGB images (not only by affim ;-)
409 2003-10-03 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
410 * vtkGdcmReader is now able to read rgb dicom file.
411 * src/gdcmHeaderHelper : GetNumberOfScalarComponents()
413 2003-10-03 Jean-Pierre Roux
414 * A few nasty patches to allow the reading of a lot of nasty images
415 ( e.g : well known GE images with a wrong elem length,
416 : Philips MRI Images with a wrong Huffman table)
417 * still to be done : allow the reading of bugged LEONARDO Siemens images
419 2003-10-03 Jean-Pierre Roux
420 * One more JPEG LossLess type "JPEG Baseline (Process 14)" is now decoded.
422 2003-10-03 Jean-Pierre Roux
423 * gdcmHeaderHelper::GetNumberOfScalarComponents() added,
424 to allow displaying RGB images (not only by affim ;-)
426 2003-10-03 Jean-Pierre Roux
427 * gdcmFile::GetImageDataIntoVector now
428 - deals with MultiFrames MultiFragments Run Length Encoded files
429 - deals with YcBcR (YBR_FULL) files
430 - deals with YBR_YBR_FULL_422 files (they work as RBG files ?!?)
431 WARNING : nothing was checked for YBR_PARTIAL_422, YBR_ICT, YBR_RCT files.
434 2003-10-02 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
435 * src/*.cxx removed pragma thingies to src/gdcmCommon.h
436 Two reasons: - clear things
437 - third parties acces gdcm through header files, so won't
438 suffer anymore VC++ complains
439 2003-09-30 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
440 * add argv[1] in testvtkGdcmReader.cxx
443 2003-09-24 Jean-Pierre Roux
444 * The lines are now eigthy characters long.for
445 gdcmHeader.cxx gdcmHeaderHelper.cxx gdcmParse.cxx
447 2003-09-22 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
448 * src/gdcmUtil.[cxx|h] : change the _CreateCleanString return value from
449 char* to std::string. Thus, the use of strdup becomes useless. (see
450 previous commis of Malaterre)
451 * src/gdcmElValSet.cxx : reuse commented call to _CreateCleanString like
452 before the last Malaterre's commit.
454 2003-09-19 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
455 * This commit should fix the Debug building under VC++, the problem
456 was mainly a mixture of debug and release lib being loaded at startup.
457 * I also remove a depency to a specific C function: strdup. Because I had
458 to force the link to msvcrtd (whereas strdup is in libc).
460 2003-09-16 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
461 * "gdcm::Unfound" string changed to a constant variable (GDCM_UNFOUND)
462 located in the gdcmCommon.h file. All use of reference of tha has been
463 changed to now use the variable GDCM_UNFOUND.
465 2003-09-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
467 - gdcmPython/testSuite.py adapted to the JPR updated Dicts/dicomV3.dic
468 Dicom dictionary. The test suite can now be run again. Note:
469 I'm note very happy with the " (RET)" changes. I believe this
470 RETAINED comment should be dropped when parsing the dictionary.
473 - AUTHORS updated and now in alphabetical order
474 * Makefile.am now exports gdcm.dsw for Windoze users.
476 2003-09-11 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
477 * cygwin complains about missing std:: in subdir Test/
479 2003-09-10 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
480 * remove some methods that are now in gdcmHeaderHelper
482 2003-09-10 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
483 * vtkGdcmReader set spacing and origin correctly
485 2003-09-09 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
486 * Fix a few delete/delete[] mismatch
488 2003-09-08 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
489 * src/gdcmHeaderHelper.[h cxx]: added new class that provide an
490 interpretation to data given by gdcmHeader. For instance there are
491 heuristics to get informations (look at different places).
492 * it also include a specific class: gdcmSerieHeaderHelper devoted to
493 sorting DICOM images based on different strategies.
494 * modified Makefiles accordingly.
496 2003-09-05 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
497 * src/*.cxx : added pragma disable 4786/4251 to get rid of ~4300 warning
498 when building in debug mode
499 * vtk/win32/vtkgdcm.dsp : change /MT -> /MD and /MTd -> /MDd to match
500 src/win32/gdcmdll.dsp
501 * vtk/win32/vtkgdcm.dsp : added /nodefaultlib "mscvrt" for debug mode
503 2003-08-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
504 * Corrected a leak in vtkGdcmREader.cxx, the pSource was find thanks to valgrind.
506 2003-07-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
507 * src/win32/libgdcmjpeg12.dsp was not dos format
508 * src/win32/libgdcmjpeg12.dsp : libgdcmijpeg12_EXPORTS -> LIBGDCMIJPEG12_EXPORTS
509 * src/win32/gdcmdll.dsp: + /I "..\jpeg\libijg12"
511 2003-07-29 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
512 * src/gdcmHeader.h : add std:: prefix for stl elements... like others in
514 * src/gdcmFile.cxx : bug fix in affectation type
515 * src/jpeg/libijpeg12/jmorecfg12.h : export for windows modified... like
516 in src/jpeg/libijpeg8/jmorecfg8.h (JPR : copy/paste exists !!!)
517 * Modifs of MVSC projects to compile them. Not concerning 2 identic
518 symbols... future problem ?
520 2003-07-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
521 * src/win32/libgdcmijpeg12.dsp was missing
522 * modified gdcm.dsw accordingly
524 2003-07-28 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
525 * src/gdcmHeader.cxx : misplaced return 0.; for ACR/NEMA
527 2003-07-24 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
528 * src/jpeg/libijg12/.cvsignore, jconfig.* : ommited files while last
529 commit of JPR (before his hollidays to facilitate our work).
530 * setup.py : bug fix in code. Modifications made while the last commit
531 of JPR. The code hasn't been tested before the commit... it's so
532 useless to make that (for best programmer that is JPR) !!!
534 2003-07-08 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
535 * tagged the current version as Version0_3 (i.e. version 0.3)
537 2003-07-08 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
538 * vtk/testvtkGdcmReader.cxx : remove a symbol that is unused
539 * src/jpeg/libijg8/jmorecfg.h : adding export symbol for windows
540 * *.dsp : modifications to use new libgdcmijpeg8 library
541 * setup.py : bug fix on VTKPATH variable
542 * PACKAGER : adding all concerning windows
544 2003-07-07 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
545 * src/gdcmElValSet.cxx, gdcmFile.cxx: JPR bug fix, removal of
547 * TODO, vtk/vtkGdcmReader.cxx: upcoming fixes comments.
548 * gdcmPython/testSuite.py: JPR bug fix, brutal erasement of
549 test suite reported error.
550 * PACKAGER file added (describes what a packager must do when
551 packaging a new release).
552 * MANIFEST.in, now declares jconfig.linux and jconfig.vc
553 * configure.in: upgraded version number to 0.3.0
554 * fixing build of rpm (through rpm -ta):
555 - Doc/Makefile.am exports proper doxygen files
556 - src/jpeg/libijg8/Makefile.am exports the include files.
558 2003-07-07 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
559 * vtk/vtkGdcmReader.cxx : bug fix when loading only 1 file.
560 * src/gdcmHeader.h : formatting code
562 2003-07-07 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
563 * vtk/vtkGdcmReader.[cxx|h] : bug fix when loading only one file.
564 We were obtaining error message from vtk. Now, creation of file list
565 is made in an internal list to prevent this problem.
566 Bug fix when output is empty.
567 Bug fix in update of progress value. Previous commit for this was a bad
569 * vtk/vtkGdcmReader.h : adding comments for InternalFileNaleList variable
571 2003-07-04 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
572 * src/gdcmHeader.h : added method to get the file name
573 * vtk/vtkGdcmReader.[cxx|h] : bug fix concerning loading of bad dicom
574 files. Added method to remove all files on the input
575 Added FIXME comment concerning the bad parsing of header made by
576 ExecuteInformation method (in ExecuteData method)
578 2003-07-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
579 * vtk/Makefile.am: vtkGdcmReader.h should now be cleany installed
580 when using make instal.
581 * src/gdcmFile.cxx : bug fix under Window after JPR commit
582 RQ : the JPR doesn't appear in the ChangeLog... normal for him
584 2003-07-03 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
585 * setup.py : adding include dir of jpeg lib to compile all sources
586 * */Win32/*.dsp : JPR fix for windows compilation
588 2003-07-02 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
589 * src/jpeg/libijg8/jconfig.* : JPR bug fix : now compile on both
591 * src/gdcmJpeg.cxx : JPR bug fix : erroneous include
592 * src/win32/gdcmdll.dsp : JPR fix for windows compilation
594 2003-07-02 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
595 * setup.py is again effective on un*x (takes into account the
596 addon of the jpeg library)
597 * Doc/DoxyDevelInstal.txt added (developper's raw documentation)
598 * Doc/Doxy* updated (includes above enhancements)
599 * INSTALL now points to web documentation
601 2003-07-01 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
602 * src/gdcmHeader.h doesn't make unnecessary reference to
604 * gdcmPython/Makefile.am now avoids calling the wrappers for the
606 * src/gdcm*.[cxx|h] :
607 - to allow compilation with gcc 3.x
608 -- clean up of STL usage (added explicit usage of std::)
609 -- small fixes on exceptions.
610 Note: linking not tested !
611 - clean of doxygen comments to avoid warnings at documentation
613 * vtk/vtkGdcmReader.cxx: g++ warning message clean up (platform
614 dependent convertion).
616 2003-06-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
617 * Clean up of previous JPR garbage commit (not even commented in the
619 - Test/Makefile.am removed the reference to unexisting testTS.cxx
620 - moved all jpeg related files from src to src/jpeg/libijg8, with
621 addition/modification of Makefile.am and configure.in.
622 - the testSuite is still brain damage (not guilty).
624 2003-06-02 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
625 * WrapVTK.py : modifications to get correctly vtk source files to
627 * vtk/vtkGdcmReader.cxx : modification for an already existing name
628 (FileName -> Filename)
630 2003-06-11 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
631 * vtk/vtkGdcmReader.[cxx/h]:
632 - UpdateProgress method should now be effective
633 - removed the limitation on having only images loaded (as opposed
635 - when building a stack of images/volume, a lesser number of
636 gdcmHeader and gdcmFile instances should be used (hopefully
637 accelerating things).
638 - when building a stack of images/volumes, files which are not
639 loadable (wrong path-filename, wrong permissions on existing file,
640 or file not parsable by gdcm) are replaced with a black image
641 in the stack (for the caller to notice the problem).
643 2003-06-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
644 * vtk/vtkGdcmReader.cxx: hopefully corrected Z extent.
646 2003-06-02 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
647 * vtk/vtkGdcmReader[cxx|h] : makes correct code to remove conflicts
648 between standard library (std) and vtk library (problems are found
649 under Windows... thanks Windows !)
651 2003-05-30 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
652 * vtk/vtkGdcmReader[cxx|h] should now be volume aware (read ready for
654 * gdcmPython/demo/vtkGdcmReader.py: commented lines for volume test
656 2003-05-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
657 * vtk/vtkGdcmReader[cxx|h] preparation addons for loading volumes.
659 2003-05-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
660 * When compiling with distutils (see setup.py) the C++ compiler is
661 called with different flags than the default ones (with automake).
662 In order to fix all those warning, I compiled gdcm with the command
663 make 'CXXFLAGS=-Wall -Wstrict-prototypes -D__STDC_LIMIT_MACROS'
664 and went for warning fixes:
665 - src/gdcmHeader.cxx, Test/dcm2acr.cxx, pourFindTaggs.cxx cleaned
666 up from unused variables.
667 - vtk/vtkGdcmReader.cxx: potential bug fix.
668 * src/gdcmHeader.h: Doxygen warning cleanup
670 2003-05-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
672 - typemaps correction to take into account the systematic replacement
673 of "using namespace std" with std:: prefix e.g. std::list,
674 std::string... (cf changes of 2003-05-21).
675 - gdcmGlob global variable of type gdcmGlobal (defined in
676 src/gdcmUtil.cxx and declared in gdcmPython/gdcm.i) is now
677 exported to Python a as cvar.
678 * gdcmPython/__init__.py now defines two functions GetPubDictTagNames()
679 and GetPubDictTagNamesByCategory() as a replacement for deprecated
680 gdcmDictSet.GetPubDictTagNames() and
681 gdcmDictSet.GetPubDictTagNamesByCategory() class functions (i.e.
683 * gdcmPython/demo/printGroupedPublicDict.py is operational again,
684 with the above changes.
686 2003-05-22 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
687 * setup.py, manifest.in : bug fix under linux
689 2003-05-22 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
690 * Modification of setup.py to compile vtk part too. Then, we have 2
691 wrappers which must work with same distutils. For that, we have a
692 generic distutils in distusiltsWrapping.py ; with :
693 - build_extWrap class to wrap generically all extensions,
694 - ExtensionWrap base class for all wrapping extension that contains
696 - Wrapper interface which wrap sources
697 + In WrapSwig.py we have extension and wrapper for Swig
698 + In WrapVTK.py we have extension and wrapper for VTK
699 * MANIFEST.in : modifications to consider vtk directory and new python
700 files for compilation
702 2003-05-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with Benoit Regrain
703 * Added python wrappers of vtkGdcmReader vtk class (see the
704 source in vtk/vtkGdcmReader.cxx) :
705 - vtk/Makefile.am now builds a library
706 - gdcmPython/Makefile.am now builds vtkgdcmPython a second import
707 python library (as opposed to _gdcm.so wich are the python
708 wrappers of gdcm). vtkgdcmPython.so uses the vtk python wrappers
709 (vtkWrapPython and vtkWrapPythonInit utility) to build vtkgdcmPython
711 - configure.in has an additional flag --enable-vtk that needs
712 to be set to enable compilation of vtk related code, that is:
713 + vtk/vtkGdcmReader.so and
714 + vtk/testvtkGdcmReader C++ demo of vtk wrappers of gdcm)
715 + gdcmPython/vtkgdcmPython.so (see above)
716 - gdcmPython/demo/vtkGdcmDemo.py corrected (some images cannot
717 be read when compressed or when HighBit + 1 != BitsStored),
718 - gdcmPython/demo/vtkGdcmReader.py added. This demo illustrates
719 the usage of the python wrapper of vtkGdcmReader vtk class.
720 * vtk/vtkGdcmReader.cxx: bug fixed (thanks to Benoit Regrain).
721 * src/*.[h] all occurences of stl classes are now prefixed with
722 std::, and all occurences of "using namespace std;" where removed.
723 This is to avoid pollution of global namespace in included files.
724 Apparently vtk does not avoid this pitfall: when using both
725 gdcm and vtk (as in vtk/vtkGdcmReader.cxx) this ended up in a
726 collision of various stl members (principally cout...).
727 * gdcmPython/testSuite.py now cleanly removes temprory generated
729 * gdcmPython/gdcm.i now declares a typemap for std::string (to
730 comply with above changes)
732 2003-05-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
733 * src/gdcmHeader>[h/cxx] added gdcmHeader::GetPixelSize()
734 * vtk/vtkGdcmReader.cxx now properly inports the image in the
735 vtk data structure (an image Flip was required).
736 * vtk/testvtkGdcmReader.cxx refers to gdcmData subdir instead of Data.
737 * cosmetic changes in documentation.
739 2003-05-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
740 * src/gdcmHeader.cxx: the constructor no longer exits when an
741 unexisting file is given as argument.
742 * The subdirectory Data (containing all the images used for the
743 test suite) is not part of this repository anymore. A new module
744 containing those images is now available at
745 :pserver:xxx@cvs.creatis.insa-lyon.fr:2402/cvs/public
746 with the name gdcmData.
747 All the python scripts (including the package initialisation file
748 gdcmPython/__init__.py) were adapated to take this change into
749 account (basically GDCM_DATA_PATH is now GDCM_TEST_DATA_PATH).
751 2003-05-5 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
752 * vtk subdir added. Contains vtkGdcmReader.[cxx|h] a vtk class
753 inherinting from vtkImageReader and testvtkGdcmReader.cxx a small
754 demo of the usage of this class.
755 Compilation of this vtk part is only done when using the --enable-vtk
756 at configure (or autogen.sh) stage.
758 2003-04-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
759 * More memory link related corrections and documentation fixes.
761 - maximum info is obtained with a command of the form:
762 valgrind --leak-check=yes --leak-resolution=high --num-callers=40
763 --show-reachable=yes PrintHeader
764 - the remaining reachable blocks seem to come from the STL
765 allocation scheme through the usage of map and list. It looks
766 like this memory cannot be freed but it is not a memory leak
767 (in fact further invocation to the STL would recollect the
768 unused memory allthough it cannot explicitely be freed).
769 * gdcmPython/demo/vtkGdcmDemo.py added: this is a small demo
770 of displaying an image parsed with gdcm and displayed with VTK.
771 Note: some images don't seem to work e.g.
772 python vtkGdcmDemo.py ../../Data/US-RGB-8-esopecho.dcm
773 * src/gdcmHeader.x: dicom_vr and Dicts are not class members anymore.
774 Allthough this weakens the semantics, it is a ditch attempt to
775 make gdcm more thread friendly.
777 2003-04-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
778 * Memory link hunt (by using valgrind through the command
779 valgrind --show-reachable=yes --leak-check=yes PrintHeader).
780 - added src/gdcmVR.cxx gdcmVR.h that objectify the previous
781 gdcmHeader::_dicom_vr.
782 - gdcmHeader::InitVRDict transfered as gdcmVR::gdcmVR().
783 - gdcmHeader::dicom_vr is now of type gdcmVR* as opposed to
785 - gdcmGlobal global object contained class added (see src/gdcmUtil.x)
787 2003-04-9 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
788 * src/Makefile.am now exports all the necessary include files at
792 * UpdateGroupLength replaced by new one
795 * UpdateGroupLength re-written using H-Table
796 (named UpdateGroupLengthNew untill checks are over)
798 2003-04-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
799 * Data/im_00001 renamed to gdcm-MR-PHILIPS-16-Multi-Seq.dcm
800 * gdcmPython/testSuite.py now include a test of gdcmFile::Write.
802 - gdcmHeader::GetPubElValSet removed.
803 - gdcmElValSet::WriteDcm, WriteAcr, WriteExplVR, revamped to
804 UpdateGroupLength, WriteElements, Write.
805 - gdcmHeader::FileType moved to gdcmCommon.h. The enum FileType
806 doesn't contain TrueDicom anymore since ExplicitVR and ImplicitVR
807 carried the same semantics.
808 - src/gdcmHeaderIdo.cxx changed accordingly.
809 - gdcmFile::WriteBase now regroups all the codes from previous
810 versions of WriteDcm, WriteDcmImplVR, and WriteACR.
811 - enum FileType moved to gdcmCommon.h
812 * src/gdcmHeader.cxx AddDefault trashed
814 * getimageDataSize now calls gdcmGetXSize
815 * Test/*.cxx changed to agree with above changes
817 2003-03-31 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
818 * src/gdcmHeader.h: LoadElements() is not a public method anymore
819 (to avoid double call by end user).
820 * Test/*.cxx LoadElements() doesn't need to be called explicitely
821 by end user, since gdcmHeader::gdcmHeader now handles it.
823 2003-03-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
824 * gdcm/Doc many doxygen changes:
825 - Doxyfile now has two different versions, DoxyfileUsers that generates
826 the html.users end users oriented documentation and
827 DoxyfileDeveloppers that generates the html.developper developper
828 oriented documentation.
829 - README changed accordingly
830 - requirement.txt removed (old design info moved to TODO).
831 - Additional files DoxyInstallation.txt, DoxyIntroduction.txt,
832 DoxyMainPage.txt, DoxyPython.txt provide more information.
833 - Note: the website http://www.creatis.insa-lyon.fr/Public/Gdcm/ can now
834 be updated by simply regenerating the docs with doxygen and copying
835 html.developper and html.users to tux:/home/httpd/html/Public/Gdcm
836 * src/gdcmElValSet.cxx: stl <map>.count() can only return 0 or 1. Hence
837 all the tests in the form "if (<map>.count() >1)" were removed.
838 * src/gdcmFile.cxx: cosmetic changes to avoid messages of doxygen about
839 ill-formed documentation sections.
840 * src/gdcmHeader.cxx: ditto
842 2003-03-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
843 * setup.py fixed for un*x (needed macro for stdint.h)
844 * Test/test.cxx renamed to PrintHeader.cxx to avoid collision on
845 un*ces with sh-utils test utility.
846 * gdcmPython/demo/test.py renamed to PrintHeader.py
847 * gdcmPython/demo/ReorganiseFiles.py new demo script added.
848 * gdcmPython/win32/gdcmpycomplet.dsp renamed to gdcmpyembedded.dsp.
849 * gdcmPython/win32/gdcmpy.dsp trashed away (brain damaged).
850 * src/gdcm*.cxx JPR's bad inclusion fixed.
852 2003-03-26 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
853 * src/gdcmHeader[h, cxx] gdcmHeader now has an IsReadable predicate.
854 * gdcmPython/demo/test.py changed accordingly.
856 2003-03-25 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
857 * gdcmPython/Makefile.am fixed linking against libstdc++
858 * gdcmPython/_gdcm.so symbolic link to gdcmPython/.libs/pygdcm.so added.
859 * Swig subdir (historical tests of swig version 1.3.17++) removed
860 * Test/testChangeEntete.cxx some lines commented out in order to make
862 * src/gdcmHeader.cxx cleaned up wild JPR's dirty kludge.
863 * src/gdcmElValSet.cxx cleaned up frog's forgotten debug message
865 2003-03-24 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
866 * src/gdcmHeader.cxx gdcmHeader::gdcmHeader now calls LoadElements(),
867 hence the user doesn't need this explicit call.
868 - gdcmPython/testSuite.py, gdcmPython/demo/*.py changed accordingly
869 i.e. LoadElements() call removed.
870 * src/gdcmCommon.h now defines UINT32_MAX (see stdint.h).
871 - src/Makefile.am declares the proper flag for g++.
872 * src/gdcmElValSet.h added gdcmElValSet::GenerateFreeTagKeyInGroup
873 for adding user defined new tags.
874 - src/gdcmHeader.cxx gdcmHeader::NewManualElValToPubDict added.
875 - src/gdcmHeader.cxx gdcmHeader::AddAndDefaultElements now
876 cleanly adds some gdcm added tags (like gdcmXSize, gdcmYSize...)
878 2003-03-17 Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>
879 * Makefile.am, acinclude.m4, configure.in, python.m4, Dicts/Makefile.am,
880 Doc/Makefile.am, Test/Makefile.am, gdcmPython/Makefile.am,
881 src/Makefile.am : the project should properly compile and install
882 with the autotools, included the python wrappers part.
883 * gdcm.spec.in : added a spec file for RPM packaging.
885 2003-03-14 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
886 * src/gdcmUtils.cxx : redifinition of defaults parameters in code
888 2003-03-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
889 * gdcmPython/__init__.py fix of GDCM_DICT_PATH which was not
890 to exported to the environement (see gdcmPython/testSuite.py
892 * src/gdcmElValSet.[cxx/h], gdcmElValue.[cxx/h], gdcmFile.[cxx/h],
893 gdcmHeader.[cxx/h]: ElValSet class renamed to gdcmElValSet, and
894 ElValue class renamed to gdcmElValue for obvious consistency reasons.
895 * src/gdcmElValSet.cxx, src/gdcmUtil.[cxx-h] Tokenize utility function
896 moved away from gdcmElValSet.cxx to gdcmUtil.cxx.
898 2003-03-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
899 * gdcmPython/__init__.py doesn't crash anymore when running in
900 in InstallMode or PreInstallMode but with an environement given
901 value of GDCM_DICT_PATH.
902 * src/gdcmDictSet.[cxx/h] coding style.
904 2003-03-06 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
905 * src/gdcmHeader.h and gdcmHeader.cxx Coding style + doxigenation.
906 * src/gdcm.h general comments moved to TODO, and README
907 * src/gdcm.h should now be seen as a user commodity (including it
908 should suffice to fully use gdcm). It is nowhere including within
909 any of the kernel files src/*.cxx and src/*.h.
911 2003-03-05 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
912 * src/gdcm.h splitted in gdcmCommon.h, gdcmDict.h, gdcmDictEntry.h,
913 gdcmDictSet.h, gdcmElValSet.h, gdcmElValue.h, gdcmFile.h,
915 * src/gdcm*.cxx only include their corresponding include file
916 (as opposed to gdcm.h)
917 * gdcmPython/gdcm.i changed accordingly
918 * Test/Makefile.am corrected and added NEWS, AUTHORS in order for
919 the autogen.sh generated "make snapshot" command to work.
920 * autogen.sh removed history related references to crea package.
922 2003-03-04 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
923 * distutilsSwigCPlusPlus.py work around some swig portability
926 2003-03-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
927 * Eventually, python/gdcmPython was renamed to gdcmPython. This
928 was done in a last ditch attempt to get setup.py _really_
929 operationnal. The python/gdcmPython layaout add the advantage
930 of hidding away the python related distutils specific files
931 (MANIFEST.in, setup.py, distutils*.py...) from the main directory.
932 Alas, the src directory was out of scope (i.e. it's relative
933 position to setup.py was ../src) which made things impossible to
934 handle (see previous version of python/setup.py). Crossing fingers...
936 2003-02-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
937 * python/setup.py now works on Un*x. (harder than I thougth)
938 * python/distutilsSwigCPlusPlus.py can now have include files
939 among the list of sources.
941 2003-02-20 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
942 * src/gdcmHeader.cxx : bug fix - opening dicom file in binary !!!
943 * modifications in MSVC projects
945 2003-02-19 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
946 * As stated by the first lines of Test/ExceptionAndPython/README, it
947 looks like we can move back to original usage of exception within
948 src/gdcm* and hence remove the errno stuff that was introduced
949 as a quick and dirty fixture of this problem (added to the TODO).
950 * Doc/Doxyfile configuration file for Doxygen and corresponding
951 README file for usage added.
952 * Test/testWrite.cxx added. This new test comes from a split of
953 test.cxx that is now reverted to its original purpous i.e.
954 testing the proper parsing of a Dicom related file.
955 testWrite.cxx concentrates on testing the IO part of gdcm.
956 * Test/bug1.cxx (containing a bug on WIn32) added.
957 * src/gdcm.h, gdcmHeader.cxx, gdcmDictSet.cxx:
958 - gdcmHeader::GetPubTagNames and gdcmHeader::GetPubTagNamesByCategory
959 whose purpose is to publish the content of the TagNames of the
960 Dicom public dictionnary were not accessible without an
961 instance of class gdcmHeader.
962 - those methods are now static methods of gdcmDictSet and hence
963 require no instances at all to be invocated.
964 - within gdcmDictSet this change required to change some method
965 to class methods (i.e. are now static) among which SetDictPath
966 (renamed to BuildDictPath) and LoadDefaultPubDict.
967 * python/gdcmPython/demo/printGroupedPublicDict.py changed to illustrate
968 the above changes by calling the new method classes of gdcmDictSet.
969 * python/gdcmPython/__init__.py now exposes gdcm.gdcmDictSet for
970 the above to be effective.
971 * python/gdcmPython: in order to wrap properly the above changes
972 for Python, swig version now needs to be > 1.3.17.
973 * python/gdcmPython/Makefile fixed to adapt itself to new
974 configure/make shema introduced by Johan Montagnat (thanks for the
975 contribution). Alas this Makefile cannot be turned into a proper
976 Makefile.am without some heavy changes in the configure.in
977 (for python dectection).
978 * python/gdcmPython/gdcm.i: the out typemap map<string, list<string>>*
979 now avoids publishing the empty entries.
981 2003-02-13 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
982 * python/setup.py : bug fix concerning install under windows
984 * gdcm.dsw : bug fix concerning path for libraries for python !!!
986 2003-02-13 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
987 * Dicts/dicomV3.dic : remove double spaces !!!
988 * src/gdcmElValSet.cxx : bug fix concerning windows compiler
989 * python/gdcmPython/win32/gdcmpycomplet.dsp : bug fix concerning paths
992 2003-01-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
993 * src/gdcmHeader.cxx added a post header parsing AddAndDefaultElements
994 method. Doxygenation.
995 * src/gdcm.h clean up of JPR spurious comments.
997 2003-01-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
998 * python/distutilsSwigCPlusPlus.py now properly collects the
999 shadow classes generated by "swig -c++" (gdcm.py in our case)
1000 when using "python setup.py install".
1001 * python/gdcmPython/__init__.py imports gdcm.py and only manually
1002 reexports the working classes.
1003 * src/gdcmHeader.cxx all the try/catch/throw calls were replaced
1004 by the classical C errno scheme. This is to prevent an obscure
1005 behavior of the python wrappers when importing wxPython.wx prior
1006 to gdcmPython (which ended up in an abort call). An illustration
1007 of this oddity can be found in the Test/ExceptionAndPython
1008 subdir (see the README file). This problem probably due to
1009 an combination of g++ and dynamic loading.
1010 * added Test/ExceptionAndPython (see above)
1012 2003-01-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1013 * Changed the layout of the python part to avoid bloating main
1014 directory with setup.py, distutilsSwigCPlusPlus.py, MANIFEST.in
1015 i.e. the distutils arsenal. All the python related stuff is
1016 again in a python subdir, but the package itself is now in
1018 * setup.py was cleaned up:
1019 - pythonIncludePath removed
1020 - python setup.py bdist target is now functional.
1021 * gdcmPython/__init__.py doesn't export FileName any more (to avoid
1022 collision with other packages). gdcmPython/demo/*.py changed
1025 2003-01-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1026 * python subdir moved to gdcmPython (preparation of distutils packaging).
1027 * gdcmPython/setup.py and distutilsSwigCPlusPlus.py added. The
1028 distutils installer is operational.
1029 * - gdcmPython/__init__.py now properly loads the swig generated
1030 shadow classes (from gdcm.py).
1031 - gdcmPython/demo/*.py changed to import the package gdcmPython
1032 instead of gdcmPython/demo/load.py.
1033 - gdcmPython/testSuite.py changed to import the package gdcmPython.
1035 2002-12-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1036 * src/gdcm.h, src/gdcmHeader.cxx: added GetPubTagNames() resp.
1037 GetPubTagNamesByCategory() to gdcmHeader that return a list of the
1038 entries within the associated public Dicom dictionary resp. the same
1039 information but sorted by the fourth field (PAT, IMG, DIR) of the
1041 - Dicts/dicomV3.dic Entries which had and unspecified fourth field
1042 are now in the "???" group.
1043 - python/gdcm.i changed accordingly,
1044 - python/demo/printGroupedPublicDict.py added, that gives an example
1045 of the above new functionalities in Python.
1047 2002-12-11 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1048 * src/gdcm.h, gdcmHeader.cxx:
1049 - historic references to glib's g_malloc and g_free (#defined)
1050 were definitively removed.
1051 - gdcm.h: cosmetic changes (part of comments moved to Doc/requirements)
1052 * src/gdcmElValSet.cxx:
1053 - GetElement(guint32, guint32) renamed to GetElementByNumber.
1054 - GetElValue(guint32, guint32) renamed to GetElValueByNumber.
1055 - GetElValue(string) renamed to GetElValueByName.
1056 - Added GetElementByName(string).
1057 * src/gdcmHeader.cxx: added
1058 - GetPubElValRepByNumber(guint16, guint16)
1059 - GetPubElValRepByName(string)
1060 - GetShaElValRepByNumber(guint16, guint16)
1061 - GetShaElValRepByName(string)
1062 - GetShaElValByNumber(guint16, guint16)
1063 - GetShaElValRepByName(string)
1064 - GetElValRepByNumber(guint16, guint16)
1065 - GetElValRepByName(string)
1066 - GetElValByNumber(guint16, guint16)
1067 - GetElValRepByName(string)
1068 * Doc/requirements.txt added.
1070 2002-12-9 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1071 * Test/Makefile building now depends on the one of libgdcm.so
1072 * src/gdcmHeader.cxx and gdcm.h are now OB (undefined length encoded
1073 pixel data) aware which enables finding the address (offset) of
1074 the pixel data of JPEG encoded DICOM files. This leaves only a single
1075 file in the testSuite whose pixel data address (offset) is unknown.
1076 * python/testSuite.py changed accordingly.
1078 2002-12-6 Christophe Odet + Hugues Benoit-Cattin + Eric.Boix
1079 * VC++ has some strong limitations when working with the STL, as stated
1080 in http://support.microsoft.com/support/kb/articles/Q168/9/58.ASP :
1081 "Also note that some STL containers (map, set, queue, list, deque)
1082 cannot be exported. [...]
1083 Some STL classes contain nested classes. These classes can not
1085 This is caused by a designed limitation that once a template
1086 class is instantiated, it can not be re-instantiated and
1088 Since our usage of map<> is ubiquitous in gdcm, this "designed
1089 limitation" of VC++ is a pitfall.
1090 Hence the Python wrappers of gdcm cannot be incrementally linked
1091 against the c++ dynamic library. The dirty but only workaround is
1092 to forget about incremental link of dynamic libraries and to generate
1093 the Python wrappers library with the inclusions of the underlying C++
1095 The following modifications concern this matter on Win32/VC++:
1096 - wrapping python correct with standalone wrapped dll (don't use separate
1097 dll under windows !!!!)
1098 - python21_d debug mode enabled (ask Frog how to use it :-)
1099 - NO problem with having an STL member of class for example string in C++
1100 WITH THE RESTRICTION OF FORGETING ABOUT INCREMENTAL LINK.
1101 - Python test of dcmlib in Python is ok under windows on a large set
1103 * removed glib references
1104 * typedef's inserted in gdcm.i for correct swig type management
1106 2002-11-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1107 * python/demo/*.py load.py extracted from test.py. Added explore.py
1108 that only displays required tags and testAll.py that parses all
1109 the files of the testsuite without using unittest.
1110 * python/testSuite.py other additional test on new files added.
1111 * Data/* new test files added accordingly to the testSuite.
1112 * src/gdcmHeader.cxx avoid overwriting of the dictionary when
1113 the vr in the file differs from the one of the dictionary.
1115 2002-11-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1116 * src/gdcm.h and gdcmHeader.cxx gdcm no longer loads all the elements
1117 values, but limits itself to values which are below a user specified
1118 size (by default 1024 bytes).
1119 * python/gdcm.i : elements not loaded (because their size is above the
1120 user specified treshold) are exported with their TagKey as key of the
1121 python dictionary. This enables the testsuite to make some checks
1122 on the unloaded elements (since we have their offset and size).
1123 * python/testSuite.py
1124 - now tests for the existence and proper value of the pixel data
1125 - two new examples added.
1126 * Data/gdcm-MR-SIEMENS-16.acr[12] added.
1128 2002-11-18 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1129 * src/gdcm.h and gdcmHeader.cxx are now "Big Endian transfer syntax"
1130 aware. See the strategy comments in gdcmHeader::FindeLength().
1131 * Test/test.cxx now accepts a filename as first argument.
1132 * Data/US-PAL-8-10x-echo.dcm and US-RGB-8-epicard.dcm added.
1133 * python/testSuite.py changed to integrate test on above files.
1135 2002-11-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1136 * Dicts/dicomV3.dic removed all the trailing (RET) when the
1137 the vr was also RET.
1138 * python/testSuite.py more tests added.
1140 2002-11-14 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1141 * python/testSuite.py unittest test suite added (uses Data)
1142 * Data/* dcm and acr files for the test suite.
1143 * glib dependance removed from un*x version. We now use ISO C99
1144 7.18 Integer types (see stdint.h)
1145 - python/Makefile, src/Makefile src/gdcm.h
1146 * src/ when an explicit vr (like dicom files) suddenly poped an
1147 implicit element we use to mark the underlying DictEntry of the
1148 concerned ElValue with "Implicit". This strategy was damageable
1149 too the public or provite dictionaries, since some of their vr
1150 would be changed. Since Header::FindLength heavily relies on the
1151 detection by Header::FindVR of falsely explicit elements, I
1152 added an extra ImplicitVr member to ElValue (boolean).
1153 The rest of the changes we the necessary adaptations.
1155 2002-11-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1156 * src/gdcmHeader::FindLength bug fix when trapping falsely explicit
1158 * src/gdcmHeader::FindVR: hard way fix of falsely explicit vr files.
1160 2002-11-8 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1161 * Adaptation for porting to VC++:
1163 o forced to use std namespace (for string to be known)
1164 o all class use __declspec export style on WIN32
1165 - src/gdcmUtil.cxx new Exit method that wraps the exit call
1166 (in stdlib.h on Win32 but in std:: for gcc)
1167 * src/gdcmDictSet::SetDictPath adds a trailing / to environement
1168 variable GDCM_DICT_PATH.
1169 * src/gdcmHeader.cxx verbose comments made discrete.
1171 2002-11-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1172 * python/gdcm.i: added a typemap that converts a C++ hashing table
1173 to native Python dictionary.
1174 * python/demo/test.py:
1175 - now uses the native dictionary for exploration of gdcmHeader.
1176 - takes an optional filename argument (the file to parse).
1177 * src/gdcm.h and gdcmHeader.cxx: gdcmHeader now has an accessor on
1178 PubElVals hashing table.
1179 * Dicts/dicomV3.dic removed error prone trailing spaces.
1181 2002-11-6 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1182 * Python wrapping process moved away from src/Makefile to
1183 newly created python/Makefile (as well as gdcm.i)
1184 * python/demo/test.py (that mirrors Test/test.cxx) is effective.
1185 * src/gdcmHeader::FindLength only looks for current vr when necessary.
1186 * src/gdcmDictSet.cxx: the dictionnaries directory path is now imported
1187 from the environement variable GDCM_DICT_PATH (when existing).
1188 * src/gdcmDict::GetTag bug fix.
1190 2002-10-31 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1191 * Straightforward temporary fixes for swig to build the python wrappers.
1192 src/Makefile now has a python working entry [by working we mean
1193 that we can import de shadow classes without errors].
1195 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1196 * hashtest.cxx removed (since allready in Test)
1197 * src/gdcmlib.h renamed to src/gdcm.h
1198 * src/dcm.i renamed to src/gdcm.i
1199 * src/Makefile prepared for python wrapping
1201 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1202 * src/gdcmHeader.cxx :
1203 - Parsing of header is now separated from loading of element values
1204 (see gdcmHeader::LoadElements).
1205 - general clean up of hopefully all file access (creation of
1206 ReadInt16 and ReadInt32)
1208 2002-10-22 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1209 * src/gdcmHeader.cxx :
1210 - RecupLgr renamed to FindLength and cut off with new IsAnInteger
1212 - SetLgrElem renamed to SetLength
1213 - GetLgrElem renamed to GetLength
1214 - ~gdcmHeader() made virtual to pesky warning messages at compile.
1215 * src/gdcmElValSet.cxx fixed both GetElValue methods
1216 * Dicts/dicomV3.dic falacious entry [7fe0 0010 OT PXL Pixel Data]
1217 due to IdoDude was cleaned out.
1219 2002-10-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1220 * src/gdcmHeader.cxx RecupLgr split in FindVR and RecupLgr. FindVR
1221 concentrates on finding the value representation (when it exists).
1222 RecupLgr now only finds the element value length, and it avoids
1223 returning the unecessary skL (skipped length).
1224 Also, offsetCourant was simply removed (with taille_fich) since
1225 it was redundant with the File position internals (by using
1226 ftell and fseek). This also made skL (see above in RecupLgr) usage
1228 * src/gdcmHeaderIdo.cxx src/gdcmIdo.h added. Those files concentrate
1229 on the libido specificities which are handled through class
1231 * Test/implicit_vr.dcm dicom v3 in implicit value representation
1234 2002-10-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1235 * Truckload of changes. Parsing of header is barely functional
1236 (see Test/test) with the standard dictionary (see Dicts/dicomV3.dic).
1238 2002-10-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1239 * src/gdcmHeader.cxx many addons of low level methods
1241 2002-10-07 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1242 * src/gdcmHeader now contains_IdDcmCheckSwap, _IdDcmRecupLgr,
1243 and _IdDcmSWAP_LONG.
1245 2002-09-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1246 * This corresponds to all the changes decided at the meeting of
1247 May 23 2002. Needless to say we are running late...