<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Tahoma;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Tahoma;
        color:navy;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=white lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>Hi Vincent and Karthik,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>Thanks for your input. I changed
the constructor in MutualInformationImageToImageMetric.txx file to add ReinitializeSeed()
to the constructor and ran MultiResMIRegistration again, but the output is
still the same as the input. I tried both the general one and also the one with
vcl_time as a parameter. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>I then tried running itkAlgorithmsTests
as well, and 55 and 67 also fails for me. I added the output from those
tests at the bottom in case it might help. It looks like my problem is
similar to yours Vincent, because I ran the other tests that you had problems
with (33, 34, 62, 63) which also failed. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>Is there anything else that I should try
looking into to troubleshoot? <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>Thanks!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>--Fong Ming<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>Outputs from itkAlgorithmsTests<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>Test 67:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>param[4]
MI dMI/dparam[4]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>ITK test driver caught an ITK exception:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>/home/Fong Ming
Hooi/src/ITK1.8/Code/Algorithms/itkMutualInformationImageToImageMetric.txx:155:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>itk::ERROR:
MutualInformationImageToImageMetric(0xa059880): All the sampled point mapped to
outside of the moving image<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>Test 55:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>Debug: In /home/Fong Ming
Hooi/src/ITK1.8/Code/Algorithms/itkImageToImageMetrich, line 170<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>MattesMutualInformationImageToImageMetric
(0xa0598d8): returning FixedImageRegin of ImageRegion (0xa059918)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'> Dimension: 2<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'> Index: [2, 2]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'> Size: [96, 96]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>Debug: In /home/Fong Ming
Hooi/src/ITK1.8/Code/Algorithms/itkMattesMutualInformtionImageToImageMetric.txx,
line 194<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>MattesMutualInformationImageToImageMetric
(0xa0598d8): FixedImageMin: 31 FixedmageMax: 200<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>Debug: In /home/Fong Ming
Hooi/src/ITK1.8/Code/Algorithms/itkMattesMutualInformtionImageToImageMetric.txx,
line 196<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>MattesMutualInformationImageToImageMetric
(0xa0598d8): MovingImageMin: 19 MovigImageMax: 200<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>Debug: In /home/Fong Ming
Hooi/src/ITK1.8/Code/Algorithms/itkMattesMutualInformtionImageToImageMetric.txx,
line 228<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>MattesMutualInformationImageToImageMetric
(0xa0598d8): FixedImageNormalizedMin:6.43787<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>Debug: In /home/Fong Ming
Hooi/src/ITK1.8/Code/Algorithms/itkMattesMutualInformtionImageToImageMetric.txx,
line 229<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>MattesMutualInformationImageToImageMetric
(0xa0598d8): MovingImageNormalizedMin 2.82873<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>Debug: In /home/Fong Ming
Hooi/src/ITK1.8/Code/Algorithms/itkMattesMutualInformtionImageToImageMetric.txx,
line 230<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>MattesMutualInformationImageToImageMetric
(0xa0598d8): FixedImageBinSize: 3.6731<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>Debug: In /home/Fong Ming
Hooi/src/ITK1.8/Code/Algorithms/itkMattesMutualInformtionImageToImageMetric.txx,
line 231<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>MattesMutualInformationImageToImageMetric
(0xa0598d8): MovingImageBinSize; 3.9378<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>Debug: In /home/Fong Ming
Hooi/src/ITK1.8/Code/Algorithms/itkImageToImageMetrich, line 170<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>MattesMutualInformationImageToImageMetric
(0xa0598d8): returning FixedImageRegin of ImageRegion (0xa059918)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'> Dimension: 2<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'> Index: [2, 2]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'> Size: [96, 96]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>Debug: In /home/Fong Ming
Hooi/src/ITK1.8/Code/Algorithms/itkMattesMutualInformtionImageToImageMetric.txx,
line 334<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>MattesMutualInformationImageToImageMetric
(0xa0598d8): Interpolator is not BSplne<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>Debug: In /home/Fong Ming
Hooi/src/ITK1.8/Code/Algorithms/itkMattesMutualInformtionImageToImageMetric.txx,
line 361<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>MattesMutualInformationImageToImageMetric
(0xa0598d8): Transform is not BSplineeformable<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>param[4]
MI MI2 dMI/dparam[4]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>ITK test driver caught an ITK exception:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>/home/Fong Ming Hooi/src/ITK1.8/Code/Algorithms/itkMattesMutualInformationImageoImageMetric.txx:897:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>itk::ERROR:
MattesMutualInformationImageToImageMetric(0xa0598d8): Too many samples map
outside moving image buffer: 0 / 500<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span style='font-size:12.0pt;color:windowtext'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold'>From:</span></font></b><font
size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
color:windowtext'> Karthik Krishnan [mailto:Karthik.Krishnan@kitware.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, December 07, 2004
2:54 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Fong Ming Hooi<br>
<b><span style='font-weight:bold'>Cc:</span></b> <st1:PersonName w:st="on">insight-users@itk.org</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Insight-users]
Problem with MultiResMIRegistration [And the VNL behaviour under Cygwin]</span></font><font
color=black><span style='color:windowtext'><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>Hi Fong,<br>
<br>
Your problem is related to the minor descripency in VNL behaviour in Cygwin.
I've given a temporary fix below that should make your code work, before we
commit those changes. Thanks for pointing out.<br>
<br>
Just add the line <br>
ReinitializeSeed();<br>
in the constructor MutualInformationImageToImageMetric < , >
::MutualInformationImageToImageMetric()<br>
<br>
Now your code should work fine with Cygwin. If you want to know why, read the
explanation below:<br>
<br>
Basically the family of pseudo-random generators, ie drand48(), lrand48(), or
mrand48(), seem to behave differently under different operating systems.
Strictly speaking, before any calls to these functions are made, we need to go
through initialization entry points, srand48(), seed48() and lcong48()
respectively to initialize the seed. Now, on most compilers relax this
behaviour and supply a default seed. Cygwin's gcc does not. So all calls to
vnl_sample_normal, vnl_sample_uniform etc failed in Cygwin since they are often
called without seeding in ITK. <br>
<br>
Your MultiresMIRegistration example uses the
MutualInformationImageToImageMetric, which uses a
ImageRandomConstIteratorWithIndex to randomly pick evaluation points. VNL is
used to generate these random numbers. <br>
<br>
A more exact solution would be to replace ReinitializeSeed() with
ReinitializeSeed(vcl_time(0)). This does a quasi-random initialization. You
will now need to include the file "vcl_ctime.h"<br>
<br>
Thanks<br>
Hope this helps<br>
karthik<br>
<br>
<br>
Fong Ming Hooi wrote: <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>Hello,<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'><u1:p> </u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>I’m having some trouble with the
MultiResMIRegistration program. I’m using the input of
BrainWebT1toT2b.txt and have been getting this corresponding output: </span></font><o:p></o:p></p>
<u1:p></u1:p>
<p class=MsoNormal><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'><u1:p> </u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>Output: <u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>Parsing input ... <u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>Fixed image filename:
C:\ITKFiles\ITKAppBin2\MultiResMIRegistration\brainweb165a10f17.mha<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>Moving image filename:
C:\ITKFiles\ITKAppBin2\MultiResMIRegistration\brainweb1e5a10f17Rot10Tx15.mha<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>Permute order: [0, 1, 2]<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>Flip axes: [0, 0, 0]<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>Number of levels: 5<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>Fixed image shrink factors: [4, 4, 1]<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>Moving image shrink factors: [8, 8, 1]<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>Number of iterations: [2500, 2500, 2500, 2500, 2500]<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>Learning rates: [0.0001, 1e-05, 5e-06, 1e-06, 5e-07]<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>Translation scale: 320<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>Output filename: t1tot2.mhd<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'><u1:p> </u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>Preprocess the images ... <u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>Register the images ... <u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>--- Starting level 0<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'> No. Iterations: 2500 Learning rate: 0.0001<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>--- Starting level 1<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'> No. Iterations: 2500 Learning rate: 1e-05<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>--- Starting level 2<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'> No. Iterations: 2500 Learning rate: 5e-06<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>--- Starting level 3<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'> No. Iterations: 2500 Learning rate: 1e-06<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>--- Starting level 4<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'> No. Iterations: 2500 Learning rate: 5e-07<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>Final parameters: [0, 0, 0, 1, 0, 0, 0]<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>Overall transform matrix: <u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>1 0 0<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>0 1 0<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>0 0 1<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'><u1:p> </u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>Overall transform offset: <u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>[0, 0, 0]<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>Generating output ...<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'><u1:p> </u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'><u1:p> </u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>The output image is unchanged from the moving
image. Does anyone have any advice as to what I can do to
troubleshoot this? I’ve built the ITK 1.8 framework using cygwin
along with FLTK 1.1.4 and Qt 2.3.1 as well. Also, the Hello World example
works fine along with the Registration examples. <u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'><u1:p> </u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>Thanks,<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>Fong Ming<u1:p></u1:p></span></font><o:p></o:p></p>
<pre wrap=""><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre
style='text-align:center'><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt'>
<hr size=4 width="90%" align=center>
</span></font></pre><pre><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>_______________________________________________<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Insight-users mailing list<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><a
href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><a
href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'> <o:p></o:p></span></font></pre>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>