[Insight-users] Problem building QtImageViewer

Julien Jomier jjomier@cs.unc.edu
Wed, 11 Dec 2002 22:30:43 -0500


Jarek, Luis,

I just fixed it and checked the modifications in
the cvs repository.

Thanks Jarek for pointing this out.

Let me know if you find further problems.

Julien


> -----Original Message-----
> From: insight-users-admin@public.kitware.com 
> [mailto:insight-users-admin@public.kitware.com] On Behalf Of 
> Jarek Sacha
> Sent: Monday, December 09, 2002 2:15 PM
> To: Luis Ibanez
> Cc: Insight-users
> Subject: Re: [Insight-users] Problem building QtImageViewer
> 
> 
> Partial success. I rebuild CMake, VTK, ITK, and 
> QtImageExample from scratch. This probably resolved any link 
> problems. Now I can read images (e.g. brainweb1e1a10f20.mha) 
> but I cannot see anything in the image window (black). When I 
> move mouse I can see values for pointer location and 
> intensity updated in somewhat choppy way (I need to move 
> pointer quite a bit for location numbers and intensity to 
> change). I tried moving slider on the side (slice?), and 
> sliders in the lower part of the window (intensity 
> adjustment?), no luck.
> 
> Jarek
> 
> --- Luis Ibanez <luis.ibanez@kitware.com> wrote:
> > 
> > Hi Jarek,
> > 
> > This seems to be a problem with the
> > MetaImage reader.
> > 
> > Some questions:
> > 
> > 1) Can you read those file with any other
> >    ITK application example ?
> > 
> > for example
> > 
> >   Insight/Applications/MetaImageReadWrite
> >   Insight/Applications/MetaImageViewer
> >   Insight/Applications/GaussianFilter
> > 
> > 
> > 2) Can you read any of the BrainWeb images
> >     in the ftp site ?
> > 
> > ftp://public.kitware.com/pub/itk/Data/BrainWeb
> > 
> > 
> > That will help to determine if the problem
> > is with the local build of ITKIO or with
> > the file themselves.
> > 
> > 
> > ...
> > 
> > 
> > Also, you seem to be using shared
> > libraries in your build. Can you
> > verify that all the libraries have been
> > built simultaneously (in particular the
> > ITKIO.lib). There is some risk of mixing
> > versions when using shared libs.
> > 
> > 
> > 
> > Please let us know what you find.
> > 
> > 
> >     Thanks
> > 
> > 
> >       Luis
> > 
> > 
> > 
> > ============================
> > 
> > 
> > Jarek Sacha wrote:
> > 
> > > I was able to build QtSlider. It starts showing file 
> dialog, after I 
> > > select an image it crashes with segmentation fault:
> > > 
> > > loading image /tmp/Series001.mha ... Skipping unrecognized field 
> > > AcquisitionDate Skipping unrecognized field ImagePosition
> > > Skipping unrecognized field ElementNBits
> > > Skipping unrecognized field AcquisitionDate
> > > Skipping unrecognized field ImagePosition
> > > Skipping unrecognized field ElementNBits
> > > MetaImage: ElementByteOrderSwap
> > > Done!
> > > Segmentation fault
> > > 
> > > This image is part of a sample data available at 
> > > http://caddlab.rad.unc.edu/software/index.html#registration3D
> > > 
> > > I am getting a similar problem, without "Skipping unrecognized..."
> > with
> > > my own data file:
> > > loading image /tmp/sample.mha ... MetaImage: ElementByteOrderSwap 
> > > Done! Segmentation fault
> > > 
> > > Thanks for you help,
> > > 
> > > Jarek
> > > 
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. 
> > > http://mailplus.yahoo.com 
> > > _______________________________________________
> > > Insight-users mailing list
> > > Insight-users@public.kitware.com 
> > > http://public.kitware.com/mailman/listinfo/insight-users
> > > 
> > > 
> > 
> > 
> > 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now. 
http://mailplus.yahoo.com
_______________________________________________
Insight-users mailing list
Insight-users@public.kitware.com
http://public.kitware.com/mailman/listinfo/insight-users