]> Creatis software - gdcm.git/log
gdcm.git
16 years agoMake sure gdcm with NOPRIV doesn't break
jpr [Fri, 27 Jul 2007 21:20:13 +0000 (21:20 +0000)]
Make sure gdcm with NOPRIV doesn't break

16 years agoDeal with element 0x0001 of Private Groups
jpr [Fri, 27 Jul 2007 09:49:31 +0000 (09:49 +0000)]
Deal with element 0x0001 of Private Groups

16 years ago *actual* image length may differ to 1 with Pixel Data Element length!
jpr [Thu, 26 Jul 2007 09:25:38 +0000 (09:25 +0000)]
 *actual* image length may differ to 1 with Pixel Data Element length!
 Test is fixed.

16 years agoWe are no longer cheated by Elem belonging to group 0x0002,
jpr [Thu, 26 Jul 2007 08:36:49 +0000 (08:36 +0000)]
We are no longer cheated by Elem belonging to group 0x0002,
located inside a Sequence, when we ReWrite as Implicit VR.
Thx to Mathieu for reporting the pb.

16 years agoTypo
jpr [Wed, 25 Jul 2007 16:14:33 +0000 (16:14 +0000)]
Typo

16 years agoSometimes, fixing a bug in the library causes troubles in the Testing part...
jpr [Wed, 25 Jul 2007 15:47:20 +0000 (15:47 +0000)]
Sometimes, fixing a bug in the library causes troubles in the Testing part...
(Pixels Data element *have* an even length when rewritten!)

16 years agoNow ReWrite tells the caller when it fails.
jpr [Wed, 25 Jul 2007 13:15:14 +0000 (13:15 +0000)]
Now ReWrite tells the caller when it fails.
Thx to Mathieu for fixing.

16 years agoWhen NX*NY*nbOfComponents was odd, one (useless) byte was missing.
jpr [Wed, 25 Jul 2007 10:35:20 +0000 (10:35 +0000)]
When NX*NY*nbOfComponents was odd, one (useless) byte was missing.
dcmtk *does* care about it!

16 years agoWe don't switch any longer to ImplicitVR when undocumented DataElement is found
jpr [Tue, 24 Jul 2007 16:17:04 +0000 (16:17 +0000)]
We don't switch any longer to ImplicitVR when undocumented DataElement is found
(DocEntry::WriteContent puts vr="UN" for undocumented Shadow)

16 years agoComments
jpr [Tue, 24 Jul 2007 12:30:11 +0000 (12:30 +0000)]
Comments

16 years agoTemporary comment out of WriteDicomAsJPEGxxx
jpr [Tue, 24 Jul 2007 12:25:46 +0000 (12:25 +0000)]
Temporary comment out of WriteDicomAsJPEGxxx

16 years agoShould work both with vtk4 and vtk 5.
jpr [Tue, 24 Jul 2007 12:22:58 +0000 (12:22 +0000)]
Should work both with vtk4 and vtk 5.
Thx to Charles P. Botha for suppling fix.

16 years agoAdd comment to help converting gdcm1.2 to gdcm1.3
jpr [Tue, 24 Jul 2007 09:49:56 +0000 (09:49 +0000)]
Add comment to help converting gdcm1.2 to gdcm1.3

16 years agoTemporary removal of WriteDicomAsJPEG
jpr [Fri, 13 Jul 2007 08:42:06 +0000 (08:42 +0000)]
Temporary removal of WriteDicomAsJPEG

16 years agoFirst step to sync with v 1.2.2
jpr [Fri, 13 Jul 2007 08:17:19 +0000 (08:17 +0000)]
First step to sync with v 1.2.2

16 years agoAdd a comment about a patch to be able to reda wrong images, wher UN length is
jpr [Wed, 11 Jul 2007 12:21:01 +0000 (12:21 +0000)]
Add a comment about a patch to be able to reda wrong images, wher UN length is
coded on 2 bytes.
   // WARNING :
   //
   // For some images, length of UN elements is coded on 2 bytes (instead of 4)
   // There are *not* readable !
   // You can make a quick and dirty patch, commenting out
   //| vr == "UN"
   // in the following line.
   // (the 'straight' images will no longer be readable ...)

      if ( vr == "OB" || vr == "OW" || vr == "SQ" || vr == "UT"
                                                          || vr == "UN" || changeFromUN == true)
      {

16 years agoDicomize Dense files in their 2007 version
jpr [Tue, 10 Jul 2007 11:00:50 +0000 (11:00 +0000)]
Dicomize Dense files in their 2007 version

16 years agoAdd monochrome1 parameter.
jpr [Thu, 5 Jul 2007 13:17:26 +0000 (13:17 +0000)]
Add monochrome1 parameter.

16 years agoFix comments
jpr [Thu, 5 Jul 2007 10:53:48 +0000 (10:53 +0000)]
Fix comments

16 years agoMore explanations on future 'Developer's guide'
jpr [Thu, 5 Jul 2007 10:37:53 +0000 (10:37 +0000)]
More explanations on future 'Developer's guide'

16 years agoDon't drop _
jpr [Thu, 5 Jul 2007 09:34:12 +0000 (09:34 +0000)]
Don't drop _

16 years agoFix for LibIDO images.
jpr [Wed, 4 Jul 2007 17:39:28 +0000 (17:39 +0000)]
Fix for LibIDO images.
Use input=IDO

16 years agoAvoid confusion due to missing values
jpr [Wed, 4 Jul 2007 15:40:51 +0000 (15:40 +0000)]
Avoid confusion due to missing values

16 years agoShorter strings
jpr [Wed, 4 Jul 2007 15:38:53 +0000 (15:38 +0000)]
Shorter strings

16 years agoForget to remove couts
jpr [Wed, 4 Jul 2007 14:42:33 +0000 (14:42 +0000)]
Forget to remove couts

16 years agoAllow user to ask for MONOCHROME1 (0 = white) writting.
jpr [Wed, 4 Jul 2007 10:43:19 +0000 (10:43 +0000)]
Allow user to ask for MONOCHROME1 (0 = white) writting.

16 years agoAdd FileHelper::SetPhotometricInterpretationToMonochrome1() to allow user to
jpr [Wed, 4 Jul 2007 10:40:56 +0000 (10:40 +0000)]
Add FileHelper::SetPhotometricInterpretationToMonochrome1() to allow user to
write as MONOCHROME1 (0 = white)

Warning : Pixel Data must be supplied with 0 = Black;
they are converted before writting.

16 years agoUser has now to ask for rubbing outthe burnt-in image numbers.
jpr [Wed, 4 Jul 2007 10:31:55 +0000 (10:31 +0000)]
User has now to ask for rubbing outthe burnt-in image numbers.
Use rubout keyword.

16 years agoBug fix for old ACR-NEMA images :
jpr [Tue, 3 Jul 2007 08:17:24 +0000 (08:17 +0000)]
Bug fix for old ACR-NEMA images :
When entry 0x0028, 0x0004 (photochromatic interpretation) was missing,
IsMonochrome() always said FALSE, even when the was no PALETTE
and number of scalar components =1.

16 years agoAdd some parameters for the (aware) user.
jpr [Wed, 27 Jun 2007 08:43:25 +0000 (08:43 +0000)]
Add some parameters for the (aware) user.

16 years agoAvoid warnings
jpr [Wed, 27 Jun 2007 08:38:44 +0000 (08:38 +0000)]
Avoid warnings

16 years agoSome Updates
jpr [Tue, 26 Jun 2007 15:42:45 +0000 (15:42 +0000)]
Some Updates

16 years agoSome updates
jpr [Tue, 26 Jun 2007 15:42:14 +0000 (15:42 +0000)]
Some updates

16 years agoUpdate CmakeLists.txt
jpr [Tue, 26 Jun 2007 15:41:10 +0000 (15:41 +0000)]
Update CmakeLists.txt

16 years agoLittle utility.
jpr [Tue, 26 Jun 2007 15:40:38 +0000 (15:40 +0000)]
Little utility.
(better we write 'anything to Dcm' !

16 years agoRemove obsolet file.
jpr [Mon, 25 Jun 2007 09:42:29 +0000 (09:42 +0000)]
Remove obsolet file.

16 years agoBUG GDCM_NAME_SPACE
davila [Mon, 25 Jun 2007 06:36:04 +0000 (06:36 +0000)]
BUG GDCM_NAME_SPACE

16 years agoAvoid some warnings
jpr [Fri, 22 Jun 2007 11:01:57 +0000 (11:01 +0000)]
Avoid some warnings

16 years agoNever trust optimiser!
jpr [Fri, 22 Jun 2007 10:02:48 +0000 (10:02 +0000)]
Never trust optimiser!
Thx to Eduardo Davila for reporting the bug.
(failed on MSVC6)

16 years ago??
jpr [Thu, 21 Jun 2007 16:31:56 +0000 (16:31 +0000)]
??

16 years agoFix print length.
jpr [Thu, 21 Jun 2007 16:31:02 +0000 (16:31 +0000)]
Fix print length.

16 years agoRemove temporarily some verbosity
jpr [Thu, 21 Jun 2007 16:18:02 +0000 (16:18 +0000)]
Remove temporarily some verbosity
(PrintFile still works, TestPrintAllDocuments crashes ?!?)

16 years agoFinal (?) changes for gdcm:: -> GDCM_NAME_SPACE
jpr [Thu, 21 Jun 2007 15:40:37 +0000 (15:40 +0000)]
Final (?) changes for gdcm:: -> GDCM_NAME_SPACE

16 years agogdcm::
jpr [Thu, 21 Jun 2007 15:06:12 +0000 (15:06 +0000)]
gdcm::

16 years agogdcm::
jpr [Thu, 21 Jun 2007 15:01:00 +0000 (15:01 +0000)]
gdcm::

16 years agoGDCM_NAME_SPACE
davila [Thu, 21 Jun 2007 14:59:05 +0000 (14:59 +0000)]
GDCM_NAME_SPACE

16 years agoreplace gdcm:: by GDCM_NAME_SPACE::
jpr [Thu, 21 Jun 2007 14:47:16 +0000 (14:47 +0000)]
replace gdcm:: by GDCM_NAME_SPACE::

16 years agoName Space
davila [Tue, 19 Jun 2007 13:09:43 +0000 (13:09 +0000)]
Name Space

16 years agoBetter I comment out unfinished stuff!
jpr [Mon, 18 Jun 2007 15:46:05 +0000 (15:46 +0000)]
Better I comment out unfinished stuff!

16 years agoFix bug in "despaired wild guesses"
jpr [Mon, 18 Jun 2007 15:44:52 +0000 (15:44 +0000)]
Fix bug in "despaired wild guesses"

16 years agoUpdate
jpr [Mon, 18 Jun 2007 12:38:22 +0000 (12:38 +0000)]
Update

16 years agoFix loosing the first image of each serie.
jpr [Mon, 18 Jun 2007 12:13:44 +0000 (12:13 +0000)]
Fix loosing the first image of each serie.
Thx to Pierre Fillard for reporting and fixing the bug

16 years agoFirst (dirty) version of a Dicom RT checker
jpr [Mon, 18 Jun 2007 12:02:54 +0000 (12:02 +0000)]
First (dirty) version of a Dicom RT checker
Don't use right now!

16 years agoFix a bug ... when reading a bugged DICOMDIR.
jpr [Mon, 18 Jun 2007 11:10:17 +0000 (11:10 +0000)]
Fix a bug ... when reading a bugged DICOMDIR.
(When Sequence terminator is missing, gdcm::Document parsing crashed on Windows)
Thx to Dr Gianni Lazzarato for reporting the bug.

16 years agoUpdate comments
jpr [Fri, 15 Jun 2007 13:18:50 +0000 (13:18 +0000)]
Update comments

16 years agoWithin some Dicom images, all the elements of shadow groups are tagged
jpr [Fri, 15 Jun 2007 13:16:55 +0000 (13:16 +0000)]
Within some Dicom images, all the elements of shadow groups are tagged
 with a VR = "UN", and we get trouble when using a private Dicom dictionary.
->  Fix the trouble.
 Thx to Mathieu Malaterre for proving image.

16 years agoAdd AGFA private dicom dictionary.
jpr [Fri, 15 Jun 2007 10:00:05 +0000 (10:00 +0000)]
Add AGFA private dicom dictionary.
Th to Mathieu Malaterre for provinding it.

16 years agoOther despaired wild guess to get swap code.
jpr [Mon, 11 Jun 2007 18:18:37 +0000 (18:18 +0000)]
Other despaired wild guess to get swap code.
(and be not less clever than dcmdump)

16 years agoShould help in Linux
jpr [Mon, 11 Jun 2007 15:29:45 +0000 (15:29 +0000)]
Should help in Linux

16 years ago Add new method :
jpr [Fri, 8 Jun 2007 12:49:37 +0000 (12:49 +0000)]
  Add new method :
 SerieHelper::SetDicomDirSerie(DicomDirSerie *se)

16 years agoAdd macro to use DropDuplicatePositions directly
jpr [Fri, 8 Jun 2007 12:43:19 +0000 (12:43 +0000)]
Add macro to use DropDuplicatePositions directly

16 years agoUse new feature sh->SetDropDuplicatePositions(true);
jpr [Fri, 8 Jun 2007 12:41:07 +0000 (12:41 +0000)]
Use new feature sh->SetDropDuplicatePositions(true);

16 years agotypo
jpr [Fri, 8 Jun 2007 12:39:49 +0000 (12:39 +0000)]
typo

16 years agoAdd some comments for newbees.
jpr [Fri, 8 Jun 2007 12:39:07 +0000 (12:39 +0000)]
Add some comments for newbees.
avoid loosing time to re explain!)

16 years agoAdd an example on how to extract CSA informations.
jpr [Thu, 7 Jun 2007 16:13:14 +0000 (16:13 +0000)]
Add an example on how to extract CSA informations.
Thx to Mathieu Malaterre for supplying root code.

A lot of work remains to do to make gdcm methods (class ?)

16 years agoUpdate User's Guide
jpr [Wed, 6 Jun 2007 17:43:23 +0000 (17:43 +0000)]
Update User's Guide

16 years agoLet more track of gdcm in anonymized image
jpr [Wed, 6 Jun 2007 13:03:57 +0000 (13:03 +0000)]
Let more track of gdcm in anonymized image

16 years agoMake sure the Data Element of interest is loaded
jpr [Wed, 6 Jun 2007 13:03:09 +0000 (13:03 +0000)]
Make sure the Data Element of interest is loaded

16 years agoAdd more explanations on SerieHelper vs vtkGdcmReader
jpr [Tue, 5 Jun 2007 16:25:52 +0000 (16:25 +0000)]
Add more explanations on SerieHelper vs vtkGdcmReader

16 years agoavoid some warnings a doxygen time
jpr [Mon, 4 Jun 2007 13:40:01 +0000 (13:40 +0000)]
avoid some warnings a doxygen time

16 years agoFix some verbosity
jpr [Mon, 4 Jun 2007 08:51:23 +0000 (08:51 +0000)]
Fix some verbosity

17 years agoCoding style
jpr [Thu, 31 May 2007 12:23:26 +0000 (12:23 +0000)]
Coding style

17 years agoMore verbosity
jpr [Thu, 31 May 2007 12:22:46 +0000 (12:22 +0000)]
More verbosity

17 years agoSome more output to show the difference between
jpr [Wed, 30 May 2007 15:13:25 +0000 (15:13 +0000)]
Some more output to show the difference between
gdcm::SerieHelper::GetZSpacing() // right
and
gdcm::File::GetZSpacing() // wrong

17 years agoMost of the file headers have NO z spacing
jpr [Wed, 30 May 2007 15:11:16 +0000 (15:11 +0000)]
Most of the file headers have NO z spacing
It must be calculated from the whole gdcm::Serie (if any)
using Jolinda Smith's algoritm.
see gdcm::SerieHelper::ImagePositionPatientOrdering()

17 years ago(Try to) fix troubles with WIN32 vs _WIN32 at compile time
jpr [Wed, 30 May 2007 11:05:47 +0000 (11:05 +0000)]
(Try to) fix troubles with WIN32 vs _WIN32 at compile time

17 years agoTemporarily commenting out of
jpr [Wed, 30 May 2007 11:04:37 +0000 (11:04 +0000)]
Temporarily commenting out of
WriteDicomAsJPEG
that doesn't compile on Windows ?!?

17 years agoadd example
jpr [Tue, 29 May 2007 12:41:33 +0000 (12:41 +0000)]
add example

17 years agoFix troubles with :
jpr [Tue, 29 May 2007 10:36:10 +0000 (10:36 +0000)]
Fix troubles with  :
- 'Station Name' vs 'Model Name'
- Series Description

17 years agoFix default spacing cvalue
jpr [Thu, 24 May 2007 10:41:25 +0000 (10:41 +0000)]
Fix default spacing cvalue

17 years agoPort Mathieu's fix (from gdcm1.2) to be able to read Spacings
jpr [Wed, 23 May 2007 16:48:59 +0000 (16:48 +0000)]
Port Mathieu's fix (from gdcm1.2) to be able to read Spacings
in "Enhanced MR Image Storage"

17 years agoRemove useless ref to namespace
jpr [Wed, 23 May 2007 15:30:29 +0000 (15:30 +0000)]
Remove useless ref to namespace

17 years agoIn order to allow to use current version (1.3) of gdcm *and* ITK (that includes
jpr [Wed, 23 May 2007 14:18:02 +0000 (14:18 +0000)]
In order to allow to use current version (1.3) of gdcm *and* ITK (that includes
gdcm1.2) developper may, at CMake time, choose his own 'namespace' name,
e.g. gdcm13

17 years agoFix an old bug 'DicomDir Private' related.
jpr [Wed, 23 May 2007 14:01:44 +0000 (14:01 +0000)]
Fix an old bug 'DicomDir Private' related.

17 years agoMinor update
jpr [Mon, 23 Apr 2007 14:10:35 +0000 (14:10 +0000)]
Minor update

17 years agoEnglish mistakes
jpr [Thu, 12 Apr 2007 13:22:49 +0000 (13:22 +0000)]
English mistakes

17 years agoTo allow testsuite go on.
jpr [Thu, 12 Apr 2007 13:06:02 +0000 (13:06 +0000)]
To allow testsuite go on.

17 years agoFix the bug on US,UL while creating a DICOMDIR
jpr [Thu, 12 Apr 2007 10:43:42 +0000 (10:43 +0000)]
Fix the bug on US,UL while creating a DICOMDIR

17 years agoComments
jpr [Thu, 29 Mar 2007 13:52:16 +0000 (13:52 +0000)]
Comments

17 years agoFix comment
jpr [Thu, 29 Mar 2007 13:49:32 +0000 (13:49 +0000)]
Fix comment

17 years ago new int(4) vs new int[4] (as usual ?)
jpr [Thu, 29 Mar 2007 12:02:22 +0000 (12:02 +0000)]
 new int(4) vs new int[4] (as usual ?)

17 years agonew int[4] should be better than new int(4) to allocate an array :-(
jpr [Thu, 29 Mar 2007 10:50:14 +0000 (10:50 +0000)]
new int[4] should be better than new int(4) to allocate an array :-(

17 years agoTo avoid warnings on Darwin g++
jpr [Wed, 28 Mar 2007 07:56:12 +0000 (07:56 +0000)]
To avoid warnings on Darwin g++

17 years agobool -> int to avoid win32 warnings
jpr [Tue, 27 Mar 2007 11:38:02 +0000 (11:38 +0000)]
bool -> int to avoid win32 warnings

17 years agoAdd class DicomDirPrivate, for dealing with SERIE/PRIVATE
jpr [Mon, 26 Mar 2007 13:32:54 +0000 (13:32 +0000)]
Add class DicomDirPrivate, for dealing with SERIE/PRIVATE
(mainly used, rigth now, for SIEMENS 'CSA non image')

17 years agoFix mistyping
jpr [Fri, 23 Mar 2007 16:03:31 +0000 (16:03 +0000)]
Fix mistyping

17 years agoDeal with PRIVATE (at PrintDicomDir time, not MakeDicomDir time ...)
jpr [Fri, 23 Mar 2007 15:30:15 +0000 (15:30 +0000)]
Deal with PRIVATE (at PrintDicomDir time, not MakeDicomDir time ...)

17 years agoFix some comments
jpr [Fri, 23 Mar 2007 15:03:00 +0000 (15:03 +0000)]
Fix some comments

17 years agoTypo
jpr [Fri, 23 Mar 2007 15:01:47 +0000 (15:01 +0000)]
Typo

17 years agoMinor modifications
jpr [Fri, 23 Mar 2007 14:59:58 +0000 (14:59 +0000)]
Minor modifications