]> Creatis software - gdcm.git/log
gdcm.git
19 years agoCOMP: Remove deprecated calls
malaterre [Sat, 23 Jul 2005 02:02:44 +0000 (02:02 +0000)]
COMP: Remove deprecated calls

19 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/

19 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

19 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...

19 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!

19 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).

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

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

19 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'.

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

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

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

19 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
};

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

19 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

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

19 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

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

19 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

19 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.

19 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

19 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)

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

19 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'

19 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

19 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

19 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

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

19 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()

19 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)

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

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

19 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

19 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)

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

19 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

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

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

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

19 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

19 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.

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

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

19 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.

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

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

19 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

19 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

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

19 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

19 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

19 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()

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

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

19 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...

19 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

19 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

19 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)

19 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

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

19 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...

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

19 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...

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

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

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

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

19 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

19 years agoDoxygenation
jpr [Mon, 11 Jul 2005 08:30:39 +0000 (08:30 +0000)]
Doxygenation

19 years agoReorder methods
jpr [Mon, 11 Jul 2005 08:20:25 +0000 (08:20 +0000)]
Reorder methods

19 years agoFix tagKey description
jpr [Mon, 11 Jul 2005 08:19:37 +0000 (08:19 +0000)]
Fix tagKey description

19 years agoBUG: Remove a jpeg2000, irreversible transform momentarily... well hopefully
malaterre [Mon, 11 Jul 2005 00:49:56 +0000 (00:49 +0000)]
BUG: Remove a jpeg2000, irreversible transform momentarily... well hopefully

19 years agoCOMP: Fix compilation on broken compiler (scope/for loop)
malaterre [Sat, 9 Jul 2005 23:47:30 +0000 (23:47 +0000)]
COMP: Fix compilation on broken compiler (scope/for loop)

19 years agoAdd the VISIT object within DicomDir
jpr [Fri, 8 Jul 2005 19:07:12 +0000 (19:07 +0000)]
Add the VISIT object within DicomDir

19 years agoTo remain unimpared, gdcm::FileHelper class needs also its
jpr [Fri, 8 Jul 2005 14:36:48 +0000 (14:36 +0000)]
To remain unimpared, gdcm::FileHelper class needs also its
void FileHelper::SetLoadMode(int loadMode)
void FileHelper::SetFileName(std::string const &fileName)
bool FileHelper::Load()

19 years agoNew gdcm2 style syntax for Load()
jpr [Fri, 8 Jul 2005 13:39:56 +0000 (13:39 +0000)]
New gdcm2 style syntax for Load()

19 years agoEnd of gdcm/Example kosherization (Load related stuff)
jpr [Fri, 8 Jul 2005 12:02:02 +0000 (12:02 +0000)]
End of gdcm/Example kosherization (Load related stuff)

19 years agoUse new style for DicomDir loading
jpr [Fri, 8 Jul 2005 10:15:04 +0000 (10:15 +0000)]
Use new style for DicomDir loading

19 years agoNew features for DicomDir
jpr [Fri, 8 Jul 2005 10:13:38 +0000 (10:13 +0000)]
New features for DicomDir

19 years agoUpdate fo new features
jpr [Fri, 8 Jul 2005 10:04:36 +0000 (10:04 +0000)]
Update fo new features

19 years agoENH: Fix compilation on mingw32, also minor cleanup gdcm compilation will fail right...
malaterre [Thu, 7 Jul 2005 17:55:08 +0000 (17:55 +0000)]
ENH: Fix compilation on mingw32, also minor cleanup gdcm compilation will fail right away on new unsupported plateform instead of doing cryptic messages

19 years agoBegin of kosherization of Example
jpr [Thu, 7 Jul 2005 17:31:53 +0000 (17:31 +0000)]
Begin of kosherization of Example
New 'gdcm2' style.

19 years agoOn the way to gdcm2 ...
jpr [Thu, 7 Jul 2005 16:37:40 +0000 (16:37 +0000)]
On the way to gdcm2 ...
Now, the stand way to use a file is :

gdcm::File *f = new gdcm::File();
f->SetLoadMode ( user say here what he wants *not* to load );
f->SetFileName("myFile.gdcm");
f->Load();

Old styles are kept, not to break the C++ API.
   - gdcm::File *f = new gdcm::File("myFile.gdcm");
- f->Load("myFile.gdcm");

Due to the syntaxic abilities of Python maybe some troubles will occur
(not sure ...)

19 years agoComment out the time consuming, never used/useless
jpr [Thu, 7 Jul 2005 13:55:39 +0000 (13:55 +0000)]
Comment out the time consuming, never used/useless
'Extended tag' stuff for Sequence embedded Entries

19 years agoMove code lines LTTG so save some CPU time.
jpr [Thu, 7 Jul 2005 13:11:38 +0000 (13:11 +0000)]
Move code lines LTTG so save some CPU time.
(hope so)

19 years agoDue to something stupid in the gdcm::File constructor, the file was parsed twice
jpr [Thu, 7 Jul 2005 10:12:32 +0000 (10:12 +0000)]
Due to something stupid in the gdcm::File constructor, the file was parsed twice
when we used old style, e.g :
gdcm::File *f = new gdcm::File(fileName);
instead of new style, e.g. :
gdcm::File *f = new gdcm::File( );
f->SetLoadMode ( choose what you want *not* to load here );
f->Load( filename );

19 years agoCOMP: Finish patching gdcm for support for bcb6
malaterre [Wed, 6 Jul 2005 15:49:31 +0000 (15:49 +0000)]
COMP: Finish patching gdcm for support for bcb6

19 years agoAccording to Mathieu's requirement, Load twice the same file keeps the rseult of
jpr [Wed, 6 Jul 2005 15:18:42 +0000 (15:18 +0000)]
According to Mathieu's requirement, Load twice the same file keeps the rseult of
the first Load (instead of doing it twice)

19 years agoNow gdcmFile::Load() returns false if file is not gdcm parsable
jpr [Wed, 6 Jul 2005 11:01:08 +0000 (11:01 +0000)]
Now gdcmFile::Load() returns false if file is not gdcm parsable
Only gdcmDocument::Load() did it, before.
Thx to Benoit for reporting bug

19 years agoNow TestAllReadCompareDicom.cxx TestReadWriteReadCompare.cxx accept a third
jpr [Wed, 6 Jul 2005 09:53:43 +0000 (09:53 +0000)]
Now TestAllReadCompareDicom.cxx TestReadWriteReadCompare.cxx accept a third
param, in order not to have to recompile to gdcm::Debug::DebugOn().

19 years ago- Clean out the Entries if a Document is parsed more than once
jpr [Wed, 6 Jul 2005 09:25:12 +0000 (09:25 +0000)]
- Clean out the Entries if a Document is parsed more than once
- Uncomment (usefull) warning messages

19 years agoComments
jpr [Wed, 6 Jul 2005 08:43:18 +0000 (08:43 +0000)]
Comments

19 years ago- Comment out a for the moment too much verbose warning message.
jpr [Wed, 6 Jul 2005 08:42:33 +0000 (08:42 +0000)]
- Comment out a for the moment too much verbose warning message.
- Delay some statement as late as possible, to save some CPU time when they're
useless

19 years agoCOMP: Fix warning about uninitialized var
malaterre [Wed, 6 Jul 2005 00:15:11 +0000 (00:15 +0000)]
COMP: Fix warning about uninitialized var

19 years agoCOMP: Fix compilation on BCB6. Thanks again to Luca for report
malaterre [Tue, 5 Jul 2005 23:50:19 +0000 (23:50 +0000)]
COMP: Fix compilation on BCB6. Thanks again to Luca for report

19 years agoENH: Now any new compiler should be supported (not only bcc32)
malaterre [Tue, 5 Jul 2005 23:39:06 +0000 (23:39 +0000)]
ENH: Now any new compiler should be supported (not only bcc32)

19 years agoENH: Propage cmake var
malaterre [Tue, 5 Jul 2005 23:37:32 +0000 (23:37 +0000)]
ENH: Propage cmake var

19 years agoENH: Adding a cmake script to find which compiler return NULL on malloc(0)... fix...
malaterre [Tue, 5 Jul 2005 23:34:14 +0000 (23:34 +0000)]
ENH: Adding a cmake script to find which compiler return NULL on malloc(0)... fix typo

19 years agoENH: Adding a cmake script to find which compiler return NULL on malloc(0)
malaterre [Tue, 5 Jul 2005 23:27:46 +0000 (23:27 +0000)]
ENH: Adding a cmake script to find which compiler return NULL on malloc(0)

19 years agoENH: Put back testing on JPEG2000 since borland is /sort of/ supported
malaterre [Tue, 5 Jul 2005 23:07:50 +0000 (23:07 +0000)]
ENH: Put back testing on JPEG2000 since borland is /sort of/ supported