]> Creatis software - gdcm.git/log
gdcm.git
18 years agoENH: Tons of cleanup
malaterre [Fri, 19 Aug 2005 16:21:23 +0000 (16:21 +0000)]
ENH: Tons of cleanup

18 years agoENH: Ok serioulsy nobody was updating this file - removed
malaterre [Fri, 19 Aug 2005 16:08:47 +0000 (16:08 +0000)]
ENH: Ok serioulsy nobody was updating this file - removed

18 years agoENH: Should fix installation of gdcm
malaterre [Fri, 19 Aug 2005 15:52:38 +0000 (15:52 +0000)]
ENH: Should fix installation of gdcm

18 years agoSome never comitted before comments.
jpr [Fri, 19 Aug 2005 13:15:05 +0000 (13:15 +0000)]
Some never comitted before comments.

18 years agoInitialize UserFunction pointer to 0, even for 'deprecated' form of constructor.
jpr [Fri, 19 Aug 2005 13:12:15 +0000 (13:12 +0000)]
Initialize UserFunction pointer to 0, even for 'deprecated' form of constructor.

18 years agoCOMP: Fix compilation on gcc4
malaterre [Thu, 18 Aug 2005 14:34:47 +0000 (14:34 +0000)]
COMP: Fix compilation on gcc4

18 years agoCOMP: Get rid of: Function gdcm::GDCM_LEGACY must have a return type.
malaterre [Mon, 1 Aug 2005 14:33:29 +0000 (14:33 +0000)]
COMP: Get rid of: Function gdcm::GDCM_LEGACY must have a return type.

18 years agovtkgdcmSerieViewer shows an example for using user supplied function.
jpr [Sat, 30 Jul 2005 18:37:48 +0000 (18:37 +0000)]
vtkgdcmSerieViewer shows an example for using user supplied function.
(it uses now the Argument Manager)
    vtkgdcmSerieViewer :
   Display a Serie within a Directory
   You can navigate through the stack by hitting any character key.
   usage: vtkgdcmSerieViewer filein=fileName [noshadowseq][noshadow][noseq]
                             [reverse] [{[mirror]|[topdown]|[rotate]}]
                             [check][debug]

18 years agovtkGdcmReader takes into account the user supplied function to reorder the
jpr [Sat, 30 Jul 2005 18:31:25 +0000 (18:31 +0000)]
vtkGdcmReader takes into account the user supplied function to reorder the
pixels

18 years ago User is now allowed to pass a Pointer to a function of his own
jpr [Sat, 30 Jul 2005 18:27:00 +0000 (18:27 +0000)]
  User is now allowed to pass a Pointer to a function of his own
      to allow modification of pixel order (i.e. : Mirror, TopDown, )
      to gdcm::FileHeleper, using SetUserFunction(userSuppliedFunction)

      described as : void userSuppliedFunction(uint8_t *im, gdcm::File *f);

      NB : the "uint8_t *" type of first param is just for prototyping.
        User will Cast it according what he founds with f->GetPixelType()
        See ctkgdcmSerieViewer for an example

18 years agoArgMgrDefined now returns a bool
jpr [Sat, 30 Jul 2005 18:18:44 +0000 (18:18 +0000)]
ArgMgrDefined now returns a bool

18 years agoComments
jpr [Sat, 30 Jul 2005 18:17:08 +0000 (18:17 +0000)]
Comments

18 years agoFix comments
jpr [Sat, 30 Jul 2005 18:16:19 +0000 (18:16 +0000)]
Fix comments

18 years agoAdd SerieHelper::IsCoherent() method to allow checking that the files with same
jpr [Sat, 30 Jul 2005 18:13:24 +0000 (18:13 +0000)]
Add SerieHelper::IsCoherent() method to allow checking that the files with same
Serie UID have the same sizes and pixel type.

18 years agoCOMP: Fix compilation on gcc296
malaterre [Fri, 29 Jul 2005 20:50:07 +0000 (20:50 +0000)]
COMP: Fix compilation on gcc296

18 years agoAllow checking reverse order file sorting
jpr [Fri, 29 Jul 2005 15:24:04 +0000 (15:24 +0000)]
Allow checking reverse order file sorting

18 years agoTypo
jpr [Fri, 29 Jul 2005 15:07:56 +0000 (15:07 +0000)]
Typo

18 years agoUser may now use
jpr [Fri, 29 Jul 2005 15:07:16 +0000 (15:07 +0000)]
User may now use
   SetSortOrderToDirect() or SetSortOrderToReverse()
to choose the ways the File* will be sorted.

18 years agoENH: If address is hexadecimal, also take into account a-f
malaterre [Thu, 28 Jul 2005 16:11:20 +0000 (16:11 +0000)]
ENH: If address is hexadecimal, also take into account a-f

18 years agoBUG: Put back deprecated code since it makes the test pass. I believe the new approac...
malaterre [Wed, 27 Jul 2005 03:02:12 +0000 (03:02 +0000)]
BUG: Put back deprecated code since it makes the test pass. I believe the new approach is not working since the call are slightyl different wether you create a FileHelper with a filename or create a FileHelper and then set the filename it breaks everything...

18 years agoCOMP: Remove call to deprecated method
malaterre [Tue, 26 Jul 2005 02:25:25 +0000 (02:25 +0000)]
COMP: Remove call to deprecated method

18 years agoCOMP: Fix compilation on Win32. All symbols MUST be resolved
malaterre [Tue, 26 Jul 2005 02:16:19 +0000 (02:16 +0000)]
COMP: Fix compilation on Win32. All symbols MUST be resolved

18 years agoBUG: Set proper cmake command. Thanks to Aris -again-
malaterre [Mon, 25 Jul 2005 20:10:53 +0000 (20:10 +0000)]
BUG: Set proper cmake command. Thanks to Aris -again-

18 years agoENH: Install jasper and jpegls. Thanks to Aris Basic for report
malaterre [Mon, 25 Jul 2005 18:08:07 +0000 (18:08 +0000)]
ENH: Install jasper and jpegls. Thanks to Aris Basic for report

18 years agoBUG: Need to install the cmake files too otherwise third party library cannot use...
malaterre [Mon, 25 Jul 2005 17:46:26 +0000 (17:46 +0000)]
BUG: Need to install the cmake files too otherwise third party library cannot use the full potential of gdcm

18 years agoENH: cvs access is NOT deprecated
malaterre [Mon, 25 Jul 2005 17:14:09 +0000 (17:14 +0000)]
ENH: cvs access is NOT deprecated

18 years agoCOMP: Fix compilation sqrt need prototype
malaterre [Mon, 25 Jul 2005 03:44:35 +0000 (03:44 +0000)]
COMP: Fix compilation sqrt need prototype

18 years agoENH: Minor tweek
malaterre [Sun, 24 Jul 2005 02:49:25 +0000 (02:49 +0000)]
ENH: Minor tweek

18 years agoENH: Moving Orientation stuff into its own class. gdcm::File is already too complicat...
malaterre [Sun, 24 Jul 2005 02:34:41 +0000 (02:34 +0000)]
ENH: Moving Orientation stuff into its own class. gdcm::File is already too complicated...

18 years agoCOMP: Try to get read of the float issues
malaterre [Sun, 24 Jul 2005 02:10:48 +0000 (02:10 +0000)]
COMP: Try to get read of the float issues

18 years agoCOMP: Too bad gcc3.3 on APPLE does not supported deprecated attribute on ctor......
malaterre [Sun, 24 Jul 2005 00:55:20 +0000 (00:55 +0000)]
COMP: Too bad gcc3.3 on APPLE does not supported deprecated attribute on ctor... This is fixed with g++4.0 (Tiger)

18 years agoCOMP: OK pow and powf are just to much pain for a simple square. Rewrote the code...
malaterre [Sun, 24 Jul 2005 00:24:46 +0000 (00:24 +0000)]
COMP: OK pow and powf are just to much pain for a simple square. Rewrote the code. Also trying to rewrote some 1st year student code...

18 years agoCOMP: Remove deprecated calls
malaterre [Sat, 23 Jul 2005 02:02:44 +0000 (02:02 +0000)]
COMP: Remove deprecated calls

18 years agoCOMP: Remove warning about unused var /type/
malaterre [Sat, 23 Jul 2005 02:01:37 +0000 (02:01 +0000)]
COMP: Remove warning about unused var /type/

18 years agoCOMP: Fix some more deprecated forward
malaterre [Sat, 23 Jul 2005 01:59:21 +0000 (01:59 +0000)]
COMP: Fix some more deprecated forward

18 years agoCOMP: Remove deprecated call from cascade deprecated functions...
malaterre [Sat, 23 Jul 2005 01:54:03 +0000 (01:54 +0000)]
COMP: Remove deprecated call from cascade deprecated functions...

18 years agoBUG: Fix ProductVectorial. Big thanks to Sean McInerney for very accurate review...
malaterre [Sat, 23 Jul 2005 01:27:57 +0000 (01:27 +0000)]
BUG: Fix ProductVectorial. Big thanks to Sean McInerney for very accurate review of CVS code!

18 years agoCOMP: Apparently bcc5.5 and bcc6 do not provide powf. Replacing by its double colleag...
malaterre [Sat, 23 Jul 2005 01:23:55 +0000 (01:23 +0000)]
COMP: Apparently bcc5.5 and bcc6 do not provide powf. Replacing by its double colleague. Thanks to Luca and Sean for report and patch (respectively).

18 years agoCOMP: Fix compilation
malaterre [Fri, 22 Jul 2005 03:33:13 +0000 (03:33 +0000)]
COMP: Fix compilation

18 years agoLEGACY warnings hunting
jpr [Thu, 21 Jul 2005 14:05:09 +0000 (14:05 +0000)]
LEGACY warnings hunting

18 years ago==> Add File::TypeOrientation( ) method
jpr [Thu, 21 Jul 2005 14:01:49 +0000 (14:01 +0000)]
==> Add File::TypeOrientation( ) method
/**
 * \brief  THERALYS' Algorithm to determine the most similar basic orientation
   (Axial, Coronal, Sagital) of the image
 * \note Should be run on the first gdcm::File of a 'coherent' Serie
 * @return orientation code
 *   #   0 :   Not Applicable (neither 0020,0037 Image Orientation Patient
 *   #                         nor     0020,0032Image Position     found )
 *   #   1 :   Axial
 *   #  -1 :   Axial invert
 *   #   2 :   Coronal
 *   #  -2 :   Coronal invert
 *   #   3 :   Sagital
 *   #  -3 :   Sagital invert
 *   #   4 :   Heart Axial
 *   #  -4 :   Heart Axial invert
 *   #   5 :   Heart Coronal
 *   #  -5 :   Heart Coronal invert
 *   #   6 :   Heart Sagital
 *   #  -6 :   Heart Sagital invert
 */

==>  File::GetImageOrientationPatient returns now a bool (no longer a void)
     to allow user to check the 'not applicable case'.

18 years agoUpdtae ChangeLog
jpr [Thu, 21 Jul 2005 07:49:18 +0000 (07:49 +0000)]
Updtae ChangeLog

18 years agoDoxygenation
jpr [Thu, 21 Jul 2005 06:39:24 +0000 (06:39 +0000)]
Doxygenation

18 years agoLEGACY purpose
jpr [Thu, 21 Jul 2005 05:02:11 +0000 (05:02 +0000)]
LEGACY purpose

18 years agoExtend 'Restriction' syntax :
jpr [Thu, 21 Jul 2005 05:00:15 +0000 (05:00 +0000)]
Extend 'Restriction' syntax :
void SerieHelper::AddRestriction(uint16_t group, uint16_t elem,
                                 std::string const &value, int op)
op belongs to :

/// \brief comparaison operators
enum CompOperators {
   GDCM_EQUAL = 0,
   GDCM_DIFFERENT,
   GDCM_GREATER,
   GDCM_GREATEROREQUAL,
   GDCM_LESS,
   GDCM_LESSOREQUAL
};

18 years agoUnify user interface
jpr [Thu, 21 Jul 2005 04:55:50 +0000 (04:55 +0000)]
Unify user interface

18 years agoAdd an example of use for SerieHelper
jpr [Thu, 21 Jul 2005 04:55:30 +0000 (04:55 +0000)]
Add an example of use for SerieHelper

18 years agoRemove LEGACY warnings
jpr [Thu, 21 Jul 2005 04:51:26 +0000 (04:51 +0000)]
Remove LEGACY warnings

18 years agoUse GDCM_LEGACY for DicomDir, as well
jpr [Wed, 20 Jul 2005 14:49:41 +0000 (14:49 +0000)]
Use GDCM_LEGACY for DicomDir, as well

18 years agoFix mistyping
jpr [Wed, 20 Jul 2005 14:48:15 +0000 (14:48 +0000)]
Fix mistyping

18 years agoWarn user when something wrong happens
jpr [Wed, 20 Jul 2005 13:39:51 +0000 (13:39 +0000)]
Warn user when something wrong happens

18 years agoAnonymizeNoLoad user can now ask for anonymization of 'BinEntries'
jpr [Wed, 20 Jul 2005 13:39:00 +0000 (13:39 +0000)]
AnonymizeNoLoad user can now ask for anonymization of 'BinEntries'
(e.g. Private entries when the TS is Implict VR)
AnonymizeNoLoad filein=... rubout=0x0009-0x0001,0x0013-0x1100

Thx to Luca Picello for reporting pb and supplying data to fix the bug.

18 years agoWe can now anonymize 'BinEntries' as well
jpr [Wed, 20 Jul 2005 13:31:01 +0000 (13:31 +0000)]
We can now anonymize 'BinEntries' as well

18 years agoAdd ArgMgrGetXInt16Enum to decode from the command line pairs of unsigned int
jpr [Wed, 20 Jul 2005 13:29:42 +0000 (13:29 +0000)]
Add ArgMgrGetXInt16Enum to decode from the command line pairs of unsigned int
16, written in hexadecimal.
(usefull to allow terminal user to pass the (private) elements he wants to
anonymize)

18 years agoFix comments
jpr [Tue, 19 Jul 2005 15:28:54 +0000 (15:28 +0000)]
Fix comments

18 years agoAdd some comments on the 'Patient Position'
jpr [Tue, 19 Jul 2005 15:25:53 +0000 (15:25 +0000)]
Add some comments on the 'Patient Position'

18 years agoENH: gdcm now almost compile with GDCM_LEGACY_REMOVE on
malaterre [Tue, 19 Jul 2005 15:19:25 +0000 (15:19 +0000)]
ENH: gdcm now almost compile with GDCM_LEGACY_REMOVE on

18 years agoAdd (0018,1060) Trigger Time to the imageElem (of the DicomDir part),
jpr [Tue, 19 Jul 2005 14:47:05 +0000 (14:47 +0000)]
Add (0018,1060) Trigger Time to the imageElem (of the DicomDir part),
to solve sone M.D. problems

18 years agoENH: Adding a deprecation mechanism to gdcm via two MACRO and two config options
malaterre [Tue, 19 Jul 2005 14:43:46 +0000 (14:43 +0000)]
ENH: Adding a deprecation mechanism to gdcm via two MACRO and two config options

18 years agoUpdate News
jpr [Tue, 19 Jul 2005 09:11:32 +0000 (09:11 +0000)]
Update News

18 years agoAdd SerieHelper::AddGdcmFile(File *header) method.
jpr [Tue, 19 Jul 2005 09:04:58 +0000 (09:04 +0000)]
Add SerieHelper::AddGdcmFile(File *header) method.
 * \brief add a gdcm::File to the first (and supposed to be unique) list
 *        of the gdcm::SerieHelper.
 * \warning : this method should be used by aware users only!
 *            User is supposed to know the files he want to deal with
 *           and consider them they belong to the same Serie
 *           (even if their Serie UID is different)
 *           user will probabely OrderFileList() this list (actually, ordering
 *           user choosen gdm::File is the sole interest of this method)
 *           Moreover, using vtkGdcmReader::SetCoherentFileList() will avoid
 *           vtkGdcmReader parsing twice the same files.
 *           *no* coherence check is performed, but those specified
 *           by SerieHelper::AddRestriction()

18 years agoIn order to prepare the future extension of SerieHelper::AddRestriction (key,
jpr [Mon, 18 Jul 2005 10:20:20 +0000 (10:20 +0000)]
In order to prepare the future extension of SerieHelper::AddRestriction (key,
string, operator)
operator = { EQUAL, DIFFERENT, LESS, LESSOREQUAL, GREATER, GREATEROOREQUAL}
add method
bool Util::CompareDicomString(const std::string &s1, const char *s2, int op)

18 years agoUpdate News
jpr [Sun, 17 Jul 2005 05:13:09 +0000 (05:13 +0000)]
Update News

18 years agoFix misstypings
jpr [Sun, 17 Jul 2005 04:37:57 +0000 (04:37 +0000)]
Fix misstypings

18 years agoAdd vtkgdcmSerieViewer to check new SetCoherentFileList ability of vtkGdcmRedaer
jpr [Sun, 17 Jul 2005 04:36:14 +0000 (04:36 +0000)]
Add vtkgdcmSerieViewer to check new SetCoherentFileList ability of vtkGdcmRedaer

18 years agoAdd SetCoherentFileList() method, to use the 'file ordering' of
jpr [Sun, 17 Jul 2005 04:34:20 +0000 (04:34 +0000)]
Add SetCoherentFileList() method, to use the 'file ordering' of
    gdcm::SerieHelper (and save some CPU time, avoding parsing twice all the file
 headers)

18 years agoComments
jpr [Sun, 17 Jul 2005 04:28:55 +0000 (04:28 +0000)]
Comments

18 years agoUse new style for Loading files
jpr [Sun, 17 Jul 2005 04:27:49 +0000 (04:27 +0000)]
Use new style for Loading files

18 years agoDoxygenation
jpr [Sun, 17 Jul 2005 04:26:57 +0000 (04:26 +0000)]
Doxygenation

18 years agoCheck some more usages
jpr [Sun, 17 Jul 2005 04:25:12 +0000 (04:25 +0000)]
Check some more usages

18 years agoCOMP: Fix compile warning
malaterre [Wed, 13 Jul 2005 13:48:56 +0000 (13:48 +0000)]
COMP: Fix compile warning

18 years agoset FASTTAGKEY to 0 again, waiting for the complete solution of the pb
jpr [Tue, 12 Jul 2005 17:34:27 +0000 (17:34 +0000)]
set FASTTAGKEY to 0 again, waiting for the complete solution of the pb

18 years agoTo speed up DicomDir, instead of copying -and removing the source afterwards-
jpr [Tue, 12 Jul 2005 17:08:12 +0000 (17:08 +0000)]
To speed up DicomDir, instead of copying -and removing the source afterwards-
 each entry of the SQItem (found after gdcm::Document parsing) towards
 the gdcm::Object  belonging to the gdcm::DicomDir, we just copy
 the chained list itself.

18 years agoComments
jpr [Tue, 12 Jul 2005 14:58:26 +0000 (14:58 +0000)]
Comments

18 years agoTypo
jpr [Tue, 12 Jul 2005 14:56:48 +0000 (14:56 +0000)]
Typo

18 years agoAnonymizeNoLoad has now one more option :
jpr [Tue, 12 Jul 2005 14:55:43 +0000 (14:55 +0000)]
AnonymizeNoLoad has now one more option :
dirin=
to give the (single Patient) directory name whose content we want to anonymize.

18 years agoBug fix
jpr [Tue, 12 Jul 2005 14:44:09 +0000 (14:44 +0000)]
Bug fix

18 years agoENH: Remove stupid debug code...
malaterre [Mon, 11 Jul 2005 20:47:00 +0000 (20:47 +0000)]
ENH: Remove stupid debug code...

18 years agoENH: Ok all tests are now passing even using FASTKEY
malaterre [Mon, 11 Jul 2005 20:44:52 +0000 (20:44 +0000)]
ENH: Ok all tests are now passing even using FASTKEY

18 years agoBUG: Rahhhh std::right and std::ios::right are two completely different thing. Since...
malaterre [Mon, 11 Jul 2005 19:46:05 +0000 (19:46 +0000)]
BUG: Rahhhh std::right and std::ios::right are two completely different thing. Since std::right is not support on gcc295, I need to use setf instead

18 years agoCOMP: Add support for gcc295
malaterre [Mon, 11 Jul 2005 18:29:58 +0000 (18:29 +0000)]
COMP: Add support for gcc295

18 years agoENH: Ok PrintFile should be working with FASTKEY 1
malaterre [Mon, 11 Jul 2005 18:13:16 +0000 (18:13 +0000)]
ENH: Ok PrintFile should be working with FASTKEY 1

18 years agoENH: On win32 std::binary is necessary
malaterre [Mon, 11 Jul 2005 18:10:29 +0000 (18:10 +0000)]
ENH: On win32 std::binary is necessary

18 years agoDictEntry::TranslateToKey was used a wrong way in gdcm::DocEntry::Print()
jpr [Mon, 11 Jul 2005 16:28:04 +0000 (16:28 +0000)]
DictEntry::TranslateToKey was used a wrong way in gdcm::DocEntry::Print()

18 years agoBUG: grrrr not now
malaterre [Mon, 11 Jul 2005 16:20:55 +0000 (16:20 +0000)]
BUG: grrrr not now

18 years agoBUG: Fix PrintFile + minor cleanup
malaterre [Mon, 11 Jul 2005 16:18:47 +0000 (16:18 +0000)]
BUG: Fix PrintFile + minor cleanup

18 years agoCOMP: Forgot to change string to TagKey...
malaterre [Mon, 11 Jul 2005 15:29:04 +0000 (15:29 +0000)]
COMP: Forgot to change string to TagKey...

18 years agoENH: NEW FEATURE: TagKey is now a union of two uint16_t instead of string this greatl...
malaterre [Mon, 11 Jul 2005 15:20:46 +0000 (15:20 +0000)]
ENH: NEW FEATURE: TagKey is now a union of two uint16_t instead of string this greatly improve speed

18 years agoCOMP: ooops forgot about feature from VS6 (does not support ostream+string) #2
malaterre [Mon, 11 Jul 2005 15:08:18 +0000 (15:08 +0000)]
COMP: ooops forgot about feature from VS6 (does not support ostream+string) #2

18 years agoCOMP: ooops forgot about feature from VS6 (does not support ostream+string)
malaterre [Mon, 11 Jul 2005 15:05:22 +0000 (15:05 +0000)]
COMP: ooops forgot about feature from VS6 (does not support ostream+string)

18 years agoENH: A TagKey is a TagKey and not a string or TagName... #2
malaterre [Mon, 11 Jul 2005 14:53:15 +0000 (14:53 +0000)]
ENH: A TagKey is a TagKey and not a string or TagName... #2

18 years agoENH: Minor cleanup
malaterre [Mon, 11 Jul 2005 14:47:19 +0000 (14:47 +0000)]
ENH: Minor cleanup

18 years agoENH: A TagKey is a TagKey and not a string or TagName...
malaterre [Mon, 11 Jul 2005 14:40:40 +0000 (14:40 +0000)]
ENH: A TagKey is a TagKey and not a string or TagName...

18 years agoBUG: Trying to debug jasper...
malaterre [Mon, 11 Jul 2005 14:37:53 +0000 (14:37 +0000)]
BUG: Trying to debug jasper...

18 years agoCOMP: looks like a patch from Luca...
malaterre [Mon, 11 Jul 2005 14:35:46 +0000 (14:35 +0000)]
COMP: looks like a patch from Luca...

18 years agoENH: Redo the SIEMENS dictionary
malaterre [Mon, 11 Jul 2005 14:34:54 +0000 (14:34 +0000)]
ENH: Redo the SIEMENS dictionary

18 years agoFix mistyping
jpr [Mon, 11 Jul 2005 13:54:51 +0000 (13:54 +0000)]
Fix mistyping

18 years agoDoxygenation
jpr [Mon, 11 Jul 2005 12:52:51 +0000 (12:52 +0000)]
Doxygenation

18 years agoimprove PrintDicomDir
jpr [Mon, 11 Jul 2005 10:13:17 +0000 (10:13 +0000)]
improve PrintDicomDir

18 years agoUse new gdcm2 style for Load
jpr [Mon, 11 Jul 2005 08:50:48 +0000 (08:50 +0000)]
Use new gdcm2 style for Load