<html><head><style type="text/css">body{font:12px Arial;margin:3px;overflow-y:auto;overflow-x:auto}p{margin:0px;}blockquote, ol, ul{margin-top:0px;margin-bottom:0px;}</style></head>

<body><div style="display: block; font-family: Arial; font-size: 12px;">Hi, <br>
<br>
I'm working on registration of 3D medical images.<br>
I'm using the AffineTransform with the metric MI Mattes.<br>
And I'm trying some different optimizers... but I have got a problem using the OnePlusOneOptimizer.<br>
When I use the RegularStepGradientDescentOptimizer,&nbsp; all is
working without exception. But when I replace this optimizer by the
OnePlusOne I've the exception about the samples : <br>
<br>
itk::ExceptionObject (0x8363f80)<br>
Location: "Unknown"<br>
File: /home/xwantier/ITK/InsightToolkit-2.0.1/Code/Algorithms/itkMattesMutualInformationImageToImageMetric.txx<br>
Line: 623<br>
Description: itk::ERROR:
MattesMutualInformationImageToImageMetric(0x8360ba8): Too many samples
map outside moving image buffer: 0 / 10000<br>
<br>
Could you say me why and what I should do. <br>
My implementation is exactely the same as the example ImageRegistration11.<br>
<br>
Thanks a lot.<br>
<br>
&nbsp;&nbsp;&nbsp; Xavier<br></br><p style="margin-top:11px;padding-top:3px;background-image: url(http://mail.lycos.co.uk/Images/Mail/_content/dot.gif);background-repeat: repeat-x;background-position: 0px 0px;"><img src="http://premiummail.caramail.lycos.fr/Images/Mail/_icons/premium.gif"><font color="#CC0000"><b> 300 Mo gratuits sur CaraMail : </b></font><a href="http://secure.caramail.lycos.fr/services/signin/mail.jsp?TARGETCODE=FR_footermail_link" target="_blank">Cliquez ici pour en profiter!</a></div></body></html>