[Insight-users] unexpected results in RawImageReaderViewer
Luis Ibanez
luis . ibanez at kitware . com
Tue, 09 Jul 2002 07:28:30 -0400
Hi Zein,
1) This was a bug in RawImageReaderViewer, and was fixed this week,
If you are using cvs, you can just update your checkout and get
the fixed version. Otherwise you can do the following:
Edit the file:
Insight/Examples/RawImageReaderViewer/itkRawImageReaderViewer.cxx
and in line 145 (in the "Load()" method) add:
m_RawReader->SetFileDimensionality( 3 );
This will indicate the reader that the file contains a 3D volume
as oppossed to a 2D image which is the default for the reader.
2) There is no problem for using Qt with ITK.
The toolkit is designed to enforce GUI independence.
CMake also has support for Qt (that was contributed by Qt users).
Probably the best way to interface Qt with ITK is by
managing to redirect ITK events as Qt signals and
wrapping itkObservers/Commands as Qt slots.
Please let us know if you find any problem doing so.
Thanks
Luis
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D
Zein Salah wrote:
> Hello all,
>=20
> =20
>=20
> 1. I have run the ITK example RawImageReaderViewer.
>=20
> There was no compilation or linking errors. It executed. The example is=
=20
> ecpected to display a raw image as slices. I could only see something=20
> (although not correct) in the first slice only. the subsequent slices=20
> showed nothing at all. Has anybody any idea where could the problem be=
=2E
>=20
> =20
>=20
> 2. Do anybody have an iead whether it is possible to use Qt=20
> (http://www.trolltech.com) for the design of user-interfaces for ITK.
>=20
> =20
>=20
> Thanks in advance for any help!!
>=20
> =20
>=20
> Zein
>=20
> =20
>=20
> =20
>=20
> ->8<------------->8<------------->8<------------->8<------------->8<---=
---------->8<-
> Zein I. Salah
> Universit=E4t T=FCbingen, WSI-GRIS
> Sand 14
> 72076 T=FCbingen
> Email: salah@gris.uni-tuebingen.de <mailto:salah@gris.uni-tuebingen.de>=
=20
> / zeinsalah@hotmail.com <mailto:zeinsalah@hotmail.com>
> Tel.: (07071) 29 75465 (GRIS) , (07071) 96 44 39 (privat)
>=20