[Insight-users] easy way to get a file name extension

Darren Weber darren.weber.lists at gmail.com
Mon Oct 12 18:37:08 EDT 2009


Are there any classes or methods for handling file names in ITK?

Is it common to use Boost.Filesystem for handling files in an ITK project?
http://www.boost.org/doc/libs/1_40_0/libs/filesystem/doc/index.htm

The main problem before me is to extract and change a file extension, like
substitute .tif to .xfm, and to output a spatial transform into the .xfm
file with the same path and filename as the .tif file.  (The actual file
extension may be any image file type, not specifically .tif).

Thanks,
Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091012/619d84df/attachment.htm>


More information about the Insight-users mailing list