arXiv:2610.24414cs.CVOct 2026

Manuscript Offprint

arXiv:2610.24414

S3D-Mosaic: Subgradient-Guided Cross-Band Structure Transfer for Spectral Demosaicing

Weiqiang Zhao, Xian Li, Yuzhe Gui, Tianzhu Liu, Yanfeng Gu

Weiqiang Zhao ID^{ID}, Xian Li ID^{ID}, Member, IEEE, Yuzhe Gui ID^{ID}, Tianzhu Liu ID^{ID}, Member, IEEE, Yanfeng Gu ID^{ID}, Senior Member, IEEE

Abstract—Multispectral filter array (MSFA) imaging enables snapshot spectral acquisition, but its per-band sparse sampling causes severe spatial aliasing. Although missing spatial structures can be inferred across bands, wavelength-dependent contrast variations make direct cross-band transfer unreliable. Existing model-based methods lack explicit magnitude-invariant mechanisms, and learning-based methods require layout-specific training or per-image tuning, limiting generalization. To address these issues, we propose S3D-Mosaic, a model-based spectral demosaicing method built upon a subgradient-guided cross-band structure transfer framework. We first establish a subgradient-guided regularization framework with a generalized cosine-similarity interpretation, providing a convex mechanism for magnitude-invariant information transfer. Then we design a compact Directional Sparse Equivariant Difference Convolution (DSE-DConv) for band-level extraction of orientation-selective, high-frequency structure features at low computational cost. Instantiating the framework with DSE-DConv on spectrally adjacent bands yields a cross-band self-structure similarity regularizer for spectral demosaicing, which we optimize via a dual-scan ADMM algorithm that decouples the bidirectional dependency while propagating magnitude-robust structural information across bands. With DSE-DConv's two parameters trained once via self-supervision, S3D-Mosaic outperforms state-of-the-art unsupervised methods on CAVE and NTIRE 2022, and generalizes robustly to varying MSFA layouts, pan-mosaic fusion, and real-world UAV data with fixed reconstruction hyperparameters. The source code is available at https://github.com/bestwishes43/S3D-Mosaic.

Index Terms—Spectral demosaicing, subgradient guidance, self-similarity, structural feature extraction.

I. INTRODUCTION

S NAPSHOT spectral imaging provides an effective way to capture three-dimensional spatio-spectral information in a single exposure. Among various hardware realizations, multispectral filter array (MSFA) cameras overlay a spatially repeating spectral filter on a conventional sensor, achieving a compact, cost-effective form factor suited to applications including material identification [1], biophysical parameter retrieval [2], and 3D reconstruction [3], [4].

However, this design trades spatial resolution for spectral diversity: each band is observed only at a sparse set of positions, causing high-frequency spatial components to alias into lower frequencies. These artifacts are hard to remove in scenes with sharp boundaries or fine textures, because the lost high-frequency information cannot be uniquely recovered from a single band. A key observation is that spatial discontinuities, such as object boundaries, shadows, and surface geometry, are shared across most spectral bands, and the MSFA's sampling means details lost in one band are often preserved in others. This suggests that missing high-frequency structures can be inferred across bands. Yet cross-band transfer is not straightforward: corresponding edges often exhibit markedly different contrast across wavelengths, so directly matching intensities or gradients may distort spectral information.

Existing model-based methods exploit global spectral correlations via sparsity [5] or low-rankness [6], [7], or encourage cross-band similarity by minimizing intensity/gradient differences [8]. While interpretable, they may transfer spectral contrast rather than spatial structure, and their priors often provide insufficient constraints for heavily aliased high-frequency content. Learning-based methods, including supervised networks [9], [10] and unsupervised approaches [11], [12], learn expressive models from data. However, their performance can depend on the training data distribution, the MSFA layout used during training, or per-image hyperparameter tuning [12]. This is especially problematic for spectral demosaicing, given the diversity of MSFA layouts and the cost of paired training data.

To this end, we propose S3D-Mosaic, a model-based method that realizes magnitude-robust cross-band structure transfer through subgradient guidance. Instead of matching magnitudes, it aligns feature directions through the subgradient of a norm-based regularizer, giving a convex, magnitude-invariant mechanism with a generalized cosine-similarity interpretation. To instantiate the framework, we further design Directional Sparse Equivariant Difference Convolution (DSE-DConv), a compact two-parameter linear operator that extracts orientation-selective high-frequency structural features with D4D_{4} transformation consistency. Using DSE-DConv, we construct a cross-band self-structure similarity prior between adjacent spectral bands and solve the resulting problem through a dual-scan ADMM algorithm. Fig. 1 overviews the pipeline.

The main contributions are summarized as follows:

  1. We establish a subgradient-guided feature-direction transfer framework with a generalized cosine-similarity interpretation, which provides a principled mechanism for magnitude-invariant information transfer.

  2. We design DSE-DConv, a two-parameter D4D_{4}-equivariant zero-sum operator, to extract transformation-consistent directional high-frequency structures for demosaicing.

This work was supported in part by the National Natural Science Foundation of China through the Major Scientific Instrument Development Program under Grant 62327803. (Corresponding author: Yanfeng Gu).

Weiqiang Zhao, Xian Li, Yuzhe Gui, Tianzhu Liu and Yanfeng Gu are with the School of Electronics and Information Engineering, Harbin Institute of Technology, Harbin 150001, China (E-mail: wqzhao@stu.hit.edu.cn; xianli@hit.edu.cn; 25B305002@stu.hit.edu.cn; tzliu@hit.edu.cn; guyyf@hit.edu.cn).

Figure

Fig. 1. Illustration of the proposed S3D-Mosaic pipeline: (i) a subgradient-guided optimization framework is developed to realize magnitude-invariant cross-band feature-direction transfer; (ii) the compact DSE-DConv operator is designed and self-supervisedly trained as a structural feature extractor; (iii) a cross-band self-structure similarity prior is instantiated for spectral demosaicing and optimized using a dual-scan ADMM algorithm.

  1. We instantiate the framework with DSE-DConv as a cross-band self-structure similarity prior and develop a dual-scan ADMM solver to decouple bidirectional spectral dependencies. The resulting method generalizes to diverse MSFA layouts and real captures with fixed hyperparameters.

The remainder of this paper is organized as follows. Section II reviews related work; Section III formulates the problem; Sections IV–VI present the proposed framework, DSE-DConv operator, and optimization algorithm; Section VII reports experiments; and Section VIII concludes the paper.

References (63)