![]() |
aimsalgo
5.1.2
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. More... | |
| virtual double | derivative (double x, unsigned n=1) const |
| n-th derivative of the spline at point x More... | |
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. More... | |
| virtual void | setOrder (unsigned order) |
| order More... | |
| virtual void | setScale (float scale) |
| scale More... | |
| virtual void | setShifted (bool shifted) |
| shifted More... | |
| virtual void | setCentered (bool centered) |
| centered More... | |
| unsigned | order () const |
| Get parameters { spline order. More... | |
| float | scale () const |
| spline scale More... | |
| bool | shifted () const |
| is shifted ? More... | |
| bool | centered () const |
| is centered ? More... | |
| virtual double | operator() (double x) const |
| Compute value. More... | |
| virtual const Point2dd & | support () const |
| Get the inferior and superior boundaries of the function support (i.e. More... | |
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 |
||
| ) |
| aims::FastBSpline::FastBSpline | ( | const FastBSpline & | other | ) |
|
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 | ) |