No subject


Wed Oct 7 22:37:18 EDT 2009


   Insight/Code/Review/
      itkBSplineScatteredDataPointSetToImageFilter.h

provides the functionalities that you are looking for.

This class is described in the following Insight Journal paper:
http://www.insight-journal.org/browse/publication/57


Please take a look and let us know what you think,

Otherwise we could point you to other of the
BSpline implementations in ITK.


       Regards,


                 Luis


-------------------------------------------------------------
On Sun, Jan 3, 2010 at 2:41 AM, Amy C <mathematical.coffee at gmail.com> wrote=
:
> Hello,
>
> I'm after some sort of B-spline class, but I'm not sure what to use.
> I have a spline that is a linear combination of cubic (uniform, centered)
> b-splines, it maps from R^(image dimension) -> R.=A0 ( spline[px] =3D sum=
(
> coefficient[px]*b-spline[px] ).
> In this case, instead of interpolating a set of numbers, I -know- the
> coefficients(/control points) and knots of the spline. More or less, each
> pixel in the image contains a coefficient/control point (or every n pixel=
s,
> where n is an integer) and I'd like to evaluate the spline.
> I guess I just need some object with the following properties
> - set coefficients(/control points)
> - set knots ( or spacing? )
> - evaluate the spline at every pixel
> - calculate the derivative
> - will be used in a loop - will recalculate coefficients each loop
> - need to convolve the coefficient 'image' and possibly downsample every =
now
> and then
>
> At first I thought of just using a normal array to hold the coefficients
> etc, but the last two points suggest I should use something within ITK. I
> was thinking of making an object that is more or less an itk::Image (for =
the
> coefficients) with an Evaluate/EvaluateDerivative method.
>
> Does anyone know of a class that does this already? (Set knots, set
> coefficients, evaluate both spline and derivatives, where the spline is m=
ade
> up of bsplines?) BSplineInterpolateImageFunction seems closest, but it
> calculates coefficients to fit the input image, while I know the
> coefficients and just want to calculate the derivative/values.
>
> Thanks,
> Amy
>
> _____________________________________
> 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
>
>


More information about the Insight-users mailing list