]> Creatis software - gdcm.git/log
gdcm.git
19 years ago * Testing/TestWriteSimple.cxx, TestSequence.cxx : fix memroy leaks
regrain [Thu, 10 Feb 2005 14:23:17 +0000 (14:23 +0000)]
   * Testing/TestWriteSimple.cxx, TestSequence.cxx : fix memroy leaks
   -- BeNours

19 years agoThe following gdcm::DocEntrySet methods, no re-definable is child classes are no
jpr [Thu, 10 Feb 2005 11:20:34 +0000 (11:20 +0000)]
The following gdcm::DocEntrySet methods, no re-definable is child classes are no
longer virtual
    virtual ValEntry *GetValEntry(uint16_t group, uint16_t elem);
    virtual BinEntry *GetBinEntry(uint16_t group, uint16_t elem);
    virtual SeqEntry *GetSeqEntry(uint16_t group, uint16_t elem);
    virtual bool SetValEntry(std::string const &content,
    virtual bool SetBinEntry(uint8_t *content, int lgth,
    virtual bool SetValEntry(std::string const &content, ValEntry *entry);
    virtual bool SetBinEntry(uint8_t *content, int lgth, BinEntry *entry);
    virtual ValEntry *InsertValEntry(std::string const &value,
    virtual BinEntry *InsertBinEntry(uint8_t *binArea, int lgth,
    virtual SeqEntry *InsertSeqEntry(uint16_t group, uint16_t elem);

19 years agoAnonymizeNoLoad improvement
jpr [Thu, 10 Feb 2005 10:55:26 +0000 (10:55 +0000)]
AnonymizeNoLoad improvement

19 years agoNow TestWriteSimple checks also 'signed' values
jpr [Thu, 10 Feb 2005 10:51:39 +0000 (10:51 +0000)]
Now TestWriteSimple checks also 'signed' values

19 years agocommit
jpr [Thu, 10 Feb 2005 10:12:16 +0000 (10:12 +0000)]
commit

19 years agoDuplicate Matthieu's hack to prevent bombing in Anonymize
jpr [Thu, 10 Feb 2005 09:07:19 +0000 (09:07 +0000)]
Duplicate Matthieu's hack to prevent bombing in Anonymize

19 years agoBUG: Hopefully fix problem on the SUN. On SunOS ulimit -a for fd is /only/ 256 and...
malaterre [Wed, 9 Feb 2005 22:50:47 +0000 (22:50 +0000)]
BUG: Hopefully fix problem on the SUN. On SunOS ulimit -a for fd is /only/ 256 and the test was poorly written so all files openned were not closed.

19 years agoBUG: Remove seg fault from the nightly test.
malaterre [Wed, 9 Feb 2005 22:11:09 +0000 (22:11 +0000)]
BUG: Remove seg fault from the nightly test.

19 years agoSTYLE: Minor tweaks
malaterre [Wed, 9 Feb 2005 21:37:45 +0000 (21:37 +0000)]
STYLE: Minor tweaks

19 years agoBUG: Remove Benoit bomb
malaterre [Wed, 9 Feb 2005 21:37:11 +0000 (21:37 +0000)]
BUG: Remove Benoit bomb

19 years ago * src/gdcmFileHelper.cxx : bug fix when having RGB ACR files... there is
regrain [Wed, 9 Feb 2005 18:35:30 +0000 (18:35 +0000)]
   * src/gdcmFileHelper.cxx : bug fix when having RGB ACR files... there is
     24 bits allocated
   -- BeNours

19 years agoupdate
jpr [Wed, 9 Feb 2005 16:48:38 +0000 (16:48 +0000)]
update

19 years agonew test
jpr [Wed, 9 Feb 2005 16:41:51 +0000 (16:41 +0000)]
new test

19 years ago * src/gdcmFileHelper.[h|cxx] : now correctly set the VR of the datas when
regrain [Wed, 9 Feb 2005 16:28:40 +0000 (16:28 +0000)]
   * src/gdcmFileHelper.[h|cxx] : now correctly set the VR of the datas when
     writting the file
   -- BeNours

19 years ago * Test/VTKTestWriteSeq.cxx : add a VTK test to write sequences
regrain [Wed, 9 Feb 2005 15:31:14 +0000 (15:31 +0000)]
   * Test/VTKTestWriteSeq.cxx : add a VTK test to write sequences
   -- BeNours

19 years ago * Test/ : accelerate tests (it's not very significant accelerations).
regrain [Wed, 9 Feb 2005 15:06:47 +0000 (15:06 +0000)]
   * Test/ : accelerate tests (it's not very significant accelerations).
     Remove TestCopyDicom that is redundant with TestCopyRescaleDicom
   -- BeNours

19 years agoSome more examples
jpr [Wed, 9 Feb 2005 14:39:48 +0000 (14:39 +0000)]
Some more examples

19 years agotypo + comments
jpr [Wed, 9 Feb 2005 14:00:41 +0000 (14:00 +0000)]
typo + comments

19 years agoHope-to-be fully commented example
jpr [Tue, 8 Feb 2005 18:02:03 +0000 (18:02 +0000)]
Hope-to-be fully commented example

19 years agoUpdate exAnonymise.cxx
jpr [Tue, 8 Feb 2005 17:58:21 +0000 (17:58 +0000)]
Update exAnonymise.cxx

19 years agoENH: Apparently the new Free .Net compiler complains also about the dll heritance...
malaterre [Mon, 7 Feb 2005 19:17:27 +0000 (19:17 +0000)]
ENH: Apparently the new Free .Net compiler complains also about the dll heritance stuff. Adding yet another pragma to please him. STYLE: a best -> a better

19 years ago * Testing/TestWriteSimple.cxx : fix bug... sorry
regrain [Mon, 7 Feb 2005 18:43:38 +0000 (18:43 +0000)]
   * Testing/TestWriteSimple.cxx : fix bug... sorry
   -- BeNours

19 years agoBUG: Remove my previous hack now this is properly fixed in gdcmBinEntry by JPR
malaterre [Mon, 7 Feb 2005 15:07:42 +0000 (15:07 +0000)]
BUG: Remove my previous hack now this is properly fixed in gdcmBinEntry by JPR

19 years agoAdd some commented out lines to prepare future version of 'Full DICOMDIR' stuff
jpr [Mon, 7 Feb 2005 14:48:34 +0000 (14:48 +0000)]
Add some commented out lines to prepare future version of 'Full DICOMDIR' stuff

19 years ago * Testing/TestSequence.cxx : add test for sequences of images... test that
regrain [Mon, 7 Feb 2005 12:53:58 +0000 (12:53 +0000)]
   * Testing/TestSequence.cxx : add test for sequences of images... test that
     we have the same serie or the same study UID
   -- BeNours

19 years agofix misstyping (while removing spurious tab characters :-(
jpr [Mon, 7 Feb 2005 12:28:40 +0000 (12:28 +0000)]
fix misstyping (while removing spurious tab characters :-(

19 years ago * gdcmPython/gdcm.i : bug fix. Now string are correctly converted in python
regrain [Mon, 7 Feb 2005 09:51:01 +0000 (09:51 +0000)]
   * gdcmPython/gdcm.i : bug fix. Now string are correctly converted in python
     string type
   * src/gdcmDict.h : remove commented code
   * src/gdcmDocument.cxx : initialize values
   * src/gdcmFile.cxx : bug fix when reading values
   * gdcmPython/demo/ : change file names. Remove useless files
   -- BeNours

19 years ago * Remove useless methods added by JPR for Python users. All was already
regrain [Mon, 7 Feb 2005 08:48:18 +0000 (08:48 +0000)]
   * Remove useless methods added by JPR for Python users. All was already
     made in the swig wrapping (gdcm.i)... promotion to the good type : Bin, Val
     or Seq Entry !!!
   -- BeNours

19 years agoAdd an example to Anonymize a file (Loadong or not the pixels)
jpr [Sun, 6 Feb 2005 14:56:22 +0000 (14:56 +0000)]
Add an example to Anonymize a file (Loadong or not the pixels)

19 years agoTypo
jpr [Sun, 6 Feb 2005 14:43:27 +0000 (14:43 +0000)]
Typo

19 years ago* Add method File::AnonymizeNoLoad, to allow anomymizing files
jpr [Sun, 6 Feb 2005 14:39:35 +0000 (14:39 +0000)]
* Add method File::AnonymizeNoLoad, to allow anomymizing files
           even when the pixels are not gdcm Readable
 * Add methods File::AddAnonymizeElement and File::ClearAnonymizeList
            to allow user to choose the elements whose value
he wants to white out / replace

19 years agoUpdate comments for DicomDir stuff
jpr [Sun, 6 Feb 2005 14:31:09 +0000 (14:31 +0000)]
Update comments for DicomDir stuff

19 years agoAfter scanning DICOMDIR from 17 different sources, add a few entries
jpr [Sun, 6 Feb 2005 14:22:11 +0000 (14:22 +0000)]
After scanning DICOMDIR from 17 different sources, add a few entries
   DicomDir.dic

19 years agoCOMP: Fix warnings about unused function
malaterre [Sat, 5 Feb 2005 15:15:26 +0000 (15:15 +0000)]
COMP: Fix warnings about unused function

19 years agoBUG: ctest is parsing the ouput of the test and was finding the keyword /Error/ thus...
malaterre [Sat, 5 Feb 2005 05:08:53 +0000 (05:08 +0000)]
BUG: ctest is parsing the ouput of the test and was finding the keyword /Error/ thus believed the test is failing...

19 years agoCOMP: Remove warning about unused var
malaterre [Sat, 5 Feb 2005 04:28:38 +0000 (04:28 +0000)]
COMP: Remove warning about unused var

19 years agoENH: It's 10pm gdcm is working on big endian plateform, thanks to a special kludge...
malaterre [Sat, 5 Feb 2005 03:12:28 +0000 (03:12 +0000)]
ENH: It's 10pm gdcm is working on big endian plateform, thanks to a special kludge. I dont care how you fix it, I am not working anymore on the big endian thingy !

19 years agoENH: Need to include iostream
malaterre [Sat, 5 Feb 2005 02:43:06 +0000 (02:43 +0000)]
ENH: Need to include iostream

19 years agoBUG: JP, please next time reread your code or at least TRY IT !
malaterre [Sat, 5 Feb 2005 02:28:49 +0000 (02:28 +0000)]
BUG: JP, please next time reread your code or at least TRY IT !
     Anyway I still have no clue what OB is versue OW. It seems TestWriteSimple should be explicitely setting it. Or gdcm should be smart enought so that in case of 16 biuts image to set it properly...

19 years agoBUG: Apparently on Borland uses unsigned char to store boolean, all other plateformns...
malaterre [Sat, 5 Feb 2005 01:37:08 +0000 (01:37 +0000)]
BUG: Apparently on Borland uses unsigned char to store boolean, all other plateformns uses int for some reason. STYLE: Reneme gdcmVerboseMacro to gdcmWarningMacro it makes more sense to me

19 years agoSTYLE: Please stop using cout, you have a much more enhance version: gdcmDebug/Verbos...
malaterre [Sat, 5 Feb 2005 01:31:36 +0000 (01:31 +0000)]
STYLE: Please stop using cout, you have a much more enhance version: gdcmDebug/Verbose/ErrorMacro

19 years agoBUG: Please disable copy/paste from your editor
malaterre [Sat, 5 Feb 2005 01:25:45 +0000 (01:25 +0000)]
BUG: Please disable copy/paste from your editor

19 years agoBUG: Solve seg fault with SerieHelper by properly using sort algorithm when needed...
malaterre [Sat, 5 Feb 2005 01:25:03 +0000 (01:25 +0000)]
BUG: Solve seg fault with SerieHelper by properly using sort algorithm when needed. STL rocks. Also removed weird Print method that borke consistency and properly redo it according to other classes.

19 years agoBUG: For some reason the Sun compiler produce incoherent warnings... Borland was...
malaterre [Sat, 5 Feb 2005 00:48:51 +0000 (00:48 +0000)]
BUG: For some reason the Sun compiler produce incoherent warnings... Borland was complaining about uc vs int cast

19 years agoENH: Ease the work for people when they try cross compiling gdcm for Win32 on linux...
malaterre [Sat, 5 Feb 2005 00:22:14 +0000 (00:22 +0000)]
ENH: Ease the work for people when they try cross compiling gdcm for Win32 on linux (using gcc)

19 years agoCOMP: Fix -other people- warnings. I guess this is too hard to put proper flags in...
malaterre [Fri, 4 Feb 2005 23:49:23 +0000 (23:49 +0000)]
COMP: Fix -other people- warnings. I guess this is too hard to put proper flags in the ccmake interface...

19 years agoENH: Adding jpeg error handling. As quoted we could be more fancy and throw an except...
malaterre [Fri, 4 Feb 2005 23:45:22 +0000 (23:45 +0000)]
ENH: Adding jpeg error handling. As quoted we could be more fancy and throw an exception instead of using the gdcmErrorMacro

19 years agoENH: Slightly better patch since it avoid reinterpret_cast and ugly typedef
malaterre [Fri, 4 Feb 2005 23:36:26 +0000 (23:36 +0000)]
ENH: Slightly better patch since it avoid reinterpret_cast and ugly typedef

19 years agoBUG: Fix compilation warning on SunOS-CC: Warning (Anachronism): Assigning void(...
malaterre [Fri, 4 Feb 2005 23:30:21 +0000 (23:30 +0000)]
BUG: Fix compilation warning on SunOS-CC: Warning (Anachronism): Assigning void(*)(jpeg_decompress_struct*,long) to extern C void(*)(jpeg_decompress_struct*,long). This is not safe to pass a function pointer from a C context to a C++ context. Explicitely reinterpret_cast it.

19 years agoSome more Doxygenation
jpr [Fri, 4 Feb 2005 16:51:36 +0000 (16:51 +0000)]
Some more Doxygenation

19 years ago * Add GetFirstValEntry + GetNexxtValEntry, for Python users
jpr [Fri, 4 Feb 2005 14:49:01 +0000 (14:49 +0000)]
 * Add GetFirstValEntry + GetNexxtValEntry, for Python users
 * Some more Doxygenation + typo fixing

19 years ago * src/gdcmFile.cxx : remove the default array of initialization.
regrain [Fri, 4 Feb 2005 13:15:40 +0000 (13:15 +0000)]
   * src/gdcmFile.cxx : remove the default array of initialization.
     The static array contained pointers to non-static values (comming from
     strings). To have coherences, when creating files, these values can't be
     static. So, the array can't be static, too ! To simplify, the array have
     been replaced by repeted lines to insert values in the File. Finally,
     it removes memory leaks.
   -- BeNours

19 years ago * oups, revert my last commit
regrain [Fri, 4 Feb 2005 11:19:40 +0000 (11:19 +0000)]
   * oups, revert my last commit

19 years ago * FIX : bug for a bad directory
regrain [Fri, 4 Feb 2005 10:59:26 +0000 (10:59 +0000)]
   * FIX : bug for a bad directory

19 years agoFix Doxygen warning
jpr [Thu, 3 Feb 2005 17:12:46 +0000 (17:12 +0000)]
Fix Doxygen warning

19 years agoFIX: replaced gdcmSerieHeader.h by gdcmSerieHelper.h
manu [Thu, 3 Feb 2005 16:08:35 +0000 (16:08 +0000)]
FIX: replaced gdcmSerieHeader.h by gdcmSerieHelper.h

19 years agoName normalization
jpr [Thu, 3 Feb 2005 15:44:50 +0000 (15:44 +0000)]
Name normalization

19 years agoAdd a skeletton program for newbees
jpr [Thu, 3 Feb 2005 15:44:20 +0000 (15:44 +0000)]
Add a skeletton program for newbees

19 years agoTypo normalization
jpr [Thu, 3 Feb 2005 10:00:06 +0000 (10:00 +0000)]
Typo normalization

19 years agoTo improve test coverage
jpr [Thu, 3 Feb 2005 09:51:53 +0000 (09:51 +0000)]
To improve test coverage

19 years agoENH: Adding two different viewer. One using vtkImageViewer and the other vtkImageView...
malaterre [Wed, 2 Feb 2005 20:10:50 +0000 (20:10 +0000)]
ENH: Adding two different viewer. One using vtkImageViewer and the other vtkImageViewer2, I guess this should be more intelligent to only have one executable + switch...

19 years agoENH: Long time I wanted to do that: rename Test into Testing. So that 'make test...
malaterre [Wed, 2 Feb 2005 18:39:04 +0000 (18:39 +0000)]
ENH: Long time I wanted to do that: rename Test into Testing. So that 'make test' can also work on non case sensitive system like Mac and Win32. Everything was done on the server side so no history has been lost.

19 years agoBUG: Try real bytes swapping formula...
malaterre [Wed, 2 Feb 2005 18:13:57 +0000 (18:13 +0000)]
BUG: Try real bytes swapping formula...

19 years ago * Test of an older code
regrain [Wed, 2 Feb 2005 17:47:56 +0000 (17:47 +0000)]
   * Test of an older code
   -- BeNours

19 years ago * src/gdcmBinEntry.cxx : bug fix for BIG_ENDIAN part when writing the content
regrain [Wed, 2 Feb 2005 17:20:33 +0000 (17:20 +0000)]
   * src/gdcmBinEntry.cxx : bug fix for BIG_ENDIAN part when writing the content
   * gdcmPython/gdcm.i : rename gdcmHeader to gdcmHelper
   -- BeNours

19 years agoBUG: Fix for picky compiler
malaterre [Wed, 2 Feb 2005 16:58:04 +0000 (16:58 +0000)]
BUG: Fix for picky compiler

19 years agoFix misstyping
jpr [Wed, 2 Feb 2005 16:50:41 +0000 (16:50 +0000)]
Fix misstyping

19 years ago * Reorder source code (last one, I hope)
regrain [Wed, 2 Feb 2005 16:34:55 +0000 (16:34 +0000)]
   * Reorder source code (last one, I hope)
   -- BeNours

19 years ago * Reorder source code
regrain [Wed, 2 Feb 2005 16:18:48 +0000 (16:18 +0000)]
   * Reorder source code
   -- BeNours

19 years agoBUG: Fix problem with typedef. When you use a typedef within a namespace + class...
malaterre [Wed, 2 Feb 2005 16:16:07 +0000 (16:16 +0000)]
BUG: Fix problem with typedef. When you use a typedef within a namespace + class it is only with a namespace AND the class. Declare it within the namespace only

19 years ago*** empty log message ***
regrain [Wed, 2 Feb 2005 15:31:59 +0000 (15:31 +0000)]
*** empty log message ***

19 years agogdcm::SerieHelper replaces gdcm::SerieHeader
jpr [Wed, 2 Feb 2005 15:12:09 +0000 (15:12 +0000)]
gdcm::SerieHelper replaces gdcm::SerieHeader

19 years ago * Reorder file content
regrain [Wed, 2 Feb 2005 15:07:41 +0000 (15:07 +0000)]
   * Reorder file content
   -- BeNours

19 years ago * Reorder file content
regrain [Wed, 2 Feb 2005 14:52:22 +0000 (14:52 +0000)]
   * Reorder file content
   -- BeNours

19 years agoStrange name gdcm::SerieHeader turned to gdcm::SerieHelper
jpr [Wed, 2 Feb 2005 14:26:30 +0000 (14:26 +0000)]
Strange name gdcm::SerieHeader turned to gdcm::SerieHelper

19 years ago * Remove useless util
regrain [Wed, 2 Feb 2005 13:41:34 +0000 (13:41 +0000)]
   * Remove useless util
   -- BeNours

19 years agoUncomment
jpr [Wed, 2 Feb 2005 12:02:33 +0000 (12:02 +0000)]
Uncomment
# Add a special test that requires dciodvfy from dicom3tools
INCLUDE(${GDCM_SOURCE_DIR}/CMake/FindDicom3Tools.cmake)
erroneouly commented out

19 years agoCorrect misstyping
jpr [Wed, 2 Feb 2005 11:38:28 +0000 (11:38 +0000)]
Correct misstyping

19 years agoRemove useless file
jpr [Wed, 2 Feb 2005 10:47:41 +0000 (10:47 +0000)]
Remove useless file

19 years agoRemove useless file
jpr [Wed, 2 Feb 2005 10:44:21 +0000 (10:44 +0000)]
Remove useless file

19 years agoName normalization
jpr [Wed, 2 Feb 2005 10:41:10 +0000 (10:41 +0000)]
Name normalization

19 years agoNormalization
jpr [Wed, 2 Feb 2005 10:36:05 +0000 (10:36 +0000)]
Normalization

19 years agoRemove useless TestDcm2Acr.cxx
jpr [Wed, 2 Feb 2005 10:17:55 +0000 (10:17 +0000)]
Remove useless TestDcm2Acr.cxx

19 years agoFix Doxygen warnings
jpr [Wed, 2 Feb 2005 10:16:02 +0000 (10:16 +0000)]
Fix Doxygen warnings

19 years agoupdate Changelog
jpr [Wed, 2 Feb 2005 10:09:43 +0000 (10:09 +0000)]
update Changelog

19 years agoNormalization
jpr [Wed, 2 Feb 2005 10:02:16 +0000 (10:02 +0000)]
Normalization

19 years agoNow AddEntry works in the correct spot
jpr [Wed, 2 Feb 2005 10:00:24 +0000 (10:00 +0000)]
Now AddEntry works in the correct spot

19 years agoSTYLE: the mult test was duplicate with the max == 0. Remove it. This doesnt solve...
malaterre [Tue, 1 Feb 2005 19:05:53 +0000 (19:05 +0000)]
STYLE: the mult test was duplicate with the max == 0. Remove it. This doesnt solve the problem of weird serie anyway

19 years agoBUG: Please keep me (for gcc 2.95)
malaterre [Tue, 1 Feb 2005 18:37:31 +0000 (18:37 +0000)]
BUG: Please keep me (for gcc 2.95)

19 years agoENH: Cleanup the CMake stuff.
malaterre [Tue, 1 Feb 2005 18:34:31 +0000 (18:34 +0000)]
ENH: Cleanup the CMake stuff.

19 years ago * No comments...
regrain [Tue, 1 Feb 2005 13:55:08 +0000 (13:55 +0000)]
   * No comments...

19 years ago * FIX : bug in the vtk part for installing
regrain [Tue, 1 Feb 2005 13:47:30 +0000 (13:47 +0000)]
   * FIX : bug in the vtk part for installing
   -- BeNours

19 years ago * Test/BuildUpDicomDir.cxx : bug fix for windows compilation
regrain [Tue, 1 Feb 2005 13:42:44 +0000 (13:42 +0000)]
   * Test/BuildUpDicomDir.cxx : bug fix for windows compilation
   * Test/TestAllReadCompareDicom.cxx : remove inserted bug by one of
     my last commit... sorry
   -- BeNours

19 years agoNormalization
jpr [Tue, 1 Feb 2005 13:11:49 +0000 (13:11 +0000)]
Normalization

19 years agoFix Doxygen warnings
jpr [Tue, 1 Feb 2005 13:00:15 +0000 (13:00 +0000)]
Fix Doxygen warnings

19 years agoSetDebugOn
jpr [Tue, 1 Feb 2005 11:13:08 +0000 (11:13 +0000)]
SetDebugOn

19 years agoTry to fix mixture betweem 2 cvs up/ cvs commit
jpr [Tue, 1 Feb 2005 11:02:27 +0000 (11:02 +0000)]
Try to fix mixture betweem 2 cvs up/ cvs commit

19 years agoEnforce checkings
jpr [Tue, 1 Feb 2005 10:52:09 +0000 (10:52 +0000)]
Enforce checkings

19 years agoCosmetics
jpr [Tue, 1 Feb 2005 10:41:33 +0000 (10:41 +0000)]
Cosmetics

19 years ago* FIX : SerieHeader::ImageNumberOrdering()
jpr [Tue, 1 Feb 2005 10:40:46 +0000 (10:40 +0000)]
* FIX : SerieHeader::ImageNumberOrdering()
        Works only on bona fide files  (i.e image number is a character string
        corresponding to an integer)
        within a bona fide serie (i.e image numbers are consecutive)