jpr [Tue, 27 Jan 2004 09:41:20 +0000 (09:41 +0000)]
* gdcmParser constructor has a new boolean param,'ignore_shadow',
to allow skipping the shadow elements, to save memory space.
The TRUE value for this param has to be used
with a FALSE value for the 'enable_sequence' param.
('public elements' may be embedded in 'shadow Sequences')
* gdcmHeader methods now deal with 'embedded icones images' in the header
(even when an 'icone image sequence' is annouced by the
element (0x0088,0x0200), but there is NO icone at all ...
* gdcmHeader sometimes Image Location value doesn't follow
the supposed processor endianity (see gdcmData/cr172241.dcm)
* gdcmHeader add the method
IterHT GetHeaderEntrySameNumber(grPixel,numPixel);
to get *all* the Header Entries with the same tag.
GetHeaderEntrySameName is probabely *useless*
(no meaning : Name is *not* an identifier within the Dictionnary)
jpr [Fri, 23 Jan 2004 16:13:49 +0000 (16:13 +0000)]
- ANSIfy gdcmDicomDir.cxx
- warning message by gdcmHeader if Pixels not found
- hex display for *all* integers (no longer only Group lengthes) by Print
Warning : Implicit Big Enddian don't work any longer !
Bug to be found
regrain [Fri, 23 Jan 2004 13:05:30 +0000 (13:05 +0000)]
* Bug fix on field having a VR = 'UI'. Assume that is a string field
* Bug fix on test suite after remove the strip made on not string fields
* Split the IsReadable method between gdcmParser which test that the file
is dicom and gdcmHeader which test that it's an image file
-- BeNours
regrain [Fri, 23 Jan 2004 12:41:52 +0000 (12:41 +0000)]
* Bug fix on field having a VR = 'UI'. Assume that is a string field
* Bug fix on test suite after remove the strip made on not string fields
-- BeNours
regrain [Mon, 19 Jan 2004 11:40:55 +0000 (11:40 +0000)]
* removal of file gdcmHeader2.cxx
* split class gdcmHeader into gdcmParser and gdcmHeader, with gdcmHeader
inheriting from gdcmParser. This split is to prepare the integration
of dicom dir parsing
-- BeNours
regrain [Mon, 19 Jan 2004 11:20:17 +0000 (11:20 +0000)]
* removal of file gdcmHeader2.cxx
* split class gdcmHeader into gdcmParser and gdcmHeader, with gdcmHeader
inheriting from gdcmParser. This split is to prepare the integration
of dicom dir parsing
-- BeNours
regrain [Thu, 15 Jan 2004 16:36:28 +0000 (16:36 +0000)]
* src/gdcmDicSet.[h|cxx] : add virtual entries to have a reference of
entries created while parsing the header. Thus, they will be destroyed
when the gdcmDictSet will be destroyed
* src/gdcmHeader.cxx, gdcmHeaderEntrySet.cxx : uses virtual entries of
gdcmDictSet
-- BeNours
regrain [Thu, 15 Jan 2004 10:24:24 +0000 (10:24 +0000)]
* vtk/vtkGdcmReader.cxx : bug fix : before, with python only, the program
made a fatal error because of the memory release at the end of program.
The problem was in vtkGdcmReader::ExecuteData where we were allocate
some memory and vtk seems to have some problems with that.
* src/gdcmHeaderEntrySet.cxx : bug fix for std lib and cout
-- BeNours
regrain [Wed, 14 Jan 2004 09:58:37 +0000 (09:58 +0000)]
* src/gdcmHeaderEntry.[h|cxx] : gdcmElValue -> gdcmHeaderEntry
* src/gdcmHeaderEntrySet.[h|cxx] : gdcmElValSet -> gdcmHeaderEntrySet
* src/*.[h|cxx] : make changes due to class name changes
-- BeNours
regrain [Tue, 13 Jan 2004 11:13:07 +0000 (11:13 +0000)]
* src/gdcmDict.cxx, gdcmElValSet.cxx : bug fix under windows for prints.
It's lied to the stl compilation by MSVC (windows, always windows...)
-- BeNours
regrain [Mon, 12 Jan 2004 15:02:19 +0000 (15:02 +0000)]
* src/gdcmDictSet.h : set the method BuildDictPath in public
* src/gdcmTS.cxx, gdcmVR.cxx : use now a dictionnary file other than to be
directly setted in the source code
* Dicts/dicomTS.dic, dicomVR.dic : 2 new dictionnary files loaded by
gdcmTS and gdcmVR
-- BeNours
regrain [Mon, 22 Dec 2003 12:46:14 +0000 (12:46 +0000)]
* gdcmHeader is now aggregating gdcmFile, and not derived into. Thus, we
can use a gdcmHeaderHelper to load datas
* gdcmPython/testSuite.py : make the testSuite compliant with modifications
made in the source code
-- BeNours
malaterre [Thu, 13 Nov 2003 10:37:44 +0000 (10:37 +0000)]
*ENH: Add a setup.py.in that cmake will parse and give the right path to VTK ...
It creates a new setup.py in gdcm${bin}/gdcmPython (in order not to override old setup.py)
jpr [Wed, 12 Nov 2003 15:35:18 +0000 (15:35 +0000)]
*ENH gdcmHeader constructor has one more parameter (default value : false)
that allows the user to 'go inside' the SeQuences only
if he wants to.
gdcmElValSet:Print takes it into account
jpr [Mon, 10 Nov 2003 14:17:12 +0000 (14:17 +0000)]
*FIX : gdcmHeader::LoadElements is now based
on the ListTag listElem member,
not longer on the TagElValueHT tagHt member
*ENH : PrintPubElVal shows (temporarily) both results,
with the tagHt member and the listElem member.
(it's easier to 'see' the problems when using Printheader)
*FIX : old private member LgrElem is now splitted into
ReadLength : Length actually found on disk (updated only
if bug fixing is necessary), for internal
use only
UsableLength : Updated by FixFoundLength, to fix a bug
or to allow Parser going on.
Will allow to re-write a kosher header when a SeQuence
with a length (not 0000) is found
Warning : gdcmFile::Write still uses the TagHt (not ListElem)
because gdcmElValSet::Add does not update ListElem
(to be written)
jpr [Mon, 10 Nov 2003 09:21:40 +0000 (09:21 +0000)]
*FIX : gdcmHeader::LoadElements is now based
on the ListTag listElem member,
not longer on the TagElValueHT tagHt member
*ENH : PrintPubElVal shows (temporarily) both results,
with the tagHt member and the listElem member.
(it's easier to 'see' the problems when using Printheader)