]> Creatis software - gdcm.git/log
gdcm.git
18 years agoSome minor comments modifications
jpr [Fri, 3 Feb 2006 16:37:42 +0000 (16:37 +0000)]
Some minor comments modifications

18 years agoAvoid polluting the output
jpr [Thu, 2 Feb 2006 12:52:38 +0000 (12:52 +0000)]
Avoid polluting the output

18 years agoNew fashion Patient Name, to avoid dciodvfy warning
jpr [Thu, 2 Feb 2006 11:26:02 +0000 (11:26 +0000)]
New fashion Patient Name, to avoid dciodvfy warning

18 years agoSince we don't modify pixels -> keep unchanged the following :
jpr [Wed, 1 Feb 2006 10:46:53 +0000 (10:46 +0000)]
Since we don't modify pixels -> keep unchanged the following :
      // 'Media Storage SOP Class UID' (0x0002,0x0002)
      // 'SOP Class UID'               (0x0008,0x0016)
      // 'Image Type'                  (0x0008,0x0008)
      // 'Conversion Type'             (0x0008,0x0064)
 We use :
 fh->SetKeepMediaStorageSOPClassUID(true);

18 years agoNow the names will be correctly sorted.
jpr [Tue, 31 Jan 2006 15:28:54 +0000 (15:28 +0000)]
Now the names will be correctly sorted.
eg: patName_2 vs patName_100 / patName_002 vs patName_100

18 years agoSince grid tagging is quote either 'ROW' or 'COL' (nobody can guess it !),
jpr [Tue, 31 Jan 2006 14:09:26 +0000 (14:09 +0000)]
Since grid tagging is quote either 'ROW' or 'COL' (nobody can guess it !),
user is kindly requested to supply the autoref keyword 'taggrid' when he knows.

18 years agoShould generate MatLab readable Dicom files.
jpr [Tue, 31 Jan 2006 11:45:43 +0000 (11:45 +0000)]
Should generate MatLab readable Dicom files.
(We don't mix any longer ExplicitVR and ImplicitVR within the same shadow group)

18 years agoTo avoid some warnings
jpr [Tue, 31 Jan 2006 11:42:08 +0000 (11:42 +0000)]
To avoid some warnings

18 years agoAdd the method int ElementSet::IsVRCoherent( uint16_t group )
jpr [Tue, 31 Jan 2006 11:39:47 +0000 (11:39 +0000)]
Add the method int ElementSet::IsVRCoherent( uint16_t group )

To check whether *all* the DataEntries of the group have all
       the same type for VR (ImplicitVR or ExplicitVR)
@param group group number to be checked
@return 1:ImplicitVR 2:ExplicitVR -1:NotCoherent

18 years agoThe automatic set to VR = "LO" for shadow elements that could be
jpr [Tue, 31 Jan 2006 11:32:06 +0000 (11:32 +0000)]
The automatic set to VR = "LO" for shadow elements that could be
is now commented out in order not to generate 'Shadow Groups' where some
Data Elements are Explicit VR and some other ones Implicit VR
(Stupid MatLab DICOM Reader couldn't read gdcm-written images)

18 years agothe 'FileIdentifier' is now tokenizable on %%%.
jpr [Tue, 31 Jan 2006 11:29:41 +0000 (11:29 +0000)]
the 'FileIdentifier' is now tokenizable on %%%.
(Previous tokenization on "_" failed if a field contained '_'
Of course!

18 years agoForgot to commit the Python part for GDCM_FILESEPARATOR
jpr [Tue, 31 Jan 2006 11:26:08 +0000 (11:26 +0000)]
Forgot to commit the Python part for GDCM_FILESEPARATOR

18 years agoAdd #include for BCC.
jpr [Fri, 27 Jan 2006 10:03:23 +0000 (10:03 +0000)]
Add #include for BCC.
Thx to Luca Picello for providing fix.

18 years agoAdd #include for BCC
jpr [Fri, 27 Jan 2006 10:01:33 +0000 (10:01 +0000)]
Add #include for BCC
Thx to Luca Picello for providing fix.

18 years agoCOMP: Fix comp on WIN32 os
malaterre [Thu, 26 Jan 2006 18:34:13 +0000 (18:34 +0000)]
COMP: Fix comp on WIN32 os

18 years agoCOMP: Fix comp on borland
malaterre [Thu, 26 Jan 2006 18:26:04 +0000 (18:26 +0000)]
COMP: Fix comp on borland

18 years agoENH: Some more const correctness...until I hit strtok
malaterre [Thu, 26 Jan 2006 16:01:04 +0000 (16:01 +0000)]
ENH: Some more const correctness...until I hit strtok

18 years agoENH: Finally I got ArgMgr to be const string instead of char*... strcasecmp is POSIX...
malaterre [Thu, 26 Jan 2006 15:52:38 +0000 (15:52 +0000)]
ENH: Finally I got ArgMgr to be const string instead of char*... strcasecmp is POSIX why not use it...

18 years agoTry to warn user when 'DeflatedExplicitVR' Transfer Syntax found.
jpr [Thu, 26 Jan 2006 09:22:23 +0000 (09:22 +0000)]
Try to warn user when 'DeflatedExplicitVR' Transfer Syntax found.
--> Still to be done :
find a trick to stop the processing.
--> Still to be done (*later*)
. find a trick to uncompress the whole Dataset and go on Parsing, whitout having
to create a temporary file
. find a trick not to uncompress the Pixel Group every time !

18 years agoDon't try to 'Read Pixels' when 'DeflatedExplicitVRLittleEndian' Transfer Syntax
jpr [Thu, 26 Jan 2006 09:16:41 +0000 (09:16 +0000)]
Don't try to 'Read Pixels' when 'DeflatedExplicitVRLittleEndian' Transfer Syntax

18 years agoSerieHelper::CreateUserDefinedFileIdentifier doesn't convert unfound fields
jpr [Thu, 26 Jan 2006 09:07:15 +0000 (09:07 +0000)]
SerieHelper::CreateUserDefinedFileIdentifier doesn't convert unfound fields
when convertion is asked

18 years agoENH: gdcm does not support deflate
malaterre [Wed, 25 Jan 2006 18:20:53 +0000 (18:20 +0000)]
ENH: gdcm does not support deflate

18 years agoIf TriggerTime is missing (?!?) try a desperate one : replace by last file name.
jpr [Wed, 25 Jan 2006 17:02:00 +0000 (17:02 +0000)]
If TriggerTime is missing (?!?) try a desperate one : replace by last file name.
Hope the file name is lexicographically correct :-(

18 years agoCOMP: Remove warning about unused var
malaterre [Wed, 25 Jan 2006 16:59:19 +0000 (16:59 +0000)]
COMP: Remove warning about unused var

18 years agoENH: Change the name
malaterre [Wed, 25 Jan 2006 16:20:53 +0000 (16:20 +0000)]
ENH: Change the name

18 years agoENH: Backport from openjpeg CVS
malaterre [Wed, 25 Jan 2006 16:18:47 +0000 (16:18 +0000)]
ENH: Backport from openjpeg CVS

18 years agoEnforce consistency check
jpr [Wed, 25 Jan 2006 14:48:45 +0000 (14:48 +0000)]
Enforce consistency check

18 years agoWhen Split is ON, only *one* slice in each directory
jpr [Wed, 25 Jan 2006 11:41:22 +0000 (11:41 +0000)]
When Split is ON, only *one* slice in each directory
-> number must be always 1

18 years agoAdd MagnetomVisionToBrucker
jpr [Wed, 25 Jan 2006 11:08:17 +0000 (11:08 +0000)]
Add MagnetomVisionToBrucker
Fix PhilipsToBrucker2

18 years agoBUG: Who blamed vs7.1 it actually caught a big fat bug...
malaterre [Tue, 24 Jan 2006 23:14:53 +0000 (23:14 +0000)]
BUG: Who blamed vs7.1 it actually caught a big fat bug...

18 years agoENH: Should be a little faster since no function call
malaterre [Tue, 24 Jan 2006 20:56:13 +0000 (20:56 +0000)]
ENH: Should be a little faster since no function call

18 years agoCOMP: atof return a double
malaterre [Tue, 24 Jan 2006 20:53:54 +0000 (20:53 +0000)]
COMP: atof return a double

18 years agoCOMP: Why do people use microsoft extension...
malaterre [Tue, 24 Jan 2006 20:50:00 +0000 (20:50 +0000)]
COMP: Why do people use microsoft extension...

18 years agoCOMP: Make bcc55 happy
malaterre [Tue, 24 Jan 2006 20:48:10 +0000 (20:48 +0000)]
COMP: Make bcc55 happy

18 years agoBUG: Free mem properly now that it works
malaterre [Tue, 24 Jan 2006 20:40:09 +0000 (20:40 +0000)]
BUG: Free mem properly now that it works

18 years agoBUG: Trying to get openjpeg to work
malaterre [Tue, 24 Jan 2006 20:38:43 +0000 (20:38 +0000)]
BUG: Trying to get openjpeg to work

18 years agoENH: Get openjpeg working
malaterre [Tue, 24 Jan 2006 20:25:23 +0000 (20:25 +0000)]
ENH: Get openjpeg working

18 years agoENH: Nice trick to set a prefix to the lib
malaterre [Tue, 24 Jan 2006 20:05:17 +0000 (20:05 +0000)]
ENH: Nice trick to set a prefix to the lib

18 years agoENH: Adding a unix file
malaterre [Tue, 24 Jan 2006 19:58:13 +0000 (19:58 +0000)]
ENH: Adding a unix file

18 years agoENH: Adding a dos file
malaterre [Tue, 24 Jan 2006 19:57:54 +0000 (19:57 +0000)]
ENH: Adding a dos file

18 years agoBUG: No cvs script to make sure this is unix eol
malaterre [Tue, 24 Jan 2006 19:55:32 +0000 (19:55 +0000)]
BUG: No cvs script to make sure this is unix eol

18 years agoENH: Huge update to openjpeg 1.0 (actually more CVS)...
malaterre [Tue, 24 Jan 2006 19:54:07 +0000 (19:54 +0000)]
ENH: Huge update to openjpeg 1.0 (actually more CVS)...

18 years agoCOMP: Fix compilation
malaterre [Tue, 24 Jan 2006 03:06:46 +0000 (03:06 +0000)]
COMP: Fix compilation

18 years agoUpdate News
jpr [Fri, 20 Jan 2006 09:26:04 +0000 (09:26 +0000)]
Update News

18 years agoFix Doxygenation
jpr [Fri, 20 Jan 2006 09:17:25 +0000 (09:17 +0000)]
Fix Doxygenation

18 years agoAdd comments on the way gdcm::FileHelper:CheckMandatoryElements() works
jpr [Thu, 19 Jan 2006 11:46:45 +0000 (11:46 +0000)]
Add comments on the way gdcm::FileHelper:CheckMandatoryElements() works

18 years agoAdd 'input' param to PhilipsToBrucker2
jpr [Thu, 19 Jan 2006 11:43:48 +0000 (11:43 +0000)]
Add 'input' param to PhilipsToBrucker2

18 years agoTo please M$VC6
jpr [Thu, 19 Jan 2006 11:00:28 +0000 (11:00 +0000)]
To please M$VC6

18 years agoENH: Add support for broken JPEG implementation in DICOMObjects
malaterre [Wed, 18 Jan 2006 21:08:03 +0000 (21:08 +0000)]
ENH: Add support for broken JPEG implementation in DICOMObjects

18 years agoFix stupid syntax like :
jpr [Wed, 18 Jan 2006 15:45:20 +0000 (15:45 +0000)]
Fix stupid syntax like :
 fh->gdcm::FileHelper::Delete();
 to :
fh->Delete();
to please M$VC6

18 years agoTo please M$VC6 :
jpr [Wed, 18 Jan 2006 15:25:07 +0000 (15:25 +0000)]
To please M$VC6 :
Doesn't understand syntax as follow :
       std::sort(fileList->begin(), fileList->end(),
                                          SerieHelper::ImageNumberLessThan )
Add a method like:
Sort(fileList,SerieHelper::ImageNumberLessThan);

18 years agoFix comments
jpr [Wed, 18 Jan 2006 10:21:37 +0000 (10:21 +0000)]
Fix comments

18 years agoUser may choose the name of the generated dicomdir
jpr [Wed, 18 Jan 2006 10:20:56 +0000 (10:20 +0000)]
User may choose the name of the generated dicomdir

18 years agominor misstyping
jpr [Wed, 18 Jan 2006 10:18:30 +0000 (10:18 +0000)]
minor misstyping

18 years ago(try to) solve the trouble with leading / in filenames
jpr [Wed, 18 Jan 2006 10:17:40 +0000 (10:17 +0000)]
(try to) solve the trouble with leading / in filenames

18 years agoSTYLE: Minor doc
malaterre [Tue, 17 Jan 2006 20:03:46 +0000 (20:03 +0000)]
STYLE: Minor doc

18 years agoDeal with :
jpr [Tue, 17 Jan 2006 15:59:42 +0000 (15:59 +0000)]
Deal with :
PhilipsToBrucker
PhilipsToBrucker2

18 years agoPhilipsToBrucker2 allows splitting the files into a directory tree-like
jpr [Tue, 17 Jan 2006 15:58:30 +0000 (15:58 +0000)]
PhilipsToBrucker2 allows splitting the files into a directory tree-like
structure
   " - fills a tree-like structure of directories as :                        ",
   "        - Patient                                                         ",
   "        -- Serie                                                          ",
   "        --- Position                                                      ",
   "            Images are (sorted by Trigger Time /                          ",
   "                     Encoding Direction (Row, Column)                     ",
   "      use :                                                               ",
   "           0x0021, 0x1020 : 'SLICE INDEX'                                 ",
   "           0x0021, 0x1040 : 'FRAME INDEX'                                 ",
   "           0x0020, 0x0012 : 'SESSION INDEX'  (Acquisition Number)         ",

18 years agoDisplay some more informations
jpr [Tue, 17 Jan 2006 15:36:26 +0000 (15:36 +0000)]
Display some more informations

18 years agoForgot to commit this one!
jpr [Wed, 11 Jan 2006 10:44:24 +0000 (10:44 +0000)]
Forgot to commit this one!
(declaration of const char GDCM_FILESEPARATOR)

18 years agoAdd verbosity
jpr [Tue, 10 Jan 2006 16:10:02 +0000 (16:10 +0000)]
Add verbosity

18 years agoLast Version (hope so)
jpr [Tue, 10 Jan 2006 16:04:18 +0000 (16:04 +0000)]
Last Version (hope so)

18 years agoAdd
jpr [Tue, 10 Jan 2006 15:54:03 +0000 (15:54 +0000)]
Add
GDCM_EXPORT extern const char GDCM_FILESEPARATOR
to allow user to manage file names/directory names without using too much
#ifdef WIN32

18 years agoENH: Add some comment
malaterre [Tue, 3 Jan 2006 17:27:27 +0000 (17:27 +0000)]
ENH: Add some comment

18 years agoRefine message displaying. Now, we have :
jpr [Tue, 3 Jan 2006 14:28:53 +0000 (14:28 +0000)]
Refine message displaying. Now, we have :
 * Warning  : Warns the user when some oddity occured, and we used an heuristics
 *            to bypass the trouble.
 *            e.g.  : SamplesPerPixel missing, we assume it's a grey level image
 *            e.g   : Pixel Representation missing : we assume 'unsigned'
 *            (we hope our assumption is OK, but user may disagree.)
 * Log      : we display messages when anything is not Dicom Kosher
 *            e.g. : non even length field
 *            e.g  : file is declared as Explicit VR, but a DataElement
 *                 is Implicit
 *            e.g  : a file holds an illegal group (0x0005, ...)
 * Debug : We help developper to trace, at a glance, the execution.
           (before refining with a debugging tool)
 * Setting ON Debug leads to set ON Warning (but not Log)
 * Setting ON Log   leads to set ON Warning (but not Debug)

18 years agoENH: Cleanup
malaterre [Mon, 2 Jan 2006 22:02:50 +0000 (22:02 +0000)]
ENH: Cleanup

18 years agoENH: Adding a CT-PET matcher
malaterre [Mon, 2 Jan 2006 21:54:23 +0000 (21:54 +0000)]
ENH: Adding a CT-PET matcher

18 years agoENH: update doc
malaterre [Mon, 2 Jan 2006 20:15:30 +0000 (20:15 +0000)]
ENH: update doc

18 years agoSTYLE: minor
malaterre [Mon, 2 Jan 2006 20:11:22 +0000 (20:11 +0000)]
STYLE: minor

18 years agoSTYLE: Minor doc
malaterre [Mon, 2 Jan 2006 15:16:38 +0000 (15:16 +0000)]
STYLE: Minor doc

18 years agoCOMP: Fix comp, should still be DICOM valid
malaterre [Mon, 2 Jan 2006 14:46:09 +0000 (14:46 +0000)]
COMP: Fix comp, should still be DICOM valid

18 years agoENH: Add a small bug
malaterre [Fri, 30 Dec 2005 21:16:32 +0000 (21:16 +0000)]
ENH: Add a small bug

18 years agoENH: Add TODO + comment
malaterre [Fri, 30 Dec 2005 20:31:47 +0000 (20:31 +0000)]
ENH: Add TODO + comment

18 years agoENH: Hack to remove duplicate
malaterre [Fri, 30 Dec 2005 20:31:33 +0000 (20:31 +0000)]
ENH: Hack to remove duplicate

18 years agoENH: Add HOWTO for PET-CT
malaterre [Fri, 30 Dec 2005 20:31:00 +0000 (20:31 +0000)]
ENH: Add HOWTO for PET-CT

18 years agoENH: Proper spelling
malaterre [Fri, 30 Dec 2005 18:21:19 +0000 (18:21 +0000)]
ENH: Proper spelling

18 years agoENH: adding ref
malaterre [Fri, 30 Dec 2005 16:07:23 +0000 (16:07 +0000)]
ENH: adding ref

18 years agoENH: Adding some more private tags from GE
malaterre [Fri, 30 Dec 2005 16:06:31 +0000 (16:06 +0000)]
ENH: Adding some more private tags from GE

18 years agoAdd verbosity when something wrong occurs
jpr [Fri, 23 Dec 2005 10:26:41 +0000 (10:26 +0000)]
Add verbosity when something wrong occurs

18 years agoFix misstyping
jpr [Fri, 23 Dec 2005 10:25:23 +0000 (10:25 +0000)]
Fix misstyping

18 years agoPhilipsToBrucker --> last stage : image convertion
jpr [Thu, 22 Dec 2005 16:23:02 +0000 (16:23 +0000)]
PhilipsToBrucker --> last stage : image convertion

18 years agoPhilipsToBrucker -> second stage : deal with series selection
jpr [Thu, 22 Dec 2005 15:03:52 +0000 (15:03 +0000)]
PhilipsToBrucker -> second stage : deal with series selection

18 years agoMinor Typo
jpr [Thu, 22 Dec 2005 14:46:36 +0000 (14:46 +0000)]
Minor Typo

18 years agoFix pb of GetListOfXXX when nothing was found.
jpr [Thu, 22 Dec 2005 14:46:06 +0000 (14:46 +0000)]
Fix pb of GetListOfXXX when nothing was found.

18 years agoConvert MRI Philips images into 'Brucker style' images, to make them InTag
jpr [Wed, 21 Dec 2005 15:01:04 +0000 (15:01 +0000)]
Convert MRI Philips images into 'Brucker style' images, to make them InTag
processable.
-> First stage : deal with the filestore

18 years agoType 1C Conditional Element value cannot be empty!
jpr [Wed, 21 Dec 2005 14:54:04 +0000 (14:54 +0000)]
Type 1C Conditional Element value cannot be empty!
Try to make gdcm-made DICOMDIRs usable by more clinaical softwares.

18 years agominor typo
jpr [Wed, 21 Dec 2005 14:52:12 +0000 (14:52 +0000)]
minor typo

18 years agoAvoid polluting the witten DICOMDIR with unfound values.
jpr [Wed, 21 Dec 2005 14:50:59 +0000 (14:50 +0000)]
Avoid polluting the witten DICOMDIR with unfound values.
(and make gdcm_made DICOMDIRs usavle by more clinical softwares)

18 years ago - void AddSeriesDetail(uint16_t group, uint16_t elem, bool convert);
jpr [Wed, 21 Dec 2005 14:48:09 +0000 (14:48 +0000)]
 - void AddSeriesDetail(uint16_t group, uint16_t elem, bool convert);
   has a new bool param : convert, to tell wether we want 'convertion',
   to allow further ordering
   e.g : 100 would be *before* 20; 000020.00 vs 00100.00 : OK

 - std::string CreateUserDefinedFileIdentifier( File * inFile );
   allows user to build a Tokenizable and sortable File identifier of his own.
   (user knows more than we do about his files)

18 years ago At least with my gcc4.0.1, unfound char results in pos=4294967295 ...
jpr [Wed, 21 Dec 2005 14:41:34 +0000 (14:41 +0000)]
 At least with my gcc4.0.1, unfound char results in pos=4294967295 ...
 -> Fix Util::GetName().

18 years agoUser is allowed to give a "patient name"
jpr [Fri, 16 Dec 2005 16:38:24 +0000 (16:38 +0000)]
User is allowed to give a "patient name"

18 years agoMinor typo
jpr [Fri, 16 Dec 2005 15:42:54 +0000 (15:42 +0000)]
Minor typo

18 years agoAvoid warnings
jpr [Fri, 16 Dec 2005 15:42:23 +0000 (15:42 +0000)]
Avoid warnings

18 years agoNew method SerieHelper::AddSeriesDetail() to allow user to specifiy
jpr [Fri, 16 Dec 2005 13:48:46 +0000 (13:48 +0000)]
New method SerieHelper::AddSeriesDetail() to allow user to specifiy
his own Tags Of Interest,
that will be used in SerieHelper::CreateUniqueSeriesIdentifier.
Mathieu's default ones are not enought for 'Tagging' series.

18 years agoAvoid warnings
jpr [Thu, 15 Dec 2005 17:06:39 +0000 (17:06 +0000)]
Avoid warnings

18 years agoAdd RawToDicom
jpr [Thu, 15 Dec 2005 13:52:48 +0000 (13:52 +0000)]
Add RawToDicom

18 years agoAdd RawToDicom;
jpr [Thu, 15 Dec 2005 13:52:17 +0000 (13:52 +0000)]
Add RawToDicom;
Should help people to convert their images

18 years agoMinor Doxygen
jpr [Thu, 15 Dec 2005 13:36:55 +0000 (13:36 +0000)]
Minor Doxygen

18 years agoMake sure Pixel Spacing is always written
jpr [Thu, 15 Dec 2005 13:35:38 +0000 (13:35 +0000)]
Make sure Pixel Spacing is always written

18 years agoForget to Black list : MR_Philips_Intera_PrivateSequenceImplicitVR.dcm
jpr [Wed, 14 Dec 2005 10:57:25 +0000 (10:57 +0000)]
Forget to Black list : MR_Philips_Intera_PrivateSequenceImplicitVR.dcm