[Insight-users] directory listing

Rashindra Manniesing rashindra at gmail.com
Sun Nov 1 17:31:30 EST 2009

Dear Bill,

Thank you for your quick reply.

Then allow me to share the following revision of a small utility program I
wrote (now making use of itkDirectory) to convert 'raw' dicom files to
volumetric data in a consistent way:


This may be handy if you're dealing with large number of patient data. Of
course, your feedback is highly appreciated.

Best regards,

Rashindra Manniesing

-----Original Message-----
From: Bill Lorensen [mailto:bill.lorensen at gmail.com] 
Sent: zondag 1 november 2009 14:07
To: Rashindra Manniesing
Cc: insight-users at itk.org
Subject: Re: [Insight-users] directory listing


On Sun, Nov 1, 2009 at 4:15 AM, Rashindra Manniesing
<r.manniesing at erasmusmc.nl> wrote:
> I normally use boost::filesystem to obtain the content of a directory.
> Using two lines of code eg
> bf::path  inputdir (m_DirName)
> bf::directory_iterator it (inputdir)
> we have an iterator over the contents of the directory, platform
> I was wondering, how to do this easily in ITK (without boost and without
> going too much into low level programming, but with eg functions provided
> by SystemTools.hxx)?
> _____________________________________
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 2950 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091101/fda568e9/attachment.bin>

More information about the Insight-users mailing list