Binary Wavelet Codes for Fast Signal Reconstruction
- 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 . On , the -dimensional sampling functions are tensor-products of one-dimensional Walsh functions. Measurements are then given by
for a function . 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 time for grid size per axis, circumventing storage of the full Hadamard matrix.
For reconstruction, compactly supported orthonormal wavelet bases are used. Each wavelet basis is generated from a scaling function and wavelet function with 0 vanishing moments, and the basis at resolution level 1 for 2 uses translated and scaled copies:
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 4 between the Walsh–Hadamard sampling basis and the wavelet basis:
5
Computing matrix-vector products with 6, with appropriate projections 7, is central to all recovery algorithms but is naively an 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:
9
where 0 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 1 and 2 (so 3 or 4 in 5D), the multiplication 6 for wavelet coefficient vector 7 is split into contributions from left boundary (8), right boundary (9), and middle columns (0).
Middle Columns
For middle indices, the sum is expressed as:
1
with
- 2 applies a length-3 FWHT to a zero-padded and shifted 4,
- 5 is a diagonal scaling with Walsh-transform-derived weights.
Each 6 is computed via one FWHT, and 7 uses only 8 precomputed weights per 9. The computational cost is 0.
Boundary Columns
For boundary indices, the inner products reduce to short sums (1 terms). The boundary contributions can be assembled directly in 2.
Complete Algorithm (1D) Structure
| Step | Operation | Complexity |
|---|---|---|
| Middle terms | 3 FWHTs + diagonal scales | 4 |
| Boundary terms | Direct, short inner products | 5 |
| Adjoint multiply | Same, with FWHTs and sub-selection | 6 |
The algorithm generalizes to 7D by applying the 1D operator to columns, then rows, with total cost 8.
4. The Dyadic Regime, Stability, and Storage Analysis
Stable recovery necessitates a sampling–reconstruction rate 9 for integer 0 (typically 1 or 2), ensuring the smallest singular value of 3 remains bounded away from zero.
Storage demands are dominated by the precomputed diagonal-weight arrays 4, which depend only on the finite set 5 and the small set of shifts 6. Hence, storage is 7, independent of 8 and 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 0. By replacing direct 1 multiplication with the 2 algorithm, significant reductions in both runtime and memory requirements are realized.
In CS, wavelet coefficients are often the object of 3-minimization or similar pursuits; pre- or post-application of the discrete wavelet transform (DWT) carries an added 4 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 5 FWHTs per multiplication (with 6 up to 7 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 8 ensures the stability of the operator, specifically that the smallest singular value of 9 does not approach zero.
A plausible implication is that boundaries, grid-size restrictions, and the choice of 0 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 1 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).