NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A New Color Image Zooming Technique for Digital Still Cameras

Rastislav Lukac, Konstantinos N. Plataniotis, Bogdan Smolka, Dimitrios HatzinakosCGIV 2004

Abstract

This paper introduces a novel digital image zooming technique specifically designed for cameras utilizing Color Filter Arrays (CFA). Traditional zooming methods typically operate on fully demosaiced RGB images, which can amplify interpolation artifacts. The proposed method performs upsampling directly on the raw Bayer pattern data. By integrating an edge-sensing mechanism for the green channel and a color-difference model for the red and blue channels, the technique preserves the structural integrity of the mosaic while minimizing color artifacts and blurring. Experimental results demonstrate that the proposed method significantly outperforms standard bicubic and locally adaptive zooming techniques in both quantitative metrics and qualitative visual quality.

Introduction

Digital still cameras (DSCs) generally employ a single image sensor covered by a Color Filter Array (CFA), with the Bayer pattern being the most prevalent. This configuration captures only one color component at each pixel location, necessitating a demosaicing process to reconstruct a full-color image. When users require a zoomed or upsampled version of an image, the standard approach is to demosaic first and then apply a zooming algorithm. However, this sequence often leads to the amplification of demosaicing errors, such as "zippering" and false colors.

An alternative approach is to zoom the raw Bayer data before demosaicing. This is technically challenging because standard interpolation methods (e.g., bicubic) destroy the periodic structure of the Bayer pattern, making subsequent demosaicing inaccurate. This paper addresses this challenge by proposing a structure-preserving zooming technique that leverages local image features to guide the interpolation process directly on the raw sensor data.

Methodology

The proposed zooming technique follows a cascaded pipeline designed to maintain the Bayer structure while enhancing resolution.

Structure-Preserving Enlargement

The initial stage involves mapping the original CFA pixels to unique positions within a larger grid. Unlike simple pixel replication, this method ensures that the fundamental Bayer pattern is preserved at the target resolution, providing a consistent foundation for subsequent interpolation steps.

Step-by-step progression of the proposed zooming and interpolation process on the Bayer grid.

Multi-Stage Interpolation Pipeline

The interpolation process is divided into several discrete steps to handle the different sampling densities of the color channels:

  1. Edge-Sensing G-Channel Interpolation: The green (G) channel, which contains the majority of the luminance information, is interpolated first. The algorithm uses an adaptive edge-sensing mechanism that calculates local gradients. By assigning weights based on these gradients, the interpolation favors pixels along detected edges, effectively reducing blur in high-contrast regions.
  2. Color Difference Model for R and B Channels: To fill the red (R) and blue (B) channels, the authors utilize a color-difference model. This model relies on the observation that while raw color values vary significantly, the differences between color channels (e.g., G-R or G-B) are relatively smooth. Interpolating these differences rather than raw values leads to higher color fidelity and fewer chromatic artifacts.

Experimental Results

The method was evaluated using a dataset of eight natural color images (512x512 pixels), representing various textures and complexities, such as portraits and landscapes. The researchers compared the Proposed Zooming (PZ) method against Bicubic Zooming (BCZ) and Locally Adaptive Zooming (LAZ), combined with two demosaicing approaches: Bilinear Interpolation (BI) and the Correlation-Correction Approach (CCA).

Quantitative Analysis

The PZ + CCA combination consistently outperformed other methods across all metrics. For a zoom factor of 2, the proposed method achieved a Mean Absolute Error (MAE) of 8.64 and a Mean Square Error (MSE) of 264.66, compared to 10.51 and 388.56 for the standard bicubic approach, respectively. Perceptual accuracy, measured by Normalized Color Difference (NCD), was also superior at 0.0887.

Qualitative Analysis

Visual inspection confirms that the proposed method produces sharper edges and significantly fewer artifacts. Traditional methods often struggle with high-frequency details, leading to the "false color" effects visible in standard upsampled images. The proposed technique maintains structural clarity even in complex regions.

Qualitative result showing a zoomed-in region of a natural image processed with the proposed technique.

Conclusion

This paper demonstrates that performing image zooming on raw Bayer data, guided by edge-sensing and color-difference models, yields superior results for digital still cameras. By avoiding the amplification of demosaicing errors, the proposed technique provides a more robust solution for digital magnification. Future work may address the computational overhead of edge-sensing and the extension of the method to non-integer zoom factors.

Summary updated

BibTeX
@inproceedings{lukac2004new,
  author = {Rastislav Lukac and Konstantinos N. Plataniotis and Bogdan Smolka and Dimitrios Hatzinakos},
  title = {{A New Color Image Zooming Technique for Digital Still Cameras}},
  booktitle = {CGIV},
  year = {2004},
  url = {https://openreview.net/forum?id=rIUpLRv2sv},
}
Figure