[Insight-users] Rigid3DTransform

valli gummadi valli gummadi" <valli_gummadi at rediffmail.com
11 Feb 2004 13:01:44 -0000


 This is a multipart mime message


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

<P>=0A<BR>=0A Hi Mr.Luis,<BR>=0A&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  I tried=
 registration using CenteredRigid2dTransform class and achieved results. I =
Used centeredAffineTransform for 3d Registration.<BR>=0AMy doubt is Can I u=
se the Rigid3dTransform class for 3D Registration.<BR>=0ABecause, When i us=
ed this class , I am gettign runtime error at <BR>=0Atransform-&gt;GetParam=
eters().<BR>=0A<BR>=0ACode Snippet:<BR>=0A<BR>=0Atypedef itk::Rigid3DTransf=
orm&lt;double&gt; TransformType;<BR>=0ATransformType::Pointer&nbsp; &nbsp; =
&nbsp;transform&nbsp; &nbsp; &nbsp;=3D TransformType::New();<BR>=0Ashort No=
ofParams;<BR>=0ANoofParams =3D transform-&gt;GetNumberOfParameters();itk::A=
rray&lt;double&gt; Params( NoofParams );<BR>=0AParams.Fill( 0 );<BR>=0Atran=
sform-&gt;SetIdentity();<BR>=0AParams =3D transform-&gt;GetParameters();<BR=
>=0A<BR>=0AAnother problem is:<BR>=0AIn ITK, Many parameters are available =
for registration to tune to get teh desired output. But, I am always get co=
nfusion which parameters to tune to get better output based on the image pr=
operties. In ITKSoftware Guide.pdf,I found a statement &quot;Both images ha=
ve unit-spacing and are shown in<BR>=0AFigure 8.17. In order to accelerate =
convergence it is convenient to use a larger step length&quot;.<BR>=0AThis =
statement is quite helpful to set max step length.<BR>=0ACan you please exp=
lain how to set remaining parameters based on the image.<BR>=0AThis will be=
 more help ful for me to tune my registration so that i can register any se=
t of images just by changing params.<BR>=0A<BR>=0AThank you,<BR>=0ARegards,=
<BR>=0ASriValli.<BR>=0A=0A</P>=0A<br><br>=0A<A target=3D"_blank" HREF=3D"ht=
tp://clients.rediff.com/signature/track_sig.asp"><IMG SRC=3D"http://ads.red=
iff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm at Bottom" =
BORDER=3D0 VSPACE=3D0 HSPACE=3D0 HEIGHT=3D74 WIDTH=3D496></a>=0A
--Next_1076504504---0-202.54.124.153-6489
Content-type: text/plain;
	charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

=0A Hi Mr.Luis,=0A           I tried registration using CenteredRigid2dTran=
sform class and achieved results. I Used centeredAffineTransform for 3d Reg=
istration.=0AMy doubt is Can I use the Rigid3dTransform class for 3D Regist=
ration.=0ABecause, When i used this class , I am gettign runtime error at =
=0Atransform->GetParameters().=0A=0ACode Snippet:=0A=0Atypedef itk::Rigid3D=
Transform<double> TransformType;=0ATransformType::Pointer	transform	=3D Tra=
nsformType::New();=0Ashort NoofParams;=0ANoofParams =3D transform->GetNumbe=
rOfParameters();itk::Array<double> Params( NoofParams );=0AParams.Fill( 0 )=
;=0Atransform->SetIdentity();=0AParams =3D transform->GetParameters();=0A=
=0AAnother problem is:=0AIn ITK, Many parameters are available for registra=
tion to tune to get teh desired output. But, I am always get confusion whic=
h parameters to tune to get better output based on the image properties. In=
 ITKSoftware Guide.pdf,I found a statement "Both images have unit-spacing a=
nd are shown in=0AFigure 8.17. In order to accelerate convergence it is con=
venient to use a larger step length".=0AThis statement is quite helpful to =
set max step length.=0ACan you please explain how to set remaining paramete=
rs based on the image.=0AThis will be more help ful for me to tune my regis=
tration so that i can register any set of images just by changing params.=
=0A=0AThank you,=0ARegards,=0ASriValli.=0A
--Next_1076504504---0-202.54.124.153-6489--