SegDem: Segmentation helps Demosaicing

Ping Chen, Xiangming Wang, Yongyong Chen, Jiezhang Cao, Kai Zhang +3 more
8/8/2026
cs.CV

No confident code implementation found for this paper.

Abstract

Image demosaicing reconstructs a full-color image from incomplete color measurements produced by a sensor covered with a color filter array (CFA). Most existing methods formulate demosaicing as pixel-level reconstruction and mainly rely on local textures, cross-channel correlations, and low-level image statistics.

Show full abstract

Our core insight is that reconstruction and visual understanding can be viewed as complementary views of shared scene structure: both are grounded in the same underlying physical world, and therefore the structural and physical information inferred from an image should remain consistent across the two tasks. We instantiate this idea with instance segmentation and propose \emph{SegDem}, a cross-task decoder representation transfer framework for demosaicing. SegDem first learns region- and boundary-aware representations through instance-aware structural pretraining and then transfers the decoder to RAW-conditioned reconstruction. Segmentation- and demosaicing-conditioned features are further anchored to a shared frozen DINOv2 representation space to preserve structural organization across tasks. We instantiate SegDem with convolutional, Transformer-based, and state-space backbones for unified Single- and Quad-Bayer demosaicing. Extensive experiments on synthetic, external, and challenging datasets demonstrate consistent improvements across different architectures and CFA layouts.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chen2026segdem,
  title  = {SegDem: Segmentation helps Demosaicing},
  author = {Ping Chen and Xiangming Wang and Yongyong Chen and Jiezhang Cao and Kai Zhang and Jingyong Su and Jie Liu and Haijin Zeng},
  year   = {2026},
  eprint = {2608.07916},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.07916v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.07916.svg)](https://codeofpaper.com/paper/2608.07916)

Discussion