<div>I am trying to use 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. </div>
<div> </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, the program always 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> <font size="2">gridSizeOnImage.Fill( 5);</font></div>
<div><font size="2">to something like</font></div>
<div><font size="2"> <font size="2">gridSizeOnImage.Fill( 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> </div>
<div><font size="2">I am using ITK version 2.4.</font></div>
<div><font size="2"></font> </div>
<div>Thanks in advance,</div>
<div> </div>
<div>-Xiao</div>
<div> </div>
<div><br><br> </div>