[Insight-users] reflecting an image

Luis Ibanez luis.ibanez@kitware.com
Fri, 18 Oct 2002 08:07:16 -0400


Hi Zein,

You can read it with any of the readers and then
use the itk::ReflectImageFilter

http://public.kitware.com/Insight/Doxygen/html/classitk_1_1ReflectImageFi=
lter.html

use SetDirection(2) to select the reflection along the Z axis.

As ITK is N-D, the axis {x,y,z} are associated to indices {0,1,2}.


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=3D=3D=3D=3D=3D=3D=3D=3D=3D

Zein Salah wrote:

> hello all,
>=20
> =20
>=20
> Can I reflect a 3d volume around the z-axis. in other words, to read th=
e=20
> slices of the image in reverse order . Do anybody have an idea.
>=20
> =20
>=20
> Thanks,
>=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)
> Fax: (07071) 29 54 66
>=20