<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1479" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=427253115-12012005><FONT face=Arial color=#0000ff
size=2>Yixun:</FONT></SPAN></DIV>
<DIV><SPAN class=427253115-12012005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=427253115-12012005><FONT face=Arial color=#0000ff size=2>You
have to show what the result looks like and what your expectation
is</FONT></SPAN></DIV>
<DIV><SPAN class=427253115-12012005><FONT face=Arial color=#0000ff size=2>before
your question can be addressed. "the result is not good" is
vague.</FONT></SPAN></DIV>
<DIV><SPAN class=427253115-12012005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=427253115-12012005><FONT face=Arial color=#0000ff
size=2>George</FONT></SPAN></DIV>
<DIV><SPAN class=427253115-12012005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV> </DIV>
<DIV><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Yixun
Liu [mailto:yxliu@fudan.edu.cn] <BR><B>Sent:</B> Wednesday, January 12, 2005
1:29 AM<BR><B>To:</B> insight-users@itk.org<BR><B>Subject:</B> [Insight-users]
about VersorRigid3D<BR><BR></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT face=Arial>Hi,</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>I want to register two 3D CT datasets, which came from
one patient and were scanned at different time.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>the size of the two datasets both are: 512*512*32,
spacing: 1.36*1.36*5.0</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>The metric I use is:
MattesMutualInformationImageToImageMetric,</FONT></DIV>
<DIV><FONT face=Arial>The Transform is: VersorRigid3D</FONT></DIV>
<DIV><FONT face=Arial>The Optimizor:
VersorRigid3DTransformOptimizer</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>the paramaters are:</FONT></DIV>
<DIV><FONT face=Arial>METRIC:</FONT></DIV>
<DIV><FONT face=Arial> metric->SetNumberOfHistogramBins( 20
);<BR> metric->SetNumberOfSpatialSamples( 512*512*32 /
100);</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>OPTIMIZER</FONT></DIV>
<DIV><FONT face=Arial> optimizerScales[0] = 1.0;<BR>
optimizerScales[1] = 1.0;<BR> optimizerScales[2] = 1.0;<BR>
optimizerScales[3] = 1/100000;<BR> optimizerScales[4] =
1/100000;<BR> optimizerScales[5] = 1/100000;</FONT></DIV>
<DIV><FONT face=Arial> optimizer->SetScales( optimizerScales
);</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial> optimizer->SetMaximumStepLength( 0.2000
); <BR> optimizer->SetMinimumStepLength( 0.0001 );</FONT></DIV>
<DIV><FONT face=Arial> optimizer->SetNumberOfIterations( 200
);<BR></FONT></DIV>
<DIV><FONT face=Arial>However, the result is not good. I do not intend to use
the MeanSquaresImageToImageMetric due to its slowness. The reason may be the
incorrect paramters. Could anybody tell me how to set the correct
parameters?</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Best regards</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV><FONT size=2>
<DIV><BR><FONT face=Arial size=3></FONT></DIV>
<DIV><BR> </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BLOCKQUOTE></BODY></HTML>