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