malaterre [Sat, 15 Jan 2005 20:24:02 +0000 (20:24 +0000)]
ENH: Seriously rewrote the GetMacAddress stuff. There is lot less redundancy. I could only check this worked on linux/MacOSX so far. Solaris seems to be broken. Remove tabs
malaterre [Fri, 14 Jan 2005 22:20:11 +0000 (22:20 +0000)]
BUG: Could not use DirList from a dll on windows since the symbol was not exported. So I had to rewrite the class a little. the usage is slightly more complex now (one more function call)
malaterre [Fri, 14 Jan 2005 21:03:54 +0000 (21:03 +0000)]
ENH: Backport patch from ITK CVS. Serie need to take into accout the Serie Instance UID before adding new files. A lot of the logic within vtkGdcmReader should also be backported here
jpr [Fri, 14 Jan 2005 15:06:36 +0000 (15:06 +0000)]
* ENH - Comment out Mathieu's (dangerous) Super Hack
for dealing with BIGENDIAN processors
- Move equivalent stuff to BinEntry::WriteContent
When necessary, 16 Bits Pixels are swapped in a small buffer
and then written. This avoid allocating a huge buffer, in
PixelWriteConveror, and avoid modifying the Pixel Area.
Note :
Probabely, the same operation will have to be done when we want
to write image with Big Endian Transfert Syntax,
and we are working onj Little Endian Processor
regrain [Fri, 14 Jan 2005 11:28:28 +0000 (11:28 +0000)]
* src/gdcmDocument.[h|cxx] : comment all methods concerning a flat hash
table.
* src/gdcmElementSet.[h|cxx] : rename Initialize into InitTraversal
* src/gdcmDict.[h|cxx] : add InitTraversal/getNextEntry methods to parse
all the dict content.
* src/gdcmDictEntry.cxx : add a carriage return at the end of the DictEntry
print
* Test/TestDict.cxx : add a new test for the dict classes
-- BeNours
regrain [Thu, 13 Jan 2005 16:35:36 +0000 (16:35 +0000)]
* src/gdcmDictSet.h : set the default output to the os variable
* src/gdcmDictEntry.[h|cxx] : add the Print method
* gdcmPython/demo/ : add a new test
-- BeNours
jpr [Thu, 13 Jan 2005 14:56:39 +0000 (14:56 +0000)]
2005-01-13 Jean-Pierre Roux <jpr@creatis.univ-lyon1.fr>
* merging of Test/PrintDicomDir and Test/TestDimoDir
* removal of now redundant Test/PrintDicomDir
* enhancement of Example/PrintDicomDir
jpr [Thu, 13 Jan 2005 09:23:27 +0000 (09:23 +0000)]
2005-01-13 Jean-Pierre Roux <jpr@creatis.univ-lyon1.fr>
* FIX : First entry following group 0002 was lost for
Explicit Big Endian Transfer Syntax files
(group and elem not swaped)
jpr [Wed, 12 Jan 2005 15:22:23 +0000 (15:22 +0000)]
2005-01-12 Jean-Pierre Roux <jpr@creatis.univ-lyon1.fr>
* FIX : Old quick and dirty 'optimistic' heuristic to deal with
Big Endian Transfer Syntax supposed the group following 0002
begins alawys by element 0000 (element 0000 is *optional*)
To avoid further troubles, let's be pessimistic, and use
Document::HandleOutOfGroup0002() method
malaterre [Tue, 11 Jan 2005 16:44:42 +0000 (16:44 +0000)]
ENH: Untangle the transfer syntax from the Document. The Document can only read a string and can only ask gdcm::TS what are the property of the transfer syntax
jpr [Tue, 11 Jan 2005 11:37:12 +0000 (11:37 +0000)]
2005-01-11 Jean-Pierre Roux <jpr@creatis.univ-lyon1.fr>
* Replace confusing name SwitchSwapToBigEndian name by SwitchByteSwapCode
* Add the Document::HandleOutOfGroup0002(uint16_t group) method
to swap the Swap Code, at parsing time, when we come out of group 0002
and Transfer Syntax is Big Endian
We should be able to read now 'true DICOM' Big Endian coded images
* Add optional run time SetDebugOn (last param) for PrintHeader, PrintFile
* Replace the french 'Transfert Syntax' by the english 'Transfer Syntax'
malaterre [Tue, 11 Jan 2005 00:37:41 +0000 (00:37 +0000)]
ENH: Adding a new method on TS: IsTransferSyntax. Where you pass in a string and it return if this is a valid Transfer Syntax. So far gdcm is broken since 1.2.840.113619.5.2 is not handled