[Insight-users] GDCMSeriesFileNames memory Leaks

Mathieu Malaterre mathieu.malaterre at gmail.com
Thu May 24 11:39:02 EDT 2007


Hi Loris,

  Thanks for the report. It is usually a good idea to include as much
details as you can. Could you please send us:
1. The script (C++/python...)
2. The DICOM series
3. The output of purify/valgrind or whatever tool you used to detect the leak

Thanks,
-Mathieu

On 5/24/07, Loris Vosilla <loris.vosilla at gmail.com> wrote:
> Dear Itk users,
>
> I'm using the class GDCMSeriesFileNames in order to scan
> a directory containing dicom files. My purpose is to get back
> the uid of the dicom volumes data contained in that directory.
> In order get that result I use a piece of code similar to the one
> below:
>
> typedef GDCMSeriesFileNames tNameGenerator;
> tNameGenerator::Pointer pNameGerator = tNameGenerator::New ()
> pNameGenerator->SetInputDirectory (....);
> const SerieUIDContainer& uidSerie = pNameGenerator->GetSeriesUID ();
> SerieUIDContainer::const_iterator it = uidSerie.begin ();
> for (it != uidSerie.end(); ++it) {
>    std::cout << it->c_str () << std::endl;
> }
>
> After executing that my application gets some memory leaks.
> I'm using ITK 3.2.0, has anyone ever had the same problem ?
> Thanks in advance
> -Loris
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>


-- 
Mathieu


More information about the Insight-users mailing list