Search arXivSearch

arXiv · 2504.07145

Examining Joint Demosaicing and Denoising for Single-, Quad-, and Nona-Bayer Patterns

Abstract

Camera sensors have color filters arranged in a mosaic layout, traditionally following the Bayer pattern. Demosaicing is a critical step camera hardware applies to obtain a full-channel RGB image. Many smartphones now have multiple sensors with different patterns, such as Quad-Bayer or Nona-Bayer. Most modern deep network-based models perform joint demosaicing and denoising with the strategy of training a separate network per pattern. Relying on individual models per pattern requires additional memory overhead and makes it challenging to switch quickly between cameras. In this work, we are interested in analyzing strategies for joint demosaicing and denoising for the three main mosaic layouts (1x1 Single-Bayer, 2x2 Quad-Bayer, and 3x3 Nona-Bayer). We found concatenating a three-channel mosaic embedding to the input image and training a unified demosaicing architecture yields results that outperform existing Quad-Bayer and Nona-Bayer models and are comparable to Single-Bayer models. Additionally, we describe a maskout strategy that enhances the model performance and facilitates dead pixel correction -- a step often overlooked by existing AI-based demosaicing models. As part of this effort, we captured a new demosaicing dataset of 638 RAW images that contain challenging scenes with patches annotated for training, validation, and testing. Code and data is available at https://github.com/SamsungLabs/unified-demosaicing.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

SaiKiran Tedla, Abhijith Punnappurath, Luxi Zhao, Michael S. Brown. 2025-07-06. Examining Joint Demosaicing and Denoising for Single-, Quad-, and Nona-Bayer Patterns. https://arxiv.org/abs/2504.07145

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

VideoPulse: Neonatal heart rate and peripheral capillary oxygen saturation (SpO2) estimation from contact free video

Remote photoplethysmography (rPPG) enables contact free monitoring of vital signs and is especially valuable for neonates, since conventional methods often require sustained skin contact with adhesive probes that can irritate fragile skin and increase infection control burden. We present VideoPulse, a neonatal dataset and an end to end pipeline that estimates neonatal heart rate and peripheral capillary oxygen saturation (SpO2) from facial video. VideoPulse contains 157 recordings totaling 2.6 hours from 52 neonates with diverse face orientations. Our pipeline performs face alignment and artifact aware supervision using denoised pulse oximeter signals, then applies 3D CNN backbones for heart rate and SpO2 regression with label distribution smoothing and weighted regression for SpO2. Predictions are produced in 2 second windows. On the NBHR neonatal dataset, we obtain heart rate MAE 2.97 bpm using 2 second windows (2.80 bpm at 6 second windows) and SpO2 MAE 1.69 percent. Under cross dataset evaluation, the NBHR trained heart rate model attains 5.34 bpm MAE on VideoPulse, and fine tuning an NBHR pretrained SpO2 model on VideoPulse yields MAE 1.68 percent. These results indicate that short unaligned neonatal video segments can support accurate heart rate and SpO2 estimation, enabling low cost non invasive monitoring in neonatal intensive care.

eess.IV

Synthetic Fingerprints for Children Under Four: Generation and Biometric Evaluation

Fingerprint recognition in children under four is of interest for longitudinal identity applications, but research in this age range is constrained by the limited availability and sensitivity of real fingerprint data. Synthetic data may provide a useful complementary resource if generated samples are carefully evaluated for biometric quality, similarity to the real training data, and identity diversity. This paper presents an evaluation and selection protocol for synthetic fingerprints generated from a small pediatric dataset. The protocol was applied to 32,000 candidates produced by an age-conditioned generator fine-tuned with 205 fingerprints from nine children. Candidates were evaluated using NFIQ 2, NBIS minutiae extrac-tion and matching, fingerprint-pattern classification, similarity to the complete real reference set, and pairwise similarity among retained synthetic samples. After candidate filtering and a final symmetric pairwise verification, 1,985 synthetic fingerprints remained. The youngest age group continued to produce retained samples within the sampling budget, whereas the oldest original age group produced 24 retained prints. A data-derived two-group age representation improved pattern-distribution agreement for the younger group. Repeated renderings of fixed synthetic iden-tities produced minutiae-based mated scores comparable to the real mated scores, although a DINOv2 texture representation showed substantially greater within-generator similarity. The results indicate that synthetic pediatric fingerprints can support controlled research use, but their evaluation should include both real-to-synthetic similarity and synthetic-to-synthetic diversity, and conclusions should remain specific to the matchers and measurements used.

eess.IV

Adaptive Color Grading

Independent control of tonescale regions (e.g., shadows, highlights) is essential for painters, photographers and cinematographers to bring 2D images to life. In image manipulation software this is most directly addressed by color grading modules, which use intensity thresholds to segment distinct illumination regions for local manipulation. In this work we develop an open source color grading tool and use it to annotate a large dataset of video frames with tonescale region thresholds. Using these thresholds we conduct modeling experiments with strategies based on both practitioners' conventional wisdom and machine learning. Results show that K-nearest neighbors is an effective prediction strategy, outperforming state-of-the-art end-to-end methods for image enhancement. This outcome demonstrates the benefit of focusing on a compact set of core parameters when modeling creative stylization processes. Our adaptive color grading interface and data are available at https://github.com/SamsungLabs/adaptive-color-grading.

eess.IV