[Insight-users] Registration
nedunuri ramakrishna
nedunuri_rk@yahoo.com
Fri, 31 Jan 2003 05:31:16 -0800 (PST)
Dear Mr.Luis,
I am working on registration.
I could trace the registration process using the
"itkcommand.h".
My moving image is generated from fixed image by
rotating in 2 degrees.
Optimizer parameters are:
optimizer->SetNumberOfIterations( 1000 );
optimizerScales[0] = 1.0; // scale for M11
optimizerScales[1] = 1.0; // scale for M12
optimizerScales[2] = 1.0; // scale for M21
optimizerScales[3] = 1.0; // scale for M22
optimizerScales[4] = 1.0 // scale for translation on
Y
optimizerScales[5] = 1.0 // scale for translation on
Z
When i displayed the iterations of the optimizer
using optimizer->GetCurrentIteration(),i observed that
registration process is stopping at '7'
iteration.After 7 th iteration regisrtation process
stopped and matrix is diaplayed.
I could not get the expected output.
I think Sin(2) means,I should get the 0.03489 in the
rotation matrix.
But,I am getting
Metric value: -0.934061
1.0002, -0.00145522, -0.00155741, 0.999049
translation in X: 2.76434
translation in y: -8.34538
My dataaset is of size 256X256X1.
Affinetransfrom gave only 6 parameters.
Please suggest me why it is happening so.What should i
do to get the expected output.
Thanks in advance,
Regards,
Ramakrishna.
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com