malaterre [Sat, 22 Jan 2005 01:40:41 +0000 (01:40 +0000)]
BUG: was leading zeroes in numeric components. This is illegal, according to PS 3.8 Annex F and PS 3.5 Section 6.1 and ISO 8824. Also remove the union this is a bad idea when working on little and big endian machine, the result was not constitant across endianess
malaterre [Fri, 21 Jan 2005 16:06:21 +0000 (16:06 +0000)]
ENH: Add two new methods: GetCurrentThreadID and ProcessID. This could be usefull to generate the DICOM UID. Also reimplement GetCurrentDate / GetCurrentTime in only one call since we could be right at the edge of midnight and the two function call would not be consistent. Also this simplify the implementation of GetCurrentDateTime and add millisecond precision (yes we write DICOM quite fast)
jpr [Fri, 21 Jan 2005 15:28:18 +0000 (15:28 +0000)]
Begin of 'friend' classe hunting.
We miss GetLastEntry and GetPriorEntry methods to be able to remove
any direct reference to ElementSet::TagHT by DicomDir
jpr [Fri, 21 Jan 2005 11:40:52 +0000 (11:40 +0000)]
Stage 2 of names normalization :
- A gdcm::Document is now either a gdcm::DicomDir or a gdcm::File
(easy to understand ...)
- gdcm::FileHelper replaces old class gdcm::File
regrain [Thu, 20 Jan 2005 17:15:53 +0000 (17:15 +0000)]
* gdcmDicomDirElement.[h|cxx] : change the AddEntry method. Now, it gets a
type and not a string. So, there remove problems on the format of the
string.
-- BeNours
regrain [Thu, 20 Jan 2005 16:16:41 +0000 (16:16 +0000)]
* src/gdcmDicomDirObject.h : set the FillObject method in protected.
Thus, DicomDirXXX are created with a flad that indicates if the created
object is empty or not (when not empty, the DicomDirElement is used to
fill the object)
-- BeNours
jpr [Thu, 20 Jan 2005 13:28:23 +0000 (13:28 +0000)]
Final bugg fix.
TestPapyrus - reads a Papyrus file (gdcm::Header compliant),
- gets the pixels of all the images, using low level iterators
- writes an multiframes Dicom image.
(Just to show it's *possible* to do that)
Uses SQItems accessors (we could use it as a 'Test' program, to improve test
coverage ...)
regrain [Thu, 20 Jan 2005 11:07:06 +0000 (11:07 +0000)]
* src/gdcmDebug.h : remove the Debug test in the gdcmErrorMacro
* src/gdcmDocument.[h|cxx] : rename the Initialise method to Initialize, to
be complient with all the gdcm source code
-- BeNours
regrain [Wed, 19 Jan 2005 14:56:09 +0000 (14:56 +0000)]
* gdcmPython/ : change GDCM_DATA_PATH to GDCM_DATA_ROOT to be complient with
all in gdcm
* Remove some useless files in the Python part. Files now generated by CMake
-- BeNours
regrain [Wed, 19 Jan 2005 10:43:00 +0000 (10:43 +0000)]
* Test/ : rename VTK tests to have a best name for the tests
* gdcmPython/demo/*.py.in : Change the InitTraversal/GetNextEntry use to
GetFirstEntry/GetNextEntry use
-- BeNours
regrain [Tue, 18 Jan 2005 18:24:06 +0000 (18:24 +0000)]
* Test/ShowDicom.cxx, ShowDicomSeq.cxx, TestWriteWithVTK.cxx : change the
test. Now it's on image content and not on the resulting visualisation...
might solve the problem on linux when using the OpenGL drivers
-- BeNours
jpr [Tue, 18 Jan 2005 11:56:52 +0000 (11:56 +0000)]
In SerieHeader::ImagePositionPatientOrdering()
// a Dicom 'Serie' may contain scout views
// and images may have differents directions.
// -> More than one may have the same 'pos'
// Sorting has then NO meaning !
jpr [Mon, 17 Jan 2005 10:59:52 +0000 (10:59 +0000)]
2005-01-15 Jean-Pierre Roux <jpr@creatis.univ-lyon1.fr>
* ADD DicomDir, DicomDirPatient, DicomDirStudy, DicomDirSerie, DicomDirImage
related methods, in order not to expose internal mechanisms
InitTraversal();
GetNextEntry();
* REM methods that exposed internal mechanisms :
DicomDir::GetDicomDirPatients()
DicomDirPatient::GetDicomDirStudies()
DicomDirStudy::GetDicomDirSeries()
DicomDirSerie::GetDicomDirImages()
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