[Insight-users] Dimensionality of Analyze Images
Luis Ibanez
luis.ibanez at kitware.com
Sun Jul 29 13:49:16 EDT 2007
Hi Matthias,
Are you sure that you got a segmentation fault
and not an Exception ?
Are you using a try/catch block around the call to Update() ?
It is very likely that you are getting and exception,
in which case, the exception is carrying a message
describing the nature of the error.
You will find many examples on how to use try/catch
blocks in the ITK Software Guide:
http://www.itk.org/ItkSoftwareGuide.pdf
If you catch an exception you can print out its
description.
Please let us know what you find.
Thanks
Luis
------------------------------------------
matthias.honal at uniklinik-freiburg.de wrote:
> Hi,
>
> I recently found out that in ITK 3.2.0 the reading of two dimensional
> Analyze images produces segmentation faults, while this worked well with
> ITK 2.8.1 with the same code (e.g. the ImageReadWrite from the ITK examples
> in the simplest case). Since I'm not an expert in medical file formats, I
> would like to know whether this behavior of ITK 3.2.0 is expected (since
> Analyze images have to have at least 3 dimensions) or whether it should be
> possible to read 2D Analyze images as well. In the latter case there may
> be problems with my images which I'll have to find out...
>
>
> Thanks a lot,
> Matthias
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
More information about the Insight-users
mailing list