]>
Creatis software - gdcm.git/log
jpr [Mon, 22 Aug 2005 10:12:45 +0000 (10:12 +0000)]
Update web pages
malaterre [Sat, 20 Aug 2005 22:29:46 +0000 (22:29 +0000)]
COMP: Ok quickly fix comp problem on golgot with -pain in the neck- gcc 4.x
jpr [Sat, 20 Aug 2005 09:10:24 +0000 (09:10 +0000)]
Use new style FileHelper contructor
jpr [Sat, 20 Aug 2005 09:04:50 +0000 (09:04 +0000)]
FileHelper::Initialize() doesn't call GrabInformationFromFile(),
in order not to do the job twice when using new style FileHelper Constructor.
malaterre [Fri, 19 Aug 2005 16:31:06 +0000 (16:31 +0000)]
ENH: Provide a GetVersion function, apparently need for python
malaterre [Fri, 19 Aug 2005 16:21:23 +0000 (16:21 +0000)]
ENH: Tons of cleanup
malaterre [Fri, 19 Aug 2005 16:08:47 +0000 (16:08 +0000)]
ENH: Ok serioulsy nobody was updating this file - removed
malaterre [Fri, 19 Aug 2005 15:52:38 +0000 (15:52 +0000)]
ENH: Should fix installation of gdcm
jpr [Fri, 19 Aug 2005 13:15:05 +0000 (13:15 +0000)]
Some never comitted before comments.
jpr [Fri, 19 Aug 2005 13:12:15 +0000 (13:12 +0000)]
Initialize UserFunction pointer to 0, even for 'deprecated' form of constructor.
malaterre [Thu, 18 Aug 2005 14:34:47 +0000 (14:34 +0000)]
COMP: Fix compilation on gcc4
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.
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]
jpr [Sat, 30 Jul 2005 18:31:25 +0000 (18:31 +0000)]
vtkGdcmReader takes into account the user supplied function to reorder the
pixels
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
jpr [Sat, 30 Jul 2005 18:18:44 +0000 (18:18 +0000)]
ArgMgrDefined now returns a bool
jpr [Sat, 30 Jul 2005 18:17:08 +0000 (18:17 +0000)]
Comments
jpr [Sat, 30 Jul 2005 18:16:19 +0000 (18:16 +0000)]
Fix comments
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.
malaterre [Fri, 29 Jul 2005 20:50:07 +0000 (20:50 +0000)]
COMP: Fix compilation on gcc296
jpr [Fri, 29 Jul 2005 15:24:04 +0000 (15:24 +0000)]
Allow checking reverse order file sorting
jpr [Fri, 29 Jul 2005 15:07:56 +0000 (15:07 +0000)]
Typo
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.
malaterre [Thu, 28 Jul 2005 16:11:20 +0000 (16:11 +0000)]
ENH: If address is hexadecimal, also take into account a-f
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...
malaterre [Tue, 26 Jul 2005 02:25:25 +0000 (02:25 +0000)]
COMP: Remove call to deprecated method
malaterre [Tue, 26 Jul 2005 02:16:19 +0000 (02:16 +0000)]
COMP: Fix compilation on Win32. All symbols MUST be resolved
malaterre [Mon, 25 Jul 2005 20:10:53 +0000 (20:10 +0000)]
BUG: Set proper cmake command. Thanks to Aris -again-
malaterre [Mon, 25 Jul 2005 18:08:07 +0000 (18:08 +0000)]
ENH: Install jasper and jpegls. Thanks to Aris Basic for report
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
malaterre [Mon, 25 Jul 2005 17:14:09 +0000 (17:14 +0000)]
ENH: cvs access is NOT deprecated
malaterre [Mon, 25 Jul 2005 03:44:35 +0000 (03:44 +0000)]
COMP: Fix compilation sqrt need prototype
malaterre [Sun, 24 Jul 2005 02:49:25 +0000 (02:49 +0000)]
ENH: Minor tweek
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...
malaterre [Sun, 24 Jul 2005 02:10:48 +0000 (02:10 +0000)]
COMP: Try to get read of the float issues
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)
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...
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...