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