Learning Large-Scale Automatic Image Colorization

Aditya Deshpande, Jason Rock, David A. Forsyth

Abstract

Image colorization is a classic ill-posed problem in computer vision, where a single luminance value can map to multiple chrominance possibilities. We present an automated system that balances local pixel accuracy with long-range spatial consistency. By employing the LEARCH (Learning to Search) framework to learn a quadratic objective function and integrating scene-specific global color histograms, our approach achieves state-of-the-art performance. Experimental results on the SUNS dataset demonstrate significant improvements over traditional exemplar-based methods in both quantitative metrics and visual realism.

Introduction

Colorization involves predicting the chrominance channels of an image given only its luminance. The primary challenges include the inherent ambiguity of color assignments, the difficulty of maintaining spatial consistency across large regions, and the lack of global context (e.g., identifying a "beach" vs. a "kitchen"). Traditional methods often suffer from "speckled" artifacts or struggle with long-range dependencies due to the computational constraints of Gaussian Random Fields (GRFs).

Methodology

The proposed system centers on minimizing a learned quadratic objective function $\Phi(c, I)$, where $c$ represents color and $I$ is the grayscale input.

LEARCH Framework

Rather than manually tuning cost function parameters, the authors utilize the LEARCH framework to learn the objective from a vast dataset of color images. This allows the model to capture complex relationships between local image features and appropriate color distributions.

Spatial and Global Constraints

  • Random Forest Conditioning: The coefficients of the quadratic objective are dynamically determined by a random forest conditioned on local features like SIFT descriptors and gradients.
  • Histogram Correction: To ensure global coherence, the model incorporates a "target histogram" based on scene classification. A GIST-based classifier identifies the scene category, which then selects a Gaussian Mixture Model (GMM) representing the typical color distribution for that scene.
  • Optimization: By focusing on a learnable quadratic optimization rather than a strict probabilistic GRF, the system avoids stability issues and can model much longer-range spatial correlations.

Experimental Evaluation

The method was evaluated using the SUNS dataset across six categories: beach, castle, outdoor, kitchen, living room, and bedroom.

Quantitative and Qualitative Results

The system significantly outperforms baselines. Using a 2-channel root mean squared error (RMSE) metric, the best model (Scene-specific + Oracle Label) achieved an error of 0.236, compared to 0.353 for the baseline method by Welsh et al.

Figure 4: Quantitative error analysis and qualitative results for varying weights of the LEARCH objective.

As shown in the figure above, the weight $\lambda_L$ of the LEARCH objective significantly impacts both the numerical error and the visual quality. Low weights can lead to oversaturated or yellowish results, while excessively high weights may result in desaturated, grayish images. The optimal balance produces vibrant, structurally consistent colors.

Discussion and Key Insights

  • Scene Context: Automated scene labeling, even if imperfect, provides a crucial constraint on the global color palette, preventing nonsensical assignments.
  • Beyond Pixel Averaging: Simple pixel-wise averaging often yields low RMSE but visually dull results. This method prioritizes distributional correctness, leading to more aesthetically pleasing images.
  • Colorization as a Proxy: The success of this framework suggests that colorization is an effective proxy task for learning features relevant to other vision problems, such as depth or albedo estimation, due to the abundance of free training data.

Conclusion and Future Work

While the system achieves impressive results, challenges remain in accurately colorizing small or rare objects. Future work will explore optimal image filter vocabularies and more robust metrics that account for "believable" color variations that may differ from the ground truth.

Summary updated

BibTeX
@inproceedings{deshpande2015learning,
  author = {Aditya Deshpande and Jason Rock and David A. Forsyth},
  title = {{Learning Large-Scale Automatic Image Colorization}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2015},
  doi = {10.1109/iccv.2015.72},
}
Figure