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 and JPEG2000 encoded files.
28 <LI> gdcm doesn't read yet MPEG encoded files.
32 <LI> Allow user to tell <TT>gdcm::Document</TT> constructor he just wants
33 to load a given list of <TT>DocEntries</TT>
34 (to save CPU time and RAM space)
35 <LI> Allow 'frame by frame' reading (should be helpfull for huge multiframe
37 <LI> Expose Read/Decompression mechanisms to allow user getting
38 information from <tt>DICOMDIR</TT> <br> -or from his own Data Base-
39 and reading his images without parsing
40 the header, one more time.
44 <LI> Allow user to tell the Writer he doesn't want to write down
45 <TT>SeqEntry</TT> (if any)
46 <LI> Allow user to tell the Writer he doesn't want to write down
47 <TT>Shadow groups</TT> (if any)
48 <LI> Allow user to tell the Writer which compression mode he wants<br>
49 (Right now, no one is available)
50 <LI> Allow user to tell the Writer he wants to split a
51 <TT>Multiframe</TT> image into a serie of
52 <TT>Single frame</TT> images.
53 <LI> Allow user to tell the Writer he wants to agregate a
54 Serie of <TT>Single frame</TT> images into a
55 <TT>Multiframe</TT> image.
59 <LI> Full <TT>Icon Image</TT> management (Read and Write)
60 <LI> Full <TT>Overlays</TT> management (Read and Write) <br>
61 both for '<TT>ACR-NEMA</TT> style' (using groups <TT>0x6000</TT>
62 and nexts) and '<TT>DICOM V3</TT> style' (using Sequences)
64 <LI> <TT>DICOMDIR</TT>
66 <LI> <TT>DICOMDIR</TT> full management (not limited to
67 <TT> PATIENT</TT>/<TT>STUDY</TT>/<TT>SERIE</TT>/<TT>IMAGE</TT>)
68 <LI> Allow user to add an entry (belonging to the file header Dicom
69 entries)to the default entry list, before
70 making a <TT>DICOMDIR</TT> from a root directory
71 <LI> Allow user to add an entry of his owns (for instance an <TT>Icon</TT>
72 to each image, or to each Serie.
77 <LI> An accurate <TT>SerieHelper</TT> <br>
78 Right now <TT>SerieHelper</TT> only works on 'bona fide Series', and
79 breaks on wrongly forged Series.<br>
80 We are still looking for any heuristics...
81 <LI> A <TT>SerieHelper</TT> that would use the <TT>DICOMDIR</TT> (if any)
82 instead of parsing all the files within the Root Directory
86 <LI> 16-bits-LUT full Management
87 <LI> User friendly management of <TT>Rescale Slope</TT> and
88 <TT>Rescale Intercept</TT>
89 <LI> Allow parsing the <TT>Shadow groups</TT> against a user supplied
90 private <TT>Dicom Dictionary</TT> (pfff!...)
93 <!#######################################################################>
94 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
96 <A CLASS="anchor" NAME="NewsCurrentVersion">
97 <B>Current Version</B></A>
105 <a href="uml-gdcm.pdf">gdcm UML Class Diagram</a> current version.
111 <LI>Both <TT>vtkgdcmViewer</TT> and <TT>vtkgdcmViewer2</TT>
112 are available to allow easy displaying of single/multiframe
113 GreyLevel/RGB/PaletteColor images
114 <LI> <TT>DICOMDIR</TT> anonymiser (<TT>Load</TT> and <TT>Noload</TT> mode)
115 <LI> User is now allowed to tell <TT>gdcm::Document</TT> constructor
116 he doesn't want to deal with <TT>SeqEntry</TT>
117 (every time it's possible) <br> and/or he doesn't
118 want to deal with <TT>Shadow groups</TT> (every time it's
121 gdcm::File *f = new gdcm::File();<br>
122 f->SetLoadMode(NO_SEQ | NO_SHADOW);<br>
123 f->Load(fileName);<br>
127 gdcm::File *f = new gdcm::File(fileName);</TT> <br>
128 (old style still available)
130 <LI> User is now allowed to tell <TT>gdcm::DicomDir</TT> constructor
131 he doesn't want to deal with <TT>SeqEntry</TT>
132 (every time it's possible) <br> and/or he doesn't
133 want to deal with <TT>Shadow groups</TT> (every time it's
136 gdcm::DicomDir *dcmdir = new gdcm::DicomDir( );<br>
137 dcmdir->SetParseDir(true);<br>
138 dcmdir->SetLoadMode(NO_SEQ | NO_SHADOW);<br>
139 dcmdir->Load(dirName);<br>
143 gdcm::DicomDir *dcmdir = new gdcm::DicomDir(dirName, true);</TT><br>
144 (old style still available)
150 <LI> The difference between <TT>MONOCHROME1</TT> (low values = bright,
151 high values = dark) and <TT>MONOCHROME2</TT> (low values = dark,
152 high values = bright) is now taken into account.<br>
153 It's no longer up to the user to change the pixels value
154 <LI> Writing a 'True Dicom' image after reading an <TT>ACR-NEMA</TT> image
155 does not request any longer from the user to build up
156 'manually' the Meta Elements group (<TT>Ox0002</TT>)
157 <LI> Old '24 Bits' <TT>ACR-NEMA</TT> are now correctly re-written
158 in <TT>DICOM V3</TT> mode.
159 <LI> Element <TT>0x0000</TT> of <TT>Shadow groups</TT> is always forced to be a
160 <TT>ValEntry</TT> and its <TT>VR</TT> is forced to <TT>UL</TT>
164 <LI> A.P.I. breaking modifications (since previous version : <TT>1.0</TT>)
166 <LI> NEVER more API breaking modifications !!!
172 <LI> Use of <TT>Implicit Value Representation</TT> writting mode may
173 causes troubles, when there are some <TT>SQ</TT> belonging to a
174 <TT>Shadow Group</TT>. <br>
175 Better you use <TT>Explicit Value Representation</TT> writting mode ...
182 <!#######################################################################>
183 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
185 <A CLASS="anchor" NAME="NewsVersion1_0">
186 <B>Version 1.0 (Feb 14 2005)</B></A>
192 <a href="Doc1.0/uml-gdcmV1.0.pdf">gdcm 1.0 UML Class Diagram</a> version.
193 <LI> <a href= "Doc1.0/html.user/index.html">User Documentation"</a>
194 <LI> <a href= "Doc1.0/html.developper/index.html">Developper
196 <LI> Final check of the jpeg sub-library: all 'classical' jpeg
197 compressed Dicom files can be read<br>
198 <LI>All the previously gdcm-breaker images are now readable<br>
199 <LI> A huge number of memory leaks removed
200 <LI> Improvement of write process
204 <LI> A.P.I. breaking modifications (since previous version : <TT>0.6</TT>)
206 <LI> Use of <TT> namespace</TT> : all the methods formerly named
207 <TT>className::gdcmXxx()</TT> are now named <TT>className::Xxx()</TT>
208 <br> End user will have to call them as <TT>gdcm::className::Xxx() </TT>
209 <LI> a <TT>gdcm::Document</TT> is now specialized in :
211 <LI> <TT>gdcm::DicomDir</TT>
212 <LI> <TT>gdcm::File</TT>
214 <LI> a <TT>gdcm::DicomElementSet</TT> is composed of a set of
215 <TT>gdcm::DicomDocEntry</TT>
216 <LI> a <TT>gdcm::DicomDocEntry</TT> can be :
218 <LI> a <TT>gdcm::ContentEntry</TT>, specialized in :
220 <LI> <TT>gdcm::ValEntry</TT>
221 <LI> <TT>gdcm::BinEntry</TT> (no longer a specialization of
222 <TT>gdcm::ValEntry</TT>)
224 <LI> a <TT>gdcm::SeqEntry</TT>
226 <LI> Removal of useless accessors <TT>GetXxxByname</TT>, <TT>SetXxxByname</TT>
227 <LI> Renaming of accessors <TT>GetXxxByNumber</TT>, <TT>SetXxxByNumber</TT>
230 <LI> <TT>GetEntryByNumber
231
232 --> GetEntryValue</TT>
233 <LI> <TT>GetEntryLengthByNumber --> GetEntryLength</TT>
234 <LI> <TT>GetEntryOffsetByNumber --> GetEntryOffset</TT>
235 <LI> <TT>GetEntryVRByNumber
236 --> GetEntryVR</TT>
238 <LI> <TT>GetDocEntryByNumber
239 --> GetDocEntry</TT>
240 <LI> <TT>GetValEntryByNumber
241 --> GetValEntry</TT>
242 <LI> <TT>GetBinEntryByNumber
243 --> GetBinEntry</TT>
244 <LI> <TT>GetSeqEntryByNumber
245 --> GetSeqEntry</TT>
250 <!#######################################################################>
251 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
253 <A CLASS="anchor" NAME="NewsVersion0_6">
254 <B>Version 0.6 (June 8 2004)</B></A>
257 This version will be used by Insight Tool Kit
258 (<a href="http://www.itk.org">ITK</a> 2.0) at the beginning of 2005.<br>
259 It's not yet packaged ...<br><br>
260 <LI> <a href= "Doc0.6/html.user/index.html">User Documentation"</a>
261 <LI> <a href= "Doc0.6/html.developper/index.html">Developper Documentation"</a>
262 <LI> The new <TT>gdcmDocument</TT> class is a parent class of
263 <TT>gdcmHeader</TT> class and <TT>gdcmDicomDir</TT> class.
264 <LI> Massive modifications in the Class Diagram :
266 <LI> any dicom related file is a <TT>gdcmDocument</TT>
267 <LI> a <TT>gdcmDocument</TT> can be :
269 <LI> a <TT>gdcmHeader</TT>, if it contains pixel data
270 <LI> a <TT>gdcmDicomDir</TT>, if it contains only informations
271 on the files in a given directory
274 <LI> a <TT>gdcmDocument</TT> is_a <TT>gdcmElementSet</TT>,
275 composed of a set of <TT>gdcmEntry</TT> separated into :
277 <LI> <TT>gdcmValEntry</TT><br>
278 a specialization of <TT>gdcmValEntry</TT>, for 'non
279 <TT>std::string</TT> representable' values is
280 <TT>gdcmBinEntry</TT>
281 <LI> <TT>gdcmSeqEntry</TT> (VR = <TT>SQ</TT>, i.e Dicom Sequences)<br>
282 they are dealt as tree-like structures :<br>
283 - a <TT>gdcmSeqEntry</TT> is considered as a set
284 of <TT>gdcmSQItem</TT>,<br>
285 - a <TT>gdcmSQItem</TT> is_a <TT>gdcmElementSet</TT>, composed
286 of <TT>gdcmDocEntries</TT>, recursively <br>
289 <LI> Improvement of the jpeg sub-library: jpeg
290 compressed Dicom files (lossless and lossy)
291 might be read (check-it out)
294 <!#######################################################################>
295 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
297 <A CLASS="anchor" NAME="NewsVersion0_4">
298 <B>Version 0.4 (February 6 2004)</B></A>
302 <LI> <a href="Doc0.4/uml-gdcmV0.4.pdf">gdcm 0.4 UML Class Diagram</a>.
303 <LI> <a href= "Doc0.4/html.user/index.html">User Documentation"</a>
304 <LI> <a href= "Doc0.4/html.developper/index.html">Developper Documentation </a>
306 <LI> Introduction of a jpeg sub-library: some very simple jpeg-lossy
307 compressed Dicom files might be working (check-it out).
308 <LI> And also, fewer memory leaks, cleaned-up stl usage (should work
309 with gcc-3.x), python disutil installer (see file setup.py)
310 supporting both Swig and vtk wrapping.
311 <LI> Introduction of a RLE (Run-Time Encoding) library
312 <LI> Color images (RGB or Palette Color) are dealt with
313 <LI> Confusing names <TT>gdcmPatient</TT>, <TT>gdcmStudy</TT>,
314 <TT>gdcmSerie</TT>, <TT>gdcmPatient</TT> changed to
315 <TT>gdcmDicomDirPatient</TT>, <TT>gdcmDicomDirStudy</TT>,
316 <TT>gdcmDicomDirSerie</TT>, <TT>gdcmDicomDirPatient</TT>
320 <!#######################################################################>
321 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
323 <A CLASS="anchor" NAME="NewsVersion0_3">
324 <B>Version 0.3 (July 8 2003)</B></A>
327 <LI> <TT>gdcmFile</TT> class now enables acces to the data
328 i.e. the image[s] content. Previously only parsing of the
329 Dicom header was available through usage of <TT>gdcmHeader</TT>
331 <LI> a <A HREF="http://public.kitware.com/VTK/">VTK</A> plugin
332 of gdcm is now available through the <TT>vtkGdcmReader</TT>
333 vtk class (see it as a vtk wrapper of gdcm), which enables
335 <LI> Loading of a single image,
336 <LI> Loading of a stack of images from multiple Dicom files,
337 <LI> this class is wrapped for vtkPython (by using native vtk
340 <LI> Introduction of a jpeg sub-library: lossless-jpeg
341 compressed Dicom files work.
342 <LI> <TT>vtkgdcmViewer</TT> allows easy displaying of single/multiframe
343 GreyLevel/RGB/PaletteColor images
346 <!#######################################################################>
347 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
349 <A CLASS="anchor" NAME="NewsVersion0_1">
350 <B>Version 0.1 (April 1 2003)</B></A>
352 <!#######################################################################>
353 <HR size="1"><ADDRESS style="align: right;"></ADDRESS>
355 <A CLASS="anchor" name="NewsVersion0_1">
356 <B>Version 0.0 (March 14 2003)</B></A>
358 <HR size="1"><ADDRESS style="align: right;"></ADRESS>