]> Creatis software - gdcm.git/blob - Doc/Website/News.html
6d52b378b0a5ccf371a0dec79321c2d1cd7fb345
[gdcm.git] / Doc / Website / News.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <HTML>
3 <HEAD>
4    <META http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
5    <TITLE>Gdcm News</TITLE>
6 </HEAD>
7
8 <BODY>
9
10
11 <!--#######################################################################-->
12 <H1>Gdcm News</a></H1>
13
14 <!--#######################################################################-->
15
16 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
17 <H2>
18    <A CLASS="anchor" NAME="missing">
19       <B>Missing features</B></A>
20 </H2>
21 We know the following are missing; don't loose time looking for them ...<br>
22 We know they could be helpfull. We shall add them some day.<br>
23 Any contribution is welcome.
24 <UL>
25 <LI> Decoders   
26    <UL>
27       <LI> gdcm doesn't read yet <TT>JPEG-LS</TT> encoded files.
28       <UL>
29           We said '<TT>JPEG-LS</TT>', not Lossless Jpeg ...<br>
30           [<TT>JPEG-LS</TT> is the basis for new lossless/near-lossless compression
31           standard for continuous-tone images intended for <TT>JPEG2000</TT>. 
32           The standard is based on the LOCO-I algorithm 
33           (LOw COmplexity LOssless COmpression for Images) 
34           developed at Hewlett-Packard Laboratories] 
35      </UL>
36      <LI> gdcm doesn't read yet all <TT>JPEG2000</TT> encoded files.
37      <UL>
38          But we are working on it (a lot of troubles with Jasper).
39          Update: as of Oct 10 2005, we are currently investigating another library:
40          openjpeg. The problem still exist for this library but one of the author
41          is currently working on it:
42             http://www.openjpeg.org/forum/viewtopic.php?t=18
43       </UL>
44       <LI> gdcm doesn't read yet <TT>MPEG2</TT> encoded files.
45
46    </UL>
47    <LI>Reader
48    <UL>
49       <LI> Allow user to tell <TT>gdcm::Document</TT> constructor he just wants 
50            to load a given list of <TT>DocEntries</TT> 
51            (to save CPU time and RAM space)
52       <LI> Allow 'frame by frame' reading (should be helpfull for huge 
53            multiframe images)
54       <LI> Allow subvolume selection / frames selection before reading.
55       <LI> Expose Read/Decompression mechanisms to allow user getting
56          information from <tt>DICOMDIR</TT> <br> -or from his own Data Base- 
57          and reading his images without parsing
58          the header, one more time.
59    </UL> 
60    <LI>Writer 
61    <UL> 
62       <LI> Allow user to tell the Writer he doesn't want to write down
63            <TT>SeqEntry</TT> (if any) 
64       <LI> Allow user to tell the Writer he doesn't want to write down
65            <TT>Shadow groups</TT> (if any)
66       <LI> Allow user to tell the Writer which compression mode he wants<br>
67            (Right now, no one is available)
68       <LI> Allow user to tell the Writer he wants to split a
69            <TT>Multiframe</TT> image into a serie of 
70            <TT>Single frame</TT> images.
71       <LI> Allow user to tell the Writer he wants to agregate a
72            Serie of <TT>Single frame</TT> images into a
73            <TT>Multiframe</TT> image.
74    </UL>
75 <LI>Reader / Writer 
76    <UL>  
77       <LI> Full <TT>Icon Image</TT> management (Read and Write) 
78       <LI> Full <TT>Overlays</TT> management (Read and Write) <br>
79            both for '<TT>ACR-NEMA</TT> style' (using groups <TT>0x6000</TT> 
80             and next) and '<TT>DICOM V3</TT> style' (using Sequences)
81    </UL>
82 <LI> <TT>DICOMDIR</TT> 
83     <UL>
84       <LI> <TT>DICOMDIR</TT> full management (not limited to
85            <TT> PATIENT</TT>/<TT>STUDY</TT>/<TT>SERIE</TT>/<TT>IMAGE</TT>)
86       <LI> Allow user to add an entry (belonging to the file header Dicom
87            entries)to the default entry list, before
88            making a <TT>DICOMDIR</TT> from a root directory
89       <LI> Allow user to add an entry of his owns (for instance an <TT>Icon</TT>
90            to each image, or to each Serie).  
91       </UL>
92 <LI> SerieHelper
93    <UL>
94
95       <LI> An accurate <TT>SerieHelper</TT> <br>
96            Right now <TT>SerieHelper</TT> only works on 'bona fide Series', and
97            breaks on wrongly forged Series.<br>
98            We are still looking for any heuristics...  
99       <LI> A <TT>SerieHelper</TT> that would use the <TT>DICOMDIR</TT> (if any)
100         instead of parsing all the files within the Root Directory
101    </UL>
102 <LI> Other
103    <UL>
104       <LI> 16-bits-LUT full Management
105       <LI> User friendly management of <TT>Rescale Slope</TT> and
106            <TT>Rescale Intercept</TT>.<br>
107            (Well... Maybe it's up to the application to deal with it, not to
108            gdcm ?)
109       <LI> Allow manual adjunction / automatic recognition (pfff!...)
110            of the private <TT>Dicom Dictionary</TT>
111            to be used to parse <TT>Shadow groups</TT> against.
112       <LI> User friendly way of anonymizing image when Patient's name is
113            carved in the Pixels :-(
114    </UL>
115 </UL>
116 <!#######################################################################>
117 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
118 <H2>
119    <A CLASS="anchor" NAME="NewsCurrentVersion">
120    <B>Current Version (CVS)</B></A>
121       <B></B></A>
122 </H2>
123
124 <UL>
125    <LI> <A HREF="News.html#missing">Missing Features</a>
126    <LI>State of the art
127    <UL>    
128       <LI>
129          <a href="uml-gdcm.pdf">gdcm UML Class Diagram</a> current version.
130       <LI> <a href= "DocCVS/html.user/index.html">User Documentation</a>
131       <LI> <a href= "DocCVS/html.developper/index.html">Developper
132          Documentation</a> 
133    <LI> New Features
134    <UL>
135       <LI> Stupid difference between <TT>gdcm::ValEntry</TT> 
136            and <TT>gdcm::BinEntry</TT> removed. <br>
137            Only <TT>gdcm::DataEntry</TT> exist, now. 
138            Should have been considered as a 'Bug Fix'.<br>
139            Actually, it's an API breaking modification ...
140       <UL>
141          <LI>
142             <TT>std::string const &DataEntry::GetString() const</TT><br>
143             returns as a string (when possible) the value of the DataEntry
144          <LI>
145             <TT>void DataEntry::SetString(std::string const &value)</TT><br>
146              Sets the 'value' of a DataEntry, passed as a std::string 
147          <LI>
148             <TT>void DataEntry::SetBinArea( uint8_t *area, bool self ) </TT><br>
149              Sets the value (non string) of the current Dicom DataEntry
150          <LI>
151               <TT>void DataEntry::CopyBinArea( uint8_t *area, uint32_t length )</TT><br>
152                Inserts the value (non string) into the current DataEntry 
153          <LI>
154                <TT>void DataEntry::SetValue(const uint32_t &id, const double
155  &val)</TT><br>
156                Inserts the elementary (non string) value into the current
157                (multivaluated) DataEntry, at the <TT>id></TT> position.
158          <LI>
159                <TT>double DataEntry::GetValue(const uint32_t &id) const </TT><br>
160                returns, as a double one of the values (when entry is 
161                multivaluated), identified by its index <TT>id</TT>. 
162       </UL>
163       <LI> 
164    <TT>DocEntrySet::GetEntryValue()</TT> replaced by
165            <TT>DocEntrySet::GetEntryString()</TT> <br>
166       <LI> SerieHelper : <br>     
167            Add some methods, to split a 'SingleSerieUID' Fileset into 
168            'Extra Coherent'  FileSets. <br>
169            They return a std::map of 'Filesets' (actually : std::vector 
170            of gdcm::File*)<br>
171            The key is the 'Orientation', the 'Position' 
172            or the value of a user choosen 'Tag' <br>
173            -  <TT>XCoherentFileSetmap SplitOnOrientation(FileList *fileSet);
174               </TT><br>
175            -  <TT>XCoherentFileSetmap SplitOnPosition(FileList *fileSet);
176               </TT> <br>
177            -  <TT>XCoherentFileSetmap SplitOnTagValue(FileList *fileSet,
178                                        uint16_t group, uint16_t element);
179               </TT><br>
180            These methods must be called by user, depending on what he wants 
181            to do, at application time.- *he* only  knows what his Series 
182            contain !-
183       <LI> To avoid memory leaks and seg faults the user intended classes
184            use now a Reference Counter.<br>
185       <UL>
186          <LI> <TT>new()</TT> and <TT>delete()</TT> are replaced by
187               <TT>New()</TT> and <TT>Delete()</TT>
188          <LI> <TT>Register()</TT> and <TT>Unregister()</TT> methods are 
189          available.
190       </UL>
191       <LI>
192    </UL>
193
194    <LI> API breaking modifications (since previous version)
195    <UL>
196       <LI> Stupid difference between <TT>gdcm::ValEntry</TT> 
197            and <TT>gdcm::BinEntry</TT> removed. <br>
198            Only <TT>gdcm::DataEntry</TT> exist, now. <br>  
199       <LI>
200       <LI>
201    </UL> 
202       
203    <LI> Bug fixes
204    <UL>
205       <LI> Implicit VR - Big Endian (G.E Private) Transfert Syntax 16 Bits 
206            images are now read correctly.  
207       <LI> File::GetZOrigin() returns accurate result in any case.
208       <LI>
209       <LI>
210    </UL>
211    
212    <LI> Known Bugs
213    <UL>
214       <LI> Use of <TT>Implicit Value Representation</TT> writting mode may
215            causes troubles, when there are some <TT>SQ</TT> belonging to a 
216            <TT>Shadow Group</TT>. <br>
217            Better you use <TT>Explicit Value Representation</TT> writting mode ...
218       <LI> Troubles on 'Big endian' processors (i.e. Apple/Motorola, SunSparc
219            ...) when writting 16 Bits images.
220       <LI> Troubles on 64-bits processors.
221       <LI>
222       <LI>
223    </UL>
224  
225       <br><br>
226  </UL>
227
228
229   
230 <!#######################################################################>
231 <A CLASS="anchor" NAME="NewsPreviousVersions">
232 <!#######################################################################>
233
234 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
235 <H2>
236    <A CLASS="anchor" NAME="NewsVersion1_1">
237       <B>Version 1.1 (September 14 2005)</B></A>   
238 </H2> 
239    <LI>State of the art
240    <UL>
241       <LI>
242          <a href="Doc1.0/uml-gdcmV1.0.pdf">gdcm 1.1 UML Class Diagram</a> version.
243       <LI> <a href= "Doc1.0/html.user/index.html">User Documentation</a>
244       <LI> <a href= "Doc1.0/html.developper/index.html">Developper
245          Documentation</a> 
246    <LI> New Features
247    <UL>
248       <LI> Add the methods
249          <TT>gdcm::Dict:AddDict(std::string fullPathPrivateDictionaryFileName)</TT>
250         <br>and<br> 
251         <TT>gdcm::Dict::RemoveDict(std::string fullPathPrivateDictionaryFileName)</TT>
252         <br>
253         to allow user to choose the 'Private Dictionary' he wants to work with.
254         <br>
255         One can dream about a better API;<br>
256         This one allow right now anybody to see very easyly if the use 
257         of a given private dicom dictionary is of any help or not.
258         <br><br>
259       <LI>
260       <TT>PrintFile</TT> has now a new command line argument manager option :<br>
261           <TT>dict=fullPathNamePrivateDictionaryFile</TT><br>
262           to allow user to see with no extra coding what differences 
263           makes the use or not of a private Dicom Dictionary.<br>
264           e.g. : use it as follow <br>
265           <TT>PrintFile filein=myGEdicomFile.dcm 
266           dict=/user/userName/gdcm/Dicts/GEMS-Advance.dic</TT>
267           <br><br> 
268       <LI>
269           (Not a great one ...)  
270           Stupid method names : <br><TT>DicomDir::WriteDicomDir()</TT>
271           and <TT>DicomDir::AnonymizeDicomDir()</TT> <br>replaced by : <br>
272           <TT>DicomDir::Write()</TT>
273           and <TT>DicomDir::Anonymize()</TT>
274           <br><br> 
275       <LI><TT>
276           void Document::AddForceLoadElement(uint16_t group, uint16_t elem);
277           </TT><br>
278           allows user to tell <TT>gdcm::Document</TT> Loader he wants
279           to force the loading of a given set of <TT>DocEntries</TT>, 
280           even if their length exceeds the current 
281           <TT>MAX_SIZE_LOAD_ELEMENT_VALUE</TT>.
282           <br><br>
283        <LI>
284           Many users expect from <TT>vtkGdcmReader</TT> it 'orders' the images
285           (that's the job of <TT>gdcm::SerieHelper</TT> ...)<br>
286           When user <b>knows</b> the files with same Serie UID
287           have same sizes, same 'pixel' type, same color convention, ...
288           the right way to proceed is as follow :
289     <pre>
290         gdcm::SerieHelper *sh= new gdcm::SerieHelper();
291    //      if user wants *not* to load some parts of the file headers
292         sh->SetLoadMode(loadMode);
293
294    //      if user wants *not* to load some files
295         sh->AddRestriction(group, element, value, operator);
296         sh->AddRestriction( ...
297         sh->SetDirectory(directoryWithImages);
298
299    //      if user *knows* how to order his files
300         sh->SetUserLessThanFunction(userSuppliedComparisonFunction);
301    //      or/and
302    //      if user wants to sort reverse order
303         sh->SetSortOrderToReverse();
304    
305    //      here, we suppose only the first 'Single SerieUID' Fileset is of interest
306    //      Just iterate using sh->NextSingleSerieUIDFileSet()
307    //      if you want to get all of them
308         gdcm::FileList *l = sh->GetFirstSingleSerieUIDFileSet();
309
310    //      if user is doesn't trust too much the files with same Serie UID
311         if ( !sh->IsCoherent(l) )
312            return; // not same sizes, or not same 'pixel type' -> stop
313
314         sh->OrderFileList(l);        // sort the list
315
316         vtkGdcmReader *reader = vtkGdcmReader::New();
317    //      if user wants to modify pixel order (Mirror, TopDown, ...)
318    //      he has to supply the function that does the job
319    //      (a *very* simple example is given in vtkgdcmSerieViewer.cxx)
320         reader->SetUserFunction (userSuppliedFunction);
321
322    //      to pass a 'Single SerieUID' Fileset as produced by gdcm::SerieHelper
323         reader->SetCoherentFileList(l);
324         reader->Update();
325    </pre>
326    You can see a full example in <TT>vtk/vtkgdcmSerieViewer.cxx</TT><br>
327    e.g.<br>
328
329    <TT>vtkgdcmSerieViewer dirname=Dentist  mirror</TT><br>
330    <TT>vtkgdcmSerieViewer dirname=Dentist  reverse</TT><br>
331    <TT>vtkgdcmSerieViewer dirname=Dentist  reverse topdown</TT><br> 
332    </pre>
333       <br>
334
335       <LI> <TT>vtkGdcmReader::SetUserFunction (userSuppliedFunction)</TT><br>
336            with :<br>
337            <TT>void userSuppliedFunction(uint8_t *imageData, File *f);</TT><br>
338            allows user to reorganize the pixels of each image just after reading
339            it (to mirror, or topdown the image, for instance)<br>
340            Note : <TT>uint8_t *</TT> doesn't mean it works only on 8 Bits images.
341            <br> It's for prototyping. Feel free to cast it.
342            <br><br>  
343       <LI> <TT>
344            SerieHelper::SetUserLessThanFunction(userSuppliedComparisonFunction)
345            </TT><br> with : <br>
346            <TT>bool userSuppliedComparisonFunction(File *, File *);</TT><br>
347            allows user -when he knows more about his files than gdcm does-
348            to give his own comparison function. 
349       <LI> <TT>SerieHelper::SetSortOrderToReverse</TT> allows user to ask
350            to sort the Files reverse order.
351       <LI> <TT>SerieHelper::AddRestriction</TT> has now a new constructor<br>
352            <TT>AddRestriction(group, element, value, operator);</TT><br>
353            allows user to exclude some files from the sorting, according to
354            any comparison operator <br>
355            (<TT>GDCM_EQUAL</TT>, <TT>GDCM_DIFFERENT</TT>, 
356            <TT>GDCM_GREATER</TT>, <TT>GDCM_GREATEROREQUAL</TT>, 
357            <TT>GDCM_LESS</TT>, <TT>GDCM_LESSOREQUAL</TT>), not only on the
358            equality.
359            <br><br>
360       <LI> <TT>AnonymizeNoLoad</TT> used with <TT>dirin=inputDirectoryName</TT>
361            anonymizes all the files within the given Directory.
362            <br>
363            User may also choose extra elements he wants to rub out: <br>
364            <TT>rubout=listOfElementsToRubOut</TT><br>
365            with <tt>listOfElementsToRubOut : group1-elem1,group2-elem2,
366            ...</TT> (in hexa, no space within the list )
367            <br><br>
368       <LI> <TT>gdcm::SerieHelper()</TT> has a new method 
369            <TT>void AddGdcmFile(File *header)</TT>, that allows aware user to 
370            create a '<TT>FileList</TT>' (actually a 
371            <TT>std::vector< File* > </TT>).<br>
372            The <TT>FileList</TT> created this way will be the 
373            'first one' in the <TT>gdcm::FileHelper()</TT> (retrieve it with 
374            <TT>FileList *GetFirstCoherentFileList()</TT> ).<br>
375            It may be sorted using <TT>OrderFileList</TT>.<br>
376            No 'coherence check' will be performed on this <TT>FileList</TT>
377            before sorting.<br>
378            It may be passed to a <TT>vtkGdcmReader</TT> 
379            (to avoid parsing twice the files)
380            <br><br>
381       <LI> <TT>vtkGdcmReader</TT> can now get the result of
382            <TT>gdcm::SerieHelper</TT> (to avoid parsing twice the files)<br>
383             Proceed as follow :<br>
384            <pre>
385            gdcmSerieHelper *sh = new gdcmSerieHelper();
386            sh->SetDirectory(myImageDirectory, true);
387            gdcmFileList *l = s->GetFirstCoherentFileList();
388            s->OrderFileList(l);
389
390            vtkGdcmReader *gr = new vtkGdcmReader();
391            gr->SetCoherentFileList(l);
392            gr->Update();  
393            </pre>
394            This works with a directory that contains only one '<TT>Serie</TT>'
395            (same <TT>Serie UID</TT> for all the images).<br>
396            If it contains more than one <TT>Serie</TT>, you'll have to loop 
397            on the Series, using <TT>GetNextCoherentFileList()</TT>;<br>
398            It will be up to the user to delete the <TT>gdcm::File</TT>.
399            <br><br>
400            See <TT>vtkgdcmSerieViewer</TT> for an example.
401            <br><br>
402       <LI> Both <TT>vtkgdcmViewer</TT> and <TT>vtkgdcmViewer2</TT> 
403            are available to allow easy displaying of single/multiframe 
404            GreyLevel/RGB/PaletteColor images<br><br>
405       <LI> <TT>DICOMDIR</TT> anonymiser (<TT>Load</TT> and <TT>Noload</TT> mode)
406            <br><br>
407       <LI> Because the <TT>gdcm::DicomDir::Load()</TT> method may be used
408            either for loading an already made <TT>DICOMDIR</TT> file or for
409            parsing all the dicom files with a given root directory we
410            syntaxically separated the operations: <br>
411            For loading an already made <TT>DICOMDIR</TT> file, use : <br>
412            <pre>
413            gdcm::DicomDir *d = new gdcm::DicomDir();
414            d->SetFileName(fileName);
415            d->Load( );  
416            </pre>
417  
418            For parsing all the dicom files within a given root directory, use :<br>
419            <pre>
420            gdcm::DicomDir *d = new gdcm::DicomDir();
421            d->SetDirectoryName(dirName);
422            d->Load( )  
423            </pre>
424
425            <b>Don't</b> use any longer old deprecated style: <br>
426            <TT>
427            gdcm::DicomDir *d = new gdcm::DicomDir();<br>
428            d->SetParseDir(true);   // </TT>or <TT>d->SetParseDir(false);<br>
429            d->Load( fileName );<br>  
430            </TT>
431            <br> 
432       <LI> User is now allowed to tell <TT>gdcm::Document</TT> constructor 
433            he doesn't want to deal with <TT>SeqEntry</TT> 
434            (every time it's possible, i.e for 'true length' Sequences) <br>
435            and/or he doesn't want to deal with <TT>Shadow groups</TT> 
436            (every time it's possible i.e. when element <TT>0x0000</TT>
437            exists for this Group) <br> 
438            or he doesn't want to deal with <TT>SeqEntry</TT> that belong to a 
439            <TT>Shadow group</TT>  (every time it's possible 
440            -'true length' Sequence-)<br>
441            use : <br>
442            <pre>
443            gdcm::File *f = new gdcm::File();
444                   f->SetLoadMode(NO_SEQ);            | depending on what
445                   f->SetLoadMode(NO_SHADOW);         | you want *not* 
446                   f->SetLoadMode(NO_SEQ | NO_SHADOW);| to load from the
447                   f->SetLoadMode(NO_SHADOWSEQ);      | target file
448             f->SetFileName(fileName);
449             f->Load( );
450             </pre>
451             <b>Don't</b> use any longer old deprecated style: <br>
452             <TT>
453             gdcm::File *f = new gdcm::File(fileName);</TT> <br>
454             <br>
455         <LI> User is now allowed to tell <TT>gdcm::DicomDir</TT> constructor 
456              he doesn't want to deal with <TT>SeqEntry</TT> 
457              (every time it's possible, i.e for 'true length' Sequences) <br>
458              and/or he doesn't want to deal with <TT>Shadow groups</TT> 
459              (every time it's possible i.e. when element <TT>0x0000</TT>
460              exists for this Group) <br> 
461              or he doesn't want to deal with <TT>SeqEntry</TT> that belong to a 
462              <TT>Shadow group</TT>  (every time it's possible 
463              -'true length' Sequence-)<br>
464              when he parses all the Dicom files within a given directory.<br>
465              use : <br>
466              <pre>
467              gdcm::DicomDir *f = new gdcm::DicomDir();
468                   f->SetLoadMode(NO_SEQ);            | depending on what
469                   f->SetLoadMode(NO_SHADOW);         | you want *not* 
470                   f->SetLoadMode(NO_SEQ | NO_SHADOW);| to load from the files
471                   f->SetLoadMode(NO_SHADOWSEQ);      | within the root directory 
472              f->SetDirectoryName(rootDirectoryName);
473              f->Load( );
474             </pre>
475             <b>Don't</b> use any longer old deprecated style: <br>
476             <TT>
477             gdcm::DicomDir *dcmdir = new gdcm::DicomDir(dirName, true);</TT><br>
478             <br>         
479    </UL>
480
481    <LI> Bug fixes
482    <UL>
483       <LI> No more trouble when the 'endianess' switches within Sequences.
484       <LI> No more trouble with 'no length Sequences' belonging to a
485            <TT>Shadow Group</TT> when they are 'Implicit VR'.
486       <LI> The difference between <TT>MONOCHROME1</TT> (low values = bright,
487             high values = dark) and <TT>MONOCHROME2</TT> (low values = dark,
488             high values = bright) is now taken into account.<br> 
489             It's no longer up to the user to change the pixels value
490       <LI> Writing a 'True Dicom' image after reading an <TT>ACR-NEMA</TT> image 
491            does not request any longer from the user to build up 
492            'manually' the Meta Elements group (<TT>0x0002</TT>)
493       <LI> Old '24 Bits' <TT>ACR-NEMA</TT> are now correctly re-written
494            in <TT>DICOM V3</TT> mode.
495       <LI> Element <TT>0x0000</TT> of <TT>Shadow groups</TT> is always forced to be a
496            <TT>ValEntry</TT> and its <TT>VR</TT> is forced to <TT>UL</TT> 
497       <br><br>
498    </UL>
499
500    <LI> A.P.I. breaking modifications (since previous version : <TT>1.0</TT>)
501    <UL>    
502       <LI> NEVER more API breaking modifications !!!
503       <br><br>
504    </UL>
505
506    <LI> Known bugs
507    <UL>
508
509    </UL>
510
511 </UL>
512
513
514
515 <!#######################################################################>
516 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
517 <H2>
518    <A CLASS="anchor" NAME="NewsVersion1_0">
519       <B>Version 1.0 (Feb 14 2005)</B></A>
520 </H2>
521 <UL>
522    <LI>State of the art
523    <UL>
524       <LI>
525          <a href="Doc1.0/uml-gdcmV1.0.pdf">gdcm 1.0 UML Class Diagram</a> version.
526       <LI> <a href= "Doc1.0/html.user/index.html">User Documentation"</a>
527       <LI> <a href= "Doc1.0/html.developper/index.html">Developper
528          Documentation"</a>
529       <LI> Final check of the jpeg sub-library: all 'classical' jpeg
530         compressed Dicom files can be read<br>
531       <LI>All the previously gdcm-breaker images are now readable<br>
532       <LI> A huge number of memory leaks removed
533       <LI> Improvement of write process   
534    </UL>
535
536  
537    <LI> A.P.I. breaking modifications (since previous version : <TT>0.6</TT>)
538    <UL>
539       <LI> Use of <TT> namespace</TT> : all the methods formerly named
540           <TT>className::gdcmXxx()</TT> are now named <TT>className::Xxx()</TT>
541           <br> End user will have to call them as <TT>gdcm::className::Xxx() </TT>
542       <LI> a <TT>gdcm::Document</TT> is now specialized in : 
543       <UL>
544          <LI> <TT>gdcm::DicomDir</TT>
545          <LI> <TT>gdcm::File</TT>
546       </UL>
547       <LI> a <TT>gdcm::DicomElementSet</TT> is composed of a set of 
548             <TT>gdcm::DicomDocEntry</TT>
549       <LI> a <TT>gdcm::DicomDocEntry</TT> can be :
550       <UL>
551          <LI> a <TT>gdcm::ContentEntry</TT>, specialized in :
552          <UL>
553             <LI> <TT>gdcm::ValEntry</TT>
554             <LI> <TT>gdcm::BinEntry</TT> (no longer a specialization of
555                  <TT>gdcm::ValEntry</TT>) 
556         </UL>
557       <LI> a <TT>gdcm::SeqEntry</TT> 
558       </UL>
559       <LI> Removal of useless accessors <TT>GetXxxByname</TT>, <TT>SetXxxByname</TT> 
560       <LI> Renaming of accessors <TT>GetXxxByNumber</TT>, <TT>SetXxxByNumber</TT> 
561            as follow :
562       <UL>
563          <LI> <TT>GetEntryByNumber 
564                   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
565                                           --> GetEntryValue</TT>
566          <LI> <TT>GetEntryLengthByNumber  --> GetEntryLength</TT>
567          <LI> <TT>GetEntryOffsetByNumber  --> GetEntryOffset</TT>
568          <LI> <TT>GetEntryVRByNumber 
569                   &nbsp;&nbsp;&nbsp;      --> GetEntryVR</TT>
570          <LI>
571          <LI> <TT>GetDocEntryByNumber     
572                   &nbsp;&nbsp;            --> GetDocEntry</TT>
573          <LI> <TT>GetValEntryByNumber     
574                   &nbsp;&nbsp;            --> GetValEntry</TT>
575          <LI> <TT>GetBinEntryByNumber     
576                   &nbsp;&nbsp;            --> GetBinEntry</TT>
577          <LI> <TT>GetSeqEntryByNumber     
578                   &nbsp;&nbsp;            --> GetSeqEntry</TT>
579        </UL>
580    </UL>
581 </UL>
582
583 <!#######################################################################>
584 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
585 <H2>
586    <A CLASS="anchor" NAME="NewsVersion0_6">
587       <B>Version 0.6 (June 8 2004)</B></A>
588 </H2>
589 <UL>
590    This version will be used by Insight Tool Kit 
591    (<a href="http://www.itk.org">ITK</a> 2.0) at the beginning of 2005.<br>
592     It's not yet packaged ...<br><br>
593    <LI> <a href= "Doc0.6/html.user/index.html">User Documentation"</a>
594    <LI> <a href= "Doc0.6/html.developper/index.html">Developper Documentation"</a>  
595    <LI> The new <TT>gdcmDocument</TT> class is a parent class of 
596        <TT>gdcmHeader</TT> class and <TT>gdcmDicomDir</TT> class.
597    <LI> Massive modifications in the Class Diagram :
598    <UL>
599       <LI> any dicom related file is a <TT>gdcmDocument</TT>
600       <LI> a <TT>gdcmDocument</TT> can be :
601       <UL>
602          <LI> a <TT>gdcmHeader</TT>, if it contains pixel data
603          <LI> a <TT>gdcmDicomDir</TT>, if it contains only informations 
604               on the files in a given directory  
605       </UL>
606
607    <LI> a <TT>gdcmDocument</TT> is_a <TT>gdcmElementSet</TT>,
608         composed of a set of <TT>gdcmEntry</TT> separated into :
609       <UL>
610       <LI> <TT>gdcmValEntry</TT><br>
611            a specialization of <TT>gdcmValEntry</TT>, for 'non
612            <TT>std::string</TT> representable' values is 
613            <TT>gdcmBinEntry</TT> 
614        <LI> <TT>gdcmSeqEntry</TT> (VR = <TT>SQ</TT>, i.e Dicom Sequences)<br>
615              they are dealt as tree-like structures :<br>
616              - a <TT>gdcmSeqEntry</TT> is considered as a set 
617              of <TT>gdcmSQItem</TT>,<br>
618              - a <TT>gdcmSQItem</TT> is_a <TT>gdcmElementSet</TT>, composed 
619              of <TT>gdcmDocEntries</TT>, recursively <br>
620       </UL>
621    </UL>
622    <LI> Improvement of the jpeg sub-library: jpeg
623            compressed Dicom files (lossless and lossy) 
624            might be read (check-it out)
625 </UL>
626
627 <!#######################################################################>
628 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
629 <H2>
630    <A CLASS="anchor" NAME="NewsVersion0_4">
631       <B>Version 0.4 (February 6 2004)</B></A>
632 </H2>
633 <UL>
634
635    <LI> <a href="Doc0.4/uml-gdcmV0.4.pdf">gdcm 0.4 UML Class Diagram</a>.
636    <LI> <a href= "Doc0.4/html.user/index.html">User Documentation"</a>
637    <LI> <a href= "Doc0.4/html.developper/index.html">Developper Documentation </a>
638
639    <LI> Introduction of a jpeg sub-library: some very simple jpeg-lossy
640         compressed Dicom files might be working (check-it out).
641    <LI> And also, fewer memory leaks, cleaned-up stl usage (should work
642         with gcc-3.x), python disutil installer (see file setup.py)
643         supporting both Swig and vtk wrapping.
644    <LI> Introduction of a RLE (Run-Time Encoding) library
645    <LI> Color images (RGB or Palette Color) are dealt with
646    <LI> Confusing names <TT>gdcmPatient</TT>, <TT>gdcmStudy</TT>,
647         <TT>gdcmSerie</TT>, <TT>gdcmPatient</TT> changed to 
648         <TT>gdcmDicomDirPatient</TT>, <TT>gdcmDicomDirStudy</TT>, 
649         <TT>gdcmDicomDirSerie</TT>, <TT>gdcmDicomDirPatient</TT>
650  
651 </UL>
652
653 <!#######################################################################>
654 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
655 <H2>
656    <A CLASS="anchor" NAME="NewsVersion0_3">
657       <B>Version 0.3 (July 8 2003)</B></A>
658 </H2>
659 <UL>
660    <LI> <TT>gdcmFile</TT> class now enables acces to the data
661        i.e. the image[s] content. Previously only parsing of the
662        Dicom header was available through usage of <TT>gdcmHeader</TT>
663        class.
664    <LI> a <A HREF="http://public.kitware.com/VTK/">VTK</A> plugin
665        of gdcm is now available through the <TT>vtkGdcmReader</TT>
666        vtk class (see it as a vtk wrapper of gdcm), which enables
667        <UL>
668          <LI> Loading of a single image,
669          <LI> Loading of a stack of images from multiple Dicom files,
670          <LI> this class is wrapped for vtkPython (by using native vtk
671               wrappers).
672        </UL>
673    <LI> Introduction of a jpeg sub-library: lossless-jpeg
674         compressed Dicom files work.
675 <LI> <TT>vtkgdcmViewer</TT> allows easy displaying of single/multiframe 
676      GreyLevel/RGB/PaletteColor images
677 </UL>
678
679 <!#######################################################################>
680 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
681 <H2>
682    <A CLASS="anchor" NAME="NewsVersion0_1">
683       <B>Version 0.1 (April 1 2003)</B></A>
684
685 <!#######################################################################>
686 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
687 <H2>
688    <A CLASS="anchor" name="NewsVersion0_1">
689       <B>Version 0.0 (March 14 2003)</B></A>
690
691 <HR size="1"><ADDRESS style="align: right;"></ADRESS>
692
693 </BODY>
694 </HTML>