[Insight-users] Problem building QtImageViewer

Luis Ibanez luis.ibanez@kitware.com
Fri, 06 Dec 2002 13:36:36 -0500


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
> 
>