cs.CVNov 16, 2026

When Is the Expensive Method Worth It? A Content-Driven Analysis of Classical Bayer Demosaicing

Authors: Taranum Wasu, Harsh Kashyap, HS Pannu

Organizations: Research Student Thapar University, Patiala, India · Department of Computer Science Thapar Institute of Engineering and Technology Patiala, India

Abstract

Demosaicing reconstructs a full-colour image from a single-sensor colour-filter-array (CFA) mosaic, where only one colour is measured per pixel. Classical methods make different assumptions about images, from simple averaging to directional edge-aware interpolation, and the directional methods cost markedly more compute. We ask a practical question that a per-image quality ranking does not answer: for a given image, is the expensive directional method worth its cost? Using a controlled simulate-reconstruct pipeline on 80 benchmark images from four public datasets (Kodak, McMaster, BSD100, Urban100), six classical methods, and image-content descriptors fixed before any results were seen, we show that the quality gain of the edge-aware method (Menon 2007) over the best cheap linear method is not constant. It ranges from −6.6-6.6 to +6.8+6.8 dB, and on 31% of images it is zero or negative, meaning a cheap method matches or beats the expensive one. The gain is also predictable from content: it correlates with mean image saturation at r=−0.86r=-0.86 (p<10−6p<10^{-6}). We then build an interpretable depth-2 decision tree that recommends the best cheap method from image descriptors, beating an always-pick-the-most-common baseline by 20.0 percentage points under leave-one-image-out validation. The analysis uses no deep learning, and every step can be inspected.

Figures & tables

Explore similar work

CardsList
  1. SegDem: Segmentation helps Demosaicing

    Aug 8, 2026Ping Chen, Xiangming Wang, Yongyong Chen +5Image ReconstructionTransfer Learning

  2. Perspective-Equivariant Fine-tuning for Multispectral Demosaicing without Ground Truth

    Mar 2, 2026Andrew Wang, Mike DaviesDemosaicingComputational Imaging

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

    Oct 17, 2026Weiqiang Zhao, Xian Li, Yuzhe Gui +2Demosaicing