[Insight-users] Deformable registration: Number of grid points

marco giordano marco.giord at gmail.com
Fri Jan 22 04:48:29 EST 2010


Hi,

I try to change the following:

...
gridSizeOnImage.Fill( 12 );
...

(e.g from 12 to 15,18,21)

Thanks



2010/1/21 Luis Ibanez <luis.ibanez at kitware.com>

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



-- 
Marco Giordano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100122/770bbe1e/attachment.htm>


More information about the Insight-users mailing list