# Box spline

In the mathematical fields of numerical analysis and approximation theory, box splines are piecewise polynomial functions of several variables.[1] Box splines are considered as a multivariate generalization of basis splines (B-splines) and are generally used for multivariate approximation/interpolation. Geometrically, a box spline is the shadow (X-ray) of a hypercube projected down to a lower-dimensional space.[2] Box splines and simplex splines are well studied special cases of polyhedral splines which are defined as shadows of general polytopes.

## Definition

A box spline is a multivariate function ${\displaystyle (\mathbb {R} ^{d}\to \mathbb {R} )}$ defined for a set of vectors, ${\displaystyle \xi \in \mathbb {R} ^{d},}$ usually gathered in a matrix ${\displaystyle \mathbf {\Xi } :=\left[\xi _{1}\dots \xi _{N}\right].}$

When the number of vectors is the same as the dimension of the domain (i.e., ${\displaystyle N=d}$) then the box spline is simply the (normalized) indicator function of the parallelepiped formed by the vectors in ${\displaystyle \mathbf {\Xi } }$:

${\displaystyle M_{\mathbf {\Xi } }(\mathbf {x} ):={\frac {1}{\mid {\det {\Xi }}\mid }}\chi _{\mathbf {\Xi } }(\mathbf {x} )={\begin{cases}{\frac {1}{\mid {\det {\Xi }}\mid }}&{\text{if }}\mathbf {x} =\sum _{n=1}^{d}{t_{n}\xi _{n}}{\text{ for some }}0\leq t_{n}<1\\0&{\text{otherwise}}.\end{cases}}}$

Adding a new direction, ${\displaystyle \xi ,}$ to ${\displaystyle \mathbf {\Xi } ,}$ or generally when ${\displaystyle N>d,}$ the box spline is defined recursively:[1]

${\displaystyle M_{\mathbf {\Xi } \cup \xi }(\mathbf {x} )=\int _{0}^{1}M_{\mathbf {\Xi } }(\mathbf {x} -t\xi )\,{\rm {d}}t.}$

The box spline ${\displaystyle M_{\mathbf {\Xi } }}$ can be interpreted as the shadow of the indicator function of the unit hypercube in ${\displaystyle \mathbb {R} ^{N}}$ when projected down into ${\displaystyle \mathbb {R} ^{d}.}$ In this view, the vectors ${\displaystyle \xi \in \mathbf {\Xi } }$ are the geometric projection of the standard basis in ${\displaystyle \mathbb {R} ^{N}}$ (i.e., the edges of the hypercube) to ${\displaystyle \mathbb {R} ^{d}.}$

Considering tempered distributions a box spline associated with a single direction vector is a Dirac-like generalized function supported on ${\displaystyle t\xi }$ for ${\displaystyle 0\leq t<1}$. Then the general box spline is defined as the convolution of distributions associated the single-vector box splines:

${\displaystyle M_{\mathbf {\Xi } }=M_{\xi _{1}}\ast M_{\xi _{2}}\ast \dots \ast M_{\xi _{N}}.}$

## Properties

• Let ${\displaystyle \kappa }$ be the minimum number of directions whose removal from ${\displaystyle \Xi }$ makes the remaining directions not span ${\displaystyle \mathbb {R} ^{d}}$. Then the box spline has ${\displaystyle \kappa -2}$ degrees of continuity: ${\displaystyle M_{\mathbf {\Xi } }\in C^{\kappa -2}(\mathbb {R} ^{d})}$.[1]
• When ${\displaystyle N\geq d}$ (and vectors in ${\displaystyle \Xi }$ span ${\displaystyle \mathbb {R} ^{d}}$) the box spline is a compactly supported function whose support is a zonotope in ${\displaystyle \mathbb {R} ^{d}}$ formed by the Minkowski sum of the direction vectors ${\displaystyle \xi \in \mathbf {\Xi } }$.
• Since zonotopes are centrally symmetric, the support of the box spline is symmetric with respect to its center: ${\displaystyle \mathbf {c} _{\Xi }:={\frac {1}{2}}\sum _{n=1}^{N}\xi _{n}.}$
• Fourier transform of the box spline, in ${\displaystyle d}$ dimensions, is given by
${\displaystyle {\hat {M}}_{\Xi }(\omega )=\exp(-j\mathbf {c} _{\Xi }\cdot \omega )\prod _{n=1}^{N}\operatorname {sinc} (\xi _{n}\cdot \omega ).}$

## Applications

For applications, linear combinations of shifts of one or more box splines on a lattice are used. Such splines are efficient, more so than linear combinations of simplex splines, because they are refinable and, by definition, shift invariant. They therefore form the starting point for many subdivision surface constructions.

Box splines have been useful in characterization of hyperplane arrangements.[3] Also, box splines can be used to compute the volume of polytopes.[4]

In the context of multidimensional signal processing, box splines can provide multivariate interpolation kernels (reconstruction filters) tailored to non-Cartesian sampling lattices,[5] and crystallographic lattices (root lattices) that include many information-theoretically optimal sampling lattices.[6] Generally, optimal sphere packing and sphere covering lattices[7] are useful for sampling multivariate functions in 2-D, 3-D and higher dimensions.[8] In the 2-D setting the three-direction box spline[9] is used for interpolation of hexagonally sampled images. In the 3-D setting, four-direction[10] and six-direction[11] box splines are used for interpolation of data sampled on the (optimal) body-centered cubic and face-centered cubic lattices respectively.[5] The seven-direction box spline[12] has been used for modelling surfaces and can be used for interpolation of data on the Cartesian lattice[13] as well as the body centered cubic lattice.[14] Generalization of the four-[10] and six-direction[11] box splines to higher dimensions[15] can be used to build splines on root lattices.[16] Box splines are key ingredients of hex-splines[17] and Voronoi splines[18] that, however, are not refinable.

Box splines have found applications in high-dimensional filtering, specifically for fast bilateral filtering and non-local means algorithms.[19] Moreover, box splines are used for designing efficient space-variant (i.e., non-convolutional) filters.[20]

Box splines are useful basis functions for image representation in the context of tomographic reconstruction problems as the spline spaces generated by box splines spaces are closed under X-ray and Radon transforms.[21][22] In this application while the signal is represented in shift-invariant spaces, the projections are obtained, in closed-form, by non-uniform translates of box splines.[21]

In the context of image processing, box spline frames have been shown to be effective in edge detection.[23]

## References

1. ^ a b c Boor, C.; Höllig, K.; Riemenschneider, S. (1993). Box Splines. Applied Mathematical Sciences. Vol. 98. doi:10.1007/978-1-4757-2244-4. ISBN 978-1-4419-2834-4.
2. ^ Prautzsch, H.; Boehm, W.; Paluszny, M. (2002). "Box splines". Bézier and B-Spline Techniques. Mathematics and Visualization. p. 239. doi:10.1007/978-3-662-04919-8_17. ISBN 978-3-642-07842-2.
3. ^ De Concini, C.; Procesi, C. (2010). Topics in Hyperplane Arrangements, Polytopes and Box-Splines. doi:10.1007/978-0-387-78963-7. ISBN 978-0-387-78962-0.
4. ^ Xu, Z. (2011). "Multivariate splines and polytopes". Journal of Approximation Theory. 163 (3): 377–387. arXiv:0806.1127. doi:10.1016/j.jat.2010.10.005. S2CID 10063913.
5. ^ a b Entezari, Alireza. Optimal sampling lattices and trivariate box splines. [Vancouver, BC.]: Simon Fraser University, 2007. <http://summit.sfu.ca/item/8178>.
6. ^ Kunsch, H. R.; Agrell, E.; Hamprecht, F. A. (2005). "Optimal Lattices for Sampling". IEEE Transactions on Information Theory. 51 (2): 634. doi:10.1109/TIT.2004.840864. S2CID 16942177.
7. ^ J. H. Conway, N. J. A. Sloane. Sphere packings, lattices and groups. Springer, 1999.
8. ^ Petersen, D. P.; Middleton, D. (1962). "Sampling and reconstruction of wave-number-limited functions in N-dimensional euclidean spaces". Information and Control. 5 (4): 279. doi:10.1016/S0019-9958(62)90633-2.
9. ^ Condat, L.; Van De Ville, D. (2006). "Three-directional box-splines: Characterization and efficient evaluation" (PDF). IEEE Signal Processing Letters. 13 (7): 417. Bibcode:2006ISPL...13..417C. doi:10.1109/LSP.2006.871852. S2CID 9023102.
10. ^ a b Entezari, A.; Van De Ville, D.; Moller, T. (2008). "Practical Box Splines for Reconstruction on the Body Centered Cubic Lattice" (PDF). IEEE Transactions on Visualization and Computer Graphics. 14 (2): 313–328. doi:10.1109/TVCG.2007.70429. PMID 18192712. S2CID 6395127.
11. ^ a b Minho Kim, M.; Entezari, A.; Peters, Jorg (2008). "Box Spline Reconstruction on the Face-Centered Cubic Lattice". IEEE Transactions on Visualization and Computer Graphics. 14 (6): 1523–1530. doi:10.1109/TVCG.2008.115. PMID 18989005. S2CID 194024.
12. ^ Peters, Jorg; Wittman, M. (1997). "Box-spline based CSG blends". Proceedings of the fourth ACM symposium on Solid modeling and applications - SMA '97. pp. 195. doi:10.1145/267734.267783. ISBN 0897919467. S2CID 10064302.
13. ^ Entezari, A.; Moller, T. (2006). "Extensions of the Zwart-Powell Box Spline for Volumetric Data Reconstruction on the Cartesian Lattice". IEEE Transactions on Visualization and Computer Graphics. 12 (5): 1337–1344. doi:10.1109/TVCG.2006.141. PMID 17080870. S2CID 232110.
14. ^ Minho Kim (2013). "Quartic Box-Spline Reconstruction on the BCC Lattice". IEEE Transactions on Visualization and Computer Graphics. 19 (2): 319–330. doi:10.1109/TVCG.2012.130. PMID 22614329. S2CID 7338997.
15. ^ Kim, Minho. Symmetric Box-Splines on Root Lattices. [Gainesville, Fla.]: University of Florida, 2008. <http://uf.catalog.fcla.edu/permalink.jsp?20UF021643670>.
16. ^ Kim, M.; Peters, Jorg (2011). "Symmetric box-splines on root lattices". Journal of Computational and Applied Mathematics. 235 (14): 3972. doi:10.1016/j.cam.2010.11.027.
17. ^ Van De Ville, D.; Blu, T.; Unser, M.; Philips, W.; Lemahieu, I.; Van De Walle, R. (2004). "Hex-Splines: A Novel Spline Family for Hexagonal Lattices" (PDF). IEEE Transactions on Image Processing. 13 (6): 758–772. Bibcode:2004ITIP...13..758V. doi:10.1109/TIP.2004.827231. PMID 15648867. S2CID 9832708.
18. ^ Mirzargar, M.; Entezari, A. (2010). "Voronoi Splines". IEEE Transactions on Signal Processing. 58 (9): 4572. Bibcode:2010ITSP...58.4572M. doi:10.1109/TSP.2010.2051808. S2CID 9712416.
19. ^ Baek, J.; Adams, A.; Dolson, J. (2012). "Lattice-Based High-Dimensional Gaussian Filtering and the Permutohedral Lattice". Journal of Mathematical Imaging and Vision. 46 (2): 211. doi:10.1007/s10851-012-0379-2. hdl:1721.1/105344. S2CID 16576761.
20. ^ Chaudhury, K. N.; MuñOz-Barrutia, A.; Unser, M. (2010). "Fast Space-Variant Elliptical Filtering Using Box Splines". IEEE Transactions on Image Processing. 19 (9): 2290–2306. arXiv:1003.2022. Bibcode:2010ITIP...19.2290C. doi:10.1109/TIP.2010.2046953. PMID 20350851. S2CID 16383503.
21. ^ a b Entezari, A.; Nilchian, M.; Unser, M. (2012). "A Box Spline Calculus for the Discretization of Computed Tomography Reconstruction Problems" (PDF). IEEE Transactions on Medical Imaging. 31 (8): 1532–1541. doi:10.1109/TMI.2012.2191417. PMID 22453611. S2CID 3787118.
22. ^ Entezari, A.; Unser, M. (2010). "A box spline calculus for computed tomography". 2010 IEEE International Symposium on Biomedical Imaging: From Nano to Macro. p. 600. doi:10.1109/ISBI.2010.5490105. ISBN 978-1-4244-4125-9. S2CID 17368057.
23. ^ Guo, W.; Lai, M. J. (2013). "Box Spline Wavelet Frames for Image Edge Analysis". SIAM Journal on Imaging Sciences. 6 (3): 1553. doi:10.1137/120881348. S2CID 2708993.