Woolz Image Processing  Version 1.8.3
AlgBSpline.c File Reference

Provides functions for fitting and evaluating B-Splines. This software is based on netlib Dierckx Fortran subroutines. In most cases the original comments have been preserved with little change and are inculded in the Doxygen documentation verbatim. More...

Functions

void AlgBSplineBspl (double *t, int k, double x, int l, double *h)
 Evaluates the (k+1) non-zero B-Splines of degree k at t[l] using the de Boor Cox recurrence. More...
 
AlgError AlgBSplineNDFit (int iopt, int ipar, int idim, int m, double *u, int mx, double *x, double *w, double ub, double ue, int k, double s, int nest, int *n, double *t, int *nc, double *c, double *fp, double *wrk, int *iwrk)
 Computes a smooth approximating b-spline in multi-dimensional space. More...
 
AlgError AlgBSplinePerFit (int iopt, int m, double *x, double *y, double *w, int k, double s, int nest, int *n, double *t, double *c, double *fp, double *wrk, int *iwrk)
 Computes a smooth periodic B-spline approximation through the given data. More...
 
AlgError AlgBSplineFit (int iopt, int m, double *x, double *y, double *w, double xb, double xe, int k, double s, int nest, int *n, double *t, double *c, double *fp, double *wrk, int *iwrk)
 Computes a smooth B-spline approximation through the given data. More...
 
AlgError AlgBSplineEval (double *t, int n, double *c, int k, double *x, double *y, int m)
 Evaluates a b-spline at a number of points. More...
 
AlgError AlgBSplineDer (double *t, int n, double *c, int k, int nu, double *x, double *y, int m, double *wrk)
 Evaluates the derivatives of order nu of the B-spline of degree k. More...
 

Detailed Description

Provides functions for fitting and evaluating B-Splines. This software is based on netlib Dierckx Fortran subroutines. In most cases the original comments have been preserved with little change and are inculded in the Doxygen documentation verbatim.

Author
Bill Hill
Date
June 2020
Version
Id
914bcb2335874dd0d37ca9d2d854380aca068290
Address: MRC Human Genetics Unit, MRC Institute of Genetics and Molecular Medicine, University of Edinburgh, Western General Hospital, Edinburgh, EH4 2XU, UK.
Copyright (C), [2020], The University Court of the University of Edinburgh, Old College, Edinburgh, UK.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.