1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <META http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
5 <TITLE>Gdcm News</TITLE>
11 <!--#######################################################################-->
12 <H1>Gdcm News</a></H1>
14 <!--#######################################################################-->
16 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
18 <A CLASS="anchor" NAME="missing">
19 <B>Missing features</B></A>
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.
27 <LI> gdcm doesn't read yet JPEG-LS encoded files.
29 We said 'JPEG-LS', not Lossless Jpeg ...<br>
30 [JPEG-LS is the basis for new lossless/near-lossless compression
31 standard for continuous-tone images intended for JPEG2000.
32 The standard is based on the LOCO-I algorithm
33 (LOw COmplexity LOssless COmpression for Images)
34 developed at Hewlett-Packard Laboratories]
36 <LI> gdcm doesn't read yet JPEG2000 encoded files.
38 But we are working on it.
40 <LI> gdcm doesn't read yet MPEG2 encoded files.
42 But we are working on it.
47 <LI> Allow user to tell <TT>gdcm::Document</TT> constructor he just wants
48 to load a given list of <TT>DocEntries</TT>
49 (to save CPU time and RAM space)
50 <LI> Allow 'frame by frame' reading (should be helpfull for huge
52 <LI> Allow subvolume selection / frames selection before reading.
53 <LI> Expose Read/Decompression mechanisms to allow user getting
54 information from <tt>DICOMDIR</TT> <br> -or from his own Data Base-
55 and reading his images without parsing
56 the header, one more time.
60 <LI> Allow user to tell the Writer he doesn't want to write down
61 <TT>SeqEntry</TT> (if any)
62 <LI> Allow user to tell the Writer he doesn't want to write down
63 <TT>Shadow groups</TT> (if any)
64 <LI> Allow user to tell the Writer which compression mode he wants<br>
65 (Right now, no one is available)
66 <LI> Allow user to tell the Writer he wants to split a
67 <TT>Multiframe</TT> image into a serie of
68 <TT>Single frame</TT> images.
69 <LI> Allow user to tell the Writer he wants to agregate a
70 Serie of <TT>Single frame</TT> images into a
71 <TT>Multiframe</TT> image.
75 <LI> Full <TT>Icon Image</TT> management (Read and Write)
76 <LI> Full <TT>Overlays</TT> management (Read and Write) <br>
77 both for '<TT>ACR-NEMA</TT> style' (using groups <TT>0x6000</TT>
78 and nexts) and '<TT>DICOM V3</TT> style' (using Sequences)
80 <LI> <TT>DICOMDIR</TT>
82 <LI> <TT>DICOMDIR</TT> full management (not limited to
83 <TT> PATIENT</TT>/<TT>STUDY</TT>/<TT>SERIE</TT>/<TT>IMAGE</TT>)
84 <LI> Allow user to add an entry (belonging to the file header Dicom
85 entries)to the default entry list, before
86 making a <TT>DICOMDIR</TT> from a root directory
87 <LI> Allow user to add an entry of his owns (for instance an <TT>Icon</TT>
88 to each image, or to each Serie).
93 <LI> An accurate <TT>SerieHelper</TT> <br>
94 Right now <TT>SerieHelper</TT> only works on 'bona fide Series', and
95 breaks on wrongly forged Series.<br>
96 We are still looking for any heuristics...
97 <LI> A <TT>SerieHelper</TT> that would use the <TT>DICOMDIR</TT> (if any)
98 instead of parsing all the files within the Root Directory
102 <LI> 16-bits-LUT full Management
103 <LI> User friendly management of <TT>Rescale Slope</TT> and
104 <TT>Rescale Intercept</TT>
105 <LI> Allow parsing the <TT>Shadow groups</TT> against a user supplied
106 private <TT>Dicom Dictionary</TT> (pfff!...)
109 <!#######################################################################>
110 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
112 <A CLASS="anchor" NAME="NewsCurrentVersion">
113 <B>Current Version</B></A>
121 <a href="uml-gdcm.pdf">gdcm UML Class Diagram</a> current version.
127 <LI>Both <TT>vtkgdcmViewer</TT> and <TT>vtkgdcmViewer2</TT>
128 are available to allow easy displaying of single/multiframe
129 GreyLevel/RGB/PaletteColor images
130 <LI> <TT>DICOMDIR</TT> anonymiser (<TT>Load</TT> and <TT>Noload</TT> mode)
131 <LI> User is now allowed to tell <TT>gdcm::Document</TT> constructor
132 he doesn't want to deal with <TT>SeqEntry</TT>
133 (every time it's possible) <br> and/or he doesn't
134 want to deal with <TT>Shadow groups</TT> (every time it's
137 gdcm::File *f = new gdcm::File();<br>
138 f->SetLoadMode(NO_SEQ | NO_SHADOW);<br>
139 f->Load(fileName);<br>
143 gdcm::File *f = new gdcm::File(fileName);</TT> <br>
144 (old style still available)
146 <LI> User is now allowed to tell <TT>gdcm::DicomDir</TT> constructor
147 he doesn't want to deal with <TT>SeqEntry</TT>
148 (every time it's possible) <br> and/or he doesn't
149 want to deal with <TT>Shadow groups</TT> (every time it's
152 gdcm::DicomDir *dcmdir = new gdcm::DicomDir( );<br>
153 dcmdir->SetParseDir(true);<br>
154 dcmdir->SetLoadMode(NO_SEQ | NO_SHADOW);<br>
155 dcmdir->Load(dirName);<br>
159 gdcm::DicomDir *dcmdir = new gdcm::DicomDir(dirName, true);</TT><br>
160 (old style still available)
166 <LI> The difference between <TT>MONOCHROME1</TT> (low values = bright,
167 high values = dark) and <TT>MONOCHROME2</TT> (low values = dark,
168 high values = bright) is now taken into account.<br>
169 It's no longer up to the user to change the pixels value
170 <LI> Writing a 'True Dicom' image after reading an <TT>ACR-NEMA</TT> image
171 does not request any longer from the user to build up
172 'manually' the Meta Elements group (<TT>Ox0002</TT>)
173 <LI> Old '24 Bits' <TT>ACR-NEMA</TT> are now correctly re-written
174 in <TT>DICOM V3</TT> mode.
175 <LI> Element <TT>0x0000</TT> of <TT>Shadow groups</TT> is always forced to be a
176 <TT>ValEntry</TT> and its <TT>VR</TT> is forced to <TT>UL</TT>
180 <LI> A.P.I. breaking modifications (since previous version : <TT>1.0</TT>)
182 <LI> NEVER more API breaking modifications !!!
188 <LI> Use of <TT>Implicit Value Representation</TT> writting mode may
189 causes troubles, when there are some <TT>SQ</TT> belonging to a
190 <TT>Shadow Group</TT>. <br>
191 Better you use <TT>Explicit Value Representation</TT> writting mode ...
198 <!#######################################################################>
199 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
201 <A CLASS="anchor" NAME="NewsVersion1_0">
202 <B>Version 1.0 (Feb 14 2005)</B></A>
208 <a href="Doc1.0/uml-gdcmV1.0.pdf">gdcm 1.0 UML Class Diagram</a> version.
209 <LI> <a href= "Doc1.0/html.user/index.html">User Documentation"</a>
210 <LI> <a href= "Doc1.0/html.developper/index.html">Developper
212 <LI> Final check of the jpeg sub-library: all 'classical' jpeg
213 compressed Dicom files can be read<br>
214 <LI>All the previously gdcm-breaker images are now readable<br>
215 <LI> A huge number of memory leaks removed
216 <LI> Improvement of write process
220 <LI> A.P.I. breaking modifications (since previous version : <TT>0.6</TT>)
222 <LI> Use of <TT> namespace</TT> : all the methods formerly named
223 <TT>className::gdcmXxx()</TT> are now named <TT>className::Xxx()</TT>
224 <br> End user will have to call them as <TT>gdcm::className::Xxx() </TT>
225 <LI> a <TT>gdcm::Document</TT> is now specialized in :
227 <LI> <TT>gdcm::DicomDir</TT>
228 <LI> <TT>gdcm::File</TT>
230 <LI> a <TT>gdcm::DicomElementSet</TT> is composed of a set of
231 <TT>gdcm::DicomDocEntry</TT>
232 <LI> a <TT>gdcm::DicomDocEntry</TT> can be :
234 <LI> a <TT>gdcm::ContentEntry</TT>, specialized in :
236 <LI> <TT>gdcm::ValEntry</TT>
237 <LI> <TT>gdcm::BinEntry</TT> (no longer a specialization of
238 <TT>gdcm::ValEntry</TT>)
240 <LI> a <TT>gdcm::SeqEntry</TT>
242 <LI> Removal of useless accessors <TT>GetXxxByname</TT>, <TT>SetXxxByname</TT>
243 <LI> Renaming of accessors <TT>GetXxxByNumber</TT>, <TT>SetXxxByNumber</TT>
246 <LI> <TT>GetEntryByNumber
247
248 --> GetEntryValue</TT>
249 <LI> <TT>GetEntryLengthByNumber --> GetEntryLength</TT>
250 <LI> <TT>GetEntryOffsetByNumber --> GetEntryOffset</TT>
251 <LI> <TT>GetEntryVRByNumber
252 --> GetEntryVR</TT>
254 <LI> <TT>GetDocEntryByNumber
255 --> GetDocEntry</TT>
256 <LI> <TT>GetValEntryByNumber
257 --> GetValEntry</TT>
258 <LI> <TT>GetBinEntryByNumber
259 --> GetBinEntry</TT>
260 <LI> <TT>GetSeqEntryByNumber
261 --> GetSeqEntry</TT>
266 <!#######################################################################>
267 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
269 <A CLASS="anchor" NAME="NewsVersion0_6">
270 <B>Version 0.6 (June 8 2004)</B></A>
273 This version will be used by Insight Tool Kit
274 (<a href="http://www.itk.org">ITK</a> 2.0) at the beginning of 2005.<br>
275 It's not yet packaged ...<br><br>
276 <LI> <a href= "Doc0.6/html.user/index.html">User Documentation"</a>
277 <LI> <a href= "Doc0.6/html.developper/index.html">Developper Documentation"</a>
278 <LI> The new <TT>gdcmDocument</TT> class is a parent class of
279 <TT>gdcmHeader</TT> class and <TT>gdcmDicomDir</TT> class.
280 <LI> Massive modifications in the Class Diagram :
282 <LI> any dicom related file is a <TT>gdcmDocument</TT>
283 <LI> a <TT>gdcmDocument</TT> can be :
285 <LI> a <TT>gdcmHeader</TT>, if it contains pixel data
286 <LI> a <TT>gdcmDicomDir</TT>, if it contains only informations
287 on the files in a given directory
290 <LI> a <TT>gdcmDocument</TT> is_a <TT>gdcmElementSet</TT>,
291 composed of a set of <TT>gdcmEntry</TT> separated into :
293 <LI> <TT>gdcmValEntry</TT><br>
294 a specialization of <TT>gdcmValEntry</TT>, for 'non
295 <TT>std::string</TT> representable' values is
296 <TT>gdcmBinEntry</TT>
297 <LI> <TT>gdcmSeqEntry</TT> (VR = <TT>SQ</TT>, i.e Dicom Sequences)<br>
298 they are dealt as tree-like structures :<br>
299 - a <TT>gdcmSeqEntry</TT> is considered as a set
300 of <TT>gdcmSQItem</TT>,<br>
301 - a <TT>gdcmSQItem</TT> is_a <TT>gdcmElementSet</TT>, composed
302 of <TT>gdcmDocEntries</TT>, recursively <br>
305 <LI> Improvement of the jpeg sub-library: jpeg
306 compressed Dicom files (lossless and lossy)
307 might be read (check-it out)
310 <!#######################################################################>
311 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
313 <A CLASS="anchor" NAME="NewsVersion0_4">
314 <B>Version 0.4 (February 6 2004)</B></A>
318 <LI> <a href="Doc0.4/uml-gdcmV0.4.pdf">gdcm 0.4 UML Class Diagram</a>.
319 <LI> <a href= "Doc0.4/html.user/index.html">User Documentation"</a>
320 <LI> <a href= "Doc0.4/html.developper/index.html">Developper Documentation </a>
322 <LI> Introduction of a jpeg sub-library: some very simple jpeg-lossy
323 compressed Dicom files might be working (check-it out).
324 <LI> And also, fewer memory leaks, cleaned-up stl usage (should work
325 with gcc-3.x), python disutil installer (see file setup.py)
326 supporting both Swig and vtk wrapping.
327 <LI> Introduction of a RLE (Run-Time Encoding) library
328 <LI> Color images (RGB or Palette Color) are dealt with
329 <LI> Confusing names <TT>gdcmPatient</TT>, <TT>gdcmStudy</TT>,
330 <TT>gdcmSerie</TT>, <TT>gdcmPatient</TT> changed to
331 <TT>gdcmDicomDirPatient</TT>, <TT>gdcmDicomDirStudy</TT>,
332 <TT>gdcmDicomDirSerie</TT>, <TT>gdcmDicomDirPatient</TT>
336 <!#######################################################################>
337 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
339 <A CLASS="anchor" NAME="NewsVersion0_3">
340 <B>Version 0.3 (July 8 2003)</B></A>
343 <LI> <TT>gdcmFile</TT> class now enables acces to the data
344 i.e. the image[s] content. Previously only parsing of the
345 Dicom header was available through usage of <TT>gdcmHeader</TT>
347 <LI> a <A HREF="http://public.kitware.com/VTK/">VTK</A> plugin
348 of gdcm is now available through the <TT>vtkGdcmReader</TT>
349 vtk class (see it as a vtk wrapper of gdcm), which enables
351 <LI> Loading of a single image,
352 <LI> Loading of a stack of images from multiple Dicom files,
353 <LI> this class is wrapped for vtkPython (by using native vtk
356 <LI> Introduction of a jpeg sub-library: lossless-jpeg
357 compressed Dicom files work.
358 <LI> <TT>vtkgdcmViewer</TT> allows easy displaying of single/multiframe
359 GreyLevel/RGB/PaletteColor images
362 <!#######################################################################>
363 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
365 <A CLASS="anchor" NAME="NewsVersion0_1">
366 <B>Version 0.1 (April 1 2003)</B></A>
368 <!#######################################################################>
369 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
371 <A CLASS="anchor" name="NewsVersion0_1">
372 <B>Version 0.0 (March 14 2003)</B></A>
374 <HR size="1"><ADDRESS style="align: right;"></ADRESS>