[Insight-users] Problem building QtImageViewer
Jarek Sacha
galicjan@yahoo.com
Mon, 9 Dec 2002 11:15:13 -0800 (PST)
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