Super-resolved Chromatic Mapping of Snapshot Mosaic Image Sensors via a Texture Sensitive Residual Network

Mehrdad Shoeiby, Lars Petersson, Mohammad Ali Armin, Sadegh Aliakbarian, Antonio Robles-Kelly

TL;DR

Snapshot mosaic sensors offer a compact way to capture spectral data at video rates, but they suffer from low spatial resolution and difficult color mapping. This paper introduces TSRCAN, a deep learning architecture that simultaneously super-resolves these images and predicts high-quality RGB versions by leveraging a novel texture-sensitive block and a spatial-aware data formatting technique.

What Problem Does This Paper Address?

Traditional cameras capture three broad color channels (Red, Green, Blue). In contrast, snapshot mosaic sensors capture many narrow spectral bands (e.g., 16 or more) in a single shot. While powerful for applications like remote sensing or food monitoring, they face a harsh physical trade-off: because the sensor's pixels are divided among many different wavelengths, the spatial resolution for any single band is very low.

Furthermore, converting this spectral data into a standard RGB image—a process called chromatic mapping—is notoriously difficult. These sensors often have "gaps" in their spectral coverage (missing parts of the deep blue or red spectrum), and their narrow bands don't align perfectly with how the human eye perceives color. Traditional methods that interpolate the missing pixels (demosaicing) and then apply a Color Matching Function (CMF) often result in blurry images with inaccurate colors.

Methods

The authors propose the Texture Sensitive Residual Channel Attention Network (TSRCAN). The architecture consists of two main components:

  1. Baseline RCAN: A deep residual network with channel attention that learns the complex relationship between the low-resolution multi-spectral input and the high-resolution RGB output.
  2. Texture Network (TN): A specialized block added to the end of the pipeline. It uses residual blocks and deconvolutional layers to "re-introduce" fine spatial details and textures that might have been lost during the initial spectral-to-spatial mapping.
Figure 2. Illustration of the proposed network. The residual group depicted in this figure corresponds to the network of [31]. Channel-wise concatenation is denoted by C. The input of the network is uninterpolated data (see Figure 1), and the output is the pseudo-colour image.

A key innovation is how they handle the input data. Instead of using standard interpolation (which introduces artifacts), they use zero-padded, uninterpolated data. By mapping each spectral sub-pixel to its own channel and padding the rest with zeros, they preserve the exact spatial offset of every wavelength on the sensor. This allows the network to learn from the raw geometry of the mosaic pattern.

Figure 1. (a) Original mosaic images, with (b) the actual one pixel of the multi-spectral vs 4 pixels of the RGB bayer image encom- passing 16 vs 3 channels (wavelengths) per pixel respectively. (c) and (d) demonstrate the data formation for multi-spectral vs RGB images. Each colour is indicative of respective wavelength. The multi-spectral cube is formed by a one-to-one mapping of each wavelength (sub-pixel) to respective channel (one of 16) and zero padding the other 15 sub-pixels. The RGB image is debayered (in- terpolated) to form the respective R-G-B channels. While a one- to-one mapping (with zero-padding) leads to a large number of re- dundant zero pixels, as opposed to debayering for RGB images, it results in better super-resolution by taking into account the spatial offset of each pixel.

Datasets

The researchers introduced a new benchmark dataset to the community:

  • 296 Registered Stereo Pairs: Each pair consists of a multi-spectral image (16 bands, 477nm–617nm) and a corresponding high-resolution RGB image captured from a secondary camera.
  • Hardware: They used a Ximea MQ022HG-IM-SM4x4 sensor.
  • Preprocessing: Images were registered using PWC-Net (an optical flow algorithm) to ensure the spectral and RGB views aligned as closely as possible.

Key Insights and Ideas

  • Spatial Offsets are Features, Not Bugs: Most researchers treat the mosaic pattern as a problem to be solved by interpolation. This paper argues that the specific physical location of each sub-pixel is valuable information. Zero-padding acts as a spatial "anchor" that helps the CNN perform better super-resolution.
  • Texture as a Spectral Proxy: The Texture Network acts as a "second look." If the spectral bands are too narrow to perfectly predict a color, the network can use the surrounding spatial texture to infer what the missing information should be.
  • Demosaicing is a Bottleneck: The authors found that performing super-resolution and color prediction simultaneously on raw mosaic data is significantly more effective than doing them sequentially.

Key Results

TSRCAN established a new state-of-the-art for this task:

  • Quantitative: It achieved a PSNR of 26.02 dB, a substantial 1.1 dB improvement over the baseline RCAN and nearly 4 dB higher than traditional bicubic interpolation + CMF methods.
  • Qualitative: The model produced noticeably sharper images with better color fidelity, particularly in challenging areas where the sensor's spectral coverage was sparse (like the red and blue ends of the spectrum).
Visual comparison showing TSRCAN's superior sharpness and color accuracy compared to traditional CMF and baseline RCAN.

Limitations and Future Work

  • Lighting Sensitivity: The model struggles with poor lighting (e.g., fluorescent lights), which provides a sparse wavelength spectrum, making it harder for the network to predict missing bands.
  • Registration Artifacts: Because the dataset relies on stereo-registered images, any slight misalignment or occlusion between the two cameras can introduce "noise" into the training process.
  • Dataset Size: While 296 pairs is a great start, the authors acknowledge that expanding the dataset—especially with controlled laboratory lighting—would likely further improve the network's robustness.

Summary updated

BibTeX
@inproceedings{shoeiby2020super,
  author = {Mehrdad Shoeiby and Lars Petersson and Mohammad Ali Armin and Sadegh Aliakbarian and Antonio Robles-Kelly},
  title = {{Super-resolved Chromatic Mapping of Snapshot Mosaic Image Sensors via a Texture Sensitive Residual Network}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2020},
  doi = {10.1109/wacv45572.2020.9093518},
}
Figure