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