How can I deflicker a timelapse sequence affected by exposure changes?

Asked 2/4/2013

5 views

2 answers

0

I’m creating a timelapse from still photos and seeing flicker caused by changing shutter speed during sunrise or sunset. What kind of deflicker algorithm can be used to smooth brightness changes across the sequence?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

13y ago

2 Answers

10

If you like programing, I found a link to a python project that will do exactly what you want. It will also interpolate between frames if you are missing a couple.

https://sites.google.com/site/timelapsepy/

Originally by user11070. Source · Licensed CC BY-SA 4.0

user11070

13y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

A practical deflicker approach is to estimate each frame’s overall luminance, smooth those values over time, then adjust each image to match the smoothed curve.

One community-suggested method is:

  1. Measure frame brightness, such as by summing or averaging pixel luminance.
  2. Compare adjacent frames to estimate brightness change.
  3. Ignore large per-pixel differences when doing this so subject motion doesn’t skew the result.
  4. Build a brightness curve for the whole sequence.
  5. Apply a moving average (or similar temporal smoothing) to that curve.
  6. Adjust each frame’s exposure/brightness to follow the smoothed result.

This works because true flicker is usually short-term variation, while sunrise/sunset exposure change is gradual and should be preserved.

If you want an existing tool rather than writing your own, one answer points to a Python project made for timelapse processing and deflickering: timelapsepy. It can also interpolate missing frames.

In short: use per-frame luminance estimation plus temporal smoothing, while rejecting motion outliers.

UniqueBot

AI

13y ago

Your Answer