]> Creatis software - gdcm.git/log
gdcm.git
17 years agoENH: Yes we handle j2k and lossless now
malaterre [Wed, 15 Nov 2006 22:34:02 +0000 (22:34 +0000)]
ENH: Yes we handle j2k and lossless now

17 years agoAllow wrapping of DirList
jpr [Wed, 15 Nov 2006 16:19:47 +0000 (16:19 +0000)]
Allow wrapping of DirList

17 years agoAdd GetImagePositionPatient() checking
jpr [Wed, 15 Nov 2006 16:00:34 +0000 (16:00 +0000)]
Add GetImagePositionPatient() checking

17 years agoPrint some more usefull info
jpr [Wed, 15 Nov 2006 15:57:49 +0000 (15:57 +0000)]
Print some more usefull info

17 years agoIn order to avois futher post processing trouble,
jpr [Wed, 15 Nov 2006 15:56:56 +0000 (15:56 +0000)]
In order to avois futher post processing trouble,
   force a default PatientOrientation(Patient) and PatientPosition(Patient)

17 years agoTo please Python, add accesors on each Orientation cosine
jpr [Wed, 15 Nov 2006 15:54:15 +0000 (15:54 +0000)]
To please Python, add accesors on each  Orientation cosine

17 years agoTo please python :
jpr [Wed, 15 Nov 2006 15:53:08 +0000 (15:53 +0000)]
To please python :

-> remove default value for constructor.
-> add Get/Set accessors

17 years ago * Test for a bug fix
regrain [Thu, 9 Nov 2006 11:33:03 +0000 (11:33 +0000)]
   * Test for a bug fix
   -- BeNours

17 years agoHope application can link against non-installed version of gdcm
jpr [Wed, 8 Nov 2006 17:06:35 +0000 (17:06 +0000)]
Hope application can link against non-installed version of gdcm

17 years agomake warning message more explicit (?)
jpr [Wed, 8 Nov 2006 17:04:32 +0000 (17:04 +0000)]
make warning message more explicit (?)

17 years agoadd method
jpr [Wed, 8 Nov 2006 17:03:38 +0000 (17:03 +0000)]
add method
bool File::GetImagePositionPatient( float ipp[3] )

17 years agoSome bozzos declare a 'ExplicitVRBigEndian' syntax within the meta elements
jpr [Wed, 25 Oct 2006 14:08:10 +0000 (14:08 +0000)]
Some bozzos declare a 'ExplicitVRBigEndian' syntax within the meta elements
but write the file as a ExplicitVRLittleEndian' syntax one.
-> We no longer trust what we where told (by meta elements)
   (we only trust what we see!)

17 years ago(Try to) make ToMRIregister produces troubleless ACR files
jpr [Mon, 23 Oct 2006 15:51:33 +0000 (15:51 +0000)]
(Try to) make ToMRIregister produces troubleless ACR files

17 years agoAdd 0x0008,0000 DataElement, to verify it's kept only for ACR files
jpr [Mon, 23 Oct 2006 15:49:14 +0000 (15:49 +0000)]
Add 0x0008,0000 DataElement, to verify it's kept only for ACR files

17 years agoSome ACR readers *need* the DataElement (0x0008,0x0000), and cannot recognize
jpr [Mon, 23 Oct 2006 15:45:19 +0000 (15:45 +0000)]
Some ACR readers *need* the DataElement (0x0008,0x0000), and cannot recognize
gdcm-written ACR files :-(
DataElement (0x0008,0x0000) is now added to ACR-files.
(I guess nobody cares, but people from Cardiological Hospital,
 using *very* old clinical Softwares)

17 years agoSome wrecked ACR-NEMA-like images begin by group 0028 (?!?)
jpr [Thu, 19 Oct 2006 10:30:45 +0000 (10:30 +0000)]
Some wrecked ACR-NEMA-like images begin by group 0028 (?!?)
DicomWorks reads them.
Why gdcm shouldn't do it, as well ?
Fixed !

17 years agoFileHelper::CheckMandatoryElements() now checks as well
jpr [Wed, 18 Oct 2006 13:40:18 +0000 (13:40 +0000)]
FileHelper::CheckMandatoryElements() now checks as well
Pixel Representation (0028_0103) and defailts it as 0 (unsigned) if missing
to avoid unexpected behavior for images written by unaware users.

17 years agoDeal with Endianness
jpr [Wed, 11 Oct 2006 15:43:36 +0000 (15:43 +0000)]
Deal with Endianness

17 years agoAvoid memory leaks
jpr [Fri, 1 Sep 2006 13:42:02 +0000 (13:42 +0000)]
Avoid memory leaks

17 years agoSorting the file list on 'file name' should work on any platform!
jpr [Fri, 1 Sep 2006 13:25:27 +0000 (13:25 +0000)]
Sorting the file list on 'file name' should work on any platform!

17 years agoMy previous patch hanged on images with Bits Allocated = 12.
jpr [Wed, 30 Aug 2006 13:31:05 +0000 (13:31 +0000)]
My previous patch hanged on images with Bits Allocated = 12.
(Not so common, but not a bug)
This one should be the final one (hope so !)

17 years agoFix message for View Position
jpr [Tue, 29 Aug 2006 15:53:09 +0000 (15:53 +0000)]
Fix message for View Position

17 years agoAvoid propagating bugs when ReWrite an image 'not 8 bits- not 16 Bits'
jpr [Tue, 29 Aug 2006 15:50:05 +0000 (15:50 +0000)]
Avoid propagating bugs when ReWrite an image 'not 8 bits- not 16 Bits'
BitsAllocated

17 years agoForget to commit this one (Bits Allocated related pb)
jpr [Tue, 29 Aug 2006 15:17:51 +0000 (15:17 +0000)]
Forget to commit this one (Bits Allocated related pb)

17 years agoOld uncommited comments
jpr [Tue, 29 Aug 2006 14:39:45 +0000 (14:39 +0000)]
Old uncommited comments

17 years agoBypass a stupid bug in some headers
jpr [Tue, 29 Aug 2006 10:21:20 +0000 (10:21 +0000)]
Bypass a stupid bug in some headers
(when bits allocated >8 <16, force result of GetPixelType() to "16... )

17 years agoFix comments
jpr [Thu, 24 Aug 2006 13:05:50 +0000 (13:05 +0000)]
Fix comments

17 years agoDon't polute generated image header with meaningless stuff!
jpr [Thu, 24 Aug 2006 12:50:49 +0000 (12:50 +0000)]
Don't polute generated image header with meaningless stuff!

17 years agoFix writting of Overlays image
jpr [Thu, 24 Aug 2006 12:31:32 +0000 (12:31 +0000)]
Fix writting of Overlays image
(Thx to Mathieu for provining accurate data, to check)

17 years agoTo help Google user to reach gdcm Home page
jpr [Wed, 23 Aug 2006 15:30:36 +0000 (15:30 +0000)]
To help Google user to reach gdcm Home page

17 years agoENH: Make code a little more const correct
malaterre [Fri, 18 Aug 2006 18:34:57 +0000 (18:34 +0000)]
ENH: Make code a little more const correct

17 years agoENH: a fix for a broken compiler should NOT impact other compiler
malaterre [Fri, 18 Aug 2006 16:10:48 +0000 (16:10 +0000)]
ENH: a fix for a broken compiler should NOT impact other compiler

17 years agoCOMP: Backport from gdcm1.2
malaterre [Fri, 18 Aug 2006 16:08:16 +0000 (16:08 +0000)]
COMP: Backport from gdcm1.2

17 years agoCOMP: Attempt to fix jpr code
malaterre [Fri, 18 Aug 2006 16:03:46 +0000 (16:03 +0000)]
COMP: Attempt to fix jpr code

17 years agoUsage
jpr [Wed, 26 Jul 2006 17:48:14 +0000 (17:48 +0000)]
Usage

17 years agoUse gdcm1.3 features, to save CPU time
jpr [Wed, 26 Jul 2006 17:47:39 +0000 (17:47 +0000)]
Use gdcm1.3 features, to save CPU time

17 years agoRemove trailing spaces
jpr [Wed, 26 Jul 2006 17:46:02 +0000 (17:46 +0000)]
Remove trailing spaces

17 years agoRemove now useless PhilipsToBrucker2.cxx
jpr [Wed, 26 Jul 2006 17:43:10 +0000 (17:43 +0000)]
Remove now useless PhilipsToBrucker2.cxx
(replaced formerly by more general ToInTag.cxx)

17 years agoMind the swap code, as well!
jpr [Wed, 26 Jul 2006 17:39:54 +0000 (17:39 +0000)]
Mind the swap code, as well!

17 years ago " Extracts user supplied tags (identified by group number-element number)",
jpr [Wed, 26 Jul 2006 17:19:39 +0000 (17:19 +0000)]
   "   Extracts user supplied tags (identified by group number-element number)",
   "   and writes their values in a text file.                                ",
   "   (file will be used as input by BrainVisa software )                    ",

17 years ago " - Converts the Siemens Sonata MRI '*tfl2d1' DICOM files ",
jpr [Wed, 26 Jul 2006 17:15:27 +0000 (17:15 +0000)]
   " - Converts the Siemens Sonata MRI '*tfl2d1' DICOM files                  ",
   " to be processable by MriRegister software                                ",
   " - May be used as a template for gdcm::SerieHelper use.                   ",

17 years agoUse proper type for iterators
jpr [Wed, 26 Jul 2006 17:05:25 +0000 (17:05 +0000)]
Use proper type for iterators

17 years agoMind the Time Triggers, as well
jpr [Wed, 26 Jul 2006 17:02:55 +0000 (17:02 +0000)]
Mind the Time Triggers, as well

17 years agoSometimes, two values are *not separated by a white space.
jpr [Mon, 24 Jul 2006 16:36:45 +0000 (16:36 +0000)]
Sometimes, two values are *not separated by a white space.
Fortunately, the second one is negative.
I had better to rewrite atof (?!)
eg
"-0.00801272 0.0320147-7.09668e-005 -0.0501062 -0.0879057 -0.101794"

17 years agoDeal with trailing anatomical images (juste after parametric ones)
jpr [Fri, 21 Jul 2006 17:18:27 +0000 (17:18 +0000)]
Deal with trailing anatomical images (juste after parametric ones)

17 years agoENH: Minor patch
malaterre [Thu, 20 Jul 2006 22:30:04 +0000 (22:30 +0000)]
ENH: Minor patch

17 years agoENH: Adding ExportConfiguration
malaterre [Thu, 20 Jul 2006 21:59:01 +0000 (21:59 +0000)]
ENH: Adding ExportConfiguration

17 years agofix mistyping
jpr [Thu, 20 Jul 2006 17:47:34 +0000 (17:47 +0000)]
fix mistyping

17 years ago * This program
jpr [Thu, 20 Jul 2006 17:15:28 +0000 (17:15 +0000)]
  * This program
  * - explores recursively the (single Patient, single Study) directory
  * - examines the ".txt" Dense multiframe files
  * - Converts the files into 16 bits Dicom Files
  * WARNING : directory must contain ONLY .txt files

  (Probabely some more refinements to be added, but I wouldn't like to loose
   the source)

17 years agoFix Z position component within Image Position Patient
jpr [Wed, 19 Jul 2006 09:04:46 +0000 (09:04 +0000)]
Fix Z position component within Image Position Patient

17 years ago//
jpr [Wed, 19 Jul 2006 09:03:24 +0000 (09:03 +0000)]
//
// This program is used to convert huge amounts of functionnal (3D + T) MR images
// into 'image tiles' (one title per volume) processable by clinical softwares
//

17 years agoForgot to comment out Linux specific code (CPU time computation)
jpr [Tue, 18 Jul 2006 10:12:56 +0000 (10:12 +0000)]
Forgot to comment out Linux specific code (CPU time computation)

17 years agoAdd 32 bits support
jpr [Mon, 17 Jul 2006 13:27:57 +0000 (13:27 +0000)]
Add 32 bits support

17 years agoMinor changes
jpr [Mon, 17 Jul 2006 13:24:59 +0000 (13:24 +0000)]
Minor changes

17 years agoSome old versions of VTK? ITK ? SeriesWriter weren't too much strict
jpr [Mon, 17 Jul 2006 13:21:05 +0000 (13:21 +0000)]
Some old versions of VTK? ITK ? SeriesWriter weren't too much strict
 when they did the job.
 A lot of people has a lot of 'supposed to be Serie' directories
 that, actually, aren't at all.
 The following program converts them (hope so!)

17 years agoAdd info on gdcm1.2/gdcm1.3 API breaking modifs
jpr [Wed, 12 Jul 2006 12:18:58 +0000 (12:18 +0000)]
Add info on gdcm1.2/gdcm1.3 API breaking modifs

17 years agoAdd a gdcm1.3 syntax version of WriteDicomAsJPEG2000.cxx
jpr [Wed, 12 Jul 2006 09:35:38 +0000 (09:35 +0000)]
Add a gdcm1.3 syntax version of WriteDicomAsJPEG2000.cxx

17 years agoUse a small (8 bytes) buffer to mininize time consuming freads
jpr [Mon, 10 Jul 2006 09:41:46 +0000 (09:41 +0000)]
Use a small (8 bytes) buffer to mininize time consuming freads
during the reding process of the beginning (group+element+vr+length)
of DataEntries.

17 years agoAvoid polluting command line applications output when no Ethernet cable !
jpr [Mon, 10 Jul 2006 09:37:33 +0000 (09:37 +0000)]
Avoid polluting command line applications output when no Ethernet cable !

17 years ago- Avoid useless creation of std::string
jpr [Mon, 10 Jul 2006 08:27:27 +0000 (08:27 +0000)]
- Avoid useless creation of std::string
- Avoid loosing time with std::string comparisons

17 years ago- (try to) optimize time consuming IsItemStarter() method.
jpr [Thu, 6 Jul 2006 16:57:06 +0000 (16:57 +0000)]
- (try to) optimize time consuming IsItemStarter() method.
- inline Isxxx methods (well, with gcc it seems not to have any effect)

17 years agoinfo on API breaking modif (since 1.2)
jpr [Thu, 6 Jul 2006 16:37:19 +0000 (16:37 +0000)]
info on API breaking modif (since 1.2)

17 years agoAvoid using std::string stuff when it's useless (CPU time saving)
jpr [Thu, 6 Jul 2006 15:08:10 +0000 (15:08 +0000)]
Avoid using std::string stuff when it's useless (CPU time saving)

17 years agoReturning a const ref is quicker than returning a value.
jpr [Thu, 6 Jul 2006 15:06:35 +0000 (15:06 +0000)]
Returning a const ref is quicker than returning a value.
Thx to Benoit for provinding enhencement.

17 years agochar *[] instead of char ** to avoid M$ troubles
jpr [Thu, 6 Jul 2006 13:23:14 +0000 (13:23 +0000)]
char *[] instead of char ** to avoid M$ troubles

17 years agoPort Mathieu's modif for writting JPEG2000
jpr [Thu, 6 Jul 2006 12:38:05 +0000 (12:38 +0000)]
Port Mathieu's modif for writting JPEG2000

17 years agoForgot to commit/upload some valEntry,BinEntry vs DataEntry usefull info
jpr [Thu, 6 Jul 2006 10:52:14 +0000 (10:52 +0000)]
Forgot to commit/upload some valEntry,BinEntry vs DataEntry usefull info

17 years agoAdd small utility to convert 'Dense' file format iamges into DICOM images
jpr [Thu, 6 Jul 2006 09:49:15 +0000 (09:49 +0000)]
Add small utility to convert 'Dense' file format iamges into DICOM images
(will be usefull to anybody that have such images ...)

17 years agoAvoid warnings Darwin-gcc
jpr [Wed, 5 Jul 2006 13:08:32 +0000 (13:08 +0000)]
Avoid warnings Darwin-gcc

17 years agocomment out Txt2Mat
jpr [Tue, 4 Jul 2006 10:29:16 +0000 (10:29 +0000)]
comment out Txt2Mat

17 years ago'Acr-NEMA' data elements
jpr [Tue, 4 Jul 2006 09:51:11 +0000 (09:51 +0000)]
'Acr-NEMA' data elements
0008,0001 Length to End
0008,0010 Recognition Code
0028,0005 Image Dimension
are now automaically pushed out by FileHelper::CheckMandatoryElements
when somebody rewrittes ACR into DICOM.
Thx to Mathieu for reporting the pb.

17 years agoPort Mathieu's patch from gdcm 1.2 (in gdcmValEntry.cxx)
jpr [Tue, 4 Jul 2006 09:36:18 +0000 (09:36 +0000)]
Port Mathieu's patch from gdcm 1.2 (in gdcmValEntry.cxx)
ENH: Better patch. Always pad with space except if VR is UI
(Shouldn't we think in unifying gdcm1.3 an cvs version -post gdcm1.3-
a lot of work is done twice; interesting enhencements are now in gdcm1.3
The only pb is New vs new, right?

17 years agoAdd WriteDicomAsJPEG
jpr [Tue, 4 Jul 2006 08:00:43 +0000 (08:00 +0000)]
Add WriteDicomAsJPEG

17 years agoPort Mathieu'a modif in gdcm1.2
jpr [Tue, 4 Jul 2006 07:58:50 +0000 (07:58 +0000)]
Port Mathieu'a modif in gdcm1.2
ENH: More work toward JPEG support

17 years agoWorks for more old ACR-NEMA images
jpr [Fri, 30 Jun 2006 09:58:08 +0000 (09:58 +0000)]
Works for more old ACR-NEMA images

17 years agoDisplay Spacings
jpr [Fri, 30 Jun 2006 09:55:20 +0000 (09:55 +0000)]
Display Spacings

17 years agoAdd uint64_t related checks
jpr [Fri, 30 Jun 2006 09:54:30 +0000 (09:54 +0000)]
Add uint64_t related checks

17 years agoAdd comments/warnings
jpr [Fri, 30 Jun 2006 09:52:53 +0000 (09:52 +0000)]
Add comments/warnings

17 years agoAdd verbosity
jpr [Fri, 30 Jun 2006 09:49:27 +0000 (09:49 +0000)]
Add verbosity

17 years agoAvoid warnings
jpr [Fri, 30 Jun 2006 09:48:05 +0000 (09:48 +0000)]
Avoid warnings

17 years agoTry to remove valgrind useless warnings
jpr [Fri, 30 Jun 2006 09:47:35 +0000 (09:47 +0000)]
Try to remove valgrind useless warnings

17 years agoAdd comments on the use od Rescale Slope / Intercept
jpr [Thu, 29 Jun 2006 13:27:28 +0000 (13:27 +0000)]
Add comments on the use od Rescale Slope / Intercept

17 years agoDoxygenation
jpr [Thu, 29 Jun 2006 13:26:08 +0000 (13:26 +0000)]
Doxygenation

17 years agoAdd verbosity when something wrong happens
jpr [Wed, 21 Jun 2006 14:06:56 +0000 (14:06 +0000)]
Add verbosity when something wrong happens

17 years agoHope, on a day, GetYSpacing will return accurate info, for any image
jpr [Wed, 21 Jun 2006 14:05:00 +0000 (14:05 +0000)]
Hope, on a day, GetYSpacing will return accurate info, for any image

17 years agoSome US images have NO Pixel Spacing nor Pixel Ratio
jpr [Tue, 20 Jun 2006 16:11:17 +0000 (16:11 +0000)]
Some US images have NO Pixel Spacing nor Pixel Ratio
:-(

17 years agoTry to take into account 'Pixel Aspect Ratio', etc to compute Spacings.
jpr [Thu, 15 Jun 2006 14:25:26 +0000 (14:25 +0000)]
Try to take into account 'Pixel Aspect Ratio', etc to compute Spacings.
(More to be added)

17 years ago Little patch for strange PMS Gyroscan Intera images
jpr [Thu, 15 Jun 2006 14:22:33 +0000 (14:22 +0000)]
 Little patch for strange PMS Gyroscan Intera images
( Item 'starter' has a tag : 0x3f3f,0x3f00, for no apparent reason )
'PMS' means 'Philips Medical Systems', as you can guess !

17 years agoFix misstyping
jpr [Mon, 12 Jun 2006 14:24:41 +0000 (14:24 +0000)]
Fix misstyping

17 years agoAvoid messing written Dicom images when no Study UID is found
jpr [Thu, 8 Jun 2006 13:41:28 +0000 (13:41 +0000)]
Avoid messing written Dicom images when no Study UID is found

17 years agoAdd some comments about pixel spacing
jpr [Thu, 8 Jun 2006 13:37:33 +0000 (13:37 +0000)]
Add some comments about pixel spacing

17 years agoForgot commenting out
jpr [Wed, 7 Jun 2006 14:19:27 +0000 (14:19 +0000)]
Forgot commenting out

17 years agoavoid 'type qualifier on return type is meaningless' warning with
jpr [Wed, 7 Jun 2006 12:35:47 +0000 (12:35 +0000)]
avoid 'type qualifier on return type is meaningless' warning with
dash8.kitware -- GDCM-ecc-64bits

17 years agoAvoid some warnings
jpr [Wed, 7 Jun 2006 12:23:25 +0000 (12:23 +0000)]
Avoid some warnings

17 years agoAvois some warnings
jpr [Wed, 7 Jun 2006 12:22:50 +0000 (12:22 +0000)]
Avois some warnings

17 years agoAdd a *really* empty test, to know if gdcm dll is loadable or not :-(
jpr [Tue, 6 Jun 2006 15:15:48 +0000 (15:15 +0000)]
Add a *really* empty test, to know if gdcm dll is loadable or not :-(

17 years agoFix misstyping
jpr [Tue, 6 Jun 2006 12:44:52 +0000 (12:44 +0000)]
Fix misstyping

17 years agoBUG: Report bug
malaterre [Mon, 5 Jun 2006 22:39:17 +0000 (22:39 +0000)]
BUG: Report bug

17 years agoAdd a (very) small User Guide.
jpr [Mon, 5 Jun 2006 10:20:16 +0000 (10:20 +0000)]
Add a (very) small User Guide.
More is comming.

17 years agoAdd some DICOM 2005 entries
jpr [Fri, 2 Jun 2006 05:56:46 +0000 (05:56 +0000)]
Add some DICOM 2005 entries
(remaining ones to come)