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