[Dcmlib] Bug in File::GetZOrigin

Jean-Pierre ROUX jean-pierre.roux at creatis.insa-lyon.fr
Sat Oct 22 01:18:42 CEST 2005


>Hi, Marco.

Thx for repporting bug..
We fixed it in the CVS version of gdcm (but, at the same time we 
rewrote tons of code to speed up the reading process, and this new 
version is not yet fully checked)
Jean-Pierre Roux.

>
>Hi,
>
>
>I just realized that the current CVS version of gdcm has a bug in
>File::GetZOrigin()
>In lines 822 and 846 it should be
>
>return (float)entry->GetValue(2);
>
>instead of
>
>return (float)entry->GetValue(0);
>
>
>Can you please fix it? Thank you!
>Please CC me, when you fixed it, since I am not subscribed to the list.
>
>
>Regards,
>
>Marco
>
>
>---
>Marco Feuerstein

   Jean-Pierre ROUX
   CREATIS - CNRS UMR 5515, INSERM U 630
   Laboratoire de Radiologie Experimentale
   Hopital Cardiologique
   28 Avenue du Doyen LEPINE
   B.P. Lyon-Montchat
   69394 Lyon Cedex 03
 
   Tel      : (+33) 04 72 35 74 12
   Fax      : (+33) 04 72 68 49 16
   URL      : http://www.creatis.univ-lyon1.fr
   e-mail   : jpr at creatis.univ-lyon1.fr
								   



More information about the Dcmlib mailing list