Hot or Not: Exploring Correlations between Appearance and Temperature

Daniel Glasner, Pascal Fua, Todd E. Zickler, Lihi Zelnik-ManorICCV 2015

Abstract

In this paper we explore interactions between the appearance of an outdoor scene and the ambient temperature. By studying statistical correlations between image sequences from outdoor cameras and temperature measurements we identify two interesting interactions. First, semantically meaningful regions such as foliage and reflective oriented surfaces are often highly indicative of the temperature. Second, small camera motions are correlated with the temperature in some scenes. We propose simple scene-specific temperature prediction algorithms which can be used to turn a camera into a crude temperature sensor. We find that for this task, simple features such as local pixel intensities outperform sophisticated, global features such as from a semantically-trained convolutional neural network.

Introduction

While humans can intuitively distinguish between a "winter" scene and a "summer" one, teaching a computer to estimate ambient temperature from a single image is a complex challenge. Computer vision has traditionally focused on identifying objects, faces, or text, often ignoring the environmental context that shapes an image's appearance. However, the visual world is deeply intertwined with the thermometer; a snowy field implies cold, while sun-drenched asphalt suggests heat. In this study, we explore the hidden statistical links between the visual world and ambient temperature, aiming to identify which visual elements are the most reliable indicators of heat and whether predictive models can turn a standard camera into a temperature sensor.

Methodology: Frequency Decomposition and Regression

To quantify the relationship between appearance and temperature, we treat the problem as a regression task. A key component of our approach is Frequency Decomposition. We split both the temperature signal and the image pixel intensities into "low-frequency" (seasonal trends) and "high-frequency" (day-to-day weather fluctuations) components. This allows us to isolate visual features that track long-term seasonal changes versus those that respond to short-term weather spikes.

Decomposition of the temperature signal T(t) into low-frequency (seasonal) and high-frequency (daily) components.

Our analysis included pixel-wise linear regressions to identify "hot spots" of correlation within a scene. We also performed motion analysis using homographies to align images, discovering that even "static" cameras exhibit sub-pixel drifts due to the thermal expansion and contraction of their mounts. We compared several predictive models, including simple Local Regression (LR) based on pixel intensities, Global Regularized Regression (GRR), and deep learning approaches using features from a pre-trained VGG-16 network.

Datasets and Preprocessing

We utilized the Archive of Many Outdoor Scenes (AMOS), selecting 10 stable webcam sequences across diverse U.S. locations (e.g., St. Louis, Tucson, Newark). We extracted one image per day at 11:00 AM local time over a two-year period. Ground truth temperature data was obtained from the nearest NOAA weather stations. To handle extreme seasonal appearance changes that cause standard alignment techniques to fail, we developed a novel robust alignment method to stabilize the sequences for analysis.

Key Insights: The Hidden Indicators of Heat

Our analysis revealed several surprising correlations:

  • The "Thermometer" Camera Mount: In several scenes, the physical expansion of the metal camera mount due to heat caused sub-pixel drifts that accounted for over 60% of the temperature variance.
  • Reflective Surfaces: Man-made surfaces like roads and building facades are highly indicative of temperature because their brightness is tied to the sun's seasonal position.
  • Foliage Dynamics: Deciduous trees provide excellent correlation because they physically change (lose leaves) with the temperature, whereas evergreens and palm trees are much poorer indicators.
  • Simplicity Wins: Simple local pixel intensities often outperformed high-level CNN features. This suggests that raw photometric data captures subtle environmental cues that abstract deep-learning features might discard.

Results: Tracking the Seasons

We evaluated our models using the coefficient of determination ($R^2$) and Root Mean Squared Error (RMSE). For low-frequency (seasonal) temperature estimation, our models achieved $R^2$ values as high as 0.95, meaning the models could almost perfectly track the change of seasons from images alone.

The model's predicted low-frequency temperature signal (green) closely tracks the actual seasonal temperature variations (red).

The Local Regression model achieved an RMSE as low as 3.19°C in certain scenes, significantly outperforming historical baselines. Furthermore, we successfully "inverted" these models to synthesize how a scene would look at a specific temperature, realistically adding or removing foliage and altering sun reflections.

Conclusion

This work demonstrates that outdoor scene appearance correlates strongly with ambient temperature. While our current models are scene-specific—relying on a static camera and a familiar environment—they represent a first step toward a general "visual thermometer." Future research will focus on learning universal cues of heat and cold to build a non-scene-specific temperature estimator that can work on any random photograph.

Summary updated

BibTeX
@inproceedings{glasner2015hot,
  author = {Daniel Glasner and Pascal Fua and Todd E. Zickler and Lihi Zelnik-Manor},
  title = {{Hot or Not: Exploring Correlations between Appearance and Temperature}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2015},
  url = {https://openreview.net/forum?id=ryWenxGOWB},
}
Figure