Papers
Topics
Authors
Recent
Search
2000 character limit reached

Binary Wavelet Codes for Fast Signal Reconstruction

Updated 22 April 2026
  • Binary wavelet codes are schemes that reconstruct signals from binary measurements using Walsh–Hadamard and compactly supported wavelet bases.
  • They leverage dyadic structures to decompose dense matrix operations into FWHTs, diagonal scaling, and boundary corrections, achieving O(N log N) complexity.
  • These methods are crucial for large-scale inverse problems like compressive sensing and medical imaging, enabling faster iterative reconstructions with reduced memory usage.

Binary wavelet codes refer to schemes and computational algorithms for efficiently reconstructing a signal from samples in a binary measurement basis—most notably, the Walsh–Hadamard basis—using wavelet functions for reconstruction. These codes and fast operator implementations exploit the special structure of Walsh–Hadamard transforms and compactly supported wavelets to enable efficient, accurate recovery of wavelet coefficients from binary data, which is pivotal for generalized sampling, compressive sensing (CS), and related inverse problems, particularly in high-dimensional settings such as medical imaging (Antun, 2021).

1. Foundations: Binary Sampling and Wavelet Bases

Binary wavelet coding arises in scenarios where signals are acquired by measuring their projections onto binary-valued function systems, typically the sequency-ordered Walsh functions {wn(x)}\{w_n(x)\}. On L2([0,1]d)\mathbb{L}^2([0,1]^d), the dd-dimensional sampling functions are tensor-products of one-dimensional Walsh functions. Measurements are then given by

yn1,,nd=[0,1]df(x)j=1dwnj(xj)dxy_{n_1,\dotsc,n_d} = \int_{[0,1]^d} f(x) \prod_{j=1}^d w_{n_j}(x_j)\,dx

for a function ff. The discrete Walsh–Hadamard transform (FWHT), which acts on vectors by combining them with Walsh functions evaluated at dyadic grid points, enables these measurements to be computed in O(NlogN)\mathcal{O}(N\log N) time for grid size N=2LN=2^L per axis, circumventing storage of the full N×NN\times N Hadamard matrix.

For reconstruction, compactly supported orthonormal wavelet bases are used. Each wavelet basis is generated from a scaling function ϕ\phi and wavelet function ψ\psi with L2([0,1]d)\mathbb{L}^2([0,1]^d)0 vanishing moments, and the basis at resolution level L2([0,1]d)\mathbb{L}^2([0,1]^d)1 for L2([0,1]d)\mathbb{L}^2([0,1]^d)2 uses translated and scaled copies:

L2([0,1]d)\mathbb{L}^2([0,1]^d)3

where “rep” denotes handling of boundary conditions (periodic or vanishing-moments-preserving).

2. The Change-of-Basis Matrix and Fast Operator Structure

The crux of binary wavelet coding is the change-of-basis matrix L2([0,1]d)\mathbb{L}^2([0,1]^d)4 between the Walsh–Hadamard sampling basis and the wavelet basis:

L2([0,1]d)\mathbb{L}^2([0,1]^d)5

Computing matrix-vector products with L2([0,1]d)\mathbb{L}^2([0,1]^d)6, with appropriate projections L2([0,1]d)\mathbb{L}^2([0,1]^d)7, is central to all recovery algorithms but is naively an L2([0,1]d)\mathbb{L}^2([0,1]^d)8 operation with prohibitive memory requirements for large-scale problems.

A pivotal result based on the dyadic-shift property of Walsh functions rewrites the interior (non-boundary) entries using a sparse sum involving the Walsh transforms of shifted scaling functions:

L2([0,1]d)\mathbb{L}^2([0,1]^d)9

where dd0 is the continuous Walsh transform. This characterization enables the decomposition of the change-of-basis multiplication into fast Walsh–Hadamard transforms, diagonal scaling, and minor boundary corrections.

3. Efficient Matrix–Vector Multiplication: Algorithm Design

For dd1 and dd2 (so dd3 or dd4 in dd5D), the multiplication dd6 for wavelet coefficient vector dd7 is split into contributions from left boundary (dd8), right boundary (dd9), and middle columns (yn1,,nd=[0,1]df(x)j=1dwnj(xj)dxy_{n_1,\dotsc,n_d} = \int_{[0,1]^d} f(x) \prod_{j=1}^d w_{n_j}(x_j)\,dx0).

Middle Columns

For middle indices, the sum is expressed as:

yn1,,nd=[0,1]df(x)j=1dwnj(xj)dxy_{n_1,\dotsc,n_d} = \int_{[0,1]^d} f(x) \prod_{j=1}^d w_{n_j}(x_j)\,dx1

with

  • yn1,,nd=[0,1]df(x)j=1dwnj(xj)dxy_{n_1,\dotsc,n_d} = \int_{[0,1]^d} f(x) \prod_{j=1}^d w_{n_j}(x_j)\,dx2 applies a length-yn1,,nd=[0,1]df(x)j=1dwnj(xj)dxy_{n_1,\dotsc,n_d} = \int_{[0,1]^d} f(x) \prod_{j=1}^d w_{n_j}(x_j)\,dx3 FWHT to a zero-padded and shifted yn1,,nd=[0,1]df(x)j=1dwnj(xj)dxy_{n_1,\dotsc,n_d} = \int_{[0,1]^d} f(x) \prod_{j=1}^d w_{n_j}(x_j)\,dx4,
  • yn1,,nd=[0,1]df(x)j=1dwnj(xj)dxy_{n_1,\dotsc,n_d} = \int_{[0,1]^d} f(x) \prod_{j=1}^d w_{n_j}(x_j)\,dx5 is a diagonal scaling with Walsh-transform-derived weights.

Each yn1,,nd=[0,1]df(x)j=1dwnj(xj)dxy_{n_1,\dotsc,n_d} = \int_{[0,1]^d} f(x) \prod_{j=1}^d w_{n_j}(x_j)\,dx6 is computed via one FWHT, and yn1,,nd=[0,1]df(x)j=1dwnj(xj)dxy_{n_1,\dotsc,n_d} = \int_{[0,1]^d} f(x) \prod_{j=1}^d w_{n_j}(x_j)\,dx7 uses only yn1,,nd=[0,1]df(x)j=1dwnj(xj)dxy_{n_1,\dotsc,n_d} = \int_{[0,1]^d} f(x) \prod_{j=1}^d w_{n_j}(x_j)\,dx8 precomputed weights per yn1,,nd=[0,1]df(x)j=1dwnj(xj)dxy_{n_1,\dotsc,n_d} = \int_{[0,1]^d} f(x) \prod_{j=1}^d w_{n_j}(x_j)\,dx9. The computational cost is ff0.

Boundary Columns

For boundary indices, the inner products reduce to short sums (ff1 terms). The boundary contributions can be assembled directly in ff2.

Complete Algorithm (1D) Structure

Step Operation Complexity
Middle terms ff3 FWHTs + diagonal scales ff4
Boundary terms Direct, short inner products ff5
Adjoint multiply Same, with FWHTs and sub-selection ff6

The algorithm generalizes to ff7D by applying the 1D operator to columns, then rows, with total cost ff8.

4. The Dyadic Regime, Stability, and Storage Analysis

Stable recovery necessitates a sampling–reconstruction rate ff9 for integer O(NlogN)\mathcal{O}(N\log N)0 (typically O(NlogN)\mathcal{O}(N\log N)1 or O(NlogN)\mathcal{O}(N\log N)2), ensuring the smallest singular value of O(NlogN)\mathcal{O}(N\log N)3 remains bounded away from zero.

Storage demands are dominated by the precomputed diagonal-weight arrays O(NlogN)\mathcal{O}(N\log N)4, which depend only on the finite set O(NlogN)\mathcal{O}(N\log N)5 and the small set of shifts O(NlogN)\mathcal{O}(N\log N)6. Hence, storage is O(NlogN)\mathcal{O}(N\log N)7, independent of O(NlogN)\mathcal{O}(N\log N)8 and O(NlogN)\mathcal{O}(N\log N)9.

5. Integration into Signal Reconstruction Frameworks

Fast Walsh–wavelet change-of-basis multiplication is crucial for iterative algorithms underlying generalized sampling, infinite-dimensional compressive sensing, and parameterised-background data-weak (PBDW) reconstruction. These methods typically involve repeated matrix–vector and adjoint–vector operations with N=2LN=2^L0. By replacing direct N=2LN=2^L1 multiplication with the N=2LN=2^L2 algorithm, significant reductions in both runtime and memory requirements are realized.

In CS, wavelet coefficients are often the object of N=2LN=2^L3-minimization or similar pursuits; pre- or post-application of the discrete wavelet transform (DWT) carries an added N=2LN=2^L4 cost, negligible relative to the main operator.

Implementation must address:

  • Accurate treatment of boundary wavelet inner products (selection of periodic vs. vanishing-moment-preserving formulation).
  • The moderate computational overhead of up to N=2LN=2^L5 FWHTs per multiplication (with N=2LN=2^L6 up to N=2LN=2^L7 practical).
  • The scheme is inherently restricted to dyadic sizes; for non-dyadic or irregular settings, generalizations such as interpolation or alternative shift lemma formulations are required.

6. Limitations and Precision Considerations

When the sampling grid or reconstruction size is non-dyadic, direct application of the presented fast transform is not possible—alternative approaches must be used. Finite-precision and numerical stability are determined by the subspace angle between the sampling and reconstruction spaces. Sufficiently large N=2LN=2^L8 ensures the stability of the operator, specifically that the smallest singular value of N=2LN=2^L9 does not approach zero.

A plausible implication is that boundaries, grid-size restrictions, and the choice of N×NN\times N0 are critical for guaranteeing effective, robust binary wavelet coding in practical scenarios.

7. Summary and Practical Significance

By exploiting the dyadic structure of Walsh–Hadamard functions and the locality of compactly supported wavelets, binary wavelet coding reorganizes dense matrix multiplications into a small number of FWHTs, diagonal scaling, and direct boundary corrections. This structure facilitates N×NN\times N1 forward and adjoint operators, enabling high-efficiency wavelet recovery from binary samples on very large problems in one and two dimensions. These advancements directly impact medical imaging and related fields, where rapid and accurate signal reconstruction from binary data is essential (Antun, 2021).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Binary Wavelet Codes.