]> Creatis software - gdcm.git/log
gdcm.git
18 years agoENH: Cleanup the test
malaterre [Fri, 4 Nov 2005 16:36:42 +0000 (16:36 +0000)]
ENH: Cleanup the test

18 years agoENH: Adding TRY_RUN
malaterre [Fri, 4 Nov 2005 16:27:37 +0000 (16:27 +0000)]
ENH: Adding TRY_RUN

18 years agoENH: Apparently some gcc version are seriously broken
malaterre [Fri, 4 Nov 2005 16:21:40 +0000 (16:21 +0000)]
ENH: Apparently some gcc version are seriously broken

18 years agoAvoid warnings
jpr [Fri, 4 Nov 2005 16:08:08 +0000 (16:08 +0000)]
Avoid warnings

18 years agoAvoid bcc warnings
jpr [Fri, 4 Nov 2005 16:00:01 +0000 (16:00 +0000)]
Avoid bcc warnings

18 years agoCOMP: Fix warning
malaterre [Fri, 4 Nov 2005 15:46:52 +0000 (15:46 +0000)]
COMP: Fix warning

18 years agoENH: Rework the 1000 limit problem, the code is better but not perfect, at least...
malaterre [Fri, 4 Nov 2005 15:46:03 +0000 (15:46 +0000)]
ENH: Rework the 1000 limit problem, the code is better but not perfect, at least we will get an error

18 years agoComments
jpr [Fri, 4 Nov 2005 15:33:35 +0000 (15:33 +0000)]
Comments

18 years agoRemove useless commented out code
jpr [Fri, 4 Nov 2005 15:31:34 +0000 (15:31 +0000)]
Remove useless commented out code

18 years agoDealing first with the most frequently used cases should speed up the process.
jpr [Fri, 4 Nov 2005 15:29:59 +0000 (15:29 +0000)]
Dealing first with the most frequently used cases should speed up the process.

18 years agoCOMP: Attempt to please icc
malaterre [Fri, 4 Nov 2005 15:26:53 +0000 (15:26 +0000)]
COMP: Attempt to please icc

18 years agoDo not prefix filenames with /, that hangs a lot od clinical softwares
jpr [Fri, 4 Nov 2005 15:26:22 +0000 (15:26 +0000)]
Do not prefix filenames with /, that hangs a lot od clinical softwares

18 years agoCOMP: Fix warning about unused var... cant remember what I was trying to do, maybe...
malaterre [Fri, 4 Nov 2005 15:20:13 +0000 (15:20 +0000)]
COMP: Fix warning about unused var... cant remember what I was trying to do, maybe a faster memcpy?

18 years agoCOMP: Fix warning
malaterre [Fri, 4 Nov 2005 15:13:19 +0000 (15:13 +0000)]
COMP: Fix warning

18 years agoCOMP: Fix warning about unused var
malaterre [Fri, 4 Nov 2005 15:12:35 +0000 (15:12 +0000)]
COMP: Fix warning about unused var

18 years agoENH: Apply patch from Antonin
malaterre [Fri, 4 Nov 2005 15:05:10 +0000 (15:05 +0000)]
ENH: Apply patch from Antonin

18 years agoTo avoid C / C++ style warnings
jpr [Fri, 4 Nov 2005 14:49:24 +0000 (14:49 +0000)]
To avoid C / C++ style warnings

18 years agoAvoid bool / int warning
jpr [Fri, 4 Nov 2005 08:59:08 +0000 (08:59 +0000)]
Avoid bool / int warning

18 years agoUse CopyBinArea() better than SetEntryBinArea(), that doesn't make the job (?!?)
jpr [Thu, 3 Nov 2005 17:40:22 +0000 (17:40 +0000)]
Use CopyBinArea() better than SetEntryBinArea(), that doesn't make the job (?!?)

18 years agoMove fmiv update to WriteContent() method
jpr [Thu, 3 Nov 2005 17:22:41 +0000 (17:22 +0000)]
Move fmiv update to WriteContent() method
(Same place than other updaters)

18 years agoFix Media Storage SOP Instance UID' Tag
jpr [Thu, 3 Nov 2005 16:49:45 +0000 (16:49 +0000)]
Fix Media Storage SOP Instance UID' Tag

18 years agoNew() vs new()
jpr [Thu, 3 Nov 2005 16:19:56 +0000 (16:19 +0000)]
New() vs new()

18 years agoModify TestValidate to compile with New() vs new
jpr [Thu, 3 Nov 2005 16:11:54 +0000 (16:11 +0000)]
Modify TestValidate to compile with New() vs new

18 years agoAvoid warnings
jpr [Thu, 3 Nov 2005 14:55:24 +0000 (14:55 +0000)]
Avoid warnings

18 years agoComments
jpr [Thu, 3 Nov 2005 14:40:40 +0000 (14:40 +0000)]
Comments

18 years agoDon't warn user with useless messages.
jpr [Thu, 3 Nov 2005 14:39:47 +0000 (14:39 +0000)]
Don't warn user with useless messages.

18 years ago- Set a decent value to 'Media Storage SOP Instance UID' and
jpr [Thu, 3 Nov 2005 14:29:23 +0000 (14:29 +0000)]
- Set a decent value to 'Media Storage SOP Instance UID' and
  'Implementation Class UID' for DICOMDIR

- Add DicomDirMeta::ComputeGroup0002Length() to fix (now variable)
  group 0002 length

18 years agoComments
jpr [Thu, 3 Nov 2005 14:21:50 +0000 (14:21 +0000)]
Comments

18 years agoAdd TestValidate
jpr [Thu, 3 Nov 2005 14:17:54 +0000 (14:17 +0000)]
Add TestValidate

18 years agoAdd TestValidate, to be used as stand alone exec.
jpr [Thu, 3 Nov 2005 14:17:24 +0000 (14:17 +0000)]
Add TestValidate, to be used as stand alone exec.

18 years agoAvoid warning
jpr [Thu, 3 Nov 2005 14:13:07 +0000 (14:13 +0000)]
Avoid warning

18 years agoAvoid some warnings
jpr [Thu, 3 Nov 2005 14:07:12 +0000 (14:07 +0000)]
Avoid some warnings

18 years agoOops.
jpr [Thu, 3 Nov 2005 14:04:43 +0000 (14:04 +0000)]
Oops.
Fornutalely we never had to use FD values !

18 years ago(try to) affect a legal to 'File Meta Information Version'
jpr [Thu, 3 Nov 2005 11:08:18 +0000 (11:08 +0000)]
(try to) affect a legal to 'File Meta Information Version'

18 years ago'File Meta Information Version' has a mandatory length of 2.
jpr [Thu, 3 Nov 2005 10:32:27 +0000 (10:32 +0000)]
'File Meta Information Version' has a mandatory length of 2.

18 years agoPrivate GE Syntax is not only DLX
jpr [Thu, 3 Nov 2005 10:31:20 +0000 (10:31 +0000)]
Private GE Syntax is not only DLX

18 years agoComments
jpr [Thu, 3 Nov 2005 08:47:51 +0000 (08:47 +0000)]
Comments

18 years agoin CheckMandatoryElements :
jpr [Thu, 3 Nov 2005 08:46:03 +0000 (08:46 +0000)]
in CheckMandatoryElements :
- Patient Orientation, if missing, is computed from Image Orientation (Patient).
- 0x0008,0x0050 is kept as is (defaulted as "").

18 years agoAvoid propagating uneven lengthes.
jpr [Thu, 3 Nov 2005 08:41:59 +0000 (08:41 +0000)]
Avoid propagating uneven lengthes.

18 years agoOops.
jpr [Thu, 3 Nov 2005 08:37:57 +0000 (08:37 +0000)]
Oops.
I forgot to re-introduce 16 bits image writting on Big Endian processors.

18 years agoDon't write 'Zero length' Sequences.
jpr [Thu, 3 Nov 2005 08:36:19 +0000 (08:36 +0000)]
Don't write 'Zero length' Sequences.

18 years agoEnforce Validator:
jpr [Thu, 3 Nov 2005 08:28:40 +0000 (08:28 +0000)]
Enforce Validator:
 - to check uneven lengthes
 - to stop yelling on Implicit VR Private Tags

18 years agoComments
jpr [Wed, 2 Nov 2005 10:15:04 +0000 (10:15 +0000)]
Comments

18 years agoAdd some verbosity when something wrong occurs.
jpr [Wed, 2 Nov 2005 10:14:33 +0000 (10:14 +0000)]
Add some verbosity when something wrong occurs.

18 years agoIdentation.
jpr [Wed, 2 Nov 2005 10:11:29 +0000 (10:11 +0000)]
Identation.

18 years agoUse arguments manager.
jpr [Wed, 2 Nov 2005 10:10:28 +0000 (10:10 +0000)]
Use arguments manager.

18 years agoexXCoherentFileSet can be used to check splitting on a given Tag value.
jpr [Wed, 2 Nov 2005 10:08:18 +0000 (10:08 +0000)]
exXCoherentFileSet can be used to check splitting on a given Tag value.

18 years agoLooping 10000000 times should be enought
jpr [Wed, 2 Nov 2005 09:40:11 +0000 (09:40 +0000)]
Looping 10000000 times should be enought

18 years agoChecking the endianness at Pixels Reading time should help the test to work on
jpr [Wed, 2 Nov 2005 09:39:04 +0000 (09:39 +0000)]
Checking the endianness at Pixels Reading time should help the test to work on
Big Endian Processors.

18 years agoCOMP: Fix comp problem on Win32 (encoder does not compile yet...)
malaterre [Mon, 31 Oct 2005 13:02:20 +0000 (13:02 +0000)]
COMP: Fix comp problem on Win32 (encoder does not compile yet...)

18 years agoFix Debug vs Warning
jpr [Fri, 28 Oct 2005 16:12:51 +0000 (16:12 +0000)]
Fix Debug vs Warning

18 years agoComments
jpr [Fri, 28 Oct 2005 15:52:46 +0000 (15:52 +0000)]
Comments

18 years ago> // Don't waste time checking tags where VM is OB and OW, since we know
jpr [Fri, 28 Oct 2005 15:52:15 +0000 (15:52 +0000)]
>   // Don't waste time checking tags where VM is OB and OW, since we know
>   // it's allways 1, whatever the actual length (found on disc)

18 years agoDon't check VM for OB and OW tags : we know it's allways 1, whatever the actual
jpr [Fri, 28 Oct 2005 15:44:54 +0000 (15:44 +0000)]
Don't check VM for OB and OW tags : we know it's allways 1, whatever the actual
length (on disc) is.

18 years agoDiving by 2 image sizes should make tests 4 times quicker ;-)
jpr [Fri, 28 Oct 2005 13:16:48 +0000 (13:16 +0000)]
Diving by 2 image sizes should make tests 4 times quicker ;-)

18 years agoFix comments
jpr [Fri, 28 Oct 2005 13:02:32 +0000 (13:02 +0000)]
Fix comments

18 years agoCommenting out useless code should avoid pb on Big Endian processors.
jpr [Fri, 28 Oct 2005 12:44:26 +0000 (12:44 +0000)]
Commenting out useless code should avoid pb on Big Endian processors.

18 years agoENH: Commit an old patch
malaterre [Thu, 27 Oct 2005 20:43:53 +0000 (20:43 +0000)]
ENH: Commit an old patch

18 years agoENH: Ok I believe MPEG is working.
malaterre [Thu, 27 Oct 2005 20:08:29 +0000 (20:08 +0000)]
ENH: Ok I believe MPEG is working.

18 years agoENH: Cleanup got the thing mostly working
malaterre [Thu, 27 Oct 2005 19:57:21 +0000 (19:57 +0000)]
ENH: Cleanup got the thing mostly working

18 years agoENH: Add a T_MEM mode so that lib can also write out to a mem buffer OUTMEM
malaterre [Thu, 27 Oct 2005 19:56:40 +0000 (19:56 +0000)]
ENH: Add a T_MEM mode so that lib can also write out to a mem buffer OUTMEM

18 years agoENH: gdcm can now read and extract MPEG file
malaterre [Thu, 27 Oct 2005 19:05:36 +0000 (19:05 +0000)]
ENH: gdcm can now read and extract MPEG file

18 years agoENH: Trying to write the worse hack ever...
malaterre [Thu, 27 Oct 2005 19:04:48 +0000 (19:04 +0000)]
ENH: Trying to write the worse hack ever...

18 years agoSTYLE: Remove cout
malaterre [Thu, 27 Oct 2005 18:14:01 +0000 (18:14 +0000)]
STYLE: Remove cout

18 years agoSTYLE: remove cout
malaterre [Thu, 27 Oct 2005 18:12:40 +0000 (18:12 +0000)]
STYLE: remove cout

18 years agoCOMP: second time I am fixing the very same bug, please respect other people work
malaterre [Thu, 27 Oct 2005 17:46:24 +0000 (17:46 +0000)]
COMP: second time I am fixing the very same bug, please respect other people work

18 years agoNow gdcm writes images with *also* Imager Pixel Spacing (0x0018,0x1164),
jpr [Thu, 27 Oct 2005 17:25:04 +0000 (17:25 +0000)]
Now gdcm writes images with *also* Imager Pixel Spacing (0x0018,0x1164),
that is the *legal* Dicom V3 place to store Pixel Spacing !

18 years agoRewrite the whole stuff for writting on BigEndian processors
jpr [Thu, 27 Oct 2005 17:07:24 +0000 (17:07 +0000)]
Rewrite the whole stuff for writting on BigEndian processors

18 years agoAdd binary_write(std::ostream &os, const double &val)
jpr [Thu, 27 Oct 2005 17:04:36 +0000 (17:04 +0000)]
Add binary_write(std::ostream &os, const double &val)
to deal with 64 bits (FD) entries

18 years agoAdd verbosity when trouble occur.
jpr [Thu, 27 Oct 2005 16:52:44 +0000 (16:52 +0000)]
Add verbosity when trouble occur.

18 years agoSTYLE: Remove debug
malaterre [Thu, 27 Oct 2005 15:57:14 +0000 (15:57 +0000)]
STYLE: Remove debug

18 years agoCOMP: Fix compilation with -pedantic and -Wwrite-strings
malaterre [Thu, 27 Oct 2005 15:54:39 +0000 (15:54 +0000)]
COMP: Fix compilation with -pedantic and -Wwrite-strings

18 years agoENH: IO abstract layer is finally working
malaterre [Thu, 27 Oct 2005 15:42:42 +0000 (15:42 +0000)]
ENH: IO abstract layer is finally working

18 years agoRemove useless local variable, to avoid warnings
jpr [Thu, 27 Oct 2005 14:12:24 +0000 (14:12 +0000)]
Remove useless local variable, to avoid warnings

18 years agoStill doesn't work on Big Endian processor, but we display error correctly
jpr [Thu, 27 Oct 2005 11:55:45 +0000 (11:55 +0000)]
Still doesn't work on Big Endian processor, but we display error correctly

18 years agoHow didn't I get one before?
jpr [Thu, 27 Oct 2005 11:39:34 +0000 (11:39 +0000)]
How didn't I get one before?

18 years agoMessage
jpr [Thu, 27 Oct 2005 10:18:22 +0000 (10:18 +0000)]
Message

18 years agoFix comments (due to removal of difference between ValEntry and BinEntry)
jpr [Thu, 27 Oct 2005 09:55:00 +0000 (09:55 +0000)]
Fix comments (due to removal of difference between ValEntry and BinEntry)

18 years agoMessages
jpr [Thu, 27 Oct 2005 09:52:33 +0000 (09:52 +0000)]
Messages

18 years agoAvoid useless work at reading time
jpr [Thu, 27 Oct 2005 09:51:28 +0000 (09:51 +0000)]
Avoid useless work at reading time

18 years agoImprove IsCoherent method
jpr [Thu, 27 Oct 2005 09:14:15 +0000 (09:14 +0000)]
Improve IsCoherent method

18 years agoRemove useless warning message
jpr [Thu, 27 Oct 2005 09:13:18 +0000 (09:13 +0000)]
Remove useless warning message

18 years agoDetail use of gdcmDebug, gdcmWarning, gdcmError, assert
jpr [Thu, 27 Oct 2005 09:12:20 +0000 (09:12 +0000)]
Detail use of gdcmDebug, gdcmWarning, gdcmError, assert

18 years agoTo avoid useless warnings
jpr [Thu, 27 Oct 2005 09:07:45 +0000 (09:07 +0000)]
To avoid useless warnings

18 years agoCreate Explicit VR images first.
jpr [Thu, 27 Oct 2005 09:05:44 +0000 (09:05 +0000)]
Create Explicit VR images first.

18 years agoENH: Compile now on C90 compilers
malaterre [Wed, 26 Oct 2005 20:51:54 +0000 (20:51 +0000)]
ENH: Compile now on C90 compilers

18 years agoENH: This lib was leaking like crazy...
malaterre [Wed, 26 Oct 2005 20:44:41 +0000 (20:44 +0000)]
ENH: This lib was leaking like crazy...

18 years agoENH: Continue cleaning of open/write/seek ...
malaterre [Wed, 26 Oct 2005 20:06:51 +0000 (20:06 +0000)]
ENH: Continue cleaning of open/write/seek ...

18 years agoENH: Start working again on the MPEG2 stuff. Gather the stdio mess in a single place
malaterre [Wed, 26 Oct 2005 19:17:30 +0000 (19:17 +0000)]
ENH: Start working again on the MPEG2 stuff. Gather the stdio mess in a single place

18 years agoBUG: Fix seg fault
malaterre [Wed, 26 Oct 2005 17:55:04 +0000 (17:55 +0000)]
BUG: Fix seg fault

18 years agoBUG: Fix declaration of vars within a switch/case
malaterre [Wed, 26 Oct 2005 17:06:33 +0000 (17:06 +0000)]
BUG: Fix declaration of vars within a switch/case

18 years agoForce commit, adding a space character
jpr [Wed, 26 Oct 2005 16:15:38 +0000 (16:15 +0000)]
Force commit, adding a space character

18 years agoENH: Change the unsafe type char to the full enum type. Much safer, and special flags...
malaterre [Wed, 26 Oct 2005 15:56:51 +0000 (15:56 +0000)]
ENH: Change the unsafe type char to the full enum type. Much safer, and special flags can be given to compiler to choose between using enum to be either int or char

18 years agoOops.
jpr [Wed, 26 Oct 2005 15:53:40 +0000 (15:53 +0000)]
Oops.
I forgot this one

18 years agoSwap64 deals with double (VR=FD)
jpr [Wed, 26 Oct 2005 15:49:56 +0000 (15:49 +0000)]
Swap64 deals with double (VR=FD)
Will avoid some warning (debug?) messages at run time

18 years agoTo avoid warnings
jpr [Wed, 26 Oct 2005 15:48:33 +0000 (15:48 +0000)]
To avoid warnings

18 years agoENH: If Ref count is -1, also delete the object (in case someone call twice a ->Delete()
malaterre [Wed, 26 Oct 2005 15:41:29 +0000 (15:41 +0000)]
ENH: If Ref count is -1, also delete the object (in case someone call twice a ->Delete()

18 years agoBUG: identifier are meaningful in this case...
malaterre [Wed, 26 Oct 2005 15:36:19 +0000 (15:36 +0000)]
BUG: identifier are meaningful in this case...

18 years agoENH: Add copy constructor. STYLE: inline keyword shall not be used within the class...
malaterre [Wed, 26 Oct 2005 15:34:33 +0000 (15:34 +0000)]
ENH: Add copy constructor. STYLE: inline keyword shall not be used within the class definition, it is garantee in the c++ spec that they will be eventually inlined

18 years agoENH: Remove check on value we know is true, also remove my stupid comment
malaterre [Wed, 26 Oct 2005 14:54:51 +0000 (14:54 +0000)]
ENH: Remove check on value we know is true, also remove my stupid comment