[Insight-users] ImageFileReader now checking for file to exist and be readable.

Luis Ibanez luis.ibanez at kitware.com
Tue, 16 Mar 2004 11:02:24 -0500


Hi Robert,


Thanks a lot for your suggestion,

In response to it, code has now been added
to the itk::ImageFileReader for checking
whether the input file exists and if it is
readable or not.

Exceptions are thrown if one of those conditions
are not satisfied, with the bonus that now the
messages are more meaninful that when they are
generated from the ImageIO objects.

You will have to update your CVS checkout  in
order to get these modifications.

Please let us know if you find any problems,


   Thanks


     Luis



-----------------------
Atwood, Robert C wrote:

> Can it clarify whether the problem is due to a nonexistant file format,
> a nonexistant file, or a file permission/sharing problem ? ...snip