[Insight-users] ImageRegistration2 problem.
Luis Ibanez
luis.ibanez at kitware.com
Tue May 17 20:25:32 EDT 2005
Hi John,
Cygwin used has a problem for running the random number
generator that is used by the Mutual Information metric.
This has been fixed now.
The example:
ImageRegistration2
is tested nightly
http://www.itk.org/Testing/Dashboard/20050517-0500-Nightly/TestDetail/__Examples_Registration_ImageRegistration2Test.html
and it is consistently passing in all platforms.
The typical output that you should see is in Cygwing is:
http://www.itk.org/Testing/Sites/dash14.kitware/Win32-cygwin331/20050517-0500-Nightly/Results/__Examples_Registration_ImageRegistration2Test.html
number of samples = 567
0 0.291543 [0.105135, 0.090224]
1 0.260628 [0.161649, 0.157256]
2 0.270509 [0.320506, 0.209221]
3 0.316618 [0.422436, 0.283459]
...
198 0.607511 [12.9989, 16.8214]
199 0.603641 [13.0552, 16.9111]
Result =
Translation X = 13.0552
Translation Y = 16.9111
Iterations = 200
Metric value = 0.603641
You should probably update your version
of ITK in order to use CVS.
Regards,
Luis
------------------------------------------------------------------
Woo, John wrote:
> Hi, I'm a new user to ITK.
>
> I have succeeded in running ImageRegistration1 and ImageRegistration3
> with their respective Example data.
>
> However, I cannot seem to run ImageRegistration2 (MI Registration)
> correctly with BrainT1SliceBorder20.png and
> BrainProtonDensitySliceShifted13x17y.png.
>
> It seems to compile ok. However, when running, it seems to give a
> Result of
>
> Result =
> Translation X = 0
> Translation Y = 0
> Iterations = 200
> Metric value = 2.5398e-06.
>
> It seems that all 200 iterations have values of
> 2.5398e-06 [0, 0]
>
> Am I doing something incorrectly? I am running ITK on Cygwin on a
> Windows platform.
>
> - John.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list