N-Dimensional BSplines

Construct coefficients of interpolating or smoothing BSplines from N-dimensional array, analytically
3.5K Downloads
Updated 28 Apr 2008

View License

Class to enable BSpline signal and image processing. Based off of the papers:

M. Unser, A. Aldroubi, and M. Eden, "B-Spline Signal Processing: Part I - Theory," IEEE Trans Sig Proc, 41(2):821-833, Feb 1993.

M. Unser, A. Aldroubi, and M. Eden, "B-Spline Signal Processing: Part II - Efficient Design and Applications," IEEE Trans Sig Proc, 41(2):834-848, Feb 1993.

The class constructor, bsarray.m, takes as input a n-dimensional array, and computes B-spline coefficients for interpolating or smoothing splines of any order less than or equal to 7.

Other member functions enable various computations/manipulations:

indirectFilter.m: reconstructs a signal from BSpline coefficients stored in a bsarray object

partial.m: analytically computes the partial derivative, returning a bsarray object of one less degree in the desired dimension

interp1.m, interp2.m, interp3.m: overloaded versions of interp1, interp2, and interp3, that operate on bsarray objects to interpolate the original data.

See help on each of these functions for instructions on how to call them.

Cite As

Nathan Cahill (2024). N-Dimensional BSplines (https://www.mathworks.com/matlabcentral/fileexchange/19632-n-dimensional-bsplines), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

Initial submission was the wrong zip file containing an unfinished version of the class.