[Insight-users] Compiling ITK on Windows: GIPL problems
Julien Jomier
jjomier@cs.unc.edu
Thu, 6 Mar 2003 11:27:08 -0500
Raghavendra, Luis, Mathieu,
> I am using the right extension (.gipl). I tried using the=20
> ramp.gipl image in the Testing/Data/Input directory but my=20
> program crashed. I think the image may be corrupted. When I=20
> used a different image it was read and written properly.
I checked this image in yesterday and didn't have a chance to test it.
The problem is that the ramp.gipl was written using little endian and =
the IO
factory is expecting big endian by default.
I just replaced the ramp.gipl file in the repository so it is now big
endian.
Sorry about that.
Let us know if you have any problem.
Julien
> -----Original Message-----
> From: insight-users-admin@public.kitware.com=20
> [mailto:insight-users-admin@public.kitware.com] On Behalf Of=20
> Raghavendra Chandrashekara
> Sent: Thursday, March 06, 2003 7:26 AM
> To: Luis Ibanez
> Cc: insight-users@public.kitware.com; Mathieu Malaterre
> Subject: Re: [Insight-users] Compiling ITK on Windows: GIPL problems
>=20
>=20
> Hi Luis and Mathieu,
>=20
> >
> > Hi Raghavendra,
> >
> >
> > Your code looks good, except for the line
> >
> >
> > using namespace std;
> >
> >
> > Please DO NOT USE this lines in any code.
> > It is only calling for trouble. Your cout's
> > already have the "std::" as they should, so
> > you can get rid of the "using namespace".
> >
> > ------
>=20
> Oops! I keep forgetting about that!
>=20
> >
> > I agree with Mathieu, in that the possible source
> > of the problem is the absence of a ".gipl" extension.
> >
> > Please let us know if your files are using the right extensions.
>=20
> I am using the right extension (.gipl). I tried using the=20
> ramp.gipl image in the Testing/Data/Input directory but my=20
> program crashed. I think the image may be corrupted. When I=20
> used a different image it was read and written properly.
>=20
> >
> > If the extensions happen to be correct, this may
> > indicate a problem with the Analyze image reader,
> > in which case we will track it down.
> >
> >
> >
> > Thanks
> >
> >
> > Luis
>=20
> Thanks,
>=20
> Raghavendra
>=20
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com=20
> http://public.kitware.com/mailman/listinfo/ins> ight-users
>=20