Walsh–Hadamard Angle Transform
- Walsh–Hadamard Angle Transform is a discrete integral transform that decomposes angular signals into binary square-wave components using Walsh–Hadamard basis functions.
- It leverages a hybrid classical–quantum framework to achieve O(N) computational complexity, significantly improving processing speed over classical methods.
- The transform employs precise polar discretization with uniform-area and uniform-radial subdivisions to maintain orthogonality and enable effective image artifact removal.
The Walsh–Hadamard Angle Transform (WAT) is a discrete integral transform operating on angular coordinate samples using Walsh–Hadamard basis functions. Developed as part of a hybrid classical–quantum framework for image processing in polar coordinates, WAT decomposes angular functions into binary-valued “square-wave” components of varying sequency. The transform’s capabilities include the denoising of artifacts such as circular and azimuthal banding in images and applications to optical system diagnostics, medical imaging, and radar/sonar polar mappings. Efficient quantum algorithms, building on earlier Walsh–Hadamard transform work, offer a computational complexity of , improving upon the classical fast Walsh–Hadamard transform () (Rohida et al., 2024).
1. Polar Walsh Basis Functions and Discretization
Walsh basis functions in polar coordinates are constructed on a disk of radius , partitioned into radial divisions and angular sectors. Two subdivision schemes are defined:
- Uniform-area subdivision ():
- Uniform-radial subdivision ():
Angular nodes are similarly given by for . Each annular–sector cell contains a constant-valued polar Walsh function. Two function orders are defined:
- Natural-order:
- Sequency-order:
The functions factorize into separate radial and angular components: , with and in natural order (Rohida et al., 2024).
2. Orthogonality and Normalization
Orthogonality of the Walsh basis holds both discretely and approximately in the continuous limit:
- Discrete orthogonality:
The orthonormal set is .
- Continuous approximation:
Appropriate -weighting may be introduced depending on subdivision choice ().
This rigorous structure underpins transform invertibility and spectrum sparsity properties (Rohida et al., 2024).
3. Walsh–Hadamard Angle Transform Kernel
The 1D Walsh–Hadamard transform matrix of size is defined via entries
where .
Given an angular signal , for instance a pixel value at fixed radius versus angle, its WAT is
for , or in vector notation . The inverse is since . In sequency order, the bit transform of is utilized (Rohida et al., 2024).
The transform decomposes into angular “square-wave” functions of increasing sequency, with low indexing smooth angular features and high encoding rapid oscillations.
4. Hybrid Classical–Quantum Implementation and Complexity
A two-dimensional WAT (across both radius and angle) is realized as for an image of size . A hybrid classical–quantum algorithm leverages quantum Hadamard operations to achieve cost for , outperforming the classical fast Walsh–Hadamard transform’s .
PolarQWHT(X) Procedure
- Apply 1D Walsh–Hadamard transform to each angular column at fixed radius.
- Apply 1D Walsh–Hadamard transform to each row (angularized) on the result.
- Each 1D transform QWHT_1d is implemented by:
- State preparation (classical, )
- Hadamard gate layer (quantum, depth 1, )
- Measurement, sign correction, and Walsh spectrum reconstruction The sign correction uses the classical “delta-shift trick” (Rohida et al., 2024).
Quantum circuit steps include classical preprocessing/postprocessing, parallel Hadamard gates, shots for output probability estimation, and classical sign correction.
5. Practical Applications: Image Denoising and Diagnostic Imaging
The WAT framework enables efficient removal of structured noise in polar images. For example, azimuthal banding artifacts can be suppressed by:
- Transforming a noisy angular profile noise using
- Suppressing components at specific sequency , then reconstructing the cleansed angular profile by inverse transform
Full-image artifact removal involves Cartesian-to-polar mapping, PolarQWHT application, selective H-domain filtering, inverse transform, and interpolation back to Cartesian coordinates. The spectrum before and after demonstrates targeted suppression of banding noise (Rohida et al., 2024).
Applications span:
- Optical system diagnostics (e.g., Airy pattern removal)
- Astronomical imaging
- Medical CT ring artifact reduction
- Sonar and radar polar mapping
6. Practical Considerations and Limitations
Key consideration include:
- Interpolation challenges: Cartesian-to-polar conversion requires averaging or bilinear interpolation, balancing smoothing with aliasing risk.
- Sampling uniformity: Uniform-area subdivision () equalizes pixel density across annuli, stabilizing sampling.
- Quantum measurement noise: Obtaining accurate WHT coefficients necessitates many shots and error mitigation.
- Restrictive grid sizes: Both and must be powers of two.
- Polar grid artifacts: Non-injective mapping leads to edge artifacts, especially near the disk center and perimeter.
- Current hybrid limitations: There is an classical overhead for quantum state preparation and sign correction (Rohida et al., 2024).
7. Extensions and Open Research Questions
Proposed extensions and outstanding problems include:
- Development of continuous, analytic polar Walsh–Hadamard transforms amendable to fast hardware
- Explicit error bounds for interpolation and QWHT sign recovery in the presence of realistic noise
- Generalization to non-uniform angular and radial grids
- Exploration of richer radial bases and non-binary subdivisions
- Hybrid transforms blending Fourier and Walsh–Hadamard methods
A plausible implication is that such developments could expand applicability and further reduce computational overheads for large-scale polar image processing tasks (Rohida et al., 2024).