[Dcmlib] Re: [Gdcm2] gdcmPrinter

Mathieu Malaterre mathieu.malaterre at kitware.com
Mon Feb 27 15:41:38 CET 2006


> Group length seems to stop after group 0x8.Length seems to be wrong : 366
> This file does not contains: Study Instance UID
> *==> Normal, c'est un fichier ACR-NEMA*

Dis moi bonhomme tu prends du cafe le matin ou pas. Je regarde ton code 
et y'a ca:

...
   static const gdcm::Dict d; /// \TODO FIXME this thing is friggin slow
   const gdcm::DictEntry &de = d.GetDictEntry(siUID);
   if ( ! f.FindTag( siUID )  )
     {
     std::cerr << "This file does not contains: " << de.GetName() << 
std::endl;
     }
   else
     {
     std::cout << "This file contains: " << de.GetName() << std::endl;
     const char *uid = f.GetTagAsRaw( siUID );
     std::cout << "Value is: "  << uid << std::endl;
     }
...

Donc evidemment que ca va etre sur cerr, qu'il y a pas de UID. Que c'est 
que tu veux que je fasse d'autre ?

Mathieu


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Gdcm-developers mailing list
Gdcm-developers at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gdcm-developers



More information about the Dcmlib mailing list