[Dcmlib] SerieHelper recursion limit

Lazzarato Dr.Gianni lazzadrgi at libero.it
Mon Mar 10 14:08:06 CET 2008


Hi  Jp, Mathieu and users,

 

Using this code:

 

gdcm::SerieHelper *sh = gdcm::SerieHelper::New();

   sh->SetLoadMode(gdcm::LD_ALL);       // Load all for each file

   sh->SetDirectory(path,true); // Recursive parsing

 

 

if in the path I have a lot of directories with a lots of patients this code
reach an error probably due to the large amount of studies founded.

 

Is there a easy way to restrict the number of studies sh retrieve or a
preliminary chek before   sh->SetDirectory(path,true); // Recursive parsing
? 

 

Thanks

 

Gianni

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/dcmlib/attachments/20080310/0876d1df/attachment.html>


More information about the Dcmlib mailing list