<div>I am&nbsp;trying to use&nbsp;the nonlinear BSpline registration method as coded</div>
<div>in DeformableRegistration7, but had some problem with tuning the BSpline parameters. I hope someone can provide me some insights.&nbsp;</div>
<div>&nbsp;</div>
<div>I am registering two images of size 150x150x21. The default parameters in </div>
<div>DeformableRegistration7 works well, but the deformation field is a little over-smooth. I tried thus to increase the BSpline grid size. However, when I tried to do that, &nbsp;the program always&nbsp;stops in one iteration, and gives a deformation field filled with zeros. 
</div>
<div>In particular, I was trying to change the line</div>
<div>&nbsp; <font size="2">gridSizeOnImage.Fill( 5);</font></div>
<div><font size="2">to something like</font></div>
<div><font size="2">&nbsp; <font size="2">gridSizeOnImage.Fill(&nbsp;6 ).</font></font></div>
<div><font size="2">But any value higher than 5 will give a final result of zero displacement (and the program stops in one iteration).</font></div>
<div><font size="2"></font>&nbsp;</div>
<div><font size="2">I am using ITK version 2.4.</font></div>
<div><font size="2"></font>&nbsp;</div>
<div>Thanks in advance,</div>
<div>&nbsp;</div>
<div>-Xiao</div>
<div>&nbsp;</div>
<div><br><br>&nbsp;</div>