File Exchange

image thumbnail

N-Dimensional BSplines

version 1.0.0.0 (19 KB) by Nathan Cahill
Construct coefficients of interpolating or smoothing BSplines from N-dimensional array, analytically

3 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 (2021). N-Dimensional BSplines (https://www.mathworks.com/matlabcentral/fileexchange/19632-n-dimensional-bsplines), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (8)

Yang Huang

maryam

Manu

Excellent Toolbox. Thanks!

Farhad M

Thank you very much for the useful code! Is it possible to implement the code on parallel computers for volume image interpolation?

Fer

Prakash Manandhar

Thanks... Could it be possible to add circular and mirror boundary conditions and non-uniform nodal points?

Prakash.

Shai Bagon

Nice! thanks

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!