[Insight-users] Hi

valli gummadi valli gummadi" <valli_gummadi at rediffmail.com
4 Mar 2004 05:28:45 -0000


 This is a multipart mime message


--Next_1078378125---0-202.54.124.153-20780
Content-type: text/html;
	charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<P>=0A<BR>=0A Hi All,<BR>=0A<BR>=0A&nbsp; &nbsp; &nbsp; &nbsp; I want conve=
rt SPECt image from Axial view to Coronal view.<BR>=0AI used the class itkO=
rinetImageFilter. But, I am getting blan output.<BR>=0ACan anybody tell me =
the correct usage of the class.<BR>=0A<BR>=0AI am enclosing the code snippe=
t.<BR>=0A<BR>=0Atypedef itk::OrientImageFilter&lt;FixedImageType, FixedImag=
eType&gt; OrientImage;<BR>=0AOrientImage::Pointer objOrient =3D OrientImage=
::New();<BR>=0A<BR>=0Aitk::SpatialOrientation::ValidCoordinateOrientationFl=
ags fileOrientation;<BR>=0Aitk::ExposeMetaData&lt;itk::SpatialOrientation::=
ValidCoordinateOrientationFlags&gt;<BR>=0A(ITKImage-&gt;GetMetaDataDictiona=
ry(),itk::ITK_CoordinateOrientation,fileOrientation);<BR>=0A<BR>=0AobjOrien=
t-&gt;SetInput( ITKImage );<BR>=0AobjOrient-&gt;SetGivenCoordinateOrientati=
on(fileOrientation);<BR>=0AobjOrient-&gt;SetDesiredCoordinateOrientation<BR=
>=0A(itk::SpatialOrientation::ITK_COORDINATE_ORIENTATION_RIP);<BR>=0A&nbsp;=
 &nbsp; &nbsp;objOrient-&gt;Update();<BR>=0A<BR>=0A<BR>=0AITKImage is the i=
nput image.<BR>=0A<BR>=0A<BR>=0AThanks,<BR>=0ARegards,<BR>=0ASrivalli.<BR>=
=0A =0A</P>=0A<br><br>=0A<A target=3D"_blank" HREF=3D"http://clients.rediff=
.com/signature/track_sig.asp"><IMG SRC=3D"http://ads.rediff.com/RealMedia/a=
ds/adstream_nx.cgi/www.rediffmail.com/inbox.htm at Bottom" BORDER=3D0 VSPACE=
=3D0 HSPACE=3D0 HEIGHT=3D74 WIDTH=3D496></a>=0A
--Next_1078378125---0-202.54.124.153-20780
Content-type: text/plain;
	charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

=0A Hi All,=0A=0A        I want convert SPECt image from Axial view to Coro=
nal view.=0AI used the class itkOrinetImageFilter. But, I am getting blan o=
utput.=0ACan anybody tell me the correct usage of the class.=0A=0AI am encl=
osing the code snippet.=0A=0Atypedef itk::OrientImageFilter<FixedImageType,=
 FixedImageType> OrientImage;=0AOrientImage::Pointer objOrient =3D OrientIm=
age::New();=0A=0Aitk::SpatialOrientation::ValidCoordinateOrientationFlags f=
ileOrientation;=0Aitk::ExposeMetaData<itk::SpatialOrientation::ValidCoordin=
ateOrientationFlags>=0A(ITKImage->GetMetaDataDictionary(),itk::ITK_Coordina=
teOrientation,fileOrientation);=0A=0AobjOrient->SetInput( ITKImage );=0Aobj=
Orient->SetGivenCoordinateOrientation(fileOrientation);=0AobjOrient->SetDes=
iredCoordinateOrientation=0A(itk::SpatialOrientation::ITK_COORDINATE_ORIENT=
ATION_RIP);=0A	objOrient->Update();=0A=0A=0AITKImage is the input image.=0A=
=0A=0AThanks,=0ARegards,=0ASrivalli.=0A=20
--Next_1078378125---0-202.54.124.153-20780--