[Insight-users] parameter scaling for registration
ilker hacıhaliloğlu
hacihaliloglu at gmail.com
Thu Mar 23 04:44:10 EST 2006
Hi All
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.
If I have a 2D image 199*181 pixels and pixel spacing is 0.2084
mm.Whichgives me 42mm*38mm ( this are ultrasound images ). So then my
translationscaling should be
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?
double translationScale = 1.0 / 1000.0;
if( argc > 8 )
{
translationScale = atof( argv[8] );
}
// Software Guide : BeginCodeSnippet
typedef OptimizerType::ScalesType OptimizerScalesType;
OptimizerScalesType optimizerScales( transform->GetNumberOfParameters() );
optimizerScales[0] = 20; ----------------------------------------------->is
this is for scaling? what happenes if I take them 20 instead of 1 . ? Which
was much better for my registration results.
optimizerScales[1] = 20; ---------------------------------------------> is
this for rotation ?
optimizerScales[2] =20; ------------------------------------------------->
X coordinate for rotation center?
optimizerScales[3] = 20; ------------------------------------------------>
Y coordinate of roation center?
optimizerScales[4] = translationScale;
optimizerScales[5] = translationScale;
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
What would be the order for them scaling rotation translation?
------------------------------------------------------------------
'.....ich möchte mir eine ader öffnen, die mir die ewige freiheit
schaffte....'
--------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060323/b222b7fc/attachment.htm
More information about the Insight-users
mailing list