# Refinable function

In mathematics, in the area of wavelet analysis, a refinable function is a function which fulfils some kind of self-similarity. A function ${\displaystyle \varphi }$ is called refinable with respect to the mask ${\displaystyle h}$ if

${\displaystyle \varphi (x)=2\cdot \sum _{k=0}^{N-1}h_{k}\cdot \varphi (2\cdot x-k)}$

This condition is called refinement equation, dilation equation or two-scale equation.

Using the convolution (denoted by a star, *) of a function with a discrete mask and the dilation operator ${\displaystyle D}$ one can write more concisely:

${\displaystyle \varphi =2\cdot D_{1/2}(h*\varphi )}$

It means that one obtains the function, again, if you convolve the function with a discrete mask and then scale it back. There is a similarity to iterated function systems and de Rham curves.

The operator ${\displaystyle \varphi \mapsto 2\cdot D_{1/2}(h*\varphi )}$ is linear. A refinable function is an eigenfunction of that operator. Its absolute value is not uniquely defined. That is, if ${\displaystyle \varphi }$ is a refinable function, then for every ${\displaystyle c}$ the function ${\displaystyle c\cdot \varphi }$ is refinable, too.

These functions play a fundamental role in wavelet theory as scaling functions.

## Properties

### Values at integral points

A refinable function is defined only implicitly. It may also be that there are several functions which are refinable with respect to the same mask. If ${\displaystyle \varphi }$ shall have finite support and the function values at integer arguments are wanted, then the two scale equation becomes a system of simultaneous linear equations.

Let ${\displaystyle a}$ be the minimum index and ${\displaystyle b}$ be the maximum index of non-zero elements of ${\displaystyle h}$, then one obtains

${\displaystyle {\begin{pmatrix}\varphi (a)\\\varphi (a+1)\\\vdots \\\varphi (b)\end{pmatrix}}={\begin{pmatrix}h_{a}&&&&&\\h_{a+2}&h_{a+1}&h_{a}&&&\\h_{a+4}&h_{a+3}&h_{a+2}&h_{a+1}&h_{a}&\\\ddots &\ddots &\ddots &\ddots &\ddots &\ddots \\&h_{b}&h_{b-1}&h_{b-2}&h_{b-3}&h_{b-4}\\&&&h_{b}&h_{b-1}&h_{b-2}\\&&&&&h_{b}\end{pmatrix}}\cdot {\begin{pmatrix}\varphi (a)\\\varphi (a+1)\\\vdots \\\varphi (b)\end{pmatrix}}}$.

Using the discretizationTemplate:Dn operator, call it ${\displaystyle Q}$ here, and the transfer matrix of ${\displaystyle h}$, named ${\displaystyle T_{h}}$, this can be written concisely as

${\displaystyle Q\varphi =T_{h}\cdot Q\varphi }$.

This is again a fixed-point equation. But this one can now be considered as an eigenvector-eigenvalue problem. That is, a finitely supported refinable function exists only (but not necessarily), if ${\displaystyle T_{h}}$ has the eigenvalue 1.

From the values at integral points you can derive the values at dyadic points, i.e. points of the form ${\displaystyle k\cdot 2^{-j}}$, with ${\displaystyle k\in \mathbb {Z} }$ and ${\displaystyle j\in \mathbb {N} }$.

${\displaystyle \varphi =D_{1/2}(2\cdot (h*\varphi ))}$
${\displaystyle D_{2}\varphi =2\cdot (h*\varphi )}$
${\displaystyle Q(D_{2}\varphi )=Q(2\cdot (h*\varphi ))=2\cdot (h*Q\varphi )}$

The star denotes the convolution of a discrete filter with a function. With this step you can compute the values at points of the form ${\displaystyle {\frac {k}{2}}}$. By replacing iteratedly ${\displaystyle \varphi }$ by ${\displaystyle D_{2}\varphi }$ you get the values at all finer scales.

${\displaystyle Q(D_{2^{j+1}}\varphi )=2\cdot (h*Q(D_{2^{j}}\varphi ))}$

### Convolution

If ${\displaystyle \varphi }$ is refinable with respect to ${\displaystyle h}$, and ${\displaystyle \psi }$ is refinable with respect to ${\displaystyle g}$, then ${\displaystyle \varphi *\psi }$ is refinable with respect to ${\displaystyle h*g}$.

### Differentiation

If ${\displaystyle \varphi }$ is refinable with respect to ${\displaystyle h}$, and the derivative ${\displaystyle \varphi '}$ exists, then ${\displaystyle \varphi '}$ is refinable with respect to ${\displaystyle 2\cdot h}$. This can be interpreted as a special case of the convolution property, where one of the convolution operands is a derivative of the Dirac impulse.

### Integration

If ${\displaystyle \varphi }$ is refinable with respect to ${\displaystyle h}$, and there is an antiderivative ${\displaystyle \Phi }$ with ${\displaystyle \Phi (t)=\int _{0}^{t}\varphi (\tau )\mathrm {d} \tau }$, then the antiderivative ${\displaystyle t\mapsto \Phi (t)+c}$ is refinable with respect to mask ${\displaystyle {\frac {1}{2}}\cdot h}$ where the constant ${\displaystyle c}$ must fulfill ${\displaystyle c\cdot (1-\sum _{j}h_{j})=\sum _{j}h_{j}\cdot \Phi (-j)}$.

If ${\displaystyle \varphi }$ has bounded support, then we can interpret integration as convolution with the Heaviside function and apply the convolution law.

### Scalar products

Computing the scalar products of two refinable functions and their translates can be broken down to the two above properties. Let ${\displaystyle T}$ be the translation operator. It holds

${\displaystyle \langle \varphi ,T_{k}\psi \rangle =\langle \varphi *\psi ^{*},T_{k}\delta \rangle =(\varphi *\psi ^{*})(k)}$

Because of the above property, ${\displaystyle \varphi *\psi ^{*}}$ is refinable with respect to ${\displaystyle h*g^{*}}$, and its values at integral arguments can be computed as eigenvectors of the transfer matrix. This idea can be easily generalized to integrals of products of more than two refinable functions.[1]

### Smoothness

A refinable function usually has a fractal shape. The design of continuous or smooth refinable functions is not obvious. Before dealing with forcing smoothness it is necessary to measure smoothness of refinable functions. Using the Villemoes machine[2] one can compute the smoothness of refinable functions in terms of Sobolev exponents.

In a first step the refinement mask ${\displaystyle h}$ is divided into a filter ${\displaystyle b}$, which is a power of the smoothness factor ${\displaystyle (1,1)}$ (this is a binomial mask) and a rest ${\displaystyle q}$. Roughly spoken, the binomial mask ${\displaystyle b}$ makes smoothness and ${\displaystyle q}$ represents a fractal component, which reduces smoothness again. Now the Sobolev exponent is roughly the order of ${\displaystyle b}$ minus logarithm of the spectral radius of ${\displaystyle T_{q*q^{*}}}$.

## Generalization

The concept of refinable functions can be generalized to functions of more than one variable, that is functions from ${\displaystyle \mathbb {R} ^{d}\to \mathbb {R} }$. The most simple generalization is about tensor products. If ${\displaystyle \varphi }$ and ${\displaystyle \psi }$ are refinable with respect to ${\displaystyle h}$ and ${\displaystyle g}$, respectively, then ${\displaystyle \varphi \otimes \psi }$ is refinable with respect to ${\displaystyle h\otimes g}$.

The scheme can be generalized even more to different scaling factors with respect to different dimensions or even to mixing data between dimensions.[3] Instead of scaling by scalar factor like 2 the signal the coordinates are transformed by a matrix ${\displaystyle M}$ of integers. In order to let the scheme work, the absolute values of all eigenvalues of ${\displaystyle M}$ must be larger than one. (Maybe it also suffices that ${\displaystyle |\det M|>1}$.)

Formally the two-scale equation does not change very much:

${\displaystyle \varphi (x)=|\det M|\cdot \sum _{k\in \mathbb {Z} ^{d}}h_{k}\cdot \varphi (M\cdot x-k)}$
${\displaystyle \varphi =|\det M|\cdot D_{M^{-1}}(h*\varphi )}$

## References

1. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
2. {{#invoke:citation/CS1|citation |CitationClass=citation }}
3. {{#invoke:citation/CS1|citation |CitationClass=citation }}