]> Creatis software - gdcm.git/log
gdcm.git
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.

21 years agoFix of stupid bug
yougz [Fri, 8 Nov 2002 16:26:02 +0000 (16:26 +0000)]
Fix of stupid bug

21 years agoWindows project
yougz [Fri, 8 Nov 2002 16:23:58 +0000 (16:23 +0000)]
Windows project

21 years ago * Adaptation for porting to VC++:
frog [Fri, 8 Nov 2002 14:07:05 +0000 (14:07 +0000)]
  * Adaptation for porting to VC++:
        - src/gdcm.h
          o forced to use std namespace (for string to be known)
          o all class use __declspec export style on WIN32
        - src/gdcmUtil.cxx new Exit method that wraps the exit call
          (in stdlib.h on Win32 but in std:: for gcc)
      * src/gdcmDictSet::SetDictPath adds a trailing / to environement
        variable GDCM_DICT_PATH.
      * src/gdcmHeader.cxx verbose comments made discrete. --- Frog

21 years agoWin32 project
yougz [Thu, 7 Nov 2002 17:24:11 +0000 (17:24 +0000)]
Win32 project

21 years agoFirst try on win32
yougz [Thu, 7 Nov 2002 17:22:00 +0000 (17:22 +0000)]
First try on win32

21 years ago * python/gdcm.i: added a typemap that converts a C++ hashing table
frog [Thu, 7 Nov 2002 15:11:35 +0000 (15:11 +0000)]
  * python/gdcm.i: added a typemap that converts a C++ hashing table
        to native Python dictionary.
      * python/demo/test.py:
        - now uses the native dictionary for exploration of gdcmHeader.
        - takes an optional filename argument (the file to parse).
      * src/gdcm.h and gdcmHeader.cxx: gdcmHeader now has an accessor on
        PubElVals hashing table.
      * Dicts/dicomV3.dic removed error prone trailing spaces.  --- Frog

21 years ago * Python wrapping process moved away from src/Makefile to
frog [Wed, 6 Nov 2002 22:48:40 +0000 (22:48 +0000)]
  * Python wrapping process moved away from src/Makefile to
        newly created python/Makefile (as well as gdcm.i)
      * python/demo/test.py (that mirrors Test/test.cxx) is effective.
      * src/gdcmHeader::FindLength only looks for current vr when necessary.
      * src/gdcmDictSet.cxx: the dictionnaries directory path is now imported
        from the environement variable GDCM_DICT_PATH (when existing).
      * src/gdcmDict::GetTag bug fix.   --- Frog

21 years ago * Straightforward temporary fixes for swig to build the python wrappers.
frog [Thu, 31 Oct 2002 15:15:49 +0000 (15:15 +0000)]
   * Straightforward temporary fixes for swig to build the python wrappers.
     src/Makefile now has a python working entry [by working we mean
     that we can import de shadow classes without errors]. --- Frog

21 years ago * hashtest.cxx removed (since allready in Test)
frog [Wed, 30 Oct 2002 10:50:37 +0000 (10:50 +0000)]
  * hashtest.cxx removed (since allready in Test)
      * src/gdcmlib.h renamed to src/gdcm.h
      * src/dcm.i renamed to src/gdcm.i
      * src/Makefile prepared for python wrapping  --- Frog

21 years ago * src/gdcmHeader.cxx :
frog [Tue, 29 Oct 2002 17:37:08 +0000 (17:37 +0000)]
  * src/gdcmHeader.cxx :
        - Parsing of header is now separated from loading of element values
          (see gdcmHeader::LoadElements).
        - general clean up of hopefully all file access (creation of
          ReadInt16 and ReadInt32)   --- Frog

21 years ago * src/gdcmHeader.cxx :
frog [Tue, 22 Oct 2002 14:10:49 +0000 (14:10 +0000)]
  * src/gdcmHeader.cxx :
        - RecupLgr renamed to FindLength and cut off with new IsAnInteger
          method.
        - SetLgrElem renamed to SetLength
        - GetLgrElem renamed to GetLength
        - ~gdcmHeader() made virtual to pesky warning messages at compile.
      * src/gdcmElValSet.cxx fixed both GetElValue methods
      * Dicts/dicomV3.dic falacious entry [7fe0 0010 OT PXL Pixel Data]
        due to IdoDude was cleaned out.   --- Frog

21 years ago Test of the cvspserver2. -- Frog demo.version
frog [Mon, 21 Oct 2002 10:53:59 +0000 (10:53 +0000)]
Test of the cvspserver2.  -- Frog

21 years ago * src/gdcmHeader.cxx RecupLgr split in FindVR and RecupLgr. FindVR
frog [Mon, 21 Oct 2002 10:29:42 +0000 (10:29 +0000)]
  * src/gdcmHeader.cxx RecupLgr split in FindVR and RecupLgr. FindVR
        concentrates on finding the value representation (when it exists).
        RecupLgr now only finds the element value length, and it avoids
        returning the unecessary skL (skipped length).
        Also, offsetCourant was simply removed (with taille_fich) since
        it was redundant with the File position internals (by using
        ftell and fseek). This also made skL (see above in RecupLgr) usage
        jajun.
      * src/gdcmHeaderIdo.cxx src/gdcmIdo.h added. Those files concentrate
        on the libido specificities which are handled through class
        inheritance.
      * Test/implicit_vr.dcm dicom v3 in implicit value representation
        added.   --- Frog

21 years ago Added a sketchy INSTALL file. --- Frog
frog [Fri, 18 Oct 2002 10:21:05 +0000 (10:21 +0000)]
Added a sketchy INSTALL file. --- Frog

21 years ago * Truckload of changes. Parsing of header is barely functional
frog [Thu, 17 Oct 2002 12:12:48 +0000 (12:12 +0000)]
  * Truckload of changes. Parsing of header is barely functional
        (see Test/test) with the standard dictionary (see Dicts/dicomV3.dic).

21 years ago src/gdcmHeader.cxx many addons of low level methods -- Frog
frog [Wed, 9 Oct 2002 22:27:14 +0000 (22:27 +0000)]
src/gdcmHeader.cxx many addons of low level methods -- Frog

21 years ago * src/gdcmHeader now contains_IdDcmCheckSwap, _IdDcmRecupLgr,
frog [Mon, 7 Oct 2002 20:08:03 +0000 (20:08 +0000)]
  * src/gdcmHeader now contains_IdDcmCheckSwap, _IdDcmRecupLgr,
        and _IdDcmSWAP_LONG. --- Frog

21 years agoStart of dispatching dcmutil.c (see src/orig) to gdcmHeader.cxx.
frog [Mon, 7 Oct 2002 12:21:47 +0000 (12:21 +0000)]
Start of dispatching dcmutil.c (see src/orig) to gdcmHeader.cxx.

21 years ago * ChangeLog added --- Frog
frog [Thu, 12 Sep 2002 21:50:20 +0000 (21:50 +0000)]
 * ChangeLog added --- Frog

21 years ago * This corresponds to all the changes decided at the meeting of
frog [Thu, 12 Sep 2002 21:49:47 +0000 (21:49 +0000)]
  * This corresponds to all the changes decided at the meeting of
        May 23 2002. Needless to say we are running late... --- Frog

22 years ago Header's next step... --- Frog
frog [Wed, 22 May 2002 21:18:18 +0000 (21:18 +0000)]
Header's next step... --- Frog

22 years agoInitial revision
frog [Wed, 15 May 2002 20:12:36 +0000 (20:12 +0000)]
Initial revision