Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

5. Linear and Nonlinear Approximation

CNRS & DMA, École Normale Supérieure

Chapter PDF · Complete book

When only a limited number of coefficients can be retained, the choice of representation determines which features of a signal survive. Approximation rates quantify this tradeoff and help explain the performance of compression and denoising methods. We compare fixed and adaptive coefficient selection, relate Fourier and wavelet errors to smoothness and edges, and examine triangulations and curvelets for images with smooth contours.

The analysis concerns functions fL2([0,1]d)f \in L^2([0,1]^d) on a continuous domain, with d=1,2d=1,2.

5.1 Approximation

5.1.1 Approximation in an Orthonormal Basis

Let B={ψm}m\mathcal{B}= \{ \psi_m \}_m be an orthonormal basis of L2([0,1]d)L^2([0,1]^d), with d=1d=1 for signals or d=2d=2 for images. The complete expansion in this basis,

f=mZf,ψmψmf = \sum_{m \in \mathbb{Z}} \langle f,\,\psi_m\rangle \psi_m

reconstructs the signal exactly. Approximation and processing methods modify the coefficients f,ψm\langle f,\,\psi_m\rangle, introducing a reconstruction error.

The simplest approximation reconstructs the signal from a subset IMZI_M \subset \mathbb{Z} of MM coefficients:

fM:=mIMf,ψmψm,whereM=IM.f_M \mathrel{:=}\sum_{m \in I_M} \langle f,\,\psi_m\rangle \psi_m, \quad \text{where} \quad M = |I_M|.

The reconstructed signal fMf_M is the orthogonal projection of ff onto the space

VM:=Span{ψm  ;  mIM}.V_M \mathrel{:=}\mathop{\mathrm{Span}} \left\{ \psi_m \;;\; m \in I_M \right\} .

If the selected space VMV_M depends on ff, the overall approximation map ffMf \mapsto f_M may be nonlinear, even though projection onto each fixed space is linear.

Since the basis is orthogonal, the approximation error is

 ⁣ffM ⁣2=mIMf,ψm2.|\!| f-f_M |\!|^2 = \sum_{m \notin I_M} |\langle f,\,\psi_m\rangle|^2.

The central choice is the retained index set IMI_M, which may depend on the signal ff.

5.1.2 Linear Approximation

Fixing IMI_M independently of the input gives a linear approximation: the same coefficients are retained for every ff. The map ffMf \mapsto f_M is then orthogonal projection onto a fixed space VMV_M, and it satisfies

(f+g)M=fM+gM(f+g)_M = f_M + g_M

For the Fourier basis and an even coefficient budget, one usually selects the low-frequency atoms

IM={M/2+1,,M/2}.I_M = \{-M/2+1,\ldots,M/2\}.

For a 1-D wavelet basis, one usually selects the coarse wavelets

IM={coarsest scaling atoms and wavelets (j,n) with jj0}I_M=\{\text{coarsest scaling atoms and wavelets }(j,n)\text{ with }j\geqslant j_0\}

where j0j_0 is selected such that IM=M|I_M|=M.

Figure 5.1. Linear versus nonlinear wavelet approximation.

Figure 5.1, center, illustrates linear wavelet approximation. Discarding all fine-scale details blurs singularities, where the approximation is least accurate.

5.1.3 Nonlinear Approximation

Allowing IMI_M to depend on ff gives a nonlinear approximation. To choose IMI_M that minimizes  ⁣ffM ⁣|\!| f-f_M |\!|, orthogonality reduces the problem to retaining the MM coefficients of largest magnitude:

IM={M largest coefficients f,ψm}.I_M= \{ M \text{ largest coefficients } |\langle f,\,\psi_m\rangle| \}.

When there are no ties at the cutoff, this can be obtained by thresholding

IM={m  ;  f,ψm>T}I_M = \left\{ m \;;\; |\langle f,\,\psi_m\rangle|>T \right\}

where TT depends on the number of coefficients MM,

M=#{m  ;  f,ψm>T}.M = \# \left\{ m \;;\; |\langle f,\,\psi_m\rangle|>T \right\} .

Computation of the threshold.

Order the coefficient magnitudes in nonincreasing order. For a finite vector, write

d1dN0,{dm}m=1N={f,ψm}m=1N.(5.1)d_1\geqslant\cdots\geqslant d_N\geqslant 0,\qquad\{d_m\}_{m=1}^{N}=\{|\langle f,\,\psi_m\rangle|\}_{m=1}^{N} . \tag{5.1}

If dM>dM+1d_M>d_{M+1}, any threshold dM+1T<dMd_{M+1}\leqslant T<d_M retains exactly MM coefficients. At a tie, a deterministic rule must select among equal coefficients. Thus the threshold TT and coefficient count MM do not determine each other uniquely. Figure 5.2 illustrates the relationship.

The following proposition shows that the decay of the ordered coefficients governs the decay of the nonlinear approximation error.

Figure 5.2. Ordered coefficient magnitudes and the threshold used for nonlinear approximation.

Hard thresholding.

For the coefficient set selected by a threshold TT, the nonlinear approximation can be written as

fM=f,ψm>Tf,ψmψm=mST(f,ψm)ψm,(5.3)f_M = \sum_{ |\langle f,\,\psi_m\rangle|>T } \langle f,\,\psi_m\rangle \psi_m = \sum_m S_T(\langle f,\,\psi_m\rangle) \psi_m, \tag{5.3}

where

ST(x)={xifx>T0ifxT(5.4)S_T(x) = \left\{ \begin{array}{l} x \quad \text{if} \quad |x|>T \\ 0 \quad \text{if} \quad |x| \leqslant T \end{array} \right. \tag{5.4}

is the hard thresholding operator displayed in Figure 5.3.

Figure 5.3. Hard thresholding.

5.2 Signal and Image Modeling

A signal model specifies a constraint fΘf \in \Theta, where ΘL2([0,1]d)\Theta \subset L^2([0,1]^d) is the class of signals of interest. Figure 5.4 shows different image models, which we describe below.

Figure 5.4. Examples of image models. The bounded-variation example is generated by ROF total-variation denoising of white noise.

5.2.1 Uniformly Smooth Signals and Images

Signals with derivatives.

The simplest model consists of uniformly smooth signals with bounded derivatives

Θ={fL2([0,1]d)  ;   ⁣f ⁣CαC},(5.5)\Theta= \left\{ f \in L^2([0,1]^d) \;;\; |\!| f |\!|_{\text{C}^\alpha} \leqslant C \right\} , \tag{5.5}

where C>0C>0 is fixed. For integer α1\alpha\geqslant 1, in one dimension

 ⁣f ⁣Cα:=max0kα   ⁣dkfdtk ⁣.|\!| f |\!|_{\text{C}^\alpha} \mathrel{:=}\underset{0\leqslant k\leqslant\alpha}{\max}\; \Big|\!\Big| \frac{\mathrm{d}^k f}{\mathrm{d}t^k} \Big |\!\Big|_{\infty}.

In higher dimensions, take the maximum over all partial derivatives of total order at most α\alpha. For noninteger α=m+β\alpha=m+\beta, 0<β<10<\beta<1, use the usual Hölder norm: derivatives through order mm are bounded, and order-mm derivatives are β\beta-Hölder continuous.

Sobolev smooth signals and images.

For integer α1\alpha\geqslant 1, a Cα\text{C}^\alpha signal in the model (5.5) has derivatives with bounded energy:

dαfdtα(t)=f(α)(t)L2([0,1]).\frac{\mathrm{d}^\alpha f}{\mathrm{d}t^\alpha}(t) = f^{(\alpha)}(t) \in L^2([0,1]).

For integer α\alpha and periodic boundary conditions, use the identity

f^m(α)=(2iπm)αf^m\hat f^{(\alpha)}_m = (2i\pi m)^\alpha\hat f_m

Here f^\hat f denotes Fourier coefficients as in (2.2), now on R/Z\mathbb{R}/\mathbb{Z} rather than R/2πZ\mathbb{R}/2\pi\mathbb{Z}:

f^n:=01e2iπnxf(x)dx,\hat f_n \mathrel{:=}\int_0^1 e^{-2\mathrm{i}\pi n x} f(x) \mathrm{d}x,

This motivates the homogeneous Sobolev seminorm

 ⁣f ⁣Sob(α)2=mZ2πm2αf,em2,(5.6)|\!| f |\!|_{\text{Sob}(\alpha)}^2 = \sum_{m \in \mathbb{Z}} |2\pi m|^{2\alpha} |\langle f,\,e_m\rangle|^2, \tag{5.6}

so that  ⁣f ⁣Sob(α)= ⁣f(α) ⁣|\!| f |\!|_{\text{Sob}(\alpha)} = |\!| f^{(\alpha)} |\!| for smooth periodic functions. The same seminorm applies when the derivatives exist only in the distributional sense and belong to L2([0,1])L^2([0,1]).

This definition extends to distributions and signals fL2([0,1]d)f \in L^2([0,1]^d) of arbitrary dimension dd as

 ⁣f ⁣Sob(α)2=mZd(2π ⁣m ⁣)2αf,em2,(5.7)|\!| f |\!|_{\text{Sob}(\alpha)}^2 = \sum_{m \in \mathbb{Z}^d} (2\pi |\!| m |\!|)^{2\alpha} |\langle f,\,e_m\rangle|^2, \tag{5.7}

The periodic Sobolev model

Θ={fL2([0,1]d)  ;   ⁣f ⁣22+ ⁣f ⁣Sob(α)2C}(5.8)\Theta= \left\{ f \in L^2([0,1]^d) \;;\; |\!| f |\!|_2^2+|\!| f |\!|_{\text{Sob}(\alpha)}^2\leqslant C \right\} \tag{5.8}

includes the corresponding periodic CαC^\alpha model (5.5) for integer α\alpha, after adjusting the radius of the ball. For noninteger α\alpha, Hölder regularity gives Sobolev regularity of every order s<αs<\alpha, but need not give regularity of order α\alpha itself.

Figure 5.5 shows progressively smoother images obtained by Gaussian filtering of the same white-noise realization. Each result is rescaled to the same mean and variance, so the comparison emphasizes spatial regularity rather than a loss of contrast.

Figure 5.5. Progressive Gaussian filtering of one white-noise image. Smoothing widths increase from left to right; the displayed images have the same mean and variance.

5.2.2 Piecewise Regular Signals and Images

Piecewise smooth signals.

A piecewise smooth 1-D signal fL2([0,1])f \in L^2([0,1]) is Cα\text{C}^\alpha on the intervals separated by at most KK interior singular points:

Θ={fL2([0,1])  ;  0=t0<t1<<tK+1=1,max0iK ⁣f(ti,ti+1) ⁣CαC}(5.9)\Theta= \left\{ f \in L^2([0,1]) \;;\; \exists\,0=t_0<t_1<\cdots<t_{K+1}=1,\quad\max_{0\leqslant i\leqslant K}|\!| f|_{(t_i,t_{i+1})} |\!|_{\text{C}^\alpha}\leqslant C \right\} \tag{5.9}

Here f(ti,ti+1)f|_{(t_i,t_{i+1})} denotes the restriction of ff to the open interval (ti,ti+1)(t_i,t_{i+1}).

Piecewise smooth images.

A piecewise smooth image is a function fL2([0,1]2)f \in L^2([0,1]^2) with Cα\text{C}^\alpha regularity away from at most KK rectifiable curves:

Θ={fL2([0,1]2)  ;  Γ=i=0K1γi,   ⁣f ⁣Cα(Γc)C1andγiC2}(5.10)\Theta= \left\{ f \in L^2([0,1]^2) \;;\; \exists \, \Gamma=\bigcup_{i=0}^{K-1}\gamma_i, \; |\!| f |\!|_{\text{C}^\alpha(\Gamma^c)} \leqslant C_1 \quad \text{and} \quad |\gamma_i| \leqslant C_2 \right\} \tag{5.10}

Here γi|\gamma_i| denotes curve length. The CαC^\alpha bound applies separately within each smooth region, with uniform one-sided regularity up to its edges.

Segmentation methods such as the one proposed by Mumford and Shah [24] implicitly assume such a piecewise smooth image model.

5.2.3 Bounded Variation Signals and Images

Bounded variation provides a more flexible model for signals with edges

Θ={fL2([0,1]d)  ;   ⁣f ⁣C1and ⁣f ⁣TVC2}.(5.11)\Theta= \left\{ f\in L^2([0,1]^d) \;;\; |\!| f |\!|_{\infty} \leqslant C_1 \quad \text{and} \quad |\!| f |\!|_{\text{TV}} \leqslant C_2 \right\} . \tag{5.11}

For d=1d=1 and d=2d=2, this model includes the piecewise smooth signal and image models (5.9) and (5.10) when α1\alpha\geqslant 1, after adjusting the constants. Bounds on the derivatives, jump sizes, and total edge length then control the variation.

The total variation of a smooth function is

 ⁣f(x) ⁣dx\int |\!| \nabla f(x) |\!| \mathrm{d}x

where

f(x)=(fxi)i=0d1Rd\nabla f(x) = \left( \frac{\partial f}{\partial x_i} \right)_{i=0}^{d-1} \in \mathbb{R}^d

is the gradient at xx. Total variation also extends to discontinuous images, including those with jumps across edges. The coarea formula expresses the total variation of a piecewise smooth image as an integral of the perimeters of its superlevel sets:

 ⁣f ⁣TV=Per({f>t};Ω)dt,Ω=(0,1)d.(5.12)|\!| f |\!|_{\text{TV}}=\int_{-\infty}^{\infty}\operatorname{Per}(\{f>t\};\Omega)\,\mathrm{d}t,\qquad\Omega=(0,1)^d. \tag{5.12}

Here the perimeter is relative to the image domain. For smooth functions in two dimensions it agrees, for almost every tt, with the length of the level curve. For a bounded set ΩR2\Omega\subset\mathbb{R}^2 with piecewise smooth boundary, taking total variation on all of R2\mathbb{R}^2 gives

 ⁣1Ω ⁣TV=Ω.|\!| 1_\Omega |\!|_{\text{TV}} = |\partial \Omega|.

The model of bounded variation was introduced in image processing by Rudin, Osher and Fatemi [28].

5.2.4 Cartoon Images

The bounded-variation model (5.11) controls total perimeter but does not require individual edges to be smooth. For images with smooth contours, incorporating that additional geometry can improve approximation and processing.

The Cα\text{C}^\alpha cartoon model consists of 2-D functions that are Cα\text{C}^\alpha away from at most KK smooth edge curves γi\gamma_i:

Θ={fL2([0,1]2)  ;  Γ=i=0K1γi,   ⁣f ⁣Cα(Γc)C1and ⁣γi ⁣CαC2}(5.13)\Theta= \left\{ f \in L^2([0,1]^2) \;;\; \exists \, \Gamma=\bigcup_{i=0}^{K-1}\gamma_i, \; |\!| f |\!|_{\text{C}^\alpha(\Gamma^c)} \leqslant C_1 \quad \text{and} \quad |\!| \gamma_i |\!|_{\text{C}^\alpha} \leqslant C_2 \right\} \tag{5.13}

Each curve is parameterized by arc length on [0,Ai][0,A_i], with a uniform bound on AiA_i and its CαC^\alpha norm. Figure 5.6 illustrates a progressive dead-leaves construction: opaque shapes are placed successively, producing smooth visible contour segments and occlusion boundaries.

Figure 5.6. Progressive dead-leaves construction: later opaque shapes cover earlier ones, producing a family of cartoon images.

Optical diffraction can blur these edges, motivating the blurred cartoon model

Θ~={f~=fhL2([0,1]2)  ;  fΘandhH}(5.14)\tilde\Theta= \left\{ \tilde f = f \star h \in L^2([0,1]^2) \;;\; f \in \Theta \quad \text{and} \quad h \in \mathcal{H} \right\} \tag{5.14}

where Θ\Theta is the sharp-image model (5.13) and H\mathcal{H} specifies the admissible blur kernels. For example, h0h \geqslant 0 may be required to be smooth and localized in both space and frequency. Unknown blur makes it difficult to first detect the edges Γ\Gamma and then process the smooth regions separately.

Figure 5.7 shows examples of images in Θ\Theta and Θ~\tilde\Theta.

Figure 5.7. A grayscale frame from Feline Follies (1919), a mathematical jump along a smooth graph, and a Gaussian-smoothed cartoon. Film frame: Pat Sullivan, via Wikimedia Commons, public domain.

5.3 Efficient Approximation

5.3.1 Decay of Approximation Error

To process signals in Θ\Theta efficiently, we seek an orthonormal basis in which the nonlinear approximation error  ⁣ffM ⁣|\!| f-f_M |\!| tends to 0 as rapidly as possible when MM grows.

Polynomial error decay.

This error decay is measured using a power law

fΘ,  M, ⁣ffM ⁣2CfMα(5.15)\forall \,f \in \Theta, \; \forall \,M, \quad |\!| f-f_M |\!|^2 \leqslant C_f M^{-\alpha} \tag{5.15}

Here α\alpha is common to all signals in the model; larger values mean faster decay. The exponent depends on the basis and the model Θ\Theta, and measures how efficiently the basis represents that class. The constant CfC_f may depend on the particular signal ff.

Relevance for compression, denoising and inverse problems.

Approximation rates have practical consequences. Section 6.1 relates compression error to nonlinear approximation error, explaining why an effective approximation basis also supports efficient compression.

Chapter 7 develops a similar connection for thresholding denoisers. Thresholding forms a nonlinear approximation of the noisy image, and the expected denoising error is controlled by how well the basis approximates the clean signal.

Chapter 10 uses compressibility in a chosen basis to address inverse problems such as super-resolution and inpainting. Efficient approximation of the unknown signal helps recover missing information, provided the measurement operator retains enough information about sparse combinations of basis atoms. Recovery performance therefore depends on both the basis and the measurements.

Comparison of signals.

With the basis fixed, the decay of  ⁣ffM ⁣|\!| f-f_M |\!| compares the approximation complexity of different images. Figure 5.9 illustrates how intricate geometry and textures slow down wavelet approximation.

To reveal approximate power-law behavior, the error curves are displayed on logarithmic axes. An exact power law has the form

log( ⁣ffM ⁣2)=cstαlog(M)\log(|\!| f-f_M |\!|^2) = \text{cst} - \alpha\log(M)

and appears as a straight line with slope α-\alpha. For sampled data, this behavior is generally studied when MNM \ll N; as MNM \approx N, retaining nearly all coefficients drives the error to zero.

Figure 5.8. Test images with different structures: smooth, cartoon, flower, and mandrill.

Figure 5.9. Wavelet approximation error for the images in Figure 5.8.

5.3.2 Comparison of bases.

For a fixed image ff, the decay of  ⁣ffM ⁣|\!| f-f_M |\!| compares the efficiency of different bases. Figure 5.11 makes this comparison for an image containing contours and textures. The Fourier basis of Section 2.5 performs poorly here: periodic boundaries create artifacts, and globally supported atoms do not follow local contours. The cosine basis removes the periodic boundary discontinuity through symmetric extension, but its atoms remain global. Local DCT bases use cosine atoms on small square patches, improving localization. At small coefficient budgets MM, however, their block structure produces visible artifacts. The isotropic wavelet basis of Section 4.5.2 performs best in this example by combining localized atoms with a multiresolution organization.

Figure 5.10. Fourier, DCT, and wavelet approximations of the same 256×256256\times256 flower image, each retaining M=4096M=4096 real orthonormal coefficients.

Figure 5.11. Comparison of approximation error decay for different bases.

Figure 5.12 summarizes the approximation rates developed in the following sections for different data models.

Figure 5.12. Summary of linear and nonlinear approximation rates  ⁣ffM ⁣2|\!| f-f_M |\!|^2 for different classes of 1-D signals and images.

5.4 Fourier Linear Approximation of Smooth Functions

For integer α\alpha, the smooth model (5.5) bounds all continuous derivatives through that order. Greater regularity of ff, measured by a larger α\alpha, permits faster approximation. Figure 5.5 illustrates the related Sobolev measure of smoothness.

5.4.1 1-D Fourier Approximation

A 1-D signal fL2([0,1])f \in L^2([0,1]) is associated with a 1-periodic function f(t+1)=f(t)f(t+1)=f(t) defined for tRt \in \mathbb{R}.

Low pass approximation.

For even MM, consider the linear Fourier approximation that retains frequencies up to M/2M/2:

fMlin=m=M/2M/2f,ememf_M^{\text{lin}} = \sum_{m=-M/2}^{M/2} \langle f,\,e_m\rangle e_m

where we use the 1-D Fourier atoms

mZ,em(t):=e2iπmt.\forall \,m\in\mathbb{Z},\quad e_m(t) \mathrel{:=}e^{2 i \pi m t}.

This symmetric cutoff retains M+1M+1 Fourier atoms; the extra coefficient does not affect the asymptotic rates below.

Figure 5.13 shows these approximations for increasing MM. The jumps in ff produce substantial error and ringing near the singularities.

Figure 5.13. Fourier approximation of a signal.

This low-pass approximation is a convolution, since

fM=m=M/2M/2f,emem=fhMwhereh^M:=1[M/2,M/2].f_M = \sum_{m=-M/2}^{M/2} \langle f,\,e_m\rangle e_m = f \star h_M \quad \text{where} \quad \hat h_{M} \mathrel{:=}1_{[-M/2,M/2]}.

The kernel hMh_M is the Dirichlet kernel introduced in the Fourier chapter.

The following elementary bound shows that this approximation error decays for Cα\mathcal{C}^\alpha signals.

Using the full energy of f(α)f^{(\alpha)} gives a sharper bound under the same assumptions. The argument also applies to the larger Sobolev class.

This rate is optimal uniformly over a Sobolev ball. The best MM-term Fourier approximation satisfies the same upper bound because it is at least as accurate as the low-pass approximation; individual functions may have faster decay.

For signals with piecewise Lipschitz regularity in the model (5.9), such as the example in Figure 5.13, the general bound for both linear and nonlinear Fourier approximation errors is

 ⁣ffM ⁣2CfM1(5.19)|\!| f-f_M |\!|^2 \leqslant C_f M^{-1} \tag{5.19}

and Fourier atoms are no longer optimal for approximation.

For example, the interval indicator f=1[a,b]f=1_{[a,b]} has coefficients f^m=(e2πimae2πimb)/(2πim)\hat f_m=(e^{-2\pi\mathrm{i}ma}-e^{-2\pi\mathrm{i}mb})/(2\pi\mathrm{i}m) for m0m\neq0, and hence  ⁣ffM ⁣2M1|\!| f-f_M |\!|^2\asymp M^{-1} when 0<ba<10<b-a<1 for both linear and nonlinear approximations.

5.4.2 Sobolev Images

The same argument applies to images and higher-dimensional data through the Sobolev seminorm (5.7) with d>1d>1.

For an α\alpha-regular Sobolev image, the linear and nonlinear approximation errors satisfy

 ⁣ffM ⁣2C ⁣f ⁣Sob(α)2Mα.|\!| f-f_M |\!|^2 \leqslant C |\!| f |\!|_{\mathrm{Sob}(\alpha)}^2 M^{-\alpha}.

For dd-dimensional data f:[0,1]dRf : [0,1]^d \rightarrow \mathbb{R}, the corresponding error bound is O(M2α/d)O(M^{-2\alpha/d}).

For an image with piecewise Lipschitz regularity and finite-length edges in the model (5.10), the linear and nonlinear errors satisfy the slower general bound

 ⁣ffM ⁣2CfM1/2,(5.20)|\!| f-f_M |\!|^2 \leqslant C_f M^{-1/2}, \tag{5.20}

and Fourier atoms are no longer optimal for approximation.

Figure 5.14. Linear (top row) and nonlinear (bottom row) Fourier approximation.

5.5 Wavelet Approximation of Piecewise Smooth Functions

Wavelets improve approximation near singularities because their support is localized.

5.5.1 Decay of Wavelet Coefficients

To approximate smooth regions efficiently, choose wavelets with sufficiently many vanishing moments, denoted by pp:

k=0,,p1,  ψ(x)xkdx=0.\forall \,k=0,\ldots,p-1, \; \int \psi(x) x^k \mathrm{d}x = 0.

Choose pαp\geqslant\alpha, where α\alpha is the regularity of the signal outside singularities (for instance jumps or kinks).

Figure 5.15. Singular and regular regions of a signal (left) and an image (right).

To quantify the approximation error decay for piecewise smooth signals (5.9) and images (5.10), one treats wavelets supported in smooth regions separately from those crossing singularities. Figure 5.15 locates the singular and regular regions of a signal and an image.

5.5.2 1-D Piecewise Smooth Approximation

For a piecewise smooth 1-D signal in the model (5.9), the large coefficients f,ψj,n\langle f,\,\psi_{j,n}\rangle concentrate near singularities. Denote the finite set of singular points by S[0,1]\mathcal{S}\subset [0,1].

For piecewise Lipschitz signals, the wavelet rate is faster than the jump-limited O(M1)O(M^{-1}) Fourier bound in (5.19). It also matches the smooth-signal rate (5.16): finitely many singularities do not worsen the asymptotic exponent in one dimension. The rate (5.23) is asymptotically optimal for this class.

Figure 5.17. 1-D wavelet approximation.

Figure 5.17 shows examples of wavelet approximation of singular signals.

5.5.3 2-D Piecewise Smooth Approximation

We now give the counterpart of Theorem 5.5 for 2-D functions.

The wavelet rate improves on the O(M1/2)O(M^{-1/2}) Fourier rate (5.20), but it still fails to exploit the full Cα\text{C}^\alpha regularity away from the edge curves.

This rate also holds for the broader bounded-variation model (5.11), for which wavelet approximation is asymptotically optimal.

Figure 5.18. 2-D wavelet approximation.

Figure 5.18 shows wavelet approximations of a bounded variation image.

5.6 Approximation of Cartoon Images

The isotropic, compactly supported wavelets considered here occupy squares that do not follow the smooth contours of geometric images (5.13). These contours have more structure than the finite-length level sets allowed by the bounded-variation model (5.11).

5.6.1 Wavelet Approximation of Cartoon Images

The bound (5.31) gives a wavelet approximation rate of O(M1)O(M^{-1}) for cartoon images (5.13). Even the simple indicator f=1Ωf=1_\Omega, where Ω\Omega is a disk, can attain this slow rate: isotropic wavelets do not efficiently follow its curved boundary. The smoothed cartoon model (5.14) can behave similarly when the coefficient budget MM is too small to resolve the blur.

Figure 5.19 shows that many large coefficients are located near edge curves, and retaining only a small number leads to a poor approximation with visually unpleasant artifacts.

Figure 5.19. Wavelet approximation of a cartoon image.

5.6.2 Finite Element Approximation

An adaptive triangulation can improve the approximation by using elongated triangles aligned with the edges. Figure 5.20 shows an example of such a triangulation.

Figure 5.20. A cartoon with smooth variation on both sides of an elliptical jump, a triangulation elongated along that boundary, and the continuous P1P_1 interpolant.

Select MM points in the image domain [0,1]2[0,1]^2 and connect them into a triangulation. Define f~M\tilde f_M by piecewise affine interpolation on the resulting triangles.

Figure 5.21. The same mesh over a lightened P1P_1 interpolant (left), with the boxed boundary region enlarged (right). Thin triangles follow the red singularity curve; the arrow indicates its tangent. Smooth regions use nearly equilateral elements.

Figure 5.21 illustrates a construction for C2\text{C}^{2} cartoon images (5.13) with α=2\alpha=2. In smooth regions, use M/2\approx M/2 nearly equilateral triangles of width M1/2\approx M^{-1/2}. Near the edges, exploit the C2\text{C}^{2} contour regularity by placing M/2\approx M/2 elongated triangles of length M1\approx M^{-1} along the contours and width M2\approx M^{-2} across them. Such a triangulation yields the error bound

 ⁣ffM ⁣2=O(M2),(5.32)|\!| f-f_M |\!|^2 = O(M^{-2}), \tag{5.32}

which improves over the wavelet approximation error decay (5.31).

Implementing this construction requires estimating the edges. This is particularly difficult for blurred cartoon images with an unknown smoothing kernel hh.

Practical methods use heuristics or greedy rules to select sample points and triangulate them from discrete or noisy data. Figure 5.22 uses a known synthetic contour to isolate the effect of mesh geometry. Both regions have smooth, nonaffine intensities. The displayed P1P_1 image is decoded from an explicit mesh stream whose bit count includes vertex coordinates, values, connectivity, and headers; this example does not assume an optimal mesh code.

Figure 5.22. Compression of a piecewise-smooth cartoon using a contour-aligned mesh and JPEG-2000 at the same transmitted bit budget. From left to right: original, mesh, decoded P1P_1 image, and JPEG-2000 image. Mesh costs include coordinates, nodal values, connectivity, and headers.

5.6.3 Curvelet Approximation

A fixed family of oriented, anisotropic atoms offers an alternative to adaptive triangulations. Candès and Donoho introduced the curvelet frame for this purpose [5].

Curvelets.

At fine scales j0j\leqslant 0, the geometry can be illustrated by applying parabolic scaling to a horizontally oriented mother function cc,

c2j(x1,x2)23j/4c(2j/2x1,2jx2),c_{2^j}(x_1,x_2) \approx 2^{-3j/4} c(2^{-j/2} x_1, 2^{-j} x_2),

followed by translation and rotation,

c2j,uθ(x1,x2)=c2j(Rθ(xu))c_{2^j,u}^\theta(x_1,x_2) = c_{2^j}(R_{-\theta}(x-u))

where RθR_\theta is the rotation of angle θ\theta.

The atom c2j,uθc_{2^j,u}^\theta is localized near uu and oriented at angle θ\theta. Its dimensions obey “width \approx length2^2”, the same relation used for adaptive triangles near edges. This scaling matches the contour geometry of the cartoon model (5.13) with α=2\alpha=2.

Figure 5.23. A curvelet cmc_m in space (left) and its localization in the Fourier domain (right).

Figure 5.23 illustrates this localization in space and frequency.

Parameter discretization.

To build an image representation, one needs to sample the position uu and orientation θ\theta. The angular sampling interval depends on the scale:

0k<2j/2+2,θk(j)=kπ2j/21\forall \,0 \leqslant k < 2^{-\lceil j/2 \rceil+2}, \quad \theta_{k}^{(j)} = k \pi 2^{ \lceil j/2 \rceil -1 }

and the spatial grid depends on both scale and orientation:

m=(m1,m2)Z2,um(j,θ)=Rθ(2j/2m1,2jm2).\forall \,m=(m_1,m_2) \in \mathbb{Z}^2, \quad u_m^{(j,\theta)} = R_\theta( 2^{j/2} m_1, 2^j m_2 ).

Figure 5.24 shows this sampling pattern.

Figure 5.24. Sampling pattern for the curvelet positions.

Curvelet tight frame.

The scaling and sampling formulas above describe the geometry of curvelets. An exact tight frame additionally requires carefully chosen frequency windows and a low-frequency family; an arbitrary mother function cc does not suffice. With this construction, write the complete family as (Cλ)λΛ(C_\lambda)_{\lambda\in\Lambda}, where Λ\Lambda includes the fine-scale indices (j,m,k)(j,m,k) and the low-frequency indices. Then

 ⁣f ⁣2=λΛf,Cλ2,f=λΛf,CλCλ.|\!| f |\!|^2=\sum_{\lambda\in\Lambda}|\langle f,\,C_\lambda\rangle|^2, \qquad f=\sum_{\lambda\in\Lambda}\langle f,\,C_\lambda\rangle C_\lambda.

The reconstruction converges in L2L^2. These are the Parseval-frame identities; the family is redundant and its atoms are not mutually orthogonal.

One discrete construction for an image with NN pixels uses 5N\approx 5 N atoms [7].

Curvelet approximation.

A nonlinear MM-term approximation in curvelets is defined as

fM=λΛ:f,Cλ>Tf,CλCλf_M = \sum_{\lambda\in\Lambda:\,|\langle f,\,C_\lambda\rangle| > T} \langle f,\,C_\lambda\rangle C_\lambda

The complete index set Λ\Lambda includes the low-frequency family, and the threshold TT determines the number MM of retained coefficients. As before, ties require a selection rule if an exact coefficient count is prescribed. Because the frame is not orthogonal, fMf_M need not be the best MM-term curvelet approximation.

Far from an edge, at locations um(j,θ)u_m^{(j,\theta)}, cancellation makes the coefficients f,Cj,m,k\langle f,\,C_{j,m,k}\rangle small. When um(j,θ)u_m^{(j,\theta)} lies near an edge with tangent direction θ~\tilde\theta, the coefficient f,Cj,m,k\langle f,\,C_{j,m,k}\rangle rapidly decreases as the orientation mismatch θθ~|\theta-\tilde \theta| grows. Figure 5.25 compares this adaptation to edges with the square supports of directional wavelets.

Figure 5.25. Wavelet (left) and curvelet (right) approximation of a cartoon image.

Combining spatial cancellation, directional selectivity, and scale-dependent sampling gives the approximation bound

 ⁣ffM ⁣2=O(log3(M)M2)|\!| f-f_M |\!|^2 = O(\log^3(M) M^{-2})

for images in the cartoon model (5.13) for α=2\alpha=2. This nearly matches the adaptive-triangulation rate (5.32), while allowing fMf_M to be computed in O(Nlog(N))O(N \log(N)) operations for an image of NN pixels.

Redundancy complicates the use of curvelets for compression, but their approximation properties are useful for denoising geometric images and textures. Figure 5.26 compares curvelet and wavelet denoising using the thresholding method of Section 7.3.1.

Figure 5.26. Comparison of translation-invariant wavelet denoising and curvelet denoising.