Aesthetic Language Guidance Generation of Images Using Attribute Comparison

Xin Jin, Qiang Deng, Jianwen Lv, Heng Huang, Hao Lou, Chaoen XiaoarXiv 2022 · DOI

Abstract

Traditional photo editing tools focus on post-processing, often neglecting the real-time guidance needed to capture a high-quality shot. This paper introduces Aesthetic Language Guidance (ALG), a system that provides natural language feedback during the photography process. By comparing a user's frame against professional templates or high-scoring reference images, ALG offers specific advice on color, lighting, and composition to bridge the gap between amateur and professional photography.

Introduction

Mobile photography has seen significant advancements in hardware and automated retouching. However, these "beautification" tools primarily address image quality after the shutter is pressed. The subjective skill required for effective composition and lighting remains a challenge for many users. This research proposes a virtual coach that provides real-time, plain-English instructions (e.g., "move the lens slightly toward the center") to help photographers improve their technique during the shooting process.

Methodology

The authors propose two distinct frameworks for generating aesthetic guidance: ALG-T and ALG-I.

Template-based Guidance (ALG-T)

ALG-T compares the user's current frame to mathematical "ideal" templates. This approach covers three primary attributes:

  • Color: Utilizes Matsuda’s color harmony palettes and Itten’s color theory to categorize "color richness" across seven levels.
  • Lighting: Employs a CNN for landscape sky lighting estimation and spherical harmonics for portrait lighting style identification (e.g., Rembrandt lighting).
  • Composition: Uses semantic line detection for landscapes and facial feature point detection for portraits to evaluate adherence to rules like the "rule of thirds."
Figure 1: The ALG-T framework uses templates for color, lighting, and composition to generate specific natural language feedback.

Image-based Guidance (ALG-I)

ALG-I is a data-driven approach that leverages similarity to high-quality reference images.

  • Search: Uses CLIP (Contrastive Language–Image Pre-training) to find images in a 2-million-image database that are semantically similar to the user's frame.
  • Scoring: An aesthetic engine selects the highest-quality "mentor" image.
  • Comparison: The system calculates mathematical differences in color, light, and composition between the user's frame and the mentor, translating these into natural language instructions.
Figure 5: The ALG-I framework identifies a high-aesthetic "mentor" image and provides guidance based on the differences in attributes.

Datasets and Implementation

The system integrates several specialized datasets and models:

  • Outdoor Panorama and DPR Datasets: Used for training lighting estimation models for landscapes and portraits, respectively.
  • 2 Million Image Library: Provides the reference pool for the CLIP-based search module.
  • Hasler and Süsstrunk’s Color Metric: Serves as the benchmark for calculating color richness.

Results and Insights

The research demonstrates that context-specific logic is crucial; landscape and portrait photography require different evaluation metrics. By quantifying subjective concepts like "harmonic color" into coordinate systems, the system successfully provides relevant feedback. Qualitative results show the system effectively guiding users in night landscapes and seaside portraits, suggesting specific lighting styles and compositional adjustments.

Conclusion

While ALG represents a significant step toward real-time photography coaching, limitations remain. Current guidance is restricted to three attributes (color, light, composition) and relies on rule-based natural language generation. Future work aims to incorporate more complex attributes like depth of field and leverage Large Language Models (LLMs) for more nuanced, conversational feedback.

Summary updated

BibTeX
@misc{jin2022aesthetic,
  author = {Xin Jin and Qiang Deng and Jianwen Lv and Heng Huang and Hao Lou and Chaoen Xiao},
  title = {{Aesthetic Language Guidance Generation of Images Using Attribute Comparison}},
  year = {2022},
  eprint = {2208.04740},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.04740},
}
Figure