]> Creatis software - gdcm.git/log
gdcm.git
19 years agoSome improvements for Write problems Version0.5.bp
jpr [Wed, 1 Sep 2004 16:23:59 +0000 (16:23 +0000)]
Some improvements for Write problems

19 years agoremove commented out line after fix of gdcmFile::SetImageData()
jpr [Wed, 1 Sep 2004 16:20:12 +0000 (16:20 +0000)]
remove commented out line after fix of  gdcmFile::SetImageData()
ctest doesn't break.
Is it enought to say my fix is OK ?

19 years agoDoxygenation
jpr [Tue, 31 Aug 2004 15:39:48 +0000 (15:39 +0000)]
Doxygenation

19 years agoDoxygenation
jpr [Tue, 31 Aug 2004 14:24:46 +0000 (14:24 +0000)]
Doxygenation

19 years agosome more DICOMDIR fixes
jpr [Mon, 30 Aug 2004 16:15:40 +0000 (16:15 +0000)]
some more DICOMDIR fixes

19 years agoENH: Refactor some code
malaterre [Sat, 28 Aug 2004 02:35:15 +0000 (02:35 +0000)]
ENH: Refactor some code

19 years agoFIX: Unused vars
malaterre [Sat, 28 Aug 2004 02:28:06 +0000 (02:28 +0000)]
FIX: Unused vars

19 years agolight modif around DICOMDIR stuff
jpr [Fri, 27 Aug 2004 15:48:43 +0000 (15:48 +0000)]
light modif around DICOMDIR stuff

19 years agoEric Boix
jpr [Thu, 26 Aug 2004 15:34:01 +0000 (15:34 +0000)]
Eric Boix

return 0 replaces continue in step 3a

19 years agominor updates
jpr [Thu, 26 Aug 2004 15:30:38 +0000 (15:30 +0000)]
minor updates

19 years ago- now, DicomDir stuff stakes into account the 'new' structure
jpr [Thu, 26 Aug 2004 15:29:52 +0000 (15:29 +0000)]
- now, DicomDir stuff stakes into account the 'new' structure
- gdcmObject is no longer composed of 2 pointers in a chained list, but is an SQItem
- useless gdcmDicomDir::WriteEntries method is removed
- useless gdcmDicomDir::AddObjectToEnd method is removed
- WARNING : BuidUpDicomDir not yet debugged, but I prefer to commit right now.
-> See you tomorow

19 years ago Memo for gcc flags added.
frog [Mon, 23 Aug 2004 08:37:28 +0000 (08:37 +0000)]
Memo for gcc flags added.

19 years agoFIX: Compilation on Mac OSX is fine now + remove tabs
malaterre [Wed, 18 Aug 2004 02:26:08 +0000 (02:26 +0000)]
FIX: Compilation on Mac OSX is fine now + remove tabs

19 years agoENH: Fix a shadow variable
malaterre [Mon, 16 Aug 2004 16:30:32 +0000 (16:30 +0000)]
ENH: Fix a shadow variable

19 years agoENH: forgot this easy one
malaterre [Mon, 16 Aug 2004 04:34:56 +0000 (04:34 +0000)]
ENH: forgot this easy one

19 years agoFIX: There were lot of shadowed variables, could have been a hell to debug + remove...
malaterre [Mon, 16 Aug 2004 04:25:18 +0000 (04:25 +0000)]
FIX: There were lot of shadowed variables, could have been a hell to debug + remove tabs

19 years ago * Test/TestAllEntryVerify.cxx minor fix and added comments.
frog [Wed, 4 Aug 2004 15:39:13 +0000 (15:39 +0000)]
  * Test/TestAllEntryVerify.cxx minor fix and added comments.

19 years ago * gdcmPython/testSuite.py: all the test suite in python is now moved
frog [Tue, 3 Aug 2004 17:28:57 +0000 (17:28 +0000)]
  * gdcmPython/testSuite.py: all the test suite in python is now moved
    to it's C++ version (see gdcmData/TestAllEntryVerifyReference.txt)
  * Test/CMakeLists.txt adapted to renaming of files in gdcmData
  * gdcm/TODO and src/gdcmDictSet.h cleaned up frow the "TODO Swig" oldies

19 years ago * gdcmPython/testSuite.py checks on CR-MONO1-10-chest.dcm moved to
frog [Mon, 2 Aug 2004 16:42:12 +0000 (16:42 +0000)]
  * gdcmPython/testSuite.py checks on CR-MONO1-10-chest.dcm moved to
    gdcmData/TestAllEntryVerifyReference.txt
  * Test/TestAllEntryVerify.cxx is now effective (used allways return true)
  * src/gdcmDocument.[cxx|h]: constructors no longer use the bool
    exception_on_error parameter.
    - src/gdcmFile.[cxx|h], src/gdcmHeader.[cxx|h] changed accordingly,
    - vtk/vtkGdcmReader.cxx changed accordingly,
    - Example/*.cxx and Test/*.cxx changed accordingly.

19 years ago * gdcmPython/CMakeLists.txt: SWIG_FLAGS doesn't declare includeall
frog [Mon, 2 Aug 2004 14:06:57 +0000 (14:06 +0000)]
  * gdcmPython/CMakeLists.txt: SWIG_FLAGS doesn't declare includeall
    to avoid inclusion recursion until STL is reached.
  * src/gdcmDocument.[h|cxx]: exceptions substituted to errno C-style
    mecanism. errno.h is not included in gdcm anymore.
  * src/gdcmException.h: introduced new gdcmFormatUnexpected class
    (gdcmFormatError now inherits from gdcmFormatUnexpected).
  * TODO updated

19 years agoENH: Who would have bet ! Some cosmetic cleanups
malaterre [Sun, 1 Aug 2004 03:20:23 +0000 (03:20 +0000)]
ENH: Who would have bet ! Some cosmetic cleanups

19 years agoENH: Guess what ! Still some cosmetic cleanup
malaterre [Sun, 1 Aug 2004 02:39:09 +0000 (02:39 +0000)]
ENH: Guess what ! Still some cosmetic cleanup

19 years agoENH: Minor patch, cosmetic -again-. Remove all this->. I might have discover the...
malaterre [Sun, 1 Aug 2004 00:59:21 +0000 (00:59 +0000)]
ENH: Minor patch, cosmetic -again-. Remove all this->. I might have discover the reason of misterious leaks

19 years agoENH: Minor patch, mostly cosmetic clean up
malaterre [Sat, 31 Jul 2004 23:30:04 +0000 (23:30 +0000)]
ENH: Minor patch, mostly cosmetic clean up

19 years agoENH: Test now support passing argument, thus instead of iterating over all images...
malaterre [Sat, 31 Jul 2004 23:17:51 +0000 (23:17 +0000)]
ENH: Test now support passing argument, thus instead of iterating over all images, you can pass the input dicom images and the reference image. This is pretty usefull in debug time

19 years agoENH: Support icc8 compilation: warning #470: qualified name is not allowed in member...
malaterre [Sat, 31 Jul 2004 18:43:43 +0000 (18:43 +0000)]
ENH: Support icc8 compilation: warning #470: qualified name is not allowed in member declaration
     void gdcmDocument::Parse7FE0 ();

19 years ago * src/gdcmDocument.[h|cxx], gdcmFile.[h|cxx], gdcmHeader.[h|cxx]:
frog [Fri, 30 Jul 2004 16:09:25 +0000 (16:09 +0000)]
  * src/gdcmDocument.[h|cxx], gdcmFile.[h|cxx], gdcmHeader.[h|cxx]:
    skip_shadow removed from gdcmHeader constructor and dependencies.
  * Example/*.cxx and Test/*.cxx changed accordingly.

19 years ago * src/gdcmDicomDir.cxx, gdcmDocEntrySet.cxx: removed inclusion of errno.h
frog [Fri, 30 Jul 2004 11:40:12 +0000 (11:40 +0000)]
  * src/gdcmDicomDir.cxx, gdcmDocEntrySet.cxx: removed inclusion of errno.h
  * src/gdcmDocument.[h|cxx], gdcmFile.[h|cxx], gdcmHeader.[h|cxx]:
    enable_sequences removed from gdcmHeader constructor and dependencies.
  * Example/PrintHeader.cxx: fixed accordingly (enable_sequences removal).
  * gdcmPython/demo/PrintHeader.py: dummy fix.

19 years agoFIX: Dart is dumb
malaterre [Thu, 29 Jul 2004 14:27:05 +0000 (14:27 +0000)]
FIX: Dart is dumb

19 years ago * Test/CMakeLists.txt: newly re-introduced SIEMENS_Sonata-12-MONO2-SQ.dcm
frog [Thu, 29 Jul 2004 11:50:40 +0000 (11:50 +0000)]
  * Test/CMakeLists.txt: newly re-introduced SIEMENS_Sonata-12-MONO2-SQ.dcm
    in gdcmData (previously known as E00001S03I0015.dcm) is blacklisted.

19 years agoSTYLE: minor
malaterre [Wed, 28 Jul 2004 21:23:20 +0000 (21:23 +0000)]
STYLE: minor

19 years agoFIX: mem leak
malaterre [Wed, 28 Jul 2004 21:13:03 +0000 (21:13 +0000)]
FIX: mem leak

19 years agoFIX: valgrind reported this one:
malaterre [Wed, 28 Jul 2004 21:10:07 +0000 (21:10 +0000)]
FIX: valgrind reported this one:
UMR ==23598== Use of uninitialised value of size 4
==23598==    at 0x77C5B7: isalpha (in /lib/tls/libc-2.3.2.so)
==23598==    by 0x3C2CAB2E: gdcmDocument::FindDocEntryVR(gdcmDocEntry*) (gdcmDocument.cxx:1783)
==23598==    by 0x3C2CCE83: gdcmDocument::ReadNextDocEntry() (gdcmDocument.cxx:2556)
==23598==    by 0x3C2C985C: gdcmDocument::ParseSQ(gdcmSeqEntry*, long, long, bool) (gdcmDocument.cxx:1422)
==23598==    by 0x3C2C9792: gdcmDocument::ParseDES(gdcmDocEntrySet*, long, long, bool) (gdcmDocument.cxx:1391)
==23598==    by 0x3C2C5858: gdcmDocument::gdcmDocument(std::string const&, bool, bool, bool) (gdcmDocument.cxx:130)
==23598==    by 0x3C2B19FA: gdcmHeader::gdcmHeader(std::string const&, bool, bool, bool) (gdcmHeader.cxx:47)
==23598==    by 0x8053824: PrintAllDocument(int, char**) (PrintAllDocument.cxx:34)
==23598==    by 0x8050D3E: main (gdcmTests.cxx:173)
==23598==

19 years agoFIX could not compile with warnings flags
malaterre [Tue, 27 Jul 2004 15:04:10 +0000 (15:04 +0000)]
FIX could not compile with warnings flags

19 years agoFIX: Finally *.nema are taken into account
malaterre [Tue, 27 Jul 2004 14:54:42 +0000 (14:54 +0000)]
FIX: Finally *.nema are taken into account

19 years agoBUG: On recent debian system, the dirent structure is not fed properly. Furthermore...
malaterre [Mon, 26 Jul 2004 19:36:56 +0000 (19:36 +0000)]
BUG: On recent debian system, the dirent structure is not fed properly. Furthermore the scandir is only a BSD extension and not POSIX. So rewrote Explore function to be POSIX and works on recent debian system. The Explore function will also now return the number of files read

19 years agoUpdate ChangeLog
jpr [Wed, 21 Jul 2004 14:04:00 +0000 (14:04 +0000)]
Update ChangeLog

19 years agoJPR
jpr [Wed, 21 Jul 2004 14:02:10 +0000 (14:02 +0000)]
JPR
Now, Parsing and Printing a DICOMDIR do work!
( troubles remain in makeDicomDir and BuildUpDicomDir :-(

19 years agoDICOMDIR skeleton modifs, for future version
jpr [Tue, 20 Jul 2004 13:29:57 +0000 (13:29 +0000)]
DICOMDIR skeleton modifs, for future version

19 years agoJPR:
jpr [Tue, 20 Jul 2004 13:27:01 +0000 (13:27 +0000)]
JPR:
commented out :
   # BuildUpDicomDir.cxx
   # makeDicomDir.cxx
(it's useless to test unckecked code -whatever the result is-)

19 years agoAdd a copy of :
jpr [Tue, 20 Jul 2004 12:55:36 +0000 (12:55 +0000)]
Add a copy of :
   BuildUpDicomDir.cxx
   PrintDicomDir.cxx
makeDicomDir.cxx
in order to be able to check DicomDir problems without breaking the testsuite

19 years agoupdate ChangeLog
jpr [Tue, 20 Jul 2004 08:35:16 +0000 (08:35 +0000)]
update ChangeLog

19 years agoJean-Pierre Roux
jpr [Tue, 20 Jul 2004 08:29:13 +0000 (08:29 +0000)]
Jean-Pierre Roux
Some brain damaged headers have Zero-Lenght fields for 'Transfert Syntax UID', or
'Media Stored SOP Class UID', etc. :-(
Fixed

19 years agoNow Examples/PrintFile displays properly Transfert Syntax Name, whatever the
jpr [Mon, 19 Jul 2004 15:16:18 +0000 (15:16 +0000)]
Now Examples/PrintFile displays properly Transfert Syntax Name, whatever the
padding is made of...

19 years ago * src/gdcmCommon.h, gdcmDict.cxx, gdcmTS.cxx : bug fix for msvc6 compilation
regrain [Mon, 19 Jul 2004 11:51:25 +0000 (11:51 +0000)]
   * src/gdcmCommon.h, gdcmDict.cxx, gdcmTS.cxx : bug fix for msvc6 compilation
   * src/gdcmDebug.[h|cxx] : bug fix for msvc6 compilation. Replace the dbg
     variable (instance of gdcmDebug) by a definition macro, and the instance
     is now in static in the gdcmDebug class
   * src/gdcmSQItem.h : (FIXME) remove an undefined method
   * Test/PrintAllDocument.cxx : bug fix in the result of the test
   -- BeNours

19 years agoENH: Fix warnings
malaterre [Mon, 19 Jul 2004 05:59:12 +0000 (05:59 +0000)]
ENH: Fix warnings

19 years agoBUG: There was two bombs at the same time. Guess what what I found them all
malaterre [Mon, 19 Jul 2004 05:57:20 +0000 (05:57 +0000)]
BUG: There was two bombs at the same time. Guess what what I found them all

19 years agoENH: Ok let's be safe
malaterre [Mon, 19 Jul 2004 04:15:41 +0000 (04:15 +0000)]
ENH: Ok let's be safe

19 years agoBUG: Need to lean c++ (bug in g++ ?)
malaterre [Mon, 19 Jul 2004 04:10:59 +0000 (04:10 +0000)]
BUG: Need to lean c++ (bug in g++ ?)

19 years agoENH: Apply cleanup patch
malaterre [Mon, 19 Jul 2004 03:34:11 +0000 (03:34 +0000)]
ENH: Apply cleanup patch

19 years agoBUG: doh, forgot this one (char* vs string) + untabify
malaterre [Sun, 18 Jul 2004 00:04:46 +0000 (00:04 +0000)]
BUG: doh, forgot this one (char* vs string) + untabify

19 years agoBUG: very same bug when using char* instead of string
malaterre [Sat, 17 Jul 2004 23:41:14 +0000 (23:41 +0000)]
BUG: very same bug when using char* instead of string

19 years agoENH: Dummy cleanup patch
malaterre [Sat, 17 Jul 2004 22:47:01 +0000 (22:47 +0000)]
ENH: Dummy cleanup patch

19 years agoENH: Cautiously apply second cleanup patch
malaterre [Sat, 17 Jul 2004 22:45:40 +0000 (22:45 +0000)]
ENH: Cautiously apply second cleanup patch

19 years agoENH: Cautiously apply first cleanup patch
malaterre [Sat, 17 Jul 2004 22:36:55 +0000 (22:36 +0000)]
ENH: Cautiously apply first cleanup patch

19 years agoENH:GDCMify + minor tweak
malaterre [Sat, 17 Jul 2004 21:03:19 +0000 (21:03 +0000)]
ENH:GDCMify + minor tweak

19 years agoENH: Minor cleanups + ShowDicom now reread a written image
malaterre [Fri, 16 Jul 2004 15:18:05 +0000 (15:18 +0000)]
ENH: Minor cleanups + ShowDicom now reread a written image

19 years agoENH: Some fix, plus some cleanup
malaterre [Wed, 14 Jul 2004 15:10:42 +0000 (15:10 +0000)]
ENH: Some fix, plus some cleanup

19 years agoFIX: Could not compile with warnings flags on
malaterre [Wed, 14 Jul 2004 14:08:05 +0000 (14:08 +0000)]
FIX: Could not compile with warnings flags on

19 years ago Zilch. --- Frog
frog [Tue, 6 Jul 2004 12:51:13 +0000 (12:51 +0000)]
 Zilch. --- Frog

19 years ago * WARNING: ctest now depends more tightly on gdcmData. You should
frog [Tue, 6 Jul 2004 09:50:51 +0000 (09:50 +0000)]
   * WARNING: ctest now depends more tightly on gdcmData. You should
     check out gdcmData properly for things to run smoothly...
   * src/gdcmDocument.cxx MAX_SIZE_LOAD_ELEMENT_VALUE is set back to 0xfff
     (4096) for "ctest -R TestAllEntryVerify" to be able to run (i.e.
     we need the pixels not be loaded in order to use the ValEntry
     that displays position and size).
   * Test/TestAllEntryVerify.cxx a new low level test now seems fair.
     This is a C++ based equivalent of gdcmPython/testSuite.py that should
     be deprecated. If you have any doubts about the advantages of a
     modern scripting language (read Python) versus grass root C++ (i.e.
     without lex + yacc, because of gdcm commitement to MS-VC++, sighhh),
     I suggest you compare TestAllEntryVerify.cxx (639 lines, without the
     reference file gdcmData/TestAllEntryVerifyReference.txt) and testSuite.py.
        Anyhow, consider documenting the gdcmData images in
     gdcmData/TestAllEntryVerifyReference.txt (and please run ctest before
     commiting changes).
   * Test/CMakeLists.txt:
      - now uses TestAllEntryVerify.cxx
      - specific comments on oldACR00001.ima (now renamed in gdcmData
        to SIEMENS_GBS_III-16-ACR_NEMA_1.acr) moved away to
        gdcmData/TestAllEntryVerifyReference.txt
   * TODO updated.

19 years ago Parsing is hell... Frog
frog [Mon, 5 Jul 2004 14:02:28 +0000 (14:02 +0000)]
Parsing is hell... Frog

19 years ago - guint16 and guint32 removed. Use ISO C uint16_t, uint32_t instead.
frog [Fri, 2 Jul 2004 13:55:26 +0000 (13:55 +0000)]
 - guint16 and guint32 removed. Use ISO C uint16_t, uint32_t instead.
     - TagKey renamed to gdcmTagKey (for external usage)
     - VRKey renamed to gdcmVRKey (for external usage)
     - removal of typedef duplication.
     - Removed all unecessary inline keyword from class inline definitions.
     - Some method|function(void) declarations replaced with method|function().

19 years ago * src/jpeg/libijg12/jdhuff12.c:
frog [Fri, 2 Jul 2004 09:19:00 +0000 (09:19 +0000)]
   * src/jpeg/libijg12/jdhuff12.c:
      - printf polluting ctest removed.
      - TAB removal for comminting
   * Test:
     - TestAllReadCompareDicom.cxx: added a test that compares all the
       images in gdcmDataImages.h with corresponding images in
       gdcmData/BaselineDicom/. When baseline images are not present
       this test creates them.
       Note: we need to validate each reference image, but before that
             I'd like to rename them with a more explicit name...
     - CMakeLists.txt: changed accordingly.
   * Example/*.cxx: examples now only include gdcm.h (as opposed to
     including each header needed).

19 years ago * Test/*.cxx and Example/*.cxx: moved some examples away from the
frog [Thu, 1 Jul 2004 13:03:01 +0000 (13:03 +0000)]
   * Test/*.cxx and Example/*.cxx: moved some examples away from the
     test suite to the Example directory. Are concerned:
      - PrintHeader.cxx
     - TestDcm2Acr.cxx
     - TestFindTags.cxx
     - TestWrite.cxx was
     - TestWriteSimple.cxx
   * Test/CMakeLists.txt: added some comments on reasons for black listing
     image gdcmData/oldACR00001.ima

19 years ago * Test/CmakeList.txt: removed the following from black list (to be coherent
frog [Wed, 30 Jun 2004 00:10:58 +0000 (00:10 +0000)]
   * Test/CmakeList.txt: removed the following from black list (to be coherent
     with removal from gdcmData):
      - gdcm-MR-PHILIPS-16-Multi-Seq.fixed.dcm
      - gdcm-MR-PHILIPS-16.dcm
      - US.3405.1.dcm
     Added the following because after last cvs update, they cause
       ctest -R TestReadWriteReadCompare
     to segfault:
      - gdcm-MR-SIEMENS-16-1.acr
      - oldACR00001.ima

19 years ago * Test/TestReadWriteReadCompare.cxx was properly written (with a call
frog [Tue, 29 Jun 2004 23:43:19 +0000 (23:43 +0000)]
   * Test/TestReadWriteReadCompare.cxx was properly written (with a call
     to gdcmFile::SetImageData()) BUT since gdcmFile is brain damaged (see
     new comments in this file) we temporarily (sigh) move to a weaker
     form of test...
   * Test/CmakeList.txt: with the change to Test/TestReadWriteReadCompare.cxx
     we don't need to black list the following images anymore:
      - 8BitsUncompressedColor.dcm
      - OT-PAL-8-face.dcm
      - US-PAL-8-10x-echo.dcm
   * src/gdcmDocument.[h|cxx]: RE-Reverting to version 1.42 with the proper
     fixes and the beautified code ;-)
     This fixes the bug introduced in version 1.42 (when beautifying)
     that made the parsing of 8BitsRunLengthColor.dcm unproper.
     Note: ctest was blind to this bug (this means we need to still
           improve the test suite). The bug could be detected by using
           gdcmbin/bin/PrintDocument $GDCM_DATA/8BitsRunLengthColor.dcm
           or by using
           gdcmbin/bin/ReadWrite $GDCM_DATA/8BitsRunLengthColor.dcm
           and by displaying the (garbage) produced file temp.XDCM...

19 years agoupdate ChangeLog
jpr [Tue, 29 Jun 2004 14:43:09 +0000 (14:43 +0000)]
update ChangeLog

19 years agoFIX : remove Frog's beautified, but never checked 'Parse7FE0' code,
jpr [Tue, 29 Jun 2004 14:38:29 +0000 (14:38 +0000)]
FIX : remove Frog's beautified, but never checked 'Parse7FE0' code,
      replace by uggly but working old code :-(
A lot of stuff should be OK again.

19 years ago * Test/TestWriteRead.cxx and TestReadWrite.cxx merged (because of
frog [Tue, 29 Jun 2004 14:00:37 +0000 (14:00 +0000)]
   * Test/TestWriteRead.cxx and TestReadWrite.cxx merged (because of
     redundancy) to added Test/TestReadWriteReadCompare.cxx
   * Test/CmakeList.txt: because the compare test of
     Test/TestReadWriteReadCompare.cxx fails, the following images are
     black listed: - 8BitsUncompressedColor.dcm
                   - OT-PAL-8-face.dcm
                   - US-PAL-8-10x-echo.dcm

19 years ago * src/gdcmDocument.cxx: for broken (non DICOM V3 conformal) images
frog [Tue, 29 Jun 2004 11:27:13 +0000 (11:27 +0000)]
   * src/gdcmDocument.cxx: for broken (non DICOM V3 conformal) images
      (e.g. gdcm-JPEG-LossLess3a.dcm see comments in
      gdcm/gdcmPython/testSuite.py for details) ::FindDocLengthOB() had
      and ad-hoc kludge. This kludge is now removed, and on encountering
      such an image (OB field brain damaged) we set errno. Then in
      ::FindDocLength() we "fix" the length as being ALL what remains
      in the file (until EOF). We then proceed, hoping for the best...
      This fixes a SegFault in ShowDicom when trying to write such an
      image.
   * Test/CmakeList.txt: 8BitsRunLengthColor.dcm is now blacklisted
     (because TestWriteRead breaks on it, after a non conformal commit?).
     ctest now runs properly, except for MakeDicomDir (which was allways
     broken) and the Python related stuff (still not fixed).

19 years ago ADD : PrintFile.cxx
jpr [Tue, 29 Jun 2004 08:36:10 +0000 (08:36 +0000)]
 ADD : PrintFile.cxx
       Write.cxx
 + tabs hunting

19 years agoFix warnings, and fix TestWriteRead
malaterre [Mon, 28 Jun 2004 16:07:21 +0000 (16:07 +0000)]
Fix warnings, and fix TestWriteRead

19 years agoDoxygenation
jpr [Mon, 28 Jun 2004 16:00:18 +0000 (16:00 +0000)]
Doxygenation

19 years agoupdtae ChangeLog
jpr [Mon, 28 Jun 2004 15:29:00 +0000 (15:29 +0000)]
updtae ChangeLog

19 years agoAdd the 'WriteRead' example
jpr [Mon, 28 Jun 2004 15:06:33 +0000 (15:06 +0000)]
Add the 'WriteRead' example

19 years agoremove old mutimap related code
jpr [Mon, 28 Jun 2004 14:29:52 +0000 (14:29 +0000)]
remove old mutimap related code

19 years agoBUG: Fix default value
malaterre [Mon, 28 Jun 2004 14:12:03 +0000 (14:12 +0000)]
BUG: Fix default value

19 years ago now uses all the images of gdcmData. Frog
frog [Mon, 28 Jun 2004 14:01:05 +0000 (14:01 +0000)]
now uses all the images of gdcmData.   Frog

19 years agoupdate ChangeLog
jpr [Mon, 28 Jun 2004 11:26:12 +0000 (11:26 +0000)]
update ChangeLog

19 years agoJean-Pierre Roux
jpr [Mon, 28 Jun 2004 11:23:20 +0000 (11:23 +0000)]
Jean-Pierre Roux
"UN" value representation Elements are now written correctly
     (their legth is stored on 4 bytes -just like OB, OW, and SQ-)

19 years agoFIX : odd length of string corresponding to an integer pb
jpr [Mon, 28 Jun 2004 11:01:18 +0000 (11:01 +0000)]
FIX : odd length of string corresponding to an integer pb

19 years agoupdate ChangeLog
jpr [Mon, 28 Jun 2004 09:58:46 +0000 (09:58 +0000)]
update ChangeLog

19 years ago- now gdcmHeader has its own Write methods (in order to split
jpr [Mon, 28 Jun 2004 09:51:02 +0000 (09:51 +0000)]
- now gdcmHeader has its own Write methods (in order to split
      the job that has not to be done for gdcmDicomDir)

19 years ago- now Write drops LUT Descriptors and LUTs (if any) when SamplesPerPixel =3
jpr [Mon, 28 Jun 2004 09:30:58 +0000 (09:30 +0000)]
- now Write drops LUT Descriptors and LUTs (if any) when SamplesPerPixel =3
- now Write is no longer confused by 'BitsAllocated = 12" and 'BitsStored=12"

+ Tabs hunting

19 years agoENH: Some cosmetic cleanup of gdcmFile, main changes are: lgrTotal -> ImageDataSize...
malaterre [Sat, 26 Jun 2004 04:09:32 +0000 (04:09 +0000)]
ENH: Some cosmetic cleanup of gdcmFile, main changes are: lgrTotal -> ImageDataSize / lgrTotaleRaw -> ImageDataSizeRaw, it matches then there accessors (simple et de bon gout in french).
* I also marked some lines as dangerous (mem leaks), and a comment for 12 bits images
* Added conversion table in DEVELOPPERS
* Also untabify, checkTabs is working :P

19 years agoENH: * 3'tabify
malaterre [Fri, 25 Jun 2004 20:48:25 +0000 (20:48 +0000)]
ENH: * 3'tabify
* Fix bug where gdcmHeader was passed a const char*
* use const_iterator where possible
* made some method const correct
* moved a method in class (inline)
...hopefully should be more readable

19 years agoENH: flipping -W -Wall into -Wall -W does not produce the same warnings
malaterre [Fri, 25 Jun 2004 19:37:05 +0000 (19:37 +0000)]
ENH: flipping -W -Wall into -Wall -W does not produce the same warnings

19 years agoremoval of methode gdcmDocument::WriteF, replaced by gdcmDocument::Write
jpr [Fri, 25 Jun 2004 17:48:45 +0000 (17:48 +0000)]
removal of methode gdcmDocument::WriteF, replaced by gdcmDocument::Write
(beware of 'virtual' !)

19 years agoAdd a 'test' - reads an image
jpr [Fri, 25 Jun 2004 15:42:17 +0000 (15:42 +0000)]
Add a 'test' - reads an image
             - writes it as an uncompressed, (RGB if necessary), Explicit VR
             - reads it
             - compares the PixelData Length and the Pixels.
             - The, *we* cry            :

19 years agotabs
jpr [Fri, 25 Jun 2004 12:58:24 +0000 (12:58 +0000)]
tabs

19 years ago * Test/PrintAllDocument.cxx: looping on files is now effective. It used to
frog [Fri, 25 Jun 2004 12:56:38 +0000 (12:56 +0000)]
   * Test/PrintAllDocument.cxx: looping on files is now effective. It used to
     loop on the same image until memory went out.
     Note: this means we still have gobs of memory loss in PrintDocument
   * src/gdcmDocument.cxx: fixes problem on parsing on file
     gdcmData/16BitsJpegLosslessGrayScale.dcm.

19 years agotest
jpr [Fri, 25 Jun 2004 12:54:35 +0000 (12:54 +0000)]
test

19 years ago* reverted.
bellet [Fri, 25 Jun 2004 12:40:13 +0000 (12:40 +0000)]
* reverted.

19 years ago* test the chekcTabs script (take 2)
bellet [Fri, 25 Jun 2004 12:37:35 +0000 (12:37 +0000)]
* test the chekcTabs script (take 2)

19 years ago* test the checkTabs script.
bellet [Fri, 25 Jun 2004 12:27:06 +0000 (12:27 +0000)]
* test the checkTabs script.

19 years agoEMH: *Add PrintAllDocument, dog slow right now
malaterre [Fri, 25 Jun 2004 03:06:37 +0000 (03:06 +0000)]
EMH: *Add PrintAllDocument, dog slow right now
*Moved PrintDocument as example instead
* vtkGdcmReader was free'ing instead of delete[]'ing
* 3'tabulify ShowDicom / PrintAllDocument
* Minor comments for -W -Wall compilation

19 years agoENH: VTK 4.x update, plus apply andy's suggestion
malaterre [Fri, 25 Jun 2004 01:24:55 +0000 (01:24 +0000)]
ENH: VTK 4.x update, plus apply andy's suggestion

19 years agoupdate ChangeLog
jpr [Thu, 24 Jun 2004 18:05:44 +0000 (18:05 +0000)]
update ChangeLog

19 years agoJean-Pierre Roux
jpr [Thu, 24 Jun 2004 18:03:14 +0000 (18:03 +0000)]
Jean-Pierre Roux
FIX : Write - All the Sequences and Sequence Item are now written
            as 'no length' stuff, and a Sequence Delimitor aor an Item Delimitor
is added a the end, when necessary.
            - A lot of brain-damaged images, that were read correctly are
      now written correctly
- length compatible BinEntry are now loaded correctly
(even for odd groups)
            - Note : only Explicit Value Representation was checked.
(question : is implicit VR really necessary for gdcm ?)