]>
Creatis software - gdcm.git/log
malaterre [Sat, 23 Jul 2005 02:02:44 +0000 (02:02 +0000)]
COMP: Remove deprecated calls
malaterre [Sat, 23 Jul 2005 02:01:37 +0000 (02:01 +0000)]
COMP: Remove warning about unused var /type/
malaterre [Sat, 23 Jul 2005 01:59:21 +0000 (01:59 +0000)]
COMP: Fix some more deprecated forward
malaterre [Sat, 23 Jul 2005 01:54:03 +0000 (01:54 +0000)]
COMP: Remove deprecated call from cascade deprecated functions...
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!
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).
malaterre [Fri, 22 Jul 2005 03:33:13 +0000 (03:33 +0000)]
COMP: Fix compilation
jpr [Thu, 21 Jul 2005 14:05:09 +0000 (14:05 +0000)]
LEGACY warnings hunting
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'.
jpr [Thu, 21 Jul 2005 07:49:18 +0000 (07:49 +0000)]
Updtae ChangeLog
jpr [Thu, 21 Jul 2005 06:39:24 +0000 (06:39 +0000)]
Doxygenation
jpr [Thu, 21 Jul 2005 05:02:11 +0000 (05:02 +0000)]
LEGACY purpose
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
};
jpr [Thu, 21 Jul 2005 04:55:50 +0000 (04:55 +0000)]
Unify user interface
jpr [Thu, 21 Jul 2005 04:55:30 +0000 (04:55 +0000)]
Add an example of use for SerieHelper
jpr [Thu, 21 Jul 2005 04:51:26 +0000 (04:51 +0000)]
Remove LEGACY warnings
jpr [Wed, 20 Jul 2005 14:49:41 +0000 (14:49 +0000)]
Use GDCM_LEGACY for DicomDir, as well
jpr [Wed, 20 Jul 2005 14:48:15 +0000 (14:48 +0000)]
Fix mistyping
jpr [Wed, 20 Jul 2005 13:39:51 +0000 (13:39 +0000)]
Warn user when something wrong happens
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.
jpr [Wed, 20 Jul 2005 13:31:01 +0000 (13:31 +0000)]
We can now anonymize 'BinEntries' as well
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)
jpr [Tue, 19 Jul 2005 15:28:54 +0000 (15:28 +0000)]
Fix comments
jpr [Tue, 19 Jul 2005 15:25:53 +0000 (15:25 +0000)]
Add some comments on the 'Patient Position'
malaterre [Tue, 19 Jul 2005 15:19:25 +0000 (15:19 +0000)]
ENH: gdcm now almost compile with GDCM_LEGACY_REMOVE on
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
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
jpr [Tue, 19 Jul 2005 09:11:32 +0000 (09:11 +0000)]
Update News
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()
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)
jpr [Sun, 17 Jul 2005 05:13:09 +0000 (05:13 +0000)]
Update News
jpr [Sun, 17 Jul 2005 04:37:57 +0000 (04:37 +0000)]
Fix misstypings
jpr [Sun, 17 Jul 2005 04:36:14 +0000 (04:36 +0000)]
Add vtkgdcmSerieViewer to check new SetCoherentFileList ability of vtkGdcmRedaer
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)
jpr [Sun, 17 Jul 2005 04:28:55 +0000 (04:28 +0000)]
Comments
jpr [Sun, 17 Jul 2005 04:27:49 +0000 (04:27 +0000)]
Use new style for Loading files
jpr [Sun, 17 Jul 2005 04:26:57 +0000 (04:26 +0000)]
Doxygenation
jpr [Sun, 17 Jul 2005 04:25:12 +0000 (04:25 +0000)]
Check some more usages
malaterre [Wed, 13 Jul 2005 13:48:56 +0000 (13:48 +0000)]
COMP: Fix compile warning
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
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.
jpr [Tue, 12 Jul 2005 14:58:26 +0000 (14:58 +0000)]
Comments
jpr [Tue, 12 Jul 2005 14:56:48 +0000 (14:56 +0000)]
Typo
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.
jpr [Tue, 12 Jul 2005 14:44:09 +0000 (14:44 +0000)]
Bug fix
malaterre [Mon, 11 Jul 2005 20:47:00 +0000 (20:47 +0000)]
ENH: Remove stupid debug code...
malaterre [Mon, 11 Jul 2005 20:44:52 +0000 (20:44 +0000)]
ENH: Ok all tests are now passing even using FASTKEY
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
malaterre [Mon, 11 Jul 2005 18:29:58 +0000 (18:29 +0000)]
COMP: Add support for gcc295
malaterre [Mon, 11 Jul 2005 18:13:16 +0000 (18:13 +0000)]
ENH: Ok PrintFile should be working with FASTKEY 1
malaterre [Mon, 11 Jul 2005 18:10:29 +0000 (18:10 +0000)]
ENH: On win32 std::binary is necessary
jpr [Mon, 11 Jul 2005 16:28:04 +0000 (16:28 +0000)]
DictEntry::TranslateToKey was used a wrong way in gdcm::DocEntry::Print()
malaterre [Mon, 11 Jul 2005 16:20:55 +0000 (16:20 +0000)]
BUG: grrrr not now
malaterre [Mon, 11 Jul 2005 16:18:47 +0000 (16:18 +0000)]
BUG: Fix PrintFile + minor cleanup
malaterre [Mon, 11 Jul 2005 15:29:04 +0000 (15:29 +0000)]
COMP: Forgot to change string to TagKey...
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
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
malaterre [Mon, 11 Jul 2005 15:05:22 +0000 (15:05 +0000)]
COMP: ooops forgot about feature from VS6 (does not support ostream+string)
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
malaterre [Mon, 11 Jul 2005 14:47:19 +0000 (14:47 +0000)]
ENH: Minor cleanup
malaterre [Mon, 11 Jul 2005 14:40:40 +0000 (14:40 +0000)]
ENH: A TagKey is a TagKey and not a string or TagName...
malaterre [Mon, 11 Jul 2005 14:37:53 +0000 (14:37 +0000)]
BUG: Trying to debug jasper...
malaterre [Mon, 11 Jul 2005 14:35:46 +0000 (14:35 +0000)]
COMP: looks like a patch from Luca...
malaterre [Mon, 11 Jul 2005 14:34:54 +0000 (14:34 +0000)]
ENH: Redo the SIEMENS dictionary
jpr [Mon, 11 Jul 2005 13:54:51 +0000 (13:54 +0000)]
Fix mistyping
jpr [Mon, 11 Jul 2005 12:52:51 +0000 (12:52 +0000)]
Doxygenation
jpr [Mon, 11 Jul 2005 10:13:17 +0000 (10:13 +0000)]
improve PrintDicomDir
jpr [Mon, 11 Jul 2005 08:50:48 +0000 (08:50 +0000)]
Use new gdcm2 style for Load
jpr [Mon, 11 Jul 2005 08:30:39 +0000 (08:30 +0000)]
Doxygenation
jpr [Mon, 11 Jul 2005 08:20:25 +0000 (08:20 +0000)]
Reorder methods
jpr [Mon, 11 Jul 2005 08:19:37 +0000 (08:19 +0000)]
Fix tagKey description
malaterre [Mon, 11 Jul 2005 00:49:56 +0000 (00:49 +0000)]
BUG: Remove a jpeg2000, irreversible transform momentarily... well hopefully
malaterre [Sat, 9 Jul 2005 23:47:30 +0000 (23:47 +0000)]
COMP: Fix compilation on broken compiler (scope/for loop)
jpr [Fri, 8 Jul 2005 19:07:12 +0000 (19:07 +0000)]
Add the VISIT object within DicomDir
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()
jpr [Fri, 8 Jul 2005 13:39:56 +0000 (13:39 +0000)]
New gdcm2 style syntax for Load()
jpr [Fri, 8 Jul 2005 12:02:02 +0000 (12:02 +0000)]
End of gdcm/Example kosherization (Load related stuff)
jpr [Fri, 8 Jul 2005 10:15:04 +0000 (10:15 +0000)]
Use new style for DicomDir loading
jpr [Fri, 8 Jul 2005 10:13:38 +0000 (10:13 +0000)]
New features for DicomDir
jpr [Fri, 8 Jul 2005 10:04:36 +0000 (10:04 +0000)]
Update fo new features
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
jpr [Thu, 7 Jul 2005 17:31:53 +0000 (17:31 +0000)]
Begin of kosherization of Example
New 'gdcm2' style.
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 ...)
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
jpr [Thu, 7 Jul 2005 13:11:38 +0000 (13:11 +0000)]
Move code lines LTTG so save some CPU time.
(hope so)
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 );
malaterre [Wed, 6 Jul 2005 15:49:31 +0000 (15:49 +0000)]
COMP: Finish patching gdcm for support for bcb6
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)
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
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().
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
jpr [Wed, 6 Jul 2005 08:43:18 +0000 (08:43 +0000)]
Comments
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
malaterre [Wed, 6 Jul 2005 00:15:11 +0000 (00:15 +0000)]
COMP: Fix warning about uninitialized var
malaterre [Tue, 5 Jul 2005 23:50:19 +0000 (23:50 +0000)]
COMP: Fix compilation on BCB6. Thanks again to Luca for report
malaterre [Tue, 5 Jul 2005 23:39:06 +0000 (23:39 +0000)]
ENH: Now any new compiler should be supported (not only bcc32)
malaterre [Tue, 5 Jul 2005 23:37:32 +0000 (23:37 +0000)]
ENH: Propage cmake var
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
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)
malaterre [Tue, 5 Jul 2005 23:07:50 +0000 (23:07 +0000)]
ENH: Put back testing on JPEG2000 since borland is /sort of/ supported