]> Creatis software - gdcm.git/log
gdcm.git
16 years agoAdd a JPEG200-writter test
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)

16 years agoShow images whose pixels differ +/-1 after compression/decompression
jpr [Thu, 30 Aug 2007 10:16:58 +0000 (10:16 +0000)]
Show images whose pixels differ +/-1 after compression/decompression

16 years agoAdd example
jpr [Wed, 29 Aug 2007 16:26:05 +0000 (16:26 +0000)]
Add example

16 years agoCompile exMakeIcon, as well
jpr [Wed, 29 Aug 2007 15:58:48 +0000 (15:58 +0000)]
Compile exMakeIcon, as well

16 years agoLoad *all* the fields
jpr [Wed, 29 Aug 2007 15:58:19 +0000 (15:58 +0000)]
Load *all* the fields

16 years agoTypo
jpr [Wed, 29 Aug 2007 15:56:41 +0000 (15:56 +0000)]
Typo

16 years agoJpeg writter is no longer confused by DataElements 7fe0|0010 inside a Sequence
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 !

16 years ago- Don't covert grey level pixels+LUT to RGB pixels before compression
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.
:-(

16 years ago Don't convert gray pixels+LUT to RBG pixels before compression
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()

16 years agoAvoid ctest to abort on 32 bits per pxel image RTDOSE.dcm
jpr [Wed, 29 Aug 2007 08:10:14 +0000 (08:10 +0000)]
Avoid ctest to abort on 32 bits per pxel image RTDOSE.dcm

16 years agoStill trying to make a full JPEG Writer test.
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!)

16 years agoAvoid JPEG2000 writting to be confused by odd lengthes
jpr [Tue, 28 Aug 2007 16:51:54 +0000 (16:51 +0000)]
Avoid JPEG2000 writting to be confused by odd lengthes

16 years agoAvoid JPEG 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!

16 years agoAvoid JPEG, JPEG2000 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!

16 years agoAvoid FileHelper::CheckMandatoryElements to be confused by uncomplete headers
jpr [Tue, 28 Aug 2007 14:05:33 +0000 (14:05 +0000)]
Avoid FileHelper::CheckMandatoryElements to be confused by uncomplete headers

16 years agoNow vtkgdcmViewer2 displays the colors correctly.
jpr [Tue, 28 Aug 2007 14:02:13 +0000 (14:02 +0000)]
Now vtkgdcmViewer2 displays the colors correctly.
Thx to Mathieu for the fix.

16 years agoPropagate Pixel Aspect Ratio (if any) to the compressed image.
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)

16 years agoUnify with vtkgdcmViewer2.cxx
jpr [Tue, 28 Aug 2007 09:41:39 +0000 (09:41 +0000)]
Unify with vtkgdcmViewer2.cxx

16 years agoUnify WriteDicomAsJPEG2000.cxx and WriteDicomAsJPEG.cxx
jpr [Tue, 28 Aug 2007 09:40:19 +0000 (09:40 +0000)]
Unify WriteDicomAsJPEG2000.cxx and WriteDicomAsJPEG.cxx

16 years agoWhen 'Pixel Aspect Ratio' exists, don't add a default 'Pixel Spacing'
jpr [Tue, 28 Aug 2007 09:29:26 +0000 (09:29 +0000)]
When 'Pixel Aspect Ratio' exists, don't add a default 'Pixel Spacing'

16 years agoTrying to normalize JPEG Writing (not yet finished)
jpr [Mon, 27 Aug 2007 16:14:47 +0000 (16:14 +0000)]
Trying to normalize JPEG Writing (not yet finished)

16 years agoFirst version of a general JPEG-writer tester
jpr [Mon, 27 Aug 2007 16:09:06 +0000 (16:09 +0000)]
First version of a general JPEG-writer tester
(Still to be checked ...)

16 years agoUpdate News
jpr [Fri, 24 Aug 2007 11:28:45 +0000 (11:28 +0000)]
Update News

16 years agoUpdate
jpr [Fri, 24 Aug 2007 10:49:08 +0000 (10:49 +0000)]
Update

16 years agoDeal with JPEG/JPEG2000 writting
jpr [Fri, 24 Aug 2007 10:48:08 +0000 (10:48 +0000)]
Deal with JPEG/JPEG2000 writting

16 years agoFix comments
jpr [Fri, 24 Aug 2007 10:45:18 +0000 (10:45 +0000)]
Fix comments

16 years agoTry to make gdcm1.2 and gdcm1.3 usable int the same source code.
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)

16 years agoupgrade
jpr [Tue, 21 Aug 2007 15:10:04 +0000 (15:10 +0000)]
upgrade

16 years agoAdd undocument option for Jpeg Writting (still bugged)
jpr [Tue, 21 Aug 2007 13:17:51 +0000 (13:17 +0000)]
Add undocument option for Jpeg Writting (still bugged)

16 years agoOn the way to unification with ITK version
jpr [Tue, 21 Aug 2007 12:51:09 +0000 (12:51 +0000)]
On the way to unification with ITK version

16 years agoOne more GE Private
jpr [Tue, 21 Aug 2007 12:47:48 +0000 (12:47 +0000)]
One more GE Private

16 years agoAdd
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

16 years agoCheck new accessors
jpr [Mon, 20 Aug 2007 13:25:32 +0000 (13:25 +0000)]
Check new accessors

16 years agoAdd methods to get number of objets
jpr [Mon, 20 Aug 2007 13:24:04 +0000 (13:24 +0000)]
Add methods to get number of objets

16 years agoFix some comments
jpr [Fri, 27 Jul 2007 21:21:48 +0000 (21:21 +0000)]
Fix some comments

16 years agoMake sure gdcm with NOPRIV doesn't break
jpr [Fri, 27 Jul 2007 21:20:13 +0000 (21:20 +0000)]
Make sure gdcm with NOPRIV doesn't break

16 years agoDeal with element 0x0001 of Private Groups
jpr [Fri, 27 Jul 2007 09:49:31 +0000 (09:49 +0000)]
Deal with element 0x0001 of Private Groups

16 years ago *actual* image length may differ to 1 with Pixel Data Element length!
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.

16 years agoWe are no longer cheated by Elem belonging to group 0x0002,
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.

16 years agoTypo
jpr [Wed, 25 Jul 2007 16:14:33 +0000 (16:14 +0000)]
Typo

16 years agoSometimes, fixing a bug in the library causes troubles in the Testing part...
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!)

16 years agoNow ReWrite tells the caller when it fails.
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.

16 years agoWhen NX*NY*nbOfComponents was odd, one (useless) byte was missing.
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!

16 years agoWe don't switch any longer to ImplicitVR when undocumented DataElement is found
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)

16 years agoComments
jpr [Tue, 24 Jul 2007 12:30:11 +0000 (12:30 +0000)]
Comments

16 years agoTemporary comment out of WriteDicomAsJPEGxxx
jpr [Tue, 24 Jul 2007 12:25:46 +0000 (12:25 +0000)]
Temporary comment out of WriteDicomAsJPEGxxx

16 years agoShould work both with vtk4 and vtk 5.
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.

16 years agoAdd comment to help converting gdcm1.2 to gdcm1.3
jpr [Tue, 24 Jul 2007 09:49:56 +0000 (09:49 +0000)]
Add comment to help converting gdcm1.2 to gdcm1.3

16 years agoTemporary removal of WriteDicomAsJPEG
jpr [Fri, 13 Jul 2007 08:42:06 +0000 (08:42 +0000)]
Temporary removal of WriteDicomAsJPEG

16 years agoFirst step to sync with v 1.2.2
jpr [Fri, 13 Jul 2007 08:17:19 +0000 (08:17 +0000)]
First step to sync with v 1.2.2

16 years agoAdd a comment about a patch to be able to reda wrong images, wher UN length is
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)
      {

16 years agoDicomize Dense files in their 2007 version
jpr [Tue, 10 Jul 2007 11:00:50 +0000 (11:00 +0000)]
Dicomize Dense files in their 2007 version

16 years agoAdd monochrome1 parameter.
jpr [Thu, 5 Jul 2007 13:17:26 +0000 (13:17 +0000)]
Add monochrome1 parameter.

16 years agoFix comments
jpr [Thu, 5 Jul 2007 10:53:48 +0000 (10:53 +0000)]
Fix comments

16 years agoMore explanations on future 'Developer's guide'
jpr [Thu, 5 Jul 2007 10:37:53 +0000 (10:37 +0000)]
More explanations on future 'Developer's guide'

16 years agoDon't drop _
jpr [Thu, 5 Jul 2007 09:34:12 +0000 (09:34 +0000)]
Don't drop _

16 years agoFix for LibIDO images.
jpr [Wed, 4 Jul 2007 17:39:28 +0000 (17:39 +0000)]
Fix for LibIDO images.
Use input=IDO

16 years agoAvoid confusion due to missing values
jpr [Wed, 4 Jul 2007 15:40:51 +0000 (15:40 +0000)]
Avoid confusion due to missing values

16 years agoShorter strings
jpr [Wed, 4 Jul 2007 15:38:53 +0000 (15:38 +0000)]
Shorter strings

16 years agoForget to remove couts
jpr [Wed, 4 Jul 2007 14:42:33 +0000 (14:42 +0000)]
Forget to remove couts

16 years agoAllow user to ask for MONOCHROME1 (0 = white) writting.
jpr [Wed, 4 Jul 2007 10:43:19 +0000 (10:43 +0000)]
Allow user to ask for MONOCHROME1 (0 = white) writting.

16 years agoAdd FileHelper::SetPhotometricInterpretationToMonochrome1() to allow user to
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.

16 years agoUser has now to ask for rubbing outthe burnt-in image numbers.
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.

16 years agoBug fix for old ACR-NEMA images :
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.

16 years agoAdd some parameters for the (aware) user.
jpr [Wed, 27 Jun 2007 08:43:25 +0000 (08:43 +0000)]
Add some parameters for the (aware) user.

16 years agoAvoid warnings
jpr [Wed, 27 Jun 2007 08:38:44 +0000 (08:38 +0000)]
Avoid warnings

16 years agoSome Updates
jpr [Tue, 26 Jun 2007 15:42:45 +0000 (15:42 +0000)]
Some Updates

16 years agoSome updates
jpr [Tue, 26 Jun 2007 15:42:14 +0000 (15:42 +0000)]
Some updates

16 years agoUpdate CmakeLists.txt
jpr [Tue, 26 Jun 2007 15:41:10 +0000 (15:41 +0000)]
Update CmakeLists.txt

16 years agoLittle utility.
jpr [Tue, 26 Jun 2007 15:40:38 +0000 (15:40 +0000)]
Little utility.
(better we write 'anything to Dcm' !

16 years agoRemove obsolet file.
jpr [Mon, 25 Jun 2007 09:42:29 +0000 (09:42 +0000)]
Remove obsolet file.

16 years agoBUG GDCM_NAME_SPACE
davila [Mon, 25 Jun 2007 06:36:04 +0000 (06:36 +0000)]
BUG GDCM_NAME_SPACE

16 years agoAvoid some warnings
jpr [Fri, 22 Jun 2007 11:01:57 +0000 (11:01 +0000)]
Avoid some warnings

16 years agoNever trust optimiser!
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)

16 years ago??
jpr [Thu, 21 Jun 2007 16:31:56 +0000 (16:31 +0000)]
??

16 years agoFix print length.
jpr [Thu, 21 Jun 2007 16:31:02 +0000 (16:31 +0000)]
Fix print length.

16 years agoRemove temporarily some verbosity
jpr [Thu, 21 Jun 2007 16:18:02 +0000 (16:18 +0000)]
Remove temporarily some verbosity
(PrintFile still works, TestPrintAllDocuments crashes ?!?)

16 years agoFinal (?) changes for gdcm:: -> GDCM_NAME_SPACE
jpr [Thu, 21 Jun 2007 15:40:37 +0000 (15:40 +0000)]
Final (?) changes for gdcm:: -> GDCM_NAME_SPACE

16 years agogdcm::
jpr [Thu, 21 Jun 2007 15:06:12 +0000 (15:06 +0000)]
gdcm::

16 years agogdcm::
jpr [Thu, 21 Jun 2007 15:01:00 +0000 (15:01 +0000)]
gdcm::

16 years agoGDCM_NAME_SPACE
davila [Thu, 21 Jun 2007 14:59:05 +0000 (14:59 +0000)]
GDCM_NAME_SPACE

16 years agoreplace gdcm:: by GDCM_NAME_SPACE::
jpr [Thu, 21 Jun 2007 14:47:16 +0000 (14:47 +0000)]
replace gdcm:: by GDCM_NAME_SPACE::

16 years agoName Space
davila [Tue, 19 Jun 2007 13:09:43 +0000 (13:09 +0000)]
Name Space

16 years agoBetter I comment out unfinished stuff!
jpr [Mon, 18 Jun 2007 15:46:05 +0000 (15:46 +0000)]
Better I comment out unfinished stuff!

16 years agoFix bug in "despaired wild guesses"
jpr [Mon, 18 Jun 2007 15:44:52 +0000 (15:44 +0000)]
Fix bug in "despaired wild guesses"

16 years agoUpdate
jpr [Mon, 18 Jun 2007 12:38:22 +0000 (12:38 +0000)]
Update

16 years agoFix loosing the first image of each serie.
jpr [Mon, 18 Jun 2007 12:13:44 +0000 (12:13 +0000)]
Fix loosing the first image of each serie.
Thx to Pierre Fillard for reporting and fixing the bug

16 years agoFirst (dirty) version of a Dicom RT checker
jpr [Mon, 18 Jun 2007 12:02:54 +0000 (12:02 +0000)]
First (dirty) version of a Dicom RT checker
Don't use right now!

16 years agoFix a bug ... when reading a bugged DICOMDIR.
jpr [Mon, 18 Jun 2007 11:10:17 +0000 (11:10 +0000)]
Fix a bug ... when reading a bugged DICOMDIR.
(When Sequence terminator is missing, gdcm::Document parsing crashed on Windows)
Thx to Dr Gianni Lazzarato for reporting the bug.

16 years agoUpdate comments
jpr [Fri, 15 Jun 2007 13:18:50 +0000 (13:18 +0000)]
Update comments

16 years agoWithin some Dicom images, all the elements of shadow groups are tagged
jpr [Fri, 15 Jun 2007 13:16:55 +0000 (13:16 +0000)]
Within some Dicom images, all the elements of shadow groups are tagged
 with a VR = "UN", and we get trouble when using a private Dicom dictionary.
->  Fix the trouble.
 Thx to Mathieu Malaterre for proving image.

16 years agoAdd AGFA private dicom dictionary.
jpr [Fri, 15 Jun 2007 10:00:05 +0000 (10:00 +0000)]
Add AGFA private dicom dictionary.
Th to Mathieu Malaterre for provinding it.

16 years agoOther despaired wild guess to get swap code.
jpr [Mon, 11 Jun 2007 18:18:37 +0000 (18:18 +0000)]
Other despaired wild guess to get swap code.
(and be not less clever than dcmdump)

16 years agoShould help in Linux
jpr [Mon, 11 Jun 2007 15:29:45 +0000 (15:29 +0000)]
Should help in Linux

16 years ago Add new method :
jpr [Fri, 8 Jun 2007 12:49:37 +0000 (12:49 +0000)]
  Add new method :
 SerieHelper::SetDicomDirSerie(DicomDirSerie *se)

16 years agoAdd macro to use DropDuplicatePositions directly
jpr [Fri, 8 Jun 2007 12:43:19 +0000 (12:43 +0000)]
Add macro to use DropDuplicatePositions directly

16 years agoUse new feature sh->SetDropDuplicatePositions(true);
jpr [Fri, 8 Jun 2007 12:41:07 +0000 (12:41 +0000)]
Use new feature sh->SetDropDuplicatePositions(true);

16 years agotypo
jpr [Fri, 8 Jun 2007 12:39:49 +0000 (12:39 +0000)]
typo

16 years agoAdd some comments for newbees.
jpr [Fri, 8 Jun 2007 12:39:07 +0000 (12:39 +0000)]
Add some comments for newbees.
avoid loosing time to re explain!)

16 years agoAdd an example on how to extract CSA informations.
jpr [Thu, 7 Jun 2007 16:13:14 +0000 (16:13 +0000)]
Add an example on how to extract CSA informations.
Thx to Mathieu Malaterre for supplying root code.

A lot of work remains to do to make gdcm methods (class ?)