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.
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.
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
malaterre [Thu, 14 Oct 2004 02:45:31 +0000 (02:45 +0000)]
ENH: Update the jpeg library. This patch is the result of the ijg lib + ls-patch freely available on the web under a BSD like license (aka Standford implementation) + 2 home-made patchs (one based on dcmtk bug-fixes and one from previous ijg bug-fixes in gdcm)
- Also removed all tabs using sed -i 's/\t/ /g' *.c *.h
frog [Wed, 13 Oct 2004 14:15:28 +0000 (14:15 +0000)]
* Doc/Website/MailingList.html added (Sidebar.html changed accordingly).
* gdcmPython/gdcm.i: fix for compilation of wrappers (Note: %include order
matters, as stated in warning note at begining of %include section).
* src/gdcmDicomDir*.[cxx|h]: coding style
* src/gdcmDocument.h: doxygen \ref seems uncompatible with \todo.
* src/gdcmJpeg8.cxx: doxygen fix.
* CLEANUP_ROUND (12) for gdcmPixelConvert (seing the ligth stage)
src/gdcmFile.[cxx|h] and gdcmPixelConvert.[cxx|h]: color handling moved
from File:: to PixelConvert::.
frog [Tue, 12 Oct 2004 09:59:44 +0000 (09:59 +0000)]
* CLEANUP_ROUND (11) for gdcmPixelConvert (cafeine is my friend stage)
src/gdcmFile.[cxx|h] and gdcmPixelConvert.[cxx|h]:
- more code moved away from File:: to PixelConvert::
- fat setup of PixelConverter set in place in File::Initialise.
frog [Sun, 10 Oct 2004 16:43:58 +0000 (16:43 +0000)]
* CLEANUP_ROUND (10) for gdcmPixelConvert (Xanax is my friend stage)
The JPEG fragments are now parsed at the same stage than the RLE
information. All code related to JPEG is now in gdcmPixelConvert:
- src/gdcmJPEGFragment.h and gdcmJPEGFragmentsInfo.[h|cxx] added
- src/gdcmJpeg12.cxx, gdcmJpeg2000.cxx and gdcmJpeg8.cxx no longer
export a gdcmFile:: method. Those are simply global functions
(for the time being this is better than having them attach to
either gdcmFile:: or gdcmPixelConvert::).
- src/gdcmDocument.[cxx|h], gdcmDocument:: now parser the JPEG fragments
and stores the result in a gdcmJPEGFragmentsInfo.
- src/gdcmFile.[cxx|h] and gdcmPixelConvert.[cxx|h]: all JPEG related
code (among other stuff) moved away from gdcmFile:; to
gdcmPixelConvert::
malaterre [Sat, 9 Oct 2004 02:57:11 +0000 (02:57 +0000)]
:ENH: carefully one at a time modify gdcm src. For now rewrite gdcmDictEntry. Modify gdcmUtil to have a sprintf like method called Format. We should really do a gdcmUtil class to encapsulate all those globals fonctions.
frog [Fri, 8 Oct 2004 17:02:52 +0000 (17:02 +0000)]
* CLEANUP_ROUND (9) for gdcmPixelConvert
- src/gdcmFile.[cxx|h} gdcmPixelConvert.[cxx|h], SwapZone(),
ConvertReorderEndianity(), ConvertDecmpres12BitsTo16Bits() moved
away from gdcmFile:: to gdcmPixelConvert::.
frog [Fri, 8 Oct 2004 16:27:19 +0000 (16:27 +0000)]
* CLEANUP_ROUND (8) for gdcmPixelConvert (end of RLE nigthmare)
- src/gdcmRLE.cxx removed
- src/gdcmPixelConvert.cxx all RLE code is now in PixelConvert::
- src/CMakeLists.txt gdcmFile.[cxx|h] changed accordingly
- src/gdcmRLEFrame*.h gdcmPixelConvert is now a friend class.
frog [Fri, 8 Oct 2004 08:56:48 +0000 (08:56 +0000)]
* CLEANUP_ROUND (7) for gdcmPixelConvert (lost at sea)
- src/gdcmFile.h gdcmPixelConvert.cxx gdcmPixelConvert.h gdcmRLE.cxx:
clean up of RLE related code.
malaterre [Fri, 8 Oct 2004 04:43:37 +0000 (04:43 +0000)]
ENH: If possible move the stl include after the gdcm ones, to avoid vc warnings
deprecated eatwhite I wasn't able to find the ref in any c++ refs, only microsoft implement it, thus fallback to a more standart c++ approach. This is mainly to get rid of any 'c' like include header
- and some minor cleanups
malaterre [Thu, 7 Oct 2004 04:04:42 +0000 (04:04 +0000)]
ENH: I am a moron. Fix compilation of gdcm in static mode, I had to add some new mangle names, thus update the process to find them. Also add some warning fixes for a very well known compiler
malaterre [Thu, 7 Oct 2004 03:18:02 +0000 (03:18 +0000)]
ENH: Finally modify gdcm source to adapt to new jpeg lib, this is not perfect but this avoid problems on some system where jpeg is already installed in standart path.
malaterre [Thu, 7 Oct 2004 02:55:13 +0000 (02:55 +0000)]
ENH: Created a new local dir libijg (from libijg8), then went on the server copy all files to preserver revision -as a side effect it creates stuff in previous revision-. Added the modification we made to the official ijg, help to keep track of them. And finally rework the CMakeLists.txt file... and removed tabs
frog [Wed, 6 Oct 2004 22:31:31 +0000 (22:31 +0000)]
* CLEANUP_ROUND (6) for gdcmPixelConvert (man, I need a paddle bad)
- src/gdcmRLE.cxx: is now much simpler and avoids code replication
with the retired Parse7FE0().
- src/gdcmRLEFrame.h: type fix for properly computing OffSet[]
- src/gdcmDocument.cxx: segments offset are now correct + clean up.
frog [Wed, 6 Oct 2004 21:30:02 +0000 (21:30 +0000)]
* CLEANUP_ROUND (5) for gdcmPixelConvert (Upshit creek without a paddle)
- src/gdcmDocument.[cxx|h] Parse7Fe0 renamed to ComputeRLEInfo.
This is because Parse7Fe0 used to parse the pixels to compute the
length. This task was passed over to FindDocEntryLengthOB() a long
time ago, EXCEPT I had forgotten the OW case...
Hence Parse7Fe0 was no longer necessary. When renaming to ComputeRLEInfo
we just recylce the code for parsing RLE fragments and computing
offsets.
frog [Wed, 6 Oct 2004 09:58:08 +0000 (09:58 +0000)]
* CLEANUP_ROUND (3) for gdcmPixelConvert (nightmare stage)
- src/gdcmRLEFramesInfo.[cxx|h], gdcmRLEFrame.h added
- src/gdcmDocument.[cxx|h] ::Parse7FE0 now sets up the RLEInfo.
- src/CMakeLists.txt: alphabetic order reodering + new entries.
malaterre [Sun, 3 Oct 2004 20:17:57 +0000 (20:17 +0000)]
ENH: Adding jconfig.h.in, which later be the central file to either generate the 8bits or 12bits jpeg library. Cmake will generate the proper .h file containing the redifinition of symbols
malaterre [Fri, 1 Oct 2004 21:48:32 +0000 (21:48 +0000)]
ENH: Remove unecesseray file, were not in CMakeLists.txt. Also ease comparison with VTK. I did not do the same thing in 12bits dir since this directory is meant to desepear anyway
frog [Fri, 1 Oct 2004 12:40:55 +0000 (12:40 +0000)]
* Added documentation of vtkgdcmReader on Website:
- testvtkGdcmReader.cxx renamed to vtkGdcmDemo.cxx (to be compatible
with it's binary name).
- vtk/vtkGdcmDemo.cxx and vtkgdcmViewer.cxx: added comments for
the Website to be more complete.
- Doc/doxygen.config.in: vtk/vtkGdcmReader.cxx now appears on
doxygenated documentation.
- Doc/DoxyVtkGdcmReaderExamples.txt added
(see http://www.creatis.insa-lyon.fr/Public/Gdcm/html.developper/
DoxyVtkGdmReaderExamples.html )
* src/win32, vtk/win32 manually maintained .dsp and .dsw removed.
* CLEANUP_ROUND (3) for gdcmPixelConvert
- src/gdcmFile.cxx, gdcmFile.h splitting GetImageDataIntoVectorRaw