atlas

Research map / Image generation / Image restoration

Logarithmic Lenses: Exploring Log RGB Data for Image Classification

CVPR 2024 · Image generation › Image restoration · approach: Image harmonization and color transformation · 7 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that training standard CNNs on log-of-linear RGB data from RAW images (and pseudo-log data recovered from 8-bit sRGB JPGs) improves accuracy and invariance to intensity and color-balance changes, and introduces the RAW10 dataset.

Problem

Image classification pipelines feed networks sRGB images processed for human viewing, and little is known about whether a different input data space (linear or log RGB) that follows physical reflection rules would improve deep network performance and robustness to illumination changes.

Approach

Use log of linear RGB as network input, derived from RAW images, to exploit the fact that log transforms turn illumination-dependent body reflection cylinders into a nearly fixed structure; also show that inverting the sRGB transform on 8-bit JPGs to get pseudo-log data recovers most of the gain.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use log RGB instead of the strongest sRGB or linear RGB inputResNet18 on RAW10 · Original, random color balance, random intensity, and both modificationsaccuracy: 88.9 -> 90.6; 75.7 -> 86.9; 76.3 -> 87.2; 71.9 -> 83.9Helped
use log RGB instead of the strongest sRGB or linear RGB inputDenseNet121 on RAW10 · Original, random color balance, random intensity, and both modificationsaccuracy: 91.6 -> 91.9; 84.7 -> 88.0; 91.4 -> 91.8; 82.0 -> 86.9Helped
use log RGB instead of sRGBCustom 11-layer CNN on RAW10 with original training data · Original test setaccuracy: 72.05 -> 64.32Hurt
use log RGB instead of linear RGBCustom 11-layer CNN on RAW10 with fixed augmentation · Original test setaccuracy: 73.52 -> 76.92Helped
use log RGB instead of linear RGBCustom 11-layer CNN on RAW10 with dynamic augmentation · Original test setaccuracy: 73.87 -> 75.40Helped
train on pseudo-log rather than sRGBResNet18 and DenseNet121 on RAW10 · Original and modified test setsaccuracyHelped
train on pseudo-log rather than true-logResNet18 and DenseNet121 on RAW10 · True-log and pseudo-log test setsaccuracy: 90.64 vs 90.29; 91.94 vs 91.74No clear effect
scale log RGB to [0, 1] (ablation)Log RGB training pipeline · RAW10 image classificationaccuracyHurt
scale input to [0, 256] before taking the log (ablation)Log RGB training pipeline · RAW10 image classificationaccuracyHurt
subtract 5.05 from log RGB to center it on zero (ablation)Log RGB training pipeline · RAW10 image classificationaccuracyHurt
resize images after converting them to log RGB (ablation)Log RGB preprocessing · RAW10 image classificationaccuracyHurt
use different optimized meta-parameters for log input (ablation)ResNet18 and DenseNet121 on RAW10 · Validation setaccuracy: 87.60 -> 89.08; 88.30 -> 90.17Helped

Surprising findings

Limitations

Experimental setup

Datasets: RAW10

Benchmarks: RAW10

Metrics: accuracy loss

Baselines: sRGB input linear RGB input Funt and Zhu Laplacian of log RGB Cotogni and Cusano equivariant networks

Builds on: ResNet DenseNet dichromatic reflection model

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy