Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
Bial::Curve Namespace Reference

Functions

Vector< size_t > BSplineKnot (size_t vertices, size_t order)
 Computes and returns the knots for the given spline. More...
 
Vector< float > BSplineBasis (const Vector< size_t > &knot, size_t order, float parameter, size_t vertices)
 Computes and returs the basis for this spline. More...
 
Matrix< float > BSpline (const Matrix< float > &vertex, const Vector< size_t > &points, size_t order)
 Computes and returs B-spline matrix with given order and dimensions, from a set of vertices. More...
 

Function Documentation

Matrix< float > Bial::Curve::BSpline ( const Matrix< float > &  vertex,
const Vector< size_t > &  points,
size_t  order 
)

Computes and returs B-spline matrix with given order and dimensions, from a set of vertices.

Date
2015/Feb/03
Parameters
verticesNumber of spline vertices in a dimension.
pointsnumber of points of the output in each dimension.
orderOrder of the B-spline.
Returns
B-spline points.
Warning
none.
Vector< float > Bial::Curve::BSplineBasis ( const Vector< size_t > &  knot,
size_t  order,
float  parameter,
size_t  vertices 
)

Computes and returs the basis for this spline.

Date
2015/Feb/03
Parameters
knotvector of knots in one dimension.
orderOrder of the B-spline.
parameterBasis parameter.
vertexset of vertices.
Returns
Vector of basis.
Warning
none.
Vector< size_t > Bial::Curve::BSplineKnot ( size_t  vertices,
size_t  order 
)

Computes and returns the knots for the given spline.

Date
2015/Feb/03
Parameters
verticesNumber of vertices in a dimension.
orderOrder of the B-spline.
Returns
Vector of knots.
Warning
none.