]> Creatis software - gdcm.git/log
gdcm.git
21 years ago * vtk subdir added. Contains vtkGdcmReader.[cxx|h] a vtk class
frog [Mon, 5 May 2003 14:13:58 +0000 (14:13 +0000)]
  * vtk subdir added. Contains vtkGdcmReader.[cxx|h] a vtk class
        inherinting from vtkImageReader and testvtkGdcmReader.cxx a small
        demo of the usage of this class.
        Compilation of this vtk part is only done when using the --enable-vtk
        at configure (or autogen.sh) stage.

21 years agoModif prise en compte jpeg lossless
jpr [Mon, 5 May 2003 07:58:14 +0000 (07:58 +0000)]
Modif prise en compte jpeg lossless

21 years agogdcmElValSet::SetElValueByNumber and gdcmElValSet::SetElValueByName
jpr [Wed, 30 Apr 2003 15:52:09 +0000 (15:52 +0000)]
gdcmElValSet::SetElValueByNumber and gdcmElValSet::SetElValueByName
now write the accurate length when vr = {US, SS, UL, SL}

21 years agoUML design file added. This file contains a class diagram that shows the
lflorez [Tue, 29 Apr 2003 14:16:58 +0000 (14:16 +0000)]
UML design file added. This file contains a class diagram that shows the
actual state of the project. Some work has to be done in order to:

- Eliminate relationship cycles, if possible.
- Separate classes in packages.
- Include all existing documentation.
- Do a software engineering process to discover the package's real behaviour
  Vs its desired behaviour. Ideally, this difference should be 0.

21 years ago * More memmory link related corrections and documentation fixes.
frog [Wed, 16 Apr 2003 21:37:59 +0000 (21:37 +0000)]
  * More memmory link related corrections and documentation fixes.
        Notes on valgrind:
          - maximum info is obtained with a command of the form:
            valgrind --leak-check=yes --leak-resolution=high --num-callers=40
                   --show-reachable=yes PrintHeader
          - the remaining reachable blocks seem to come from the STL
            allocation scheme through the usage of map and list. It looks
            like this memory cannot be freed but it is not a memory leak
            (in fact further invocation to the STL would recollect the
             unused memory allthough it cannot explicitely be freed).
      * gdcmPython/demo/vtkGdcmDemo.py added: this is a small demo
        of displaying an image parsed with gdcm and displayed with VTK.
        Note: some images don't seem to work e.g.
            python vtkGdcmDemo.py  ../../Data/US-RGB-8-esopecho.dcm
      * src/gdcmHeader.x: dicom_vr and Dicts are not class members anymore.
        Allthough this weakens the semantics, it is a ditch attempt to
        make gdcm more thread friendly.   --- Frog

21 years ago * More memmory link related corrections and documentation fixes.
frog [Wed, 16 Apr 2003 08:03:26 +0000 (08:03 +0000)]
  * More memmory link related corrections and documentation fixes.

21 years ago * Memory link hunt (by using valgrind --leak-check=yes PrintHeader).
frog [Tue, 15 Apr 2003 10:32:20 +0000 (10:32 +0000)]
  * Memory link hunt (by using valgrind --leak-check=yes PrintHeader).
        - added src/gdcmVR.cxx gdcmVR.h that objectify the previous
          gdcmHeader::_dicom_vr.
        - gdcmHeader::InitVRDict transfered as gdcmVR::gdcmVR().
        - gdcmHeader::dicom_vr is now of type gdcmVR* as opposed to
          VRHT*.
        - gdcmGlobal global object contained class added (see src/gdcmUtil.x)

21 years ago Clean up with JPR. Frog
frog [Fri, 11 Apr 2003 15:50:51 +0000 (15:50 +0000)]
Clean up with JPR.  Frog

21 years agoJust a few modif on Dicom Dict, according to 2003 Releaase.
jpr [Thu, 10 Apr 2003 13:51:21 +0000 (13:51 +0000)]
Just a few modif on Dicom Dict, according to 2003 Releaase.
We *really* need to find a text file up to date ...

21 years agoRectification menage intempestif dans les print.
jpr [Thu, 10 Apr 2003 09:49:02 +0000 (09:49 +0000)]
Rectification menage intempestif dans les print.
(un sprintf etait passe' à la trappe)

21 years agoUpdateGroupLength re-written using H-Table
jpr [Wed, 9 Apr 2003 14:04:52 +0000 (14:04 +0000)]
UpdateGroupLength re-written using H-Table

21 years agofonction UpdateGroupLengthNew (utilisant une HTable)
jpr [Tue, 8 Apr 2003 17:10:58 +0000 (17:10 +0000)]
fonction UpdateGroupLengthNew (utilisant une HTable)
qui remplacera UpdateGroupLength, commitee par precaution.

21 years ago Brutal commit. --- Frog
frog [Tue, 8 Apr 2003 15:03:34 +0000 (15:03 +0000)]
  Brutal commit. --- Frog

21 years ago Brutal commit . Frog
frog [Tue, 8 Apr 2003 09:31:37 +0000 (09:31 +0000)]
Brutal commit .  Frog

21 years ago Brutal commit. Changelog to come.... Frog
frog [Mon, 7 Apr 2003 15:04:37 +0000 (15:04 +0000)]
 Brutal commit. Changelog to come....  Frog

21 years agoajouts accesseurs
jpr [Thu, 3 Apr 2003 15:49:16 +0000 (15:49 +0000)]
ajouts accesseurs
  string GetXSize(void);
  string GetYSize(void);
  string GetZSize(void);
  string GetPixelType(void);
 destinés à remplacer
 void gdcmHeader::AddAndDefaultElements(void)

21 years agoCorrection calcul 'gdcmZSize' dans AddAndDefaultElements.
jpr [Wed, 2 Apr 2003 09:48:03 +0000 (09:48 +0000)]
Correction calcul 'gdcmZSize' dans AddAndDefaultElements.
Question : Utilité d'une telle fonction, qui ajoute des Elements non ACR/DICOM dans le PubElValSet
(problèmes lors du DCM Write à prévoir)
--> A remplacer par des accesseurs propres ?

21 years agoUpdate for writting DCM files
jpr [Tue, 1 Apr 2003 14:07:40 +0000 (14:07 +0000)]
Update for writting DCM files

21 years ago * src/gdcmHeader.h: LoadElements() is not a public method anymore April2003
frog [Mon, 31 Mar 2003 12:02:26 +0000 (12:02 +0000)]
  * src/gdcmHeader.h: LoadElements() is not a public method anymore
        (to avoid double call by end user).
      * Test/*.cxx LoadElements() doesn't need to be called explicitely
        by end user, since gdcmHeader::gdcmHeader now handles it. --- Frog

21 years ago Fix.
frog [Sat, 29 Mar 2003 17:50:05 +0000 (17:50 +0000)]
Fix.

21 years ago * gdcm/Doc many doxygen changes:
frog [Sat, 29 Mar 2003 17:21:48 +0000 (17:21 +0000)]
  * gdcm/Doc many doxygen changes:
        - Doxyfile now has two different versions, DoxyfileUsers that generates
          the html.users end users oriented documentation and
          DoxyfileDeveloppers that generates the html.developper developper
          oriented documentation.
        - README changed accordingly
        - requirement.txt removed (old design info moved to TODO).
        - Additional files DoxyInstallation.txt, DoxyIntroduction.txt,
          DoxyMainPage.txt, DoxyPython.txt provide more information.
        - Note: the website http://www.creatis.insa-lyon.fr/Public/Gdcm/ can now
          be updated by simply regenerating the docs with doxygen and copying
          html.developper and html.users to tux:/home/httpd/html/Public/Gdcm
      * src/gdcmElValSet.cxx: stl <map>.count() can only return 0 or 1.
          Hence all the tests in the form "if (<map>.count() >1)" were removed.
      * src/gdcmFile.cxx: cosmetic changes to avoid messages of doxygen about
        ill-formed documentation sections.
      * src/gdcmHeader.cxx: ditto   --- Frog

21 years ago * gdcmPython/win32/gdcmpycomplet.dsp renamed to gdcmpyembedded.dsp.
frog [Thu, 27 Mar 2003 16:35:09 +0000 (16:35 +0000)]
  * gdcmPython/win32/gdcmpycomplet.dsp renamed to gdcmpyembedded.dsp.
      * gdcmPython/win32/gdcmpy.dsp trashed away (brain damaged).
      * src/gdcm*.cxx JPR's bad inclusion fixed.  -- BeNours + Frog

21 years ago * setup.py fixed for un*x (needed macro for stdint.h)
frog [Thu, 27 Mar 2003 14:57:07 +0000 (14:57 +0000)]
  * setup.py fixed for un*x (needed macro for stdint.h)
      * Test/test.cxx renamed to PrintHeader.cxx to avoid collision on
        un*ces with sh-utils test utility.
      * gdcmPython/demo/test.py renamed to PrintHeader.py
      * gdcmPython/demo/ReorganiseFiles.py new demo script added.

21 years ago * src/gdcmHeader[h, cxx] gdcmHeader now has an IsReadable predicate.
frog [Wed, 26 Mar 2003 18:38:44 +0000 (18:38 +0000)]
  * src/gdcmHeader[h, cxx] gdcmHeader now has an IsReadable predicate.
      * gdcmPython/demo/test.py changed accordingly. --- Frog

21 years agoCorrection of a bad cut n' paste
malaterre [Tue, 25 Mar 2003 17:30:52 +0000 (17:30 +0000)]
Correction of a bad cut n' paste

21 years ago * gdcmPython/Makefile.am fixed linking against libstdc++
frog [Tue, 25 Mar 2003 11:41:16 +0000 (11:41 +0000)]
  * gdcmPython/Makefile.am fixed linking against libstdc++
      * gdcmPython/_gdcm.so symbolic link to gdcmPython/.libs/pygdcm.so added.
      * Swig subdir (historical tests of swig version 1.3.17++) removed
      * Test/testChangeEntete.cxx some lines commented out in order to make
        compilation work.
      * src/gdcmHeader.cxx cleaned up wild JPR's dirty kludge.
      * src/gdcmElValSet.cxx cleaned up frog's forgotten debug message

21 years agoremplacement include gdcm.h
jpr [Mon, 24 Mar 2003 16:34:03 +0000 (16:34 +0000)]
remplacement include gdcm.h

21 years ago * src/gdcmHeader.cxx gdcmHeader::gdcmHeader now calls LoadElements(),
frog [Mon, 24 Mar 2003 13:11:23 +0000 (13:11 +0000)]
  * src/gdcmHeader.cxx gdcmHeader::gdcmHeader now calls LoadElements(),
        hence the user doesn't need this explicit call.
        - gdcmPython/testSuite.py, gdcmPython/demo/*.py changed accordingly
          i.e. LoadElements() call removed.
      * src/gdcmCommon.h now defines UINT32_MAX (see stdint.h).
        - src/Makefile.am declares the proper flag for g++.
      * src/gdcmElValSet.h added gdcmElValSet::GenerateFreeTagKeyInGroup
        for adding user defined new tags.
        - src/gdcmHeader.cxx gdcmHeader::NewManualElValToPubDict added.
        - src/gdcmHeader.cxx gdcmHeader::AddAndDefaultElements now
          cleanly adds some gdcm added tags (like gdcmXSize, gdcmYSize...)

21 years agoexemple de changement d'entete d'une image avec extraction d'info
jpr [Fri, 21 Mar 2003 16:18:29 +0000 (16:18 +0000)]
exemple de changement d'entete d'une image avec extraction d'info

21 years agoCalcul correct (merci, Eric!) de la longueur de chaque Dicom Group
jpr [Fri, 21 Mar 2003 08:52:31 +0000 (08:52 +0000)]
Calcul correct (merci, Eric!) de la longueur de chaque Dicom Group

21 years ago2003-03-17 Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>
bellet [Mon, 17 Mar 2003 14:44:55 +0000 (14:44 +0000)]
2003-03-17 Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>
      * Makefile.am, acinclude.m4, configure.in, python.m4, Dicts/Makefile.am,
        Doc/Makefile.am, Test/Makefile.am, gdcmPython/Makefile.am,
        src/Makefile.am : the project should properly compile and install
        with the autotools, included the python wrappers part.
      * gdcm.spec.in : added a spec file for RPM packaging.

21 years agoPricipe de precaution : j'inhibe le recalcul des longueur des groupes
jpr [Fri, 14 Mar 2003 14:26:01 +0000 (14:26 +0000)]
Pricipe de precaution : j'inhibe le recalcul des longueur des groupes
dans WriteDcm et WriteAcr
Ca ne sera pas génant pour les *vrais* DICOM Readers.
Ca *pourra* l'etre pour des ACR Readers un peu teigneux ...

21 years ago * src/gdcmUtils.cxx : redifinition of defaults parameters in code
regrain [Fri, 14 Mar 2003 09:19:48 +0000 (09:19 +0000)]
  * src/gdcmUtils.cxx : redifinition of defaults parameters in code
      -- BeNours

21 years ago Zilch. --- Frog
frog [Fri, 14 Mar 2003 07:49:43 +0000 (07:49 +0000)]
Zilch. --- Frog

21 years agofusion des updates CVS
jpr [Thu, 13 Mar 2003 17:00:10 +0000 (17:00 +0000)]
fusion des updates CVS

21 years agofin sac de noeuds avec #include <string>
jpr [Thu, 13 Mar 2003 15:56:26 +0000 (15:56 +0000)]
fin sac de noeuds avec #include <string>

21 years ago#include <string>
jpr [Thu, 13 Mar 2003 15:45:13 +0000 (15:45 +0000)]
#include <string>
#ifdef _MSC_VER
using namespace std;  // string type lives in the std namespace on VC++
#endif

21 years ago#include <string>
jpr [Thu, 13 Mar 2003 15:42:08 +0000 (15:42 +0000)]
#include <string>
#ifdef _MSC_VER
using namespace std;  // string type lives in the std namespace on VC++
#endif

en esperant que ca marche comme avant

21 years agoajout namespace std pour les string sous Windows
jpr [Thu, 13 Mar 2003 15:37:49 +0000 (15:37 +0000)]
ajout namespace std pour les string sous Windows

21 years ago * gdcmPython/__init__.py fix of GDCM_DICT_PATH which was not
frog [Wed, 12 Mar 2003 23:38:58 +0000 (23:38 +0000)]
  * gdcmPython/__init__.py fix of GDCM_DICT_PATH which was not
        to exported to the environement (see gdcmPython/testSuite.py
        for usage).
      * src/gdcmElValSet.cxx, src/gdcmUtil.[cxx-h] Tokenize utility function
        moved away from gdcmElValSet.cxx to gdcmUtil.cxx.

21 years ago * src/gdcmElValSet.[cxx/h], gdcmElValue.[cxx/h], gdcmFile.[cxx/h],
frog [Wed, 12 Mar 2003 21:33:19 +0000 (21:33 +0000)]
  * src/gdcmElValSet.[cxx/h], gdcmElValue.[cxx/h], gdcmFile.[cxx/h],
        gdcmHeader.[cxx/h]: ElValSet class renamed to gdcmElValSet, and
        ElValue class renamed to gdcmElValue for obvious consistency reasons.

21 years agomalloc à la plce de g_malloc
jpr [Wed, 12 Mar 2003 13:36:37 +0000 (13:36 +0000)]
malloc à la plce de g_malloc

21 years agoAjout temporaire de la fonction LibIDO de lecture Jpeg Lossless
jpr [Wed, 12 Mar 2003 13:27:56 +0000 (13:27 +0000)]
Ajout temporaire de la fonction LibIDO de lecture Jpeg Lossless

21 years agoPOur traiter certaines (?) images Philips pour lesquelles le File Preamble
jpr [Wed, 12 Mar 2003 13:09:00 +0000 (13:09 +0000)]
POur traiter certaines (?) images Philips pour lesquelles le File Preamble
est suivi de l'elem (0002,0001) et non pas de l'elem (0002,0000)
-pas d'autre possibilité envisageable ...-
Peut-etre

21 years agoprise en compte VM > 1
jpr [Mon, 10 Mar 2003 15:13:18 +0000 (15:13 +0000)]
prise en compte VM > 1
(update incomplet ce matin)

21 years agodeclaration de dcm2acr
jpr [Mon, 10 Mar 2003 13:26:05 +0000 (13:26 +0000)]
declaration de dcm2acr

21 years agoPour décoder proprement les champs de 'value Multiplicity' > 1
jpr [Mon, 10 Mar 2003 10:39:04 +0000 (10:39 +0000)]
Pour décoder proprement les champs de 'value Multiplicity' > 1
ex : Unsigned Short, longueur 8 ...

21 years ago * gdcmPython/__init__.py doesn't crash anymore when running in
frog [Mon, 10 Mar 2003 10:16:40 +0000 (10:16 +0000)]
  * gdcmPython/__init__.py doesn't crash anymore when running in
        in InstallMode or PreInstallMode but with an environement given
        value of GDCM_DICT_PATH.
      * src/gdcmDictSet.[cxx/h] coding style.  --- Frog

21 years ago * src/gdcmHeader.h and gdcmHeader.cxx Coding style + doxigenation.
frog [Thu, 6 Mar 2003 14:04:34 +0000 (14:04 +0000)]
  * src/gdcmHeader.h and gdcmHeader.cxx Coding style + doxigenation.
      * src/gdcm.h general comments moved to TODO, and README
      * src/gdcm.h should now be seen as a user commodity (including it
        should suffice to fully use gdcm). It is nowhere including within
        any of the kernel files src/*.cxx and src/*.h.

21 years ago * src/gdcm.h splitted in gdcmCommon.h, gdcmDict.h, gdcmDictEntry.h,
frog [Wed, 5 Mar 2003 14:55:49 +0000 (14:55 +0000)]
  * src/gdcm.h splitted in gdcmCommon.h, gdcmDict.h, gdcmDictEntry.h,
        gdcmDictSet.h, gdcmElValSet.h, gdcmElValue.h, gdcmFile.h,
        gdcmHeader.h
      * src/gdcm*.cxx only include their corresponding include file
        (as opposed to gdcm.h)
      * gdcmPython/gdcm.i changed accordingly
      * Test/Makefile.am corrected and added NEWS, AUTHORS in order for
        the autogen.sh generated "make snapshot" command to work.
      * autogen.sh removed history related references to crea package.

21 years ago*** empty log message ***
regrain [Tue, 4 Mar 2003 10:50:24 +0000 (10:50 +0000)]
*** empty log message ***

21 years ago * distutilsSwigCPlusPlus.py work around some swig portability
regrain [Tue, 4 Mar 2003 10:47:50 +0000 (10:47 +0000)]
  * distutilsSwigCPlusPlus.py work around some swig portability
        bug.
      -- Frog

21 years ago Blind fix. Frog
frog [Mon, 3 Mar 2003 18:14:43 +0000 (18:14 +0000)]
Blind fix.  Frog

21 years ago * Eventually, python/gdcmPython was renamed to gdcmPython. This
frog [Mon, 3 Mar 2003 17:56:21 +0000 (17:56 +0000)]
  * Eventually, python/gdcmPython was renamed to gdcmPython. This
        was done in a last ditch attempt to get setup.py _really_
        operationnal. The python/gdcmPython layaout add the advantage
        of hidding away the python related distutils specific files
        (MANIFEST.in, setup.py, distutils*.py...) from the main directory.
        Alas, the src directory was out of scope (i.e. it's relative
        position to setup.py was ../src) which made things impossible to
        handle (see previous version of python/setup.py). Crossing fingers...

21 years ago * python/setup.py now works on Un*x. (harder than I thougth)
frog [Fri, 21 Feb 2003 16:00:13 +0000 (16:00 +0000)]
  * python/setup.py now works on Un*x. (harder than I thougth)
      * python/distutilsSwigCPlusPlus.py can now have include files
        among the list of sources.   --- Frog

21 years ago * src/gdcmHeader.cxx : bug fix - opening dicom file in binary !!!
regrain [Thu, 20 Feb 2003 13:48:56 +0000 (13:48 +0000)]
  * src/gdcmHeader.cxx : bug fix - opening dicom file in binary !!!
      * modifications in MSVC projects
      -- BeNours

21 years ago * Compilation in debug mode sucessfully
regrain [Thu, 20 Feb 2003 08:28:04 +0000 (08:28 +0000)]
   * Compilation in debug mode sucessfully

21 years ago * Doc/Doxyfile configuration file for Doxygen and corresponding
frog [Wed, 19 Feb 2003 23:37:47 +0000 (23:37 +0000)]
  * Doc/Doxyfile configuration file for Doxygen and corresponding
        README file for usage added.
      * Test/testWrite.cxx added. This new test comes from a split of
        test.cxx that is now reverted to its original purpous i.e.
        testing the proper parsing of a Dicom related file.
        testWrite.cxx concentrates on testing the IO part of gdcm.
      * Test/bug1.cxx (containing a bug on WIn32) added.
      * src/gdcm.h, gdcmHeader.cxx, gdcmDictSet.cxx:
        - gdcmHeader::GetPubTagNames and  gdcmHeader::GetPubTagNamesByCategory
          whose purpose is to publish the content of the TagNames of the
          Dicom public dictionnary were not accessible without an
          instance of class gdcmHeader.
        - those methods are now static methods of gdcmDictSet and hence
          require no instances at all to be invocated.
        - within gdcmDictSet this change required to change some method
          to class methods (i.e. are now static) among which SetDictPath
          (renamed to BuildDictPath) and LoadDefaultPubDict.
      * python/gdcmPython/demo/printGroupedPublicDict.py changed to illustrate
        the above changes by calling the new method classes of gdcmDictSet.
      * python/gdcmPython/__init__.py now exposes gdcm.gdcmDictSet for
        the above to be effective.
      * python/gdcmPython: in order to wrap properly the above changes
        for Python, swig version now needs to be > 1.3.17.
      * python/gdcmPython/Makefile fixed to adapt itself to new
        configure/make shema introduced by Johan Montagnat (thanks for the
        contribution). Alas this Makefile cannot be turned into a proper
        Makefile.am without some heavy changes in the configure.in
        (for python dectection).
      * python/gdcmPython/gdcm.i: the out typemap map<string, list<string>>*
        now avoids publishing the empty entries.   --- Frog

21 years ago * python/setup.py : bug fix concerning install under windows
regrain [Wed, 19 Feb 2003 17:08:19 +0000 (17:08 +0000)]
  * python/setup.py : bug fix concerning install under windows
        ExtraPath reused :-P
      -- BeNours

21 years agoadded dictionnary installation in autoconf
johan [Mon, 17 Feb 2003 14:50:13 +0000 (14:50 +0000)]
added dictionnary installation in autoconf

21 years agoadded exception classes
johan [Sun, 16 Feb 2003 18:55:31 +0000 (18:55 +0000)]
added exception classes

21 years agoadded autoconf tools for library (src) and C++ test (Test) compilation
johan [Sun, 16 Feb 2003 17:53:13 +0000 (17:53 +0000)]
added autoconf tools for library (src) and C++ test (Test) compilation

21 years ago * python/setup.py : bug fix concerning install under windows
regrain [Thu, 13 Feb 2003 15:44:34 +0000 (15:44 +0000)]
  * python/setup.py : bug fix concerning install under windows
        ExtraPath reused :-P
      * gdcm.dsw : bug fix concerning path for libraries for python !!!
      -- BeNours

21 years ago * Dicts/dicomV3.dic : remove double spaces !!!
regrain [Thu, 13 Feb 2003 14:56:59 +0000 (14:56 +0000)]
  * Dicts/dicomV3.dic : remove double spaces !!!
      * src/gdcmElValSet.cxx : bug fix concerning windows compiler
      * python/gdcmPython/win32/gdcmpycomplet.dsp : bug fix concerning paths
        and links
     -- BeNours

21 years agoDernier commit avant supsension provisoire des travaux DCMLib.
jpr [Tue, 28 Jan 2003 09:26:26 +0000 (09:26 +0000)]
Dernier commit avant supsension provisoire des travaux DCMLib.
Je retourne à Cardio.
(pb des nouvelles images Philips à mettre dans un format traitable par FindTaggs)
See You

21 years ago * src/gdcmHeader.cxx added a post header parsing AddAndDefaultElements
frog [Tue, 28 Jan 2003 08:41:00 +0000 (08:41 +0000)]
  * src/gdcmHeader.cxx added a post header parsing AddAndDefaultElements
        method. Doxygenation.
      * src/gdcm.h clean up of JPR spurious comments. --- Frog

21 years ago * python/distutilsSwigCPlusPlus.py now properly collects the
frog [Wed, 22 Jan 2003 20:15:52 +0000 (20:15 +0000)]
  * python/distutilsSwigCPlusPlus.py now properly collects the
        shadow classes generated by "swig -c++" (gdcm.py in our case)
        when using "python setup.py install".
      * python/gdcmPython/__init__.py imports gdcm.py and only manually
        reexports the working classes.
      * src/gdcmHeader.cxx all the try/catch/throw calls were replaced
        by the classical C errno scheme. This is to prevent an obscure
        behavior of the python wrappers when importing wxPython.wx prior
        to gdcmPython (which ended up in an abort call). An illustration
        of this oddity can be found in the Test/ExceptionAndPython
        subdir (see the README file). This problem probably due to
        an combination of g++ and dynamic loading.
      * added Test/ExceptionAndPython (see above) --- Frog

21 years ago * Changed the layout of the python part to avoid bloating main
frog [Fri, 17 Jan 2003 10:48:13 +0000 (10:48 +0000)]
  * Changed the layout of the python part to avoid bloating main
        directory with setup.py, distutilsSwigCPlusPlus.py, MANIFEST.in
        i.e. the distutils arsenal. All the python related stuff is
        again in a python subdir, but the package itself is now in
        python/gdcmPython.
      * setup.py was cleaned up:
        - pythonIncludePath removed
        - python setup.py bdist target is now functional.
      * gdcmPython/__init__.py doesn't export FileName any more (to avoid
        collision with other packages). gdcmPython/demo/*.py changed
        accordingly.   --- Frog

21 years agomodif DcmWrite
jpr [Thu, 16 Jan 2003 17:31:27 +0000 (17:31 +0000)]
modif DcmWrite

21 years ago Added a MANIFEST. Frog
frog [Thu, 16 Jan 2003 14:54:01 +0000 (14:54 +0000)]
Added a MANIFEST.  Frog

21 years ago Zilch. --- Frog
frog [Wed, 15 Jan 2003 21:51:16 +0000 (21:51 +0000)]
Zilch.  --- Frog

21 years ago * gdcmPython/setup.py and distutilsSwigCPlusPlus.py added. The
frog [Wed, 15 Jan 2003 21:48:33 +0000 (21:48 +0000)]
  * gdcmPython/setup.py and distutilsSwigCPlusPlus.py added. The
        distutils installer is operational.
      * - gdcmPython/__init__.py now properly loads the swig generated
          shadow classes (from gdcm.py).
        - gdcmPython/demo/*.py changed to import the package gdcmPython
          instead of gdcmPython/demo/load.py.
        - gdcmPython/testSuite.py changed to import the package gdcmPython.

21 years ago * python subdir moved to gdcmPython (preparation of distutils packaging).
frog [Wed, 15 Jan 2003 11:30:47 +0000 (11:30 +0000)]
  * python subdir moved to gdcmPython (preparation of distutils packaging).

21 years agoAjout fonction
jpr [Tue, 14 Jan 2003 16:31:41 +0000 (16:31 +0000)]
Ajout fonction
int gdcmFile::WriteDcm (string nomFichier)
ATTENTION :
-->Elle ecrit *forcement* en IMPLICIT little Endian (si on a un processeur intel ...)
-->Elle part d'un gdcmFile *forcement* correct (aucun test de vraisemblance n'est fait)
-->Rien n'est encore prévu pour 'fabriquer' un gdcmHeader ex-nihilo

21 years agoAjout fonctions
jpr [Tue, 14 Jan 2003 13:23:48 +0000 (13:23 +0000)]
Ajout fonctions
int AddNewEntry (gdcmDictEntry* NewEntry);
int ReplaceEntry(gdcmDictEntry* NewEntry);
int RemoveEntry (TagKey k);
int RemoveEntry (guint16 group, guint16 element);

21 years agomodifie (0028, 0005) -number of dimensions- et (0028,0200) -image location-
jpr [Tue, 14 Jan 2003 11:56:04 +0000 (11:56 +0000)]
modifie (0028, 0005) -number of dimensions- et (0028,0200) -image location-
de VR RET pour les mettre en US
(eviter les tests épouvantables pour rien ...)

21 years agoajout quelques fonctions pour WriteDcm
jpr [Fri, 10 Jan 2003 11:32:56 +0000 (11:32 +0000)]
ajout quelques fonctions pour WriteDcm

21 years agoajout fonctions
jpr [Thu, 9 Jan 2003 17:03:37 +0000 (17:03 +0000)]
ajout fonctions
int SetShaElValByName(string content, string ShadowTagName);
int SetShaElValByNumber(string content, guint16 group, guint16 element);

21 years agoAjout fonctions
jpr [Thu, 9 Jan 2003 16:52:57 +0000 (16:52 +0000)]
Ajout fonctions
int gdcmHeader::SetPubElValByNumber(string content, guint16 group, guint16 element);
int gdcmHeader::SetPubElValByName(string content, string TagName);
int ElValSet::SetElValueByNumber(string content, guint32 group, guint32 element);
int ElValSet::SetElValueByName(string content, string TagName);

21 years agoharmonisation des codes retour UNFOUND et gdcm::Unfound
jpr [Wed, 8 Jan 2003 18:08:59 +0000 (18:08 +0000)]
harmonisation des codes retour UNFOUND et gdcm::Unfound

21 years agoremplace UNFOUND par gdcm::Unfound
jpr [Wed, 8 Jan 2003 16:43:34 +0000 (16:43 +0000)]
remplace UNFOUND par gdcm::Unfound

21 years agoajout quelques fonctions gdcmFile
jpr [Wed, 8 Jan 2003 16:07:45 +0000 (16:07 +0000)]
ajout quelques fonctions gdcmFile

21 years agocommentaires
jpr [Thu, 19 Dec 2002 18:33:54 +0000 (18:33 +0000)]
commentaires

21 years agogcdmPutDataHere
jpr [Thu, 19 Dec 2002 18:14:15 +0000 (18:14 +0000)]
gcdmPutDataHere
(A VOIR : comment unifier le code avec GetImageData)

21 years agoPrise en compte du Swap des Pixels
jpr [Thu, 19 Dec 2002 17:56:21 +0000 (17:56 +0000)]
Prise en compte du Swap des Pixels

21 years agoAjout de quelques Accesseurs pour la Transfert Syntax.
jpr [Thu, 19 Dec 2002 17:51:42 +0000 (17:51 +0000)]
Ajout de quelques Accesseurs pour la Transfert Syntax.
IsExplicitBigEndianTransfertSyntax IsJPEGSpectralSelectionTransfertSyntax, etc...
(Je ne suis pas sur que ce soit la bonne maniere dee proceder.
Il y en a VINGT-CING en tout,
J'ai craque au bout de 8 ...
Y a-t-il la possibilite de faire chose generalisable ?

21 years agoCommenataires?
jpr [Thu, 19 Dec 2002 10:58:02 +0000 (10:58 +0000)]
Commenataires?

21 years ago * src/gdcm.h, src/gdcmHeader.cxx: added GetPubTagNames() resp.
frog [Mon, 16 Dec 2002 14:37:07 +0000 (14:37 +0000)]
  * src/gdcm.h, src/gdcmHeader.cxx: added GetPubTagNames() resp.
        GetPubTagNamesByCategory() to gdcmHeader that return a list of the
        entries within the associated public Dicom dictionary resp. the same
        information but sorted by the fourth field (PAT, IMG, DIR) of the
        dictionary.
        - Dicts/dicomV3.dic Entries which had and unspecified fourth field
          are now in the "???" group.
        - python/gdcm.i changed accordingly,
        - python/demo/printGroupedPublicDict.py added, that gives an example
          of the above new functionalities in Python.  --- Frog

21 years ago * src/gdcm.h, gdcmHeader.cxx:
frog [Wed, 11 Dec 2002 17:56:00 +0000 (17:56 +0000)]
  * src/gdcm.h, gdcmHeader.cxx:
        - historic references to glib's g_malloc and g_free (#defined)
          were definitively removed.
        - gdcm.h: cosmetic changes (part of comments moved to Doc/requirements)
      * src/gdcmElValSet.cxx:
        - GetElement(guint32, guint32) renamed to GetElementByNumber.
        - GetElValue(guint32, guint32) renamed to GetElValueByNumber.
        - GetElValue(string) renamed to GetElValueByName.
        - Added GetElementByName(string).
      * src/gdcmHeader.cxx: added
        - GetPubElValRepByNumber(guint16, guint16)
        - GetPubElValRepByName(string)
        - GetShaElValRepByNumber(guint16, guint16)
        - GetShaElValRepByName(string)
        - GetShaElValByNumber(guint16, guint16)
        - GetShaElValRepByName(string)
        - GetElValRepByNumber(guint16, guint16)
        - GetElValRepByName(string)
        - GetElValByNumber(guint16, guint16)
        - GetElValRepByName(string)
      * Doc/requirements.txt added.  --- Frog

21 years ago Win32 sux ! --- Frog
frog [Mon, 9 Dec 2002 13:26:55 +0000 (13:26 +0000)]
Win32 sux !   --- Frog

21 years ago * Test/Makefile building now depends on the one of libgdcm.so
frog [Mon, 9 Dec 2002 08:51:35 +0000 (08:51 +0000)]
  * Test/Makefile building now depends on the one of libgdcm.so
      * src/gdcmHeader.cxx and gdcm.h are now OB (undefined length encoded
        pixel data) aware which enables finding the address (offset) of
        the pixel data of JPEG encoded DICOM files. This leaves only a single
        file in the testSuite whose pixel data address (offset) is unknown.
      * python/testSuite.py changed accordingly. --- Frog

21 years ago2002-12-6 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
yougz [Fri, 6 Dec 2002 16:03:28 +0000 (16:03 +0000)]
2002-12-6 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
      * wrapping python correct with standalone wrapped dll (don't use separate
         dll under windows !!!!)
      * removed glib references
      * typedef's inserted in gdcm.i for correct swig type management
      * python21_d MODE DEBUG enabled (ask Frog how to use it)
      * NO problem with having an STL member of class for example string in C++
      * PYTHON TEST OF DCMLIB OK UNDER WINDOWS ON A LARGE SET (one) of IMAGE(s).

21 years ago Forgotten comments. --- Frog
frog [Mon, 2 Dec 2002 13:37:46 +0000 (13:37 +0000)]
Forgotten comments. --- Frog

21 years ago Updated INSTALL. --- Frog
frog [Wed, 27 Nov 2002 22:52:49 +0000 (22:52 +0000)]
Updated INSTALL.   --- Frog

21 years ago * python/demo/*.py load.py extracted from test.py. Added explore.py
frog [Wed, 27 Nov 2002 22:28:43 +0000 (22:28 +0000)]
  * python/demo/*.py load.py extracted from test.py. Added explore.py
        that only displays required tags and testAll.py that parses all
        the files of the testsuite without using unittest.
      * python/testSuite.py other additional test on new files added.
      * Data/* new test files added accordingly to the testSuite.
      * src/gdcmHeader.cxx avoid overwriting of the dictionary when
        the vr in the file differs from the one of the dictionary. --- Frog

21 years ago * src/gdcm.h and gdcmHeader.cxx gdcm no longer loads all the elements
frog [Wed, 20 Nov 2002 17:55:46 +0000 (17:55 +0000)]
  * src/gdcm.h and gdcmHeader.cxx gdcm no longer loads all the elements
        values, but limits itself to values which are below a user specified
        size (by default 1024 bytes).
      * python/gdcm.i : elements not loaded (because their size is above the
        user specified treshold) are exported with their TagKey as key of the
        python dictionary. This enables the testsuite to make some checks
        on the unloaded elements (since we have their offset and size).
      * python/testSuite.py
        - now tests for the existence and proper value of the pixel data
        - two new examples added.
      * Data/gdcm-MR-SIEMENS-16.acr[12] added.   --- Frog

21 years ago * src/gdcm.h and gdcmHeader.cxx are now "Big Endian transfer syntax"
frog [Mon, 18 Nov 2002 08:54:13 +0000 (08:54 +0000)]
  * src/gdcm.h and gdcmHeader.cxx are now "Big Endian transfer syntax"
        aware. See the strategy comments in gdcmHeader::FindeLength().
      * Test/test.cxx now accepts a filename as first argument.
      * Data/US-PAL-8-10x-echo.dcm and US-RGB-8-epicard.dcm added.
      * python/testSuite.py changed to integrate test on above files.  --- Frog

21 years ago * Dicts/dicomV3.dic removed all the trailing (RET) when the
frog [Fri, 15 Nov 2002 16:41:12 +0000 (16:41 +0000)]
  * Dicts/dicomV3.dic removed all the trailing (RET) when the
        the vr was also RET.
      * python/testSuite.py more tests added.   --- Frog

21 years ago * python/testSuite.py unittest test suite added (uses Data)
frog [Thu, 14 Nov 2002 14:55:20 +0000 (14:55 +0000)]
  * python/testSuite.py unittest test suite added (uses Data)
      * Data/* dcm and acr files for the test suite.
      * glib dependance removed from un*x version. We now use ISO C99
        7.18 Integer types (see stdint.h)
        - python/Makefile, src/Makefile src/gdcm.h
      * src/ when an explicit vr (like dicom files) suddenly poped an
        implicit element we use to mark the underlying DictEntry of the
        concerned ElValue with "Implicit". This strategy was damageable
        too the public or provite dictionaries, since some of their vr
        would be changed. Since Header::FindLength heavily relies on the
        detection by Header::FindVR of falsely explicit elements, I
        added an extra ImplicitVr member to ElValue (boolean).
        The rest of the changes we the necessary adaptations.  --- Frog

21 years ago * src/gdcmHeader::FindLength bug fix when trapping falsely explicit
frog [Tue, 12 Nov 2002 11:57:48 +0000 (11:57 +0000)]
  * src/gdcmHeader::FindLength bug fix when trapping falsely explicit
        VR files.
      * src/gdcmHeader::FindVR: hard way fix of falsely explicit vr files.