jpr [Tue, 14 Oct 2003 15:39:32 +0000 (15:39 +0000)]
Missing elements added
(just to be affraid : have a look at
ftp://medical.nema.org/medical/dicom/2003/01v03dif/01v03_06.pdf
and do it again next year ;->
jpr [Mon, 13 Oct 2003 13:41:57 +0000 (13:41 +0000)]
According to PS 3.3-2003 C.11.1.1.2 p 619, when each pixel of a PLATTE COLOR
is stored on 2 Bytes, theese 2 Bytes must be equal.
But there are NOT.
It's fixed !
jpr [Mon, 6 Oct 2003 13:37:25 +0000 (13:37 +0000)]
A few nasty patches to allow the reading of a lot of nasty images
( e.g : well known GE images with a wrong elem length,
: Philips MRI Images with a wrong Huffman table)
--> still to be done : allow the reading of bugged LEONARDO Siemens images
jpr [Fri, 3 Oct 2003 07:46:06 +0000 (07:46 +0000)]
gdcmFile::GetImageDataIntoVector now
- deals with MultiFrames MultiFragments Run Length Encoded files
- deals with YcBcR (YBR_FULL) files
- deals with YBR_YBR_FULL_422 files (they work as RBG files ?!?)
WARNING : nothing was checked for YBR_PARTIAL_422, YBR_ICT, YBR_RCT files.
(no sample found :-(
malaterre [Thu, 2 Oct 2003 11:26:15 +0000 (11:26 +0000)]
src/*.cxx removed pragma thingies to src/gdcmCommon.h
Two reasons: - clear things
- third parties access gdcm through header files, so won't
suffer anymore VC++ complains
-->File gdcmParse.cxx added
gdcmFile::ParsePixelData(void); display the result
of Dicom-encapsulated JPEG or RLE files 'Pixels Element' parsing.
For checking purpose only.
-->modif to improve the processing of multi-Frames multi-Segments compressed files.
* src/gdcmUtil.[cxx|h] : change the _CreateCleanString return value from
char* to std::string. Thus, the use of strdup becoomes useless. (see
previous commis of Malaterre)
* src/gdcmElValSet.cxx : reuse commented call to _CreateCleanString like
before the last Malaterre's commit.
-- BeNours
* This commit should fix the Debug building under VC++, the problem was mainly a mixture of debug and release lib being loaded at startup.
* I also remove a depency to a specific C function: strdup. Because I had to force the link to msvcrtd (whereas strdup is in libc).
* "gdcm::Unfound" string changed to a constant variable (GDCM_UNFOUND)
located in the gdcmCommon.h file. All use of reference of tha has been
changed to now use the variable GDCM_UNFOUND.
-- BeNours
* Cosmetic changes:
- gdcmPython/testSuite.py adapted to the JPR updated Dicts/dicomV3.dic
Dicom dictionary. The test suite can now be run again. Note:
I'm note very happy with the " (RET)" changes. I believe this
RETAINED comment should be dropped when parsing the dictionary.
- PACKAGER corrected
- DEVELOPPER added.
- AUTHORS updated and now in alphabetical order
* src/gdcmHeaderHelper.[h cxx]: added new class that provide an
interpretation to data given by gdcmHeader. For instance there are
heuristics to get informations (look at different places).
* it also include a specific class: gdcmSerieHeaderHelper devoted to
sorting DICOM images based on different strategies.
* modified Makefiles accordingly.
* src/*.cxx : added pragma disable 4786/4251 to get rid of ~4300 warning
when building in debug mode
* vtk/win32/vtkgdcm.dsp : change /MT -> /MD and /MTd -> /MDd to match
src/win32/gdcmdll.dsp
* vtk/win32/vtkgdcm.dsp : added /nodefaultlib "mscvrt" for debug mode
* src/win32/libgdcmjpeg12.dsp was not dos format
* src/win32/libgdcmjpeg12.dsp : libgdcmijpeg12_EXPORTS -> LIBGDCMIJPEG12_EXPORTS
* src/win32/gdcmdll.dsp: + /I "..\jpeg\libijg12"
* src/gdcmHeader.h : add std:: prefix for stl elements... like others in
the file
* src/gdcmFile.cxx : bug fix in affectation type
* src/jpeg/libijpeg12/jmorecfg12.h : export for windows modified... like
in src/jpeg/libijpeg8/jmorecfg8.h (JPR : copy/paste exists !!!)
* Modifs of MVSC projects to compile them. Not concerning 2 identic
symbols... futur problem ?
-- BeNours