]> Creatis software - gdcm.git/blob - TODO
* src/gdcmElValSet.[cxx/h], gdcmElValue.[cxx/h], gdcmFile.[cxx/h],
[gdcm.git] / TODO
1 * gdcmElValSet::SetElValueLengthByNumber IMNSHO should be trashed.
2   It's only purpose is a onliner substitute to calling GetElValueByNumber
3   and then SetLength. This only obfuscates the caller code more than
4   clarifying it.
5   Besides the definition of gdcmElValSet::SetElValueLengthByNumber itself
6   it quite poor since it is a almost exact copy of
7   gdcmElValSet::GetElValueByNumber except for the returned code.
8   gdcmHeader::SetPubElValLengthByNumber (which is based on 
9   gdcmElValSet::SetElValueLengthByNumber) is used nowhere...
10 * The declarations commented out and starting with "TODO Swig" (try
11   grep "TODO Swig" *.h) needed to be temporarily removed for swig to
12   proceed correctly (in fact problems appears at loading of _gdcm.[so/dll]).
13   So, simply uncomment the declaration once you provided the definition of
14   the method...
15 * As stated by the first lines of Test/ExceptionAndPython/README, it looks
16   like we can move back to the exceptions and remove the errno stuff from
17   src/gdcm* !
18 * adapt python/gdcmPython/Makefile to automake/autoconf tools
19 * Fix the bug in Test/bug1.cxx (see first comment line): Win32 only.
20 * All (or at least many of) the methods of gdcmHeader whose only arguments
21   are an ElValue* (e.g.  FindLength, FindVR, LoadElementValue...) can
22   be moved away to ElValue class on condition of transmitting the
23   gdcmHeader.fp attribute. This change should be considered since it
24   would allow those method to avoid artificial calls to ElValue::GetElement(),
25   ElValue::GetVR()...
26 * Eat leanding_trailing_whitespace (found in python/gdcmPython/gdcmi) should
27   be used when parsing the dictionary in C++ !
28 * Group length is not a unique tag in a file. Hence avoid putting it
29   in the element values dictionary without doing something smarter
30   (say, instead of storing the length store the group and the length
31    so we can related a length to a group).
32 * GetPubElValByNumber doit faire la difference entre chaine vide 
33   et chaine pas touve''. Eventuellement raiser une exception ?
34 * gdcmHeader::LoadElements only loads the element whose length is
35   below the specified size. When accessing the value of such an element
36   the content is unfound ! Find a decent way of loading the value on
37   explicit demand.
38 * fournir une method qui ne fait que lire les elements passes en arguments
39   sous forme d'une liste.
40 * gdcmHeader::CheckSwap() dans le cas ACR pas propre, degager tout de suite 
41   si on a deduit que c'en est pas...
42 * python /usr/lib/python2.2/site-packages/DaVaW/demo/dvwDcmReader.py
43   and load image /home/frog/cvs/DCMlib/Data/CT-MONO2-16-ankle.dcm
44   will yield wrong coloring scheme as opposed to 
45   affim filein=/home/frog/cvs/DCMlib/Data/CT-MONO2-16-ankle.dcm