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...
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
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.
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.
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
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...
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.
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
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
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
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)
malaterre [Mon, 31 Jan 2005 06:17:22 +0000 (06:17 +0000)]
ENH: Yet another pass to get RLE stuff similar to JPEG. I am still unhappy with the increment of Raw. Ideally the compressor superclass should hold this pointer instead of passing around subRaw thingy
malaterre [Mon, 31 Jan 2005 05:24:21 +0000 (05:24 +0000)]
ENH: Getting toward a nice gdcmDecompressor. Now RLE and JPEG are getting similar in behavior. Also patch vtkgdvmViewer since I couldnt see D_CLUNIE_RG2_RLE.dcm properly...
malaterre [Mon, 31 Jan 2005 03:22:23 +0000 (03:22 +0000)]
ENH: Huge commit to remove the previous implementation for jpeg/fragments/multiframes. Use full potential of IJG, one of the best written io library. IJG rocks
jpr [Sun, 30 Jan 2005 17:33:13 +0000 (17:33 +0000)]
Update ChangeLog :
* SerieHeader::SetDirectory() allow recursive exploration of the Directory
* SerieHeader::AddFileName() creates as many Coherent Files lists
(same Serie UID) as it founds different Serie UID
amongst the files insead of discarting any file
that doesn't match with the first one he found.
* SerieHeader::OrderGdcmFileListhas now pne parameter :
the Coherent Files list the user wants to sort
* SerieHeader::GetFirstCoherentFileList()
* SerieHeader::GetLastCoherentFileList() allows to parse
the set of Coherent Files lists
* const SerieHeader::GdcmFileList &GetGdcmFileList() is kept, for backwards
compatibility (it returns the *first* Coherent Files list,
since there was only one before)
* Test/TestSerieHeader gets gdcmData as a default root directory
jpr [Sun, 30 Jan 2005 17:22:55 +0000 (17:22 +0000)]
* SerieHeader::AddFileName() creates as many Coherent Files lists
(same Serie UID) as it founds different Serie UID
amongst the files insead of discarting any file
that doesn't match with the first one he found.
* SerieHeader::OrderGdcmFileListhas now pne parameter :
the Coherent Files list the user wants to sort
* SerieHeader::GetFirstCoherentFileList()
* SerieHeader::GetLastCoherentFileList() allows to parse
the set of Coherent Files lists
* const SerieHeader::GdcmFileList &GetGdcmFileList() is kept, for backwards
compatibility (it returns the *first* Coherent Files list,
since there was only one before)
regrain [Fri, 28 Jan 2005 09:37:28 +0000 (09:37 +0000)]
* src/gdcmUtil.cxx : compilation fix on Win32
* src/gdcmUtil.[h|cxx] : Set the default GDCM UID in a static constant
variable, to be easy found. Add methods to change the default UID.
Amelioration of the CreateUniqueUID to use the correct default UID.
* src/gdcmFile.cxx : correct use of the CreateUniqueUID method to create
a new file
-- BeNours