Hi All<br>
<br>
I am working with affine transform image egistration usin
mattesmutual information image metrci. I did read all the email in the
mailing list about tunning the parameters for registration. Especially
the ones which explain parameter scaling. <br>
<br>
<br>
If I have a 2D image 199*181 pixels and pixel spacing is 0.2084
mm.Which gives me 42mm*38mm ( this are ultrasound images ). So then my
translationscaling should be <br>
1/(10*sqt(42^2+38^2)=1/550 ? is that correct? If yes what happens if I
use 1/1000? I think this will effect my allowed rotation and
translations?<br>
<br>
<br>
<br>
double translationScale = 1.0 / 1000.0;<br>
if( argc > 8 )<br>
{<br>
translationScale = atof( argv[8] );<br>
}<br>
<br>
<br>
// Software Guide : BeginCodeSnippet<br>
typedef OptimizerType::ScalesType OptimizerScalesType;<br>
OptimizerScalesType optimizerScales( transform->GetNumberOfParameters() );<br>
<br>
<br>
<br>
optimizerScales[0] = 20; -----------------------------------------------><span style="color: rgb(255, 0, 0);">is
this is for scaling? what happenes if I take them 20 instead of 1 . ?
Which was much better for my registration results.</span><br>
optimizerScales[1] = 20; ---------------------------------------------> <span style="color: rgb(255, 0, 0);">is this for rotation ?</span><br>
optimizerScales[2] =20; -------------------------------------------------> <span style="color: rgb(255, 0, 0);">X coordinate for rotation center?</span><br>
optimizerScales[3] = 20; ------------------------------------------------> <span style="color: rgb(255, 0, 0);">Y coordinate of roation center?</span><br>
optimizerScales[4] = translationScale; <br>
optimizerScales[5] = translationScale;<br>
<br>
<span style="color: rgb(255, 0, 0);">In order to scale the parameters
of the registration are the optimizerscales multiplied with them of
devided? If this would be a 3D registration then I should use 12
optimzierscales <br>
What would be the order for them scaling rotation translation? <br>
</span>------------------------------------------------------------------<br><br>'.....ich möchte mir eine ader öffnen, die mir die ewige freiheit schaffte....'<br><br>--------------------------------------------------------------------