]>
Creatis software - gdcm.git/log
jpr [Wed, 5 Sep 2007 08:22:57 +0000 (08:22 +0000)]
JPEG2000 reader deals with multiframes.
Thx to Ma
jpr [Tue, 4 Sep 2007 16:21:50 +0000 (16:21 +0000)]
Oversimple stuff to load/not load the overlays (group 60xx) :
add "o" to the file list.
ex
vtkgdcmViewer2 gdcmData/XA_GE_JPEG_02_with_Overlays.dcm
--> usual way of viewing the image
vtkgdcmViewer2 gdcmData/XA_GE_JPEG_02_with_Overlays.dcm o
--> overlays are displayed.
The default mode is, of course, NOT TO LOAD the overlays
jpr [Tue, 4 Sep 2007 15:43:38 +0000 (15:43 +0000)]
Clean code
jpr [Tue, 4 Sep 2007 14:44:45 +0000 (14:44 +0000)]
Refine testing
jpr [Tue, 4 Sep 2007 13:42:57 +0000 (13:42 +0000)]
Autogenerated misstyping after system crash ?!???
jpr [Tue, 4 Sep 2007 13:14:33 +0000 (13:14 +0000)]
Solve (hope so!) the JPEG troubles when BitsStored == 8 && BitsAllocated==16
jpr [Tue, 4 Sep 2007 13:06:12 +0000 (13:06 +0000)]
Add 'keepoverlays' parameter (just a test)
jpr [Tue, 4 Sep 2007 13:04:18 +0000 (13:04 +0000)]
Add disclaimer
jpr [Tue, 4 Sep 2007 13:02:45 +0000 (13:02 +0000)]
Refine testing
jpr [Tue, 4 Sep 2007 08:06:52 +0000 (08:06 +0000)]
Check more oddities
jpr [Mon, 3 Sep 2007 16:34:58 +0000 (16:34 +0000)]
Fix to be able to read Jpeg images 16/8.
Warning : overlays are lost!
(a method is missing, to say gdcm we want to keep them!)
jpr [Mon, 3 Sep 2007 16:12:41 +0000 (16:12 +0000)]
Add overlays groups (what will be the max number ?!?)
Thx to Mathieu for telling the lack.
jpr [Fri, 31 Aug 2007 14:11:00 +0000 (14:11 +0000)]
Forget to commit this one.
Thx to Mathieu for reporting bug.
jpr [Fri, 31 Aug 2007 10:59:08 +0000 (10:59 +0000)]
Now, we compress properly images (BitsAllocated 16, BitsStored 12).
Thx to Mathieu for providing fix.
Pending problem :images (BitsAllocated 16, BitsStored 8)
-Not so common !-
jpr [Thu, 30 Aug 2007 17:38:20 +0000 (17:38 +0000)]
Typo
jpr [Thu, 30 Aug 2007 17:37:16 +0000 (17:37 +0000)]
Solves the problem of +/-1 on some images.
Thx to Mathieu for sending the patch.
(Pb of BitsStored=12 still pending)
jpr [Thu, 30 Aug 2007 14:07:33 +0000 (14:07 +0000)]
(try to) help debugger
jpr [Thu, 30 Aug 2007 11:51:29 +0000 (11:51 +0000)]
Add some verbosity (usefull at debugging time)
jpr [Thu, 30 Aug 2007 11:29:03 +0000 (11:29 +0000)]
Add a JPEG200-writter test
Right now, it fails on 12 images (amongst 150)
jpr [Thu, 30 Aug 2007 10:16:58 +0000 (10:16 +0000)]
Show images whose pixels differ +/-1 after compression/decompression
jpr [Wed, 29 Aug 2007 16:26:05 +0000 (16:26 +0000)]
Add example
jpr [Wed, 29 Aug 2007 15:58:48 +0000 (15:58 +0000)]
Compile exMakeIcon, as well
jpr [Wed, 29 Aug 2007 15:58:19 +0000 (15:58 +0000)]
Load *all* the fields
jpr [Wed, 29 Aug 2007 15:56:41 +0000 (15:56 +0000)]
Typo
jpr [Wed, 29 Aug 2007 15:30:48 +0000 (15:30 +0000)]
Jpeg writter is no longer confused by DataElements 7fe0|0010 inside a Sequence
(e.g. : an icon inside Icom Image Sequence)
Hope there is no compressed icons !
jpr [Wed, 29 Aug 2007 08:26:54 +0000 (08:26 +0000)]
- Don't covert grey level pixels+LUT to RGB pixels before compression
- Check pixels on the right legth (for odd length data)
- Allow a difference of +/-1 between native image and decompressed image for
each pixel
- Display the warnings at the right place
- Count successes and failures
Warning :
-> It seems that *all* the failures 'pixels differ as expanded in memory'
shouldn't appear (resulting image looks perfect ?!?)
-> For some images :
gdcmData/
05115014 -mr-siemens-avanto-syngo-with-palette-icone.dcm
gdcmData/
05119865 -mr-siemens-avanto-syngo.dcm
gdcmData/
05148044 -mr-siemens-avanto-syngo.dcm
gdcmData/CT-SIEMENS-Icone-With-PaletteColor.dcm
gdcmData/GE_CT_With_Private_compressed-icon.dcm
gdcmData/MR_GE_with_Private_Compressed_Icon_0009_1110.dcm
gdcmData/SiemensMagnetomPhoenixWithCSAinfo.dcm
gdcmData/MR-sonata-3D-as-Tile.dcm
gdcmData/CT_Phillips_UNvsSQ_fixed.dcm
gdcmData/MR-SIEMENS-DICOM-WithOverlays.dcm
gdcmData/MR-SIEMENS-DICOM-WithOverlays-extracted-overlays.dcm
gdcmData/PICKER-16-MONO2-Nested_icon.dcm
gdcmData/PrivateGEImplicitVRBigEndianTransferSyntax16Bits.dcm
compression leads to non gdcm-parsable result.
:-(
jpr [Wed, 29 Aug 2007 08:13:40 +0000 (08:13 +0000)]
Don't convert gray pixels+LUT to RBG pixels before compression
Replace tested->GetImageData() by tested->GetImageDataRaw()
jpr [Wed, 29 Aug 2007 08:10:14 +0000 (08:10 +0000)]
Avoid ctest to abort on 32 bits per pxel image RTDOSE.dcm
jpr [Tue, 28 Aug 2007 16:57:00 +0000 (16:57 +0000)]
Still trying to make a full JPEG Writer test.
(A lot of oddities to be fixed!)
jpr [Tue, 28 Aug 2007 16:51:54 +0000 (16:51 +0000)]
Avoid JPEG2000 writting to be confused by odd lengthes
jpr [Tue, 28 Aug 2007 16:49:04 +0000 (16:49 +0000)]
Avoid JPEG writting to be confused by odd lengthes!
jpr [Tue, 28 Aug 2007 16:47:48 +0000 (16:47 +0000)]
Avoid JPEG, JPEG2000 writting to be confused by odd lengthes!
jpr [Tue, 28 Aug 2007 14:05:33 +0000 (14:05 +0000)]
Avoid FileHelper::CheckMandatoryElements to be confused by uncomplete headers
jpr [Tue, 28 Aug 2007 14:02:13 +0000 (14:02 +0000)]
Now vtkgdcmViewer2 displays the colors correctly.
Thx to Mathieu for the fix.
jpr [Tue, 28 Aug 2007 14:00:52 +0000 (14:00 +0000)]
Propagate Pixel Aspect Ratio (if any) to the compressed image.
(It would be displayed properly, if missing)
jpr [Tue, 28 Aug 2007 09:41:39 +0000 (09:41 +0000)]
Unify with vtkgdcmViewer2.cxx
jpr [Tue, 28 Aug 2007 09:40:19 +0000 (09:40 +0000)]
Unify WriteDicomAsJPEG2000.cxx and WriteDicomAsJPEG.cxx
jpr [Tue, 28 Aug 2007 09:29:26 +0000 (09:29 +0000)]
When 'Pixel Aspect Ratio' exists, don't add a default 'Pixel Spacing'
jpr [Mon, 27 Aug 2007 16:14:47 +0000 (16:14 +0000)]
Trying to normalize JPEG Writing (not yet finished)
jpr [Mon, 27 Aug 2007 16:09:06 +0000 (16:09 +0000)]
First version of a general JPEG-writer tester
(Still to be checked ...)
jpr [Fri, 24 Aug 2007 11:28:45 +0000 (11:28 +0000)]
Update News
jpr [Fri, 24 Aug 2007 10:49:08 +0000 (10:49 +0000)]
Update
jpr [Fri, 24 Aug 2007 10:48:08 +0000 (10:48 +0000)]
Deal with JPEG/JPEG2000 writting
jpr [Fri, 24 Aug 2007 10:45:18 +0000 (10:45 +0000)]
Fix comments
jpr [Wed, 22 Aug 2007 16:14:03 +0000 (16:14 +0000)]
Try to make gdcm1.2 and gdcm1.3 usable int the same source code.
(Still don't work : macro and global variables are defined twice)
jpr [Tue, 21 Aug 2007 15:10:04 +0000 (15:10 +0000)]
upgrade
jpr [Tue, 21 Aug 2007 13:17:51 +0000 (13:17 +0000)]
Add undocument option for Jpeg Writting (still bugged)
jpr [Tue, 21 Aug 2007 12:51:09 +0000 (12:51 +0000)]
On the way to unification with ITK version
jpr [Tue, 21 Aug 2007 12:47:48 +0000 (12:47 +0000)]
One more GE Private
jpr [Tue, 21 Aug 2007 12:01:39 +0000 (12:01 +0000)]
Add
1.2.840.113619.4.26 GE Private 3D Model Image Storage
jpr [Mon, 20 Aug 2007 13:25:32 +0000 (13:25 +0000)]
Check new accessors
jpr [Mon, 20 Aug 2007 13:24:04 +0000 (13:24 +0000)]
Add methods to get number of objets
jpr [Fri, 27 Jul 2007 21:21:48 +0000 (21:21 +0000)]
Fix some comments
jpr [Fri, 27 Jul 2007 21:20:13 +0000 (21:20 +0000)]
Make sure gdcm with NOPRIV doesn't break
jpr [Fri, 27 Jul 2007 09:49:31 +0000 (09:49 +0000)]
Deal with element 0x0001 of Private Groups
jpr [Thu, 26 Jul 2007 09:25:38 +0000 (09:25 +0000)]
*actual* image length may differ to 1 with Pixel Data Element length!
Test is fixed.
jpr [Thu, 26 Jul 2007 08:36:49 +0000 (08:36 +0000)]
We are no longer cheated by Elem belonging to group 0x0002,
located inside a Sequence, when we ReWrite as Implicit VR.
Thx to Mathieu for reporting the pb.
jpr [Wed, 25 Jul 2007 16:14:33 +0000 (16:14 +0000)]
Typo
jpr [Wed, 25 Jul 2007 15:47:20 +0000 (15:47 +0000)]
Sometimes, fixing a bug in the library causes troubles in the Testing part...
(Pixels Data element *have* an even length when rewritten!)
jpr [Wed, 25 Jul 2007 13:15:14 +0000 (13:15 +0000)]
Now ReWrite tells the caller when it fails.
Thx to Mathieu for fixing.
jpr [Wed, 25 Jul 2007 10:35:20 +0000 (10:35 +0000)]
When NX*NY*nbOfComponents was odd, one (useless) byte was missing.
dcmtk *does* care about it!
jpr [Tue, 24 Jul 2007 16:17:04 +0000 (16:17 +0000)]
We don't switch any longer to ImplicitVR when undocumented DataElement is found
(DocEntry::WriteContent puts vr="UN" for undocumented Shadow)
jpr [Tue, 24 Jul 2007 12:30:11 +0000 (12:30 +0000)]
Comments
jpr [Tue, 24 Jul 2007 12:25:46 +0000 (12:25 +0000)]
Temporary comment out of WriteDicomAsJPEGxxx
jpr [Tue, 24 Jul 2007 12:22:58 +0000 (12:22 +0000)]
Should work both with vtk4 and vtk 5.
Thx to Charles P. Botha for suppling fix.
jpr [Tue, 24 Jul 2007 09:49:56 +0000 (09:49 +0000)]
Add comment to help converting gdcm1.2 to gdcm1.3
jpr [Fri, 13 Jul 2007 08:42:06 +0000 (08:42 +0000)]
Temporary removal of WriteDicomAsJPEG
jpr [Fri, 13 Jul 2007 08:17:19 +0000 (08:17 +0000)]
First step to sync with v 1.2.2
jpr [Wed, 11 Jul 2007 12:21:01 +0000 (12:21 +0000)]
Add a comment about a patch to be able to reda wrong images, wher UN length is
coded on 2 bytes.
// WARNING :
//
// For some images, length of UN elements is coded on 2 bytes (instead of 4)
// There are *not* readable !
// You can make a quick and dirty patch, commenting out
//| vr == "UN"
// in the following line.
// (the 'straight' images will no longer be readable ...)
if ( vr == "OB" || vr == "OW" || vr == "SQ" || vr == "UT"
|| vr == "UN" || changeFromUN == true)
{
jpr [Tue, 10 Jul 2007 11:00:50 +0000 (11:00 +0000)]
Dicomize Dense files in their 2007 version
jpr [Thu, 5 Jul 2007 13:17:26 +0000 (13:17 +0000)]
Add monochrome1 parameter.
jpr [Thu, 5 Jul 2007 10:53:48 +0000 (10:53 +0000)]
Fix comments
jpr [Thu, 5 Jul 2007 10:37:53 +0000 (10:37 +0000)]
More explanations on future 'Developer's guide'
jpr [Thu, 5 Jul 2007 09:34:12 +0000 (09:34 +0000)]
Don't drop _
jpr [Wed, 4 Jul 2007 17:39:28 +0000 (17:39 +0000)]
Fix for LibIDO images.
Use input=IDO
jpr [Wed, 4 Jul 2007 15:40:51 +0000 (15:40 +0000)]
Avoid confusion due to missing values
jpr [Wed, 4 Jul 2007 15:38:53 +0000 (15:38 +0000)]
Shorter strings
jpr [Wed, 4 Jul 2007 14:42:33 +0000 (14:42 +0000)]
Forget to remove couts
jpr [Wed, 4 Jul 2007 10:43:19 +0000 (10:43 +0000)]
Allow user to ask for MONOCHROME1 (0 = white) writting.
jpr [Wed, 4 Jul 2007 10:40:56 +0000 (10:40 +0000)]
Add FileHelper::SetPhotometricInterpretationToMonochrome1() to allow user to
write as MONOCHROME1 (0 = white)
Warning : Pixel Data must be supplied with 0 = Black;
they are converted before writting.
jpr [Wed, 4 Jul 2007 10:31:55 +0000 (10:31 +0000)]
User has now to ask for rubbing outthe burnt-in image numbers.
Use rubout keyword.
jpr [Tue, 3 Jul 2007 08:17:24 +0000 (08:17 +0000)]
Bug fix for old ACR-NEMA images :
When entry 0x0028, 0x0004 (photochromatic interpretation) was missing,
IsMonochrome() always said FALSE, even when the was no PALETTE
and number of scalar components =1.
jpr [Wed, 27 Jun 2007 08:43:25 +0000 (08:43 +0000)]
Add some parameters for the (aware) user.
jpr [Wed, 27 Jun 2007 08:38:44 +0000 (08:38 +0000)]
Avoid warnings
jpr [Tue, 26 Jun 2007 15:42:45 +0000 (15:42 +0000)]
Some Updates
jpr [Tue, 26 Jun 2007 15:42:14 +0000 (15:42 +0000)]
Some updates
jpr [Tue, 26 Jun 2007 15:41:10 +0000 (15:41 +0000)]
Update CmakeLists.txt
jpr [Tue, 26 Jun 2007 15:40:38 +0000 (15:40 +0000)]
Little utility.
(better we write 'anything to Dcm' !
jpr [Mon, 25 Jun 2007 09:42:29 +0000 (09:42 +0000)]
Remove obsolet file.
davila [Mon, 25 Jun 2007 06:36:04 +0000 (06:36 +0000)]
BUG GDCM_NAME_SPACE
jpr [Fri, 22 Jun 2007 11:01:57 +0000 (11:01 +0000)]
Avoid some warnings
jpr [Fri, 22 Jun 2007 10:02:48 +0000 (10:02 +0000)]
Never trust optimiser!
Thx to Eduardo Davila for reporting the bug.
(failed on MSVC6)
jpr [Thu, 21 Jun 2007 16:31:56 +0000 (16:31 +0000)]
??
jpr [Thu, 21 Jun 2007 16:31:02 +0000 (16:31 +0000)]
Fix print length.
jpr [Thu, 21 Jun 2007 16:18:02 +0000 (16:18 +0000)]
Remove temporarily some verbosity
(PrintFile still works, TestPrintAllDocuments crashes ?!?)
jpr [Thu, 21 Jun 2007 15:40:37 +0000 (15:40 +0000)]
Final (?) changes for gdcm:: -> GDCM_NAME_SPACE
jpr [Thu, 21 Jun 2007 15:06:12 +0000 (15:06 +0000)]
gdcm::
jpr [Thu, 21 Jun 2007 15:01:00 +0000 (15:01 +0000)]
gdcm::
davila [Thu, 21 Jun 2007 14:59:05 +0000 (14:59 +0000)]
GDCM_NAME_SPACE
jpr [Thu, 21 Jun 2007 14:47:16 +0000 (14:47 +0000)]
replace gdcm:: by GDCM_NAME_SPACE::