Hi,<br><br>I&#39;m using MultiResImageRegistration2.cxx in order to correct global pose differences of two images. I am testing this example with images from Examples/Data of ITK source: BrainProtonDensitySliceBorder20.png as a fixed and BrainProtonDensitySliceR10X13Y17.png as a moving. <br>
<br>The registration works if the moving image only has a translation but it doesn&#39;t work with the images that i&#39;m testing it (translation and rotation). <br><br>I have tuned the parameters following the instructions of <a href="http://www.itk.org/pipermail/insight-users/2007-March/021435.html">http://www.itk.org/pipermail/insight-users/2007-March/021435.html</a> but it is no way to obtain a good result. If I set the translationScales and rotationScales with the same value (for example 1), the result image appears correctly rotated but in the right corner of the top of the image  (test1.png). Otherwise, if I set the translationScales with smaller values than rotationScales ( 1/1000 and 1 respectively) the images appears correctly in the center but not enough rotated. The maxStep length is 0.1, the minstepLength 0.001, 100% of samples and 128 number of bins. <br>
<br>I tested with a lot of combinations of parameters with and without sense, and I don&#39;t understand the behaviour. What is the problem? Is The way how I tune the parameters? This framework it isn&#39;t right for translation+rotation?<br>
<br>Thanks in advance, <br clear="all"><br>-- <br>Albert<br>