]> Creatis software - gdcm.git/log
gdcm.git
19 years ago * FIX : now, the DocEntries are all deleted in the gdcmElementSet.
regrain [Tue, 16 Nov 2004 16:20:22 +0000 (16:20 +0000)]
   * FIX : now, the DocEntries are all deleted in the gdcmElementSet.
     Two problems appear when doing it :
      - with the gdcmFile : when the GetImageData method is called, the pixels
        are stored in the gdcmPixelConvert, but a gdcmBinEntry link to these
        datas (pixels). And each structure destruct the datas when it's
        destructed. So we have two destructions for the same datas. To solve it,
        a flag is added in the gdcmBinEntry to indicate if the BinEntry owns the
        datas or not. If it doesn't own datas, then they will not destroyed by
        the gdcmBinEntry.
      - with the gdcmDicomDir : the sequences (gdcmSQItem) contain DocEntry
        elements. The DicomDir* (DicomDirPatient, etc.) inherit from SQItem.
        Thus destruct the DicomDir* elements and the TagHT of the ElementSet
        create a double destruction of the same DocEntry's. So, to solve it,
        the TagHT is simply cleared and the DicomDir* elements are destroyed.
   * TODO : add an entry concerning memory leaks in the DicomDir
   -- BeNours

19 years ago * src/gdcmDocument.cxx: FIX ::ComputeRLEInfo() rleSegmentOffsetTable[]
frog [Tue, 16 Nov 2004 14:48:18 +0000 (14:48 +0000)]
   * src/gdcmDocument.cxx: FIX ::ComputeRLEInfo() rleSegmentOffsetTable[]
     was erroneously defined with a size of 15 instead of 16. [many thanks
     to Jean Michel Rouet for pointing out this bug].
   * FIX: src/* fix the doxygen warnings.
   * src/gdcmVR.cxx: removed some redundant tests (e.g. LO)

19 years ago * gdcmElementSet.cxx : Bad patch to pass the test suite. Patch because
regrain [Tue, 16 Nov 2004 13:20:34 +0000 (13:20 +0000)]
   * gdcmElementSet.cxx : Bad patch to pass the test suite. Patch because
     the pixel datas are deleted by the gdcmPixelData and the gdcmBonEntry
     (problem becomes when calling gdcmFile::GetImageData )

19 years ago * FIX : src/gdcmDocument.cxx Remove obvious code in the destructor
regrain [Tue, 16 Nov 2004 11:19:05 +0000 (11:19 +0000)]
   * FIX : src/gdcmDocument.cxx Remove obvious code in the destructor
   * FIX : src/gdcmPixelConvert : Set to NULL the deleted structures in the
     squeeze method
   -- BeNours

19 years ago * FIX: src/gdcmUtil.cxx : to compile with MSVC6
regrain [Tue, 16 Nov 2004 10:37:54 +0000 (10:37 +0000)]
   * FIX: src/gdcmUtil.cxx : to compile with MSVC6
   * src/gdcmDocument.cxx : fix memory leaks. Fix possible bugs : use an object
     after it have been deleted
   -- BeNours

19 years ago * FIX: src/* fix the doxygen warnings.
frog [Tue, 16 Nov 2004 10:25:52 +0000 (10:25 +0000)]
   * FIX: src/* fix the doxygen warnings.

19 years agoupdate
malaterre [Tue, 16 Nov 2004 05:05:05 +0000 (05:05 +0000)]
update

19 years agoENH:
malaterre [Tue, 16 Nov 2004 05:03:35 +0000 (05:03 +0000)]
ENH:
1. Finish merging JMR patch for writting DICOM from scratch
2. Fix -hopefully- bug with MONOCHROME and space vs null character
3. Use const ref when possible
4. Add a new function InitializeDefaultHeader, which create a template DICOM header (CT image for now)
5. A few more comments
6. CreateUniqueUID can now be called without parameter

19 years agoENH: Add license to tests since they belong to gdcm
malaterre [Tue, 16 Nov 2004 04:28:20 +0000 (04:28 +0000)]
ENH: Add license to tests since they belong to gdcm

19 years agoENH: Add license to examples since they belong to gdcm
malaterre [Tue, 16 Nov 2004 04:26:17 +0000 (04:26 +0000)]
ENH: Add license to examples since they belong to gdcm

19 years agoENH: Slightly bigger patch:
malaterre [Tue, 16 Nov 2004 02:54:34 +0000 (02:54 +0000)]
ENH: Slightly bigger patch:
1. Getting toward full integration of JMR patch for writting dicom from scratch
2. Update Test to test part of this patch: CreateUniqueUID
3. File was not close properly in gdcmDict
4. Use of typedef is to be prefered when possible (gdcmDict.cxx)
5. Use of const ref instead of copy (speed issue)
6. Remove temporary (duplicate) string in TranslateToKey
7. Mark extremely dangerous code as such (gdcmDocument.cxx and AddEntry fallback case)
8. Do not repeat virtual in subclasses
9. Implemented in gdcm::Util two new function: GetIPAddress, and CreateUniqueUID

19 years agoupdate
malaterre [Tue, 16 Nov 2004 02:35:17 +0000 (02:35 +0000)]
update

19 years agoENH: Apply first patch toward better string comparison when dealing with broken DICOM...
malaterre [Tue, 16 Nov 2004 02:04:00 +0000 (02:04 +0000)]
ENH: Apply first patch toward better string comparison when dealing with broken DICOM file. Essentially the string could be padded with a space instead of a null character as defined by standard

19 years ago * src/gdcmDocument.[cxx|h] : fix memory leaks. The return is suppressed
regrain [Mon, 15 Nov 2004 16:12:30 +0000 (16:12 +0000)]
  * src/gdcmDocument.[cxx|h] : fix memory leaks. The return is suppressed
    because never used... and in the same time, that's remove some memory leaks
  -- BeNours

19 years ago * src/gdcmFile.cxx : now delete the PixelConvert instance.
regrain [Mon, 15 Nov 2004 15:29:03 +0000 (15:29 +0000)]
  * src/gdcmFile.cxx : now delete the PixelConvert instance.
  * In examples and tests : change the type of image data variables from void*
    to uint8_t*. Remmove all delete on image data variables
  -- BeNours

19 years agoBUG: Fix mem leak
malaterre [Mon, 15 Nov 2004 04:58:00 +0000 (04:58 +0000)]
BUG: Fix mem leak

19 years agoSTYLE: Remove VTK'ism, gdcm does not prepend vars by this->
malaterre [Mon, 15 Nov 2004 02:18:37 +0000 (02:18 +0000)]
STYLE: Remove VTK'ism, gdcm does not prepend vars by this->

19 years agoBUG: All va_start should be close by a va_end in the same function. Thanks to Dennis...
malaterre [Sun, 14 Nov 2004 00:53:10 +0000 (00:53 +0000)]
BUG: All va_start should be close by a va_end in the same function. Thanks to Dennis Hudr (sina.com) for reporting bug.

19 years agoBUG: Apply patch proposed by Peter Cech (ITK user), to handle some Philips NTSCAN...
malaterre [Fri, 12 Nov 2004 21:33:46 +0000 (21:33 +0000)]
BUG: Apply patch proposed by Peter Cech (ITK user), to handle some Philips NTSCAN where some private tag were being flip to Big endian for no reason (the rest of the file is in little endian).

19 years agoENH: Commiting 1/2 patch from Jean Michel Rouet, for better DICOM writting support
malaterre [Wed, 10 Nov 2004 18:27:23 +0000 (18:27 +0000)]
ENH: Commiting 1/2 patch from Jean Michel Rouet, for better DICOM writting support

19 years ago * Add comments to explain the problem in the code (concerning my last commit)
regrain [Wed, 10 Nov 2004 16:22:02 +0000 (16:22 +0000)]
  * Add comments to explain the problem in the code (concerning my last commit)
  -- BeNours

19 years ago * src/gdcmDocument.cxx : Set the file pointer TP to 0 in the constructors.
regrain [Wed, 10 Nov 2004 16:13:17 +0000 (16:13 +0000)]
  * src/gdcmDocument.cxx : Set the file pointer TP to 0 in the constructors.
    Verify the file pointer value before open the file, and if it's not null,
    a verbose message is generated.
    Close correctly the file when the file isn't considered dicom-like. The
    correctly close is a call to CloseFile.
    When closing the file pointer, test if its not null to close the file.
  * src/gdcmPixelConvert.cxx : bug fix for the SIEMENS_GBS_III-16-ACR_NEMA_1.acr
    file. For an uncompressed image, the copied datas correspond in the least
    case to the image size (calculated) or the image size specified in the
    header. A verbose is generated if these two size mismatch
  -- BeNours

19 years agoCOMP: Fix comparison between signed and unisgned
malaterre [Wed, 10 Nov 2004 15:54:45 +0000 (15:54 +0000)]
COMP: Fix comparison between signed and unisgned

19 years agoBUG: Remaining problem with borland
malaterre [Tue, 9 Nov 2004 22:30:43 +0000 (22:30 +0000)]
BUG: Remaining problem with borland

19 years agoENH: Some more borland issues
malaterre [Tue, 9 Nov 2004 22:15:36 +0000 (22:15 +0000)]
ENH: Some more borland issues

19 years agoENH: gdcm now compiles on borland
malaterre [Tue, 9 Nov 2004 21:55:54 +0000 (21:55 +0000)]
ENH: gdcm now compiles on borland

19 years ago * src/TestAllReadCompareDicom.cxx : test the existence of the directory
regrain [Tue, 9 Nov 2004 16:14:20 +0000 (16:14 +0000)]
  * src/TestAllReadCompareDicom.cxx : test the existence of the directory
    using an 'ifstream' other than a 'FILE *'. The previous solution ('FILE *')
    break under windows (with msvc6 compilation).
  -- BeNours

19 years ago * src/gdcmDicomDir.h : bug fix for the last Boix's commit (problem when
regrain [Tue, 9 Nov 2004 13:10:44 +0000 (13:10 +0000)]
  * src/gdcmDicomDir.h : bug fix for the last Boix's commit (problem when
    compiling with MSVC6)
   -- BeNours

19 years ago * Bugs fix for the Windows build with VC6
regrain [Tue, 9 Nov 2004 11:21:31 +0000 (11:21 +0000)]
  * Bugs fix for the Windows build with VC6
  * CMakeLists.txt : bug fix - The include of the VTK lib is made only when it's
    needed (only for projects required VTK). If the VTK is included in all
    projects, there is conflicts with the jpeg lib of vtk when compiling the
    gdcmjpeg[8,12,16] projects. The first conflict is on the jmorecfg.h file.
  * src/gdcmUtil.h : export binary_write methods. Otherwise, there's problems
    when compiling the gdcm_wrap.cxx file (created by the compilation of the
    gdcm.i file)
  * vtk/vtkGdcmDemo.cxx : remove the use of std namespace for the cerr use
    (like it's already made for the cout use). Otherwise, conflict with the
    std::cerr of vtk.
   -- BeNours

19 years ago * src/gdcmDicomDit.h the Method typedef is now local to DicomDir class.
frog [Tue, 9 Nov 2004 10:25:25 +0000 (10:25 +0000)]
  * src/gdcmDicomDit.h the Method typedef is now local to DicomDir class.
  * gdcmPython/gdcm.i:
    - comments on the DicomDir::Method related usage added.
    - now that we use the namespace gdcm, a lot of internal classes do
      NOT need to be wrapped anymore.
  * gdcmPython/demo/DicomDirProgressMethod.py (that uses the above
    DicomDir::Method) new example added.

19 years agoBUG: Could not read image CT1_RLE.dcm from dclunie baseline. It was working before...
malaterre [Mon, 8 Nov 2004 22:13:40 +0000 (22:13 +0000)]
BUG: Could not read image CT1_RLE.dcm from dclunie baseline. It was working before because high byte was zero. Thanks to JP for patch

19 years agoENH: Apply pach suggested by JP. This should handle more jpeg compress images. Also...
malaterre [Mon, 8 Nov 2004 20:05:52 +0000 (20:05 +0000)]
ENH: Apply pach suggested by JP. This should handle more jpeg compress images. Also backport patch from ITK

19 years agoENH: update version
malaterre [Mon, 8 Nov 2004 15:45:52 +0000 (15:45 +0000)]
ENH: update version

19 years agoENH: Solve problem with Theralys images Version0.6.bp
malaterre [Mon, 8 Nov 2004 15:18:02 +0000 (15:18 +0000)]
ENH: Solve problem with Theralys images

19 years agoENH: Some more minor fixes, to synchronize ITK and gdcm
malaterre [Sun, 7 Nov 2004 15:53:35 +0000 (15:53 +0000)]
ENH: Some more minor fixes, to synchronize ITK and gdcm

19 years agoENH: Forgot file for coverage
malaterre [Sun, 7 Nov 2004 14:31:31 +0000 (14:31 +0000)]
ENH: Forgot file for coverage

19 years agoENH: Final -hopefully- change to jpeg lib. In order to match ITK structure, and be...
malaterre [Sun, 7 Nov 2004 14:28:54 +0000 (14:28 +0000)]
ENH: Final -hopefully- change to jpeg lib. In order to match ITK structure, and be more cross plateform, reduce code redondency and improve compilation time

19 years agoENH: Move the jpeg lib around, to match Insight toolkit structure (more tested)
malaterre [Sun, 7 Nov 2004 14:13:12 +0000 (14:13 +0000)]
ENH: Move the jpeg lib around, to match Insight toolkit structure (more tested)

19 years agoBUG: Remove a broken image from the MAC baseline
malaterre [Fri, 5 Nov 2004 22:59:15 +0000 (22:59 +0000)]
BUG: Remove a broken image from the MAC baseline

19 years agoENH: Do not stop test at first failure, it lower coverage.
malaterre [Fri, 5 Nov 2004 21:36:02 +0000 (21:36 +0000)]
ENH: Do not stop test at first failure, it lower coverage.

19 years agoBUG: Remove tons of mem leaks. There are still plenty that explains why gdcm is dog...
malaterre [Fri, 5 Nov 2004 21:23:46 +0000 (21:23 +0000)]
BUG: Remove tons of mem leaks. There are still plenty that explains why gdcm is dog slow on system with little mem

19 years agoBUG: Thankfully VS6 catch it :)
malaterre [Fri, 5 Nov 2004 20:42:40 +0000 (20:42 +0000)]
BUG: Thankfully VS6 catch it :)

19 years agoENH: Improve string manipulation. I now inforce the notion of 'DicomString'
malaterre [Fri, 5 Nov 2004 20:23:12 +0000 (20:23 +0000)]
ENH: Improve string manipulation. I now inforce the notion of 'DicomString'
    A DicomString can contain as many \0 as they want
    and it is *always* of even length.
    We only support odd length for very rare case.
    And in the near future this should be removed.

19 years agoBUG: Remove demangle code this was seg faulting on some linux gcc 3.3.2 machine
malaterre [Thu, 4 Nov 2004 18:14:34 +0000 (18:14 +0000)]
BUG: Remove demangle code this was seg faulting on some linux gcc 3.3.2 machine

19 years agoENH: Fixing bug in the dashboard, the code is buggy but I refuse to fix it. There...
malaterre [Thu, 4 Nov 2004 15:59:37 +0000 (15:59 +0000)]
ENH: Fixing bug in the dashboard, the code is buggy but I refuse to fix it. There seems to be a /after the last/ line read that broke my else check

19 years agoENH: Fix warning about conversion from string constant to
malaterre [Thu, 4 Nov 2004 15:20:35 +0000 (15:20 +0000)]
ENH: Fix warning about conversion from string constant to

19 years agoBUG: i was shadowing another var
malaterre [Thu, 4 Nov 2004 15:08:50 +0000 (15:08 +0000)]
BUG: i was shadowing another var

19 years agoENH: Rewrite the test to allow use to use it an image at a time
malaterre [Wed, 3 Nov 2004 21:58:31 +0000 (21:58 +0000)]
ENH: Rewrite the test to allow use to use it an image at a time

19 years agoENH: /binary_write/ gdcm source. Now even on big endian we are writting little endian...
malaterre [Wed, 3 Nov 2004 20:52:12 +0000 (20:52 +0000)]
ENH: /binary_write/ gdcm source. Now even on big endian we are writting little endian. This should -heopfully- fix some tests

19 years agoBUG: Remaining of the patch
malaterre [Wed, 3 Nov 2004 19:35:49 +0000 (19:35 +0000)]
BUG: Remaining of the patch

19 years agoENH: update about dict compiled into lib
malaterre [Wed, 3 Nov 2004 18:16:36 +0000 (18:16 +0000)]
ENH: update about dict compiled into lib

19 years agoCOMP: Fix minor compilation warning on Win32 VS6
malaterre [Wed, 3 Nov 2004 18:14:52 +0000 (18:14 +0000)]
COMP: Fix minor compilation warning on Win32 VS6

19 years agoENH: Now the dictionary is compiled into gdcm lib. This is a default behavior, thus...
malaterre [Wed, 3 Nov 2004 18:08:55 +0000 (18:08 +0000)]
ENH: Now the dictionary is compiled into gdcm lib. This is a default behavior, thus any dic file specified is picked before failback to the one comiled into lib

19 years ago Trial to get gdcmPython working. demo/PrintHeader should now work.
frog [Wed, 3 Nov 2004 11:54:42 +0000 (11:54 +0000)]
Trial to get gdcmPython working. demo/PrintHeader should now work.

19 years agoBUG: Moving gdcmCommon to gdcm namespace broke some examples, fix those
malaterre [Tue, 2 Nov 2004 03:42:29 +0000 (03:42 +0000)]
BUG: Moving gdcmCommon to gdcm namespace broke some examples, fix those

19 years agoBUG: Fix compilation problem with VS7. Unknow was not /really/ within gdcm namespace...
malaterre [Tue, 2 Nov 2004 03:10:32 +0000 (03:10 +0000)]
BUG: Fix compilation problem with VS7. Unknow was not /really/ within gdcm namespace, now this should be fixed. Thanks to Jean-Michel Rouet for patch

19 years agoENH: There were minors typoes in the previous dict
malaterre [Fri, 29 Oct 2004 21:20:59 +0000 (21:20 +0000)]
ENH: There were minors typoes in the previous dict

19 years agoENH: Firs step to have the dicom dict as resource
malaterre [Fri, 29 Oct 2004 19:16:47 +0000 (19:16 +0000)]
ENH: Firs step to have the dicom dict as resource

19 years agoENH: Dont use capital letter for hex integer
malaterre [Fri, 29 Oct 2004 18:46:33 +0000 (18:46 +0000)]
ENH: Dont use capital letter for hex integer

19 years agoBUG: The previous code did not compile on Big endian machine
malaterre [Thu, 28 Oct 2004 23:10:25 +0000 (23:10 +0000)]
BUG: The previous code did not compile on Big endian machine

19 years agoENH: For some reason it was commented
malaterre [Thu, 28 Oct 2004 22:48:49 +0000 (22:48 +0000)]
ENH: For some reason it was commented

19 years agoENH: Ooops new cmake version didn't like previous verion
malaterre [Thu, 28 Oct 2004 22:35:41 +0000 (22:35 +0000)]
ENH: Ooops new cmake version didn't like previous verion

19 years agoENH:
malaterre [Thu, 28 Oct 2004 22:21:56 +0000 (22:21 +0000)]
ENH:
- cosmetic cleanup in TODO, we should remove entries fixed
- some other cleanup at some other places
- adding a first implementation for the binary_write function
- adding big endian flag in cmake cache

19 years agoENH: Fix a warning %n should be a pointer to an int.
malaterre [Thu, 28 Oct 2004 19:58:05 +0000 (19:58 +0000)]
ENH: Fix a warning %n should be a pointer to an int.

19 years agoBUG: Previous code did not compile with all (=busted) compilers
malaterre [Thu, 28 Oct 2004 19:53:28 +0000 (19:53 +0000)]
BUG: Previous code did not compile with all (=busted) compilers

19 years agoBUG: Fix mem leak
malaterre [Thu, 28 Oct 2004 18:13:36 +0000 (18:13 +0000)]
BUG: Fix mem leak

19 years agoENH: Minor cleanup, mostly cosmetic
malaterre [Thu, 28 Oct 2004 03:10:56 +0000 (03:10 +0000)]
ENH: Minor cleanup, mostly cosmetic

19 years agoBUG: the fonction was broken but pass all tests...
malaterre [Wed, 27 Oct 2004 23:03:07 +0000 (23:03 +0000)]
BUG: the fonction was broken but pass all tests...

19 years agoENH: Minor cleanup
malaterre [Wed, 27 Oct 2004 22:58:06 +0000 (22:58 +0000)]
ENH: Minor cleanup

19 years agoENH: Minor cleanup, mostly remove comments
malaterre [Wed, 27 Oct 2004 22:47:19 +0000 (22:47 +0000)]
ENH: Minor cleanup, mostly remove comments

19 years agoENH: Remove any possible leaks with the dictionary. Now there is no /new/ anymore...
malaterre [Wed, 27 Oct 2004 22:31:12 +0000 (22:31 +0000)]
ENH: Remove any possible leaks with the dictionary. Now there is no /new/ anymore, everything is by reference

19 years agoENH: Exact same fix as gdcmTS
malaterre [Wed, 27 Oct 2004 21:28:56 +0000 (21:28 +0000)]
ENH: Exact same fix as gdcmTS

19 years agoENH: Minor cleanup in arg passing to be const ref, instead of bycopy
malaterre [Wed, 27 Oct 2004 01:32:15 +0000 (01:32 +0000)]
ENH: Minor cleanup in arg passing to be const ref, instead of bycopy

19 years agoENH: Add patch from JPR, to support RLE and RGB from d. clunie testing suite
malaterre [Mon, 25 Oct 2004 17:07:16 +0000 (17:07 +0000)]
ENH: Add patch from JPR, to support RLE and RGB from d. clunie testing suite

19 years agoSTYLE: ivars should start with a capital letter. Accessors should be const to avoid...
malaterre [Mon, 25 Oct 2004 04:47:41 +0000 (04:47 +0000)]
STYLE: ivars should start with a capital letter. Accessors should be const to avoid people starting modifying stuff (since this is a ref). remove virtual as style specify sub class shouldn't reuse the keyword (4)

19 years agoSTYLE: ivars should start with a capital letter. Accessors should be const to avoid...
malaterre [Mon, 25 Oct 2004 04:08:19 +0000 (04:08 +0000)]
STYLE: ivars should start with a capital letter. Accessors should be const to avoid people starting modifying stuff (since this is a ref). remove virtual as style specify sub class shouldn't reuse the keyword (3)

19 years agoSTYLE: ivars should start with a capital letter. Accessors should be const to avoid...
malaterre [Mon, 25 Oct 2004 03:35:19 +0000 (03:35 +0000)]
STYLE: ivars should start with a capital letter. Accessors should be const to avoid people starting modifying stuff (since this is a ref). remove virtual as style specify sub class shouldn't reuse the keyword (2)

19 years agoSTYLE: ivars should start with a capital letter. Accessors should be const to avoid...
malaterre [Mon, 25 Oct 2004 03:03:44 +0000 (03:03 +0000)]
STYLE: ivars should start with a capital letter. Accessors should be const to avoid people starting modifying stuff (since this is a ref). remove virtual as style specify sub class shouldn't reuse the keyword

19 years agoENH: minor cleanup patch, use TagName instead of std:string for clarification. Don...
malaterre [Sun, 24 Oct 2004 03:33:40 +0000 (03:33 +0000)]
ENH: minor cleanup patch, use TagName instead of std:string for clarification. Don't use capital letter for VR

19 years ago * Doc/Dicom2004_Part5.pdf added (thanks to JPR).
frog [Fri, 22 Oct 2004 13:56:44 +0000 (13:56 +0000)]
  * Doc/Dicom2004_Part5.pdf added (thanks to JPR).
  * Dicts/dicomTS2004.dic, dicomV3VM2004.dic, groupNameAbbreviations2004.dic
    new 2004 dictionaries added (thanks to JPR).
  * FIX dashboard warning RLEFrame::NumberFragments is now of type unsigned int
  * CLEANUP_ROUND (15) for gdcmPixelConvert
    - RLEFrame::NumberFragments is now of type unsigned int
    - gdcmFile::GetImageData(), GetImageDataIntoVector(), GetImageDataRaw()
      are now all based on PixelConverter. ::GetImageDataIntoVectorRaw()
      no longer exists.

19 years agoENH: Initial work in gathering all transfer syntax accessors. clearly IsDecompressed...
malaterre [Fri, 22 Oct 2004 04:13:24 +0000 (04:13 +0000)]
ENH: Initial work in gathering all transfer syntax accessors. clearly IsDecompressed/IsJPEG2000/IsJPEGLossless/IsRLELossless shouldn't be all ivars, but only one transfersyntax (class) ivar with equivalent method on the class.

19 years agoENH: Removed all FILE* ref and replace by ifstream/ofstream. For now I use a temp...
malaterre [Fri, 22 Oct 2004 03:05:39 +0000 (03:05 +0000)]
ENH: Removed all FILE* ref and replace by ifstream/ofstream. For now I use a temp solution with the two files jdatadst.cxx and jdatasrc.cxx, this need to be discussed (plus I didn't like having a 2000 lines patch not commited)

19 years ago * src/gdcmDocument.cxx: wrong type on return fixed (thanks dashboard)
frog [Wed, 20 Oct 2004 22:31:51 +0000 (22:31 +0000)]
  * src/gdcmDocument.cxx: wrong type on return fixed (thanks dashboard)
  * CLEANUP_ROUND (14) for gdcmPixelConvert
    - PixelConvert::GetLutRGBA(FILE*) is now GetLutRGBA() (no fp needed)
    - PixelConvert::BuildRGBImage()(FILE*) is now BuildRGBImage() (no fp needed)
    - File::GetImageDataIntoVector() doesn't need unnecessary OpenFile() and
      CloseFile() anymore.
    - File::GetImageDataRaw() doesn't call GetImageDataIntoVectorRaw()
      anymore and hence avoids storing a copy of PixelConvert::Decompressed
      into File::Pixel_Data.

19 years ago Ooops...
frog [Wed, 20 Oct 2004 14:31:44 +0000 (14:31 +0000)]
Ooops...

19 years ago * src/gdcmDocument.cxx ftell() return properly stored in a long (i.e.
frog [Wed, 20 Oct 2004 14:30:38 +0000 (14:30 +0000)]
  * src/gdcmDocument.cxx ftell() return properly stored in a long (i.e.
    no longer depends on's programmers PMS = Preposterous Mood Swings ;).
  * CLEANUP_ROUND (13) for gdcmPixelConvert
    Substituted File::ParsePixelData() with PixelConvert::Print() new
    method:
    - src/gdcmParsePixels.cxx removed (only contained File::ParsePixelData())
    - src/gdcmRLEFrame.cxx, gdcmJPEGFragment.cxx added. Added a ::Print()
      method to those classes.
    - src/gdcmFile.[cxx|h]:
      -- Added a ::Print() method.
      -- PixelConverter is now a reference instead of a member.
      -- gdcmPython/gdcm.i: added "using namespace gdcm" in order for
         gdcm_wrap.cxx to "understand" File::GetPixelConverter()

19 years ago2004-10-18 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
frog [Mon, 18 Oct 2004 12:49:19 +0000 (12:49 +0000)]
2004-10-18 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
  * Doc/CMakeLists.txt, doxygen.config.in: when dot is present the
    collaboration diagram and inheritance diagram should be generated with
    doxygen.
  * Doc/Website/Sidebar.html: Dashboard is now also in the sidebar.
  * gdcmPython/gdcm.i: gdcmRLEFramesInfo.h gdcmJPEGFragmentsInfo.h are
    pointlessly wrapped (see
    http://www.creatis.insa-lyon.fr/pipermail/dcmlib/2004-October/000692.html )
  * CLEANUP_ROUND (12) for gdcmPixelConvert (sugar is my friend stage)
    - Header::GetLUTRGBA() moved to PixelConvert::GetLutRGBA()
    - vtk/vtkGdcmReader.cxx: adapted to displacment of Header::GetLUTRGBA()
    - Document::RLEInfo and JPEGInfo are now pointer members (Swig thing)
    - src/gdcmFile.[cxx|h] and gdcmPixelConvert.[cxx|h]:
      -- File::Initialise: PixelConverter setup moved away to
           PixelConverter::GrabInformationsFromHeader()
      -- File::GetImageDataIntoVector(): Lut R + Lut G + Lut B color table
         interpretation moved away to PixelConverter::BuildRGBImage()

19 years agoENH: hum I guess this one slept through my cleaning
malaterre [Mon, 18 Oct 2004 02:35:35 +0000 (02:35 +0000)]
ENH: hum I guess this one slept through my cleaning

19 years agoENH: Try to reuse result from a map query, eventhough this is optimised we should...
malaterre [Mon, 18 Oct 2004 02:31:58 +0000 (02:31 +0000)]
ENH: Try to reuse result from a map query, eventhough this is optimised we should reuse result when possible

19 years agoENH: A few minor cosmetic cleanups, mostly some const correctness on gdcmDict* classe...
malaterre [Mon, 18 Oct 2004 02:17:06 +0000 (02:17 +0000)]
ENH: A few minor cosmetic cleanups, mostly some const correctness on gdcmDict* classes, also remove a printf in jpeg parsing

19 years agoENH: Remove GDCM_EXPORT keyword from gdcm::DirList
malaterre [Sat, 16 Oct 2004 14:34:11 +0000 (14:34 +0000)]
ENH: Remove GDCM_EXPORT keyword from gdcm::DirList

19 years agoCOMP: ijg compiles now with '-pedantic -Werror' this way this is more VC6 compliant
malaterre [Fri, 15 Oct 2004 16:25:45 +0000 (16:25 +0000)]
COMP: ijg compiles now with '-pedantic -Werror' this way this is more VC6 compliant

19 years agoENH: Remove debug
malaterre [Fri, 15 Oct 2004 15:44:42 +0000 (15:44 +0000)]
ENH: Remove debug

19 years agoENH: as frog mention there were images that could be read, but still blacklisted
malaterre [Fri, 15 Oct 2004 15:36:15 +0000 (15:36 +0000)]
ENH: as frog mention there were images that could be read, but still blacklisted

19 years ago * src/gdcmDebug.cxx last ditch attempt to get warning/error messages
frog [Fri, 15 Oct 2004 10:43:27 +0000 (10:43 +0000)]
  * src/gdcmDebug.cxx last ditch attempt to get warning/error messages
    displayed on Win32 when a brutal abort() occurs (because of uncatched
    exception). See TODO new entry of this commit for more on this.
  * TODO added new entry.
  * CLEANUP_ROUND (12) for gdcmPixelConvert (nicotine is my friend stage)
    src/gdcmFile.[cxx|h] and gdcmPixelConvert.[cxx|h]:
    - HandleColor is no longer called from gdcmFile.cxx
    - gdcmPixelConvert.cxx clean up on method arguments and internal
      variable names for semantical coherence.

19 years agoENH: * Finished lossless transition, not only do we now read all lossless jpeg
malaterre [Thu, 14 Oct 2004 22:35:01 +0000 (22:35 +0000)]
ENH: * Finished lossless transition, not only do we now read all lossless jpeg
  images, without the need of the Cornwell lib, but we do read them properly now
  * To reduce code (well to avoid code duplication), I defined a common place
  for jpeg read/write: gdcmJpeg.cxx. Now gdcmJpeg[8,12 16] include this file and
  redefine symbols. This is not prefect but this the best solution I found for a
  compilation time jpeg option.

19 years agoENH: Afterall change my mind we need a common place: gdcmJpeg to define the reading...
malaterre [Thu, 14 Oct 2004 22:16:33 +0000 (22:16 +0000)]
ENH: Afterall change my mind we need a common place: gdcmJpeg to define the reading of jpeg file, then gdcmJpeg[8,12,16] are just a kludge because of this compile time option in ijg

19 years agoCOMP: Fix compilation
malaterre [Thu, 14 Oct 2004 14:32:28 +0000 (14:32 +0000)]
COMP: Fix compilation

19 years agoCOMP: Fix Win32 compilation
malaterre [Thu, 14 Oct 2004 05:33:14 +0000 (05:33 +0000)]
COMP: Fix Win32 compilation

19 years agoENH: update
malaterre [Thu, 14 Oct 2004 05:31:15 +0000 (05:31 +0000)]
ENH: update

19 years agoENH: update gdcm to have the dcmtk copyright since we use their bugfixes
malaterre [Thu, 14 Oct 2004 05:28:47 +0000 (05:28 +0000)]
ENH: update gdcm to have the dcmtk copyright since we use their bugfixes