![]() |
aimsalgo 6.0.0
Neuroimaging image processing
|
*Centered and *scaled B-Spline function, evaluated at run time. More...
#include <aims/math/bspline.h>


Public Member Functions | |
| FastBSpline (unsigned order=3, float scale=1., bool shifted=false) | |
| FastBSpline (const FastBSpline &other) | |
| virtual | ~FastBSpline () |
| FastBSpline & | operator= (const FastBSpline &other) |
| virtual double | at (double x) const |
| Compute valuespline value at point x. | |
| virtual double | derivative (double x, unsigned n=1) const |
| n-th derivative of the spline at point x | |
Public Member Functions inherited from aims::BSpline | |
| BSpline (unsigned order=3, float scale=1., bool shifted=false) | |
| BSpline (const BSpline &other) | |
| virtual | ~BSpline () |
| BSpline & | operator= (const BSpline &other) |
| virtual void | reset (unsigned order=3, float scale=1., bool shifted=false) |
| Set parameters @ { (Re)set all parameters. | |
| virtual void | setOrder (unsigned order) |
| order | |
| virtual void | setScale (float scale) |
| scale | |
| virtual void | setShifted (bool shifted) |
| shifted | |
| virtual void | setCentered (bool centered) |
| centered | |
| unsigned | order () const |
| Get parameters @ { spline order. | |
| float | scale () const |
| spline scale | |
| bool | shifted () const |
| is shifted ? | |
| bool | centered () const |
| is centered ? | |
| virtual double | operator() (double x) const |
| Compute value. | |
| virtual const Point2dd & | support () const |
| Get the inferior and superior boundaries of the function support (i.e. | |
Additional Inherited Members | |
Protected Member Functions inherited from aims::BSpline | |
| double | dO () const |
| virtual void | setSupport () |
Protected Attributes inherited from aims::BSpline | |
| unsigned | _order |
| float | _scale |
| bool | _shift |
| Point2dd | _support |
*Centered and *scaled B-Spline function, evaluated at run time.
Here, analytical expression are hard coded for orders 0 to 7.
In this implementation, unshifted centered B-Spline are evaluated at value x/m (+ .5).
| aims::FastBSpline::FastBSpline | ( | unsigned | order = 3, |
| float | scale = 1., | ||
| bool | shifted = false ) |
References aims::BSpline::order(), aims::BSpline::scale(), and aims::BSpline::shifted().
Referenced by FastBSpline(), and operator=().
| aims::FastBSpline::FastBSpline | ( | const FastBSpline & | other | ) |
References FastBSpline().
|
virtual |
|
virtual |
Compute valuespline value at point x.
Implemented for orders 0 to 7
Reimplemented from aims::BSpline.
|
virtual |
n-th derivative of the spline at point x
Implemented for orders 0 to 3
Reimplemented from aims::BSpline.
| FastBSpline & aims::FastBSpline::operator= | ( | const FastBSpline & | other | ) |
References FastBSpline().