]> Creatis software - gdcm.git/log
gdcm.git
18 years agoFix misstyping
jpr [Tue, 6 Jun 2006 12:44:52 +0000 (12:44 +0000)]
Fix misstyping

18 years agoBUG: Report bug
malaterre [Mon, 5 Jun 2006 22:39:17 +0000 (22:39 +0000)]
BUG: Report bug

18 years agoAdd a (very) small User Guide.
jpr [Mon, 5 Jun 2006 10:20:16 +0000 (10:20 +0000)]
Add a (very) small User Guide.
More is comming.

18 years agoAdd some DICOM 2005 entries
jpr [Fri, 2 Jun 2006 05:56:46 +0000 (05:56 +0000)]
Add some DICOM 2005 entries
(remaining ones to come)

18 years agoBlack outing the burnt-in number of some MRI images
jpr [Fri, 2 Jun 2006 05:46:44 +0000 (05:46 +0000)]
Black outing the burnt-in number of some MRI images

18 years agoavoid warnings
jpr [Thu, 1 Jun 2006 10:33:13 +0000 (10:33 +0000)]
avoid warnings

18 years agoWaiting for the final removal of MagnetomVisionToBrucker.cxx, commented out.
jpr [Thu, 1 Jun 2006 10:29:30 +0000 (10:29 +0000)]
Waiting for the final removal of MagnetomVisionToBrucker.cxx, commented out.

18 years agoAvoid Warning
jpr [Thu, 1 Jun 2006 09:35:01 +0000 (09:35 +0000)]
Avoid Warning

18 years agoFollow Mathieu's advice on #include
jpr [Wed, 31 May 2006 16:51:41 +0000 (16:51 +0000)]
Follow Mathieu's advice on #include

18 years agoAvoid warnings
jpr [Wed, 31 May 2006 16:39:25 +0000 (16:39 +0000)]
Avoid warnings

18 years agoCheck MD5
jpr [Wed, 31 May 2006 16:25:09 +0000 (16:25 +0000)]
Check MD5

18 years agoUse ToInTag
jpr [Wed, 31 May 2006 16:24:20 +0000 (16:24 +0000)]
Use ToInTag
Drop PhilipsToBrucker2

18 years agoReplace stupid name 'PhilipsToBrucker2' by 'ToInTag'
jpr [Wed, 31 May 2006 16:23:25 +0000 (16:23 +0000)]
Replace stupid name 'PhilipsToBrucker2' by 'ToInTag'

18 years agouse AnonymizeMultiPatient.cxx
jpr [Wed, 31 May 2006 16:17:17 +0000 (16:17 +0000)]
use AnonymizeMultiPatient.cxx

18 years agoFix troubles in AnonymizeMultiPatient.
jpr [Wed, 31 May 2006 16:16:04 +0000 (16:16 +0000)]
Fix troubles in AnonymizeMultiPatient.
(It ensures (hope so) that all the Patient names will be different
after anonymization.
It will probabely replace AnonymizeNoLoad

18 years agoComment out over verbose messages
jpr [Wed, 31 May 2006 16:11:51 +0000 (16:11 +0000)]
Comment out over verbose messages

18 years agoAdd an open source code for MD5.
jpr [Wed, 31 May 2006 16:09:29 +0000 (16:09 +0000)]
Add an open source code for MD5.
This will allowed to use a rough way to anonymize Patient's name, instead of
writing an arbitrary value.
(When we anonymized a multi-patient Directory, it leaded to a mees -all the
patients with the same name-)

18 years agoFix trouble with BCC
jpr [Wed, 31 May 2006 16:02:32 +0000 (16:02 +0000)]
Fix trouble with BCC
Thx to Luca Picello for the fix.

18 years agoForget to comment out InTag
jpr [Tue, 30 May 2006 10:23:49 +0000 (10:23 +0000)]
Forget to comment out InTag

18 years agoRemove PhilipsToBrucker
jpr [Tue, 30 May 2006 09:06:41 +0000 (09:06 +0000)]
Remove PhilipsToBrucker

18 years agoRmove now useless PhilipsToBrucker.cxx (use PhilipsToBrucker2.cxx instead)
jpr [Tue, 30 May 2006 08:28:09 +0000 (08:28 +0000)]
Rmove now useless PhilipsToBrucker.cxx (use PhilipsToBrucker2.cxx instead)

18 years agoAdd an application to allow anonymizing a 'multi patient' dictionnary
jpr [Tue, 30 May 2006 08:26:36 +0000 (08:26 +0000)]
Add an application to allow anonymizing a 'multi patient' dictionnary

18 years agoMove comments
jpr [Tue, 30 May 2006 08:19:25 +0000 (08:19 +0000)]
Move comments

18 years agoComment out GDCM_LEGACY_REMOVE function
jpr [Tue, 30 May 2006 08:18:50 +0000 (08:18 +0000)]
Comment out GDCM_LEGACY_REMOVE function

18 years agoAdd huge comment on the meaning of RETired fields around Orientation and Position
jpr [Tue, 30 May 2006 08:14:50 +0000 (08:14 +0000)]
Add huge comment on the meaning of RETired fields around Orientation and Position

18 years agoAdd some comments
jpr [Tue, 30 May 2006 08:12:51 +0000 (08:12 +0000)]
Add some comments

18 years agoComment out some deprecated function (instead of GDCM_LEGACY, that seems to be
jpr [Tue, 30 May 2006 08:10:19 +0000 (08:10 +0000)]
Comment out some deprecated function (instead of GDCM_LEGACY, that seems to be
dealt with in a mood-dependant way by swig), to be able to compile everywhere.

18 years agoENH: hopefully fixed swig wrapping
malaterre [Tue, 23 May 2006 14:16:08 +0000 (14:16 +0000)]
ENH: hopefully fixed swig wrapping

18 years agoBUG: Do some voodoo magic do please SWIG -buggy- c++ parser
malaterre [Mon, 22 May 2006 14:09:45 +0000 (14:09 +0000)]
BUG: Do some voodoo magic do please SWIG -buggy- c++ parser

18 years agoENH: Remove valgrind/debian false jump report
malaterre [Tue, 16 May 2006 15:54:33 +0000 (15:54 +0000)]
ENH: Remove valgrind/debian false jump report

18 years agoENH: Adding a secret test to test install
malaterre [Mon, 15 May 2006 21:44:15 +0000 (21:44 +0000)]
ENH: Adding a secret test to test install

18 years agoENH: Remove Install dir
malaterre [Mon, 15 May 2006 21:43:47 +0000 (21:43 +0000)]
ENH: Remove Install dir

18 years agoCOMP: I always forgot this change of API
malaterre [Mon, 15 May 2006 21:31:29 +0000 (21:31 +0000)]
COMP: I always forgot this change of API

18 years agoCOMP: Fix compilation against VTK CVS
malaterre [Mon, 15 May 2006 21:28:37 +0000 (21:28 +0000)]
COMP: Fix compilation against VTK CVS

18 years agoENH: Adding a test for install
malaterre [Mon, 15 May 2006 21:21:50 +0000 (21:21 +0000)]
ENH: Adding a test for install

18 years agoCOMP: Fix compilation on SunOS
malaterre [Mon, 15 May 2006 15:24:43 +0000 (15:24 +0000)]
COMP: Fix compilation on SunOS

18 years agoENH: Trying to cleanup oj warnings
malaterre [Mon, 15 May 2006 15:20:49 +0000 (15:20 +0000)]
ENH: Trying to cleanup oj warnings

18 years agoCOMP: Fix comp on dash8 (gcc296)
malaterre [Mon, 15 May 2006 14:47:13 +0000 (14:47 +0000)]
COMP: Fix comp on dash8 (gcc296)

18 years agoBUG: resultPath could be empty, cannot access char -1 in an array
malaterre [Fri, 12 May 2006 19:09:55 +0000 (19:09 +0000)]
BUG: resultPath could be empty, cannot access char -1 in an array

18 years agoENH: Adding an option (hidden) to not install the gdcm dicts
malaterre [Fri, 12 May 2006 15:34:02 +0000 (15:34 +0000)]
ENH: Adding an option (hidden) to not install the gdcm dicts

18 years agoBUG: There was still a file not installed at the proper place
malaterre [Fri, 12 May 2006 15:27:45 +0000 (15:27 +0000)]
BUG: There was still a file not installed at the proper place

18 years agoPort Mathieu's modif from gdcm1.2
jpr [Fri, 12 May 2006 09:36:09 +0000 (09:36 +0000)]
Port Mathieu's modif from gdcm1.2

18 years agoENH: Structure of the dictionary was changed but not everywhere...
malaterre [Thu, 11 May 2006 20:14:25 +0000 (20:14 +0000)]
ENH: Structure of the dictionary was changed but not everywhere...

18 years agoENH: vtkgdcmSerieViewer2 looks like it's completely duplicated code. oh god we love...
malaterre [Thu, 11 May 2006 20:01:28 +0000 (20:01 +0000)]
ENH: vtkgdcmSerieViewer2 looks like it's completely duplicated code. oh god we love duplicated code in gdcm, do we. Fix a minor warning (perf reason cast to bool thing)

18 years agoENH: Rework the GDCM_LEGACY mechanism to allow use of stronger warnings flags
malaterre [Thu, 11 May 2006 19:49:38 +0000 (19:49 +0000)]
ENH: Rework the GDCM_LEGACY mechanism to allow use of stronger warnings flags

18 years agoBUG: Wrong install path
malaterre [Thu, 11 May 2006 15:29:56 +0000 (15:29 +0000)]
BUG: Wrong install path

18 years agoBUG: getenv return is not supposed to be freed
malaterre [Thu, 11 May 2006 15:23:07 +0000 (15:23 +0000)]
BUG: getenv return is not supposed to be freed

18 years agoCOMP: Fix comp on 64bits machine and VTK5
malaterre [Thu, 11 May 2006 15:12:00 +0000 (15:12 +0000)]
COMP: Fix comp on 64bits machine and VTK5

18 years agoBUG: Wrong var
malaterre [Wed, 10 May 2006 20:05:13 +0000 (20:05 +0000)]
BUG: Wrong var

18 years agoSetMedicalImageInformation is available only for VTK Major Version >= 5
jpr [Tue, 9 May 2006 10:54:57 +0000 (10:54 +0000)]
SetMedicalImageInformation is available only for VTK Major Version >= 5

18 years agoBUG: On Win32 you cannot pass NULL os any ostream
malaterre [Mon, 8 May 2006 18:00:02 +0000 (18:00 +0000)]
BUG: On Win32 you cannot pass NULL os any ostream

18 years agoENH: On unix system path are case sensitive, using GDCM broke backward compatibility...
malaterre [Mon, 8 May 2006 15:53:01 +0000 (15:53 +0000)]
ENH: On unix system path are case sensitive, using GDCM broke backward compatibility. Should be fixed now

18 years agoCOMP: Fix compilation, remove warning
malaterre [Sat, 6 May 2006 16:05:16 +0000 (16:05 +0000)]
COMP: Fix compilation, remove warning

18 years agoENH: Fix DATA_DIR install path
malaterre [Fri, 5 May 2006 22:18:32 +0000 (22:18 +0000)]
ENH: Fix DATA_DIR install path

18 years agoENH: This time for real. Install is ok. STYLE: some minor stuff
malaterre [Fri, 5 May 2006 22:13:54 +0000 (22:13 +0000)]
ENH: This time for real. Install is ok. STYLE: some minor stuff

18 years agoENH: Some more install stuff
malaterre [Fri, 5 May 2006 21:07:41 +0000 (21:07 +0000)]
ENH: Some more install stuff

18 years agoENH: Wrong install loc
malaterre [Fri, 5 May 2006 21:06:45 +0000 (21:06 +0000)]
ENH: Wrong install loc

18 years agoENH: Some cleanups
malaterre [Fri, 5 May 2006 20:51:39 +0000 (20:51 +0000)]
ENH: Some cleanups

18 years agoENH: Gather the installation stuff in one place
malaterre [Fri, 5 May 2006 20:34:47 +0000 (20:34 +0000)]
ENH: Gather the installation stuff in one place

18 years agoAdd some comments about
jpr [Tue, 2 May 2006 13:11:57 +0000 (13:11 +0000)]
Add some comments about
   // Description:
   // Aware user is allowed to pass his own gdcm::File *, so he may set *any Dicom field* he wants.
   // (including his own Shadow Eleents, or any gdcm::SeqEntry)
   // gdcm::FileHelper::CheckMandatoryElements() will check inconsistencies, as far as it knows how.
   // Sorry, not yet available under Python.
vtkSetMacro(GdcmFile, gdcm::File *);

and

   // gdcm cannot guess how user built his image (and therefore cannot be clever about some Dicom fields)
   // It's up to the user to tell gdcm what he did.
   // -1) user created ex nihilo his own image and wants to write it as a Dicom image.
   // USER_OWN_IMAGE
   // -2) user modified the pixels of an existing image.
   // FILTERED_IMAGE
   // -3) user created a new image, using existing a set of images (eg MIP, MPR, cartography image)
   //  CREATED_IMAGE
   // -4) user modified/added some tags *without processing* the pixels (anonymization..
   //  UNMODIFIED_PIXELS_IMAGE
   // -Probabely some more to be added
   //(see gdcmFileHelper.h for more explanations)

   void SetContentTypeToUserOwnImage()         {SetContentType(VTK_GDCM_WRITE_TYPE_USER_OWN_IMAGE);}
   void SetContentTypeToFilteredImage()        {SetContentType(VTK_GDCM_WRITE_TYPE_FILTERED_IMAGE);}
   void SetContentTypeToUserCreatedImage()     {SetContentType(VTK_GDCM_WRITE_TYPE_CREATED_IMAGE);}
   void SetContentTypeToUnmodifiedPixelsImage(){SetContentType(VTK_GDCM_WRITE_TYPE_UNMODIFIED_PIXELS_IMAGE);}

18 years agoUpgrade FileHelper.InsertEntryString() to be consistent
jpr [Tue, 2 May 2006 11:14:05 +0000 (11:14 +0000)]
Upgrade FileHelper.InsertEntryString() to be consistent
   with DocEntrySet.InsertEntryString()

18 years agoReplace deprecated InsertValEntryString method by InsertEntryString()
jpr [Tue, 2 May 2006 11:11:00 +0000 (11:11 +0000)]
Replace deprecated InsertValEntryString method by  InsertEntryString()

18 years agoPropagate Mathieu's modif around GDCM_DATA_ROOT
jpr [Tue, 2 May 2006 10:11:10 +0000 (10:11 +0000)]
Propagate Mathieu's modif around GDCM_DATA_ROOT

18 years agoPropagate Mathieu's modif from 1.2 to CVS version.
jpr [Tue, 2 May 2006 10:09:43 +0000 (10:09 +0000)]
Propagate Mathieu's modif from 1.2 to CVS version.

ENH: A few stuff:
Do not call ResetCameraClippingRange in VTK5 and above (fixed)
Update to new API for the ZSlicer stuff in vtkImageViewer2
Add a vtkMedicalImageProperties to the writer to pass in medical information from VTK context (pretty neat...)
Minor style, avoid including too many header files

URL : http://cvs.creatis.insa-lyon.fr/viewcvs/viewcvs.cgi/gdcm/?view=query&branch=&who=malaterre&date=explicit&mindate=2006-04-20%2021:20&maxdate=2006-04-20%2021:22

18 years agoBUG: AT is not supported
malaterre [Mon, 1 May 2006 19:47:22 +0000 (19:47 +0000)]
BUG: AT is not supported

18 years agoMinor fix in FileHelper::CheckMandatoryElements :
jpr [Thu, 20 Apr 2006 16:12:11 +0000 (16:12 +0000)]
Minor fix in FileHelper::CheckMandatoryElements :
At write time, when we re write an old ACR-NEMA file as a DICOM one,
   // Replace deprecated 0028 0012 US Planes
   // by new             0028 0008 IS Number of Frames

18 years agoReWrite now allows user to 'rubout' a part of the image
jpr [Wed, 19 Apr 2006 10:23:56 +0000 (10:23 +0000)]
ReWrite now allows user to 'rubout' a part of the image
(to remove a burnt-in Patient name, for instance)
use
rubout=xBegin,xEnd,yBegin,yEnd

18 years agoAvoid tiny memory leak
jpr [Fri, 14 Apr 2006 08:22:13 +0000 (08:22 +0000)]
Avoid tiny memory leak
(huge ones still pending :-( )

18 years agoFix bug in GetString()
jpr [Fri, 14 Apr 2006 08:10:02 +0000 (08:10 +0000)]
Fix bug in GetString()
-confusion US vs SS-

18 years agoAvoid warnings
jpr [Thu, 13 Apr 2006 08:06:56 +0000 (08:06 +0000)]
Avoid warnings

18 years agoAvoid some warnings
jpr [Thu, 13 Apr 2006 08:05:52 +0000 (08:05 +0000)]
Avoid some warnings

18 years ago Some clinical softwares *demand* Patient ID (0x0010,0x0020)
jpr [Wed, 12 Apr 2006 13:57:32 +0000 (13:57 +0000)]
   Some clinical softwares *demand* Patient ID (0x0010,0x0020)
   although it's a 'type 2' entry.
   Use a default value
   //CheckMandatoryEntry(0x0010,0x0020,"gdcm ID","LO");

18 years agoAvoid troubles while parsing source dictionaries
jpr [Wed, 12 Apr 2006 10:55:49 +0000 (10:55 +0000)]
Avoid troubles while parsing source dictionaries

18 years agoDicomDir.dic has now the VR for each element.
jpr [Tue, 11 Apr 2006 16:06:08 +0000 (16:06 +0000)]
DicomDir.dic has now the VR for each element.

18 years agoPass the VR to method InsertEntryString
jpr [Tue, 11 Apr 2006 16:05:03 +0000 (16:05 +0000)]
Pass the VR to method InsertEntryString

18 years agoRemove useless accesses to the Dicom Dictionnary std::map
jpr [Tue, 11 Apr 2006 16:03:26 +0000 (16:03 +0000)]
Remove useless accesses to the Dicom Dictionnary std::map

18 years agoAvoid warnings
jpr [Fri, 7 Apr 2006 14:15:56 +0000 (14:15 +0000)]
Avoid warnings

18 years agoAvoid warning
jpr [Fri, 7 Apr 2006 14:14:40 +0000 (14:14 +0000)]
Avoid warning

18 years agoAllow user to run the tests on a single file
jpr [Fri, 7 Apr 2006 10:58:51 +0000 (10:58 +0000)]
Allow user to run the tests on a single file

18 years agoremove misstyping
jpr [Fri, 31 Mar 2006 07:52:23 +0000 (07:52 +0000)]
remove misstyping

18 years agoAvoid stupid messages when length = 0
jpr [Thu, 30 Mar 2006 17:29:00 +0000 (17:29 +0000)]
Avoid stupid messages when length = 0

18 years agoInitialize ZSpacing, in *all* cases.
jpr [Thu, 30 Mar 2006 17:19:24 +0000 (17:19 +0000)]
Initialize ZSpacing, in *all* cases.

18 years agovtkgdcmSerieViewer2 shows the ZSpacing, as computed whithin SerieHelper
jpr [Thu, 30 Mar 2006 17:11:11 +0000 (17:11 +0000)]
vtkgdcmSerieViewer2 shows the ZSpacing, as computed whithin SerieHelper
(just an example!)

18 years agoForget to remove cout ..
jpr [Thu, 30 Mar 2006 16:51:29 +0000 (16:51 +0000)]
Forget to remove cout ..

18 years agoAs a side effect,
jpr [Thu, 30 Mar 2006 16:41:22 +0000 (16:41 +0000)]
As a side effect,
bool SerieHelper::ImagePositionPatientOrdering( FileList *fileList )
computes ZSpacing, according to Jolinda Smith's algorithm, already used to sort
the images.
Retrieve it with
double SerieHelper::GetZSpacing();
The pb of using it within vtkgdcmReader() is still pending.

18 years agoNew param : 4DLoc=0xgggg-0xeeee to tell gdcm where
jpr [Wed, 29 Mar 2006 16:15:01 +0000 (16:15 +0000)]
New param : 4DLoc=0xgggg-0xeeee to tell gdcm where
the -unnormalized- 4th Dim is stored.

18 years agoOops.
jpr [Wed, 29 Mar 2006 16:13:00 +0000 (16:13 +0000)]
Oops.
Forget to commit theese ones.

18 years agoUnnormalized 4th dimension is now dealt with.
jpr [Wed, 29 Mar 2006 16:09:48 +0000 (16:09 +0000)]
Unnormalized 4th dimension is now dealt with.
User tells gdcm *where* it is.
File::SetFourthDimensionLocation(groupNb, elementNb);
After Load(), he may use int File::GetTSize();

As a proof of concept, PrintFile has one more option :
4Dloc=0x3001-0x1001, for instance.
One can see pixel size is now computed properly.

(VTK stuff is still missing)
--> Later!

18 years agoPropagate Mathieu's fix for VTK5.0.
jpr [Wed, 29 Mar 2006 11:23:43 +0000 (11:23 +0000)]
Propagate Mathieu's fix for VTK5.0.
Magic!
In still works with VTK4.5 !

18 years agoENH: Patient Birthday is of type VR=DA
malaterre [Mon, 27 Mar 2006 19:02:43 +0000 (19:02 +0000)]
ENH: Patient Birthday is of type VR=DA

18 years agoBUG: No comment
malaterre [Sat, 25 Mar 2006 17:02:11 +0000 (17:02 +0000)]
BUG: No comment

18 years agoDictEntry must be created completely *before* using to create a DocEntry.
jpr [Wed, 22 Mar 2006 13:20:36 +0000 (13:20 +0000)]
DictEntry must be created completely *before* using to create a DocEntry.

18 years agoTo speed up the parsing process (avoid accessing HTable when useless):
jpr [Wed, 22 Mar 2006 13:19:25 +0000 (13:19 +0000)]
To speed up the parsing process (avoid accessing HTable when useless):
VR and Key are now stored int the DocEntry
DefaultPubDict is stored as well outsite the Htable.

18 years agoUpdate Doc (old UML diagram was displayed)
jpr [Mon, 20 Mar 2006 14:33:39 +0000 (14:33 +0000)]
Update Doc (old UML diagram was displayed)

18 years agoFix bug while calling new vtkGdcmWrite abilities.
jpr [Mon, 20 Mar 2006 14:32:20 +0000 (14:32 +0000)]
Fix bug while calling new vtkGdcmWrite abilities.

18 years agoUpdate News
jpr [Fri, 17 Mar 2006 14:56:25 +0000 (14:56 +0000)]
Update News

18 years agoFix some comments
jpr [Fri, 17 Mar 2006 14:53:14 +0000 (14:53 +0000)]
Fix some comments

18 years agoExample a using new features .
jpr [Fri, 17 Mar 2006 14:51:46 +0000 (14:51 +0000)]
Example a using new features .
DO NOT use right now; checking not achieved !

18 years ago*** empty log message ***
jpr [Fri, 17 Mar 2006 14:46:17 +0000 (14:46 +0000)]
*** empty log message ***

18 years agoAdd ReWriteExtended.cxx to show the result of the new
jpr [Fri, 17 Mar 2006 14:40:47 +0000 (14:40 +0000)]
Add ReWriteExtended.cxx to show the result of the new
SetContentType((gdcm::ImageContentType)filecontent); method