Hi,<br><br>I try to change the following:<br><br>...<br>gridSizeOnImage.Fill( 12 ); <br>...<br><br>(e.g from 12 to 15,18,21) <br><br>Thanks<br><br><br><br><div class="gmail_quote">2010/1/21 Luis Ibanez <span dir="ltr"><<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Marco,<br>
<br>
Could you please indicate *exactly* what variable you are modifying<br>
in this source code example ?<br>
<br>
In principle you can use any number of nodes for the BSpline grid.<br>
There are no particular numbers of nodes that you are forced to<br>
choose from.<br>
<br>
You will simply be subject to the restrictions of your available RAM<br>
and the computation time that it will take to run the registration.<br>
<br>
<br>
Regards,<br>
<br>
<br>
Luis<br>
<br>
<br>
-------------------------------------------------------------------------------<br>
<div><div></div><div class="h5">On Thu, Jan 21, 2010 at 9:47 AM, marco giordano <<a href="mailto:marco.giord@gmail.com">marco.giord@gmail.com</a>> wrote:<br>
> Hi<br>
><br>
> I am running DeformableRegistration8.cxx (in 3D). I want to change the<br>
> number of grid points but I noticed that to me it works only for for some<br>
> numbers (e.g 12,15 grid points)<br>
> In other cases I get an error like:<br>
> ....<br>
> terminate called after throwing an instance of 'itk::ExceptionObject'<br>
> what(): /vol/itk/include/InsightToolkit/Common/itkMatrix.h:201:<br>
> itk::ERROR: Singular matrix. Determinant is 0....<br>
><br>
> To which matrix refers to?<br>
> Does the number of grid points have some geometrical restrictions that I do<br>
> not understand ?<br>
><br>
> Thanks<br>
><br>
><br>
> --<br>
> M. Giordano<br>
><br>
</div></div><div><div></div><div class="h5">> _____________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Kitware offers ITK Training Courses, for more information visit:<br>
> <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
><br>
><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Marco Giordano<br><br>