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.
Originally by user11070. Source · Licensed CC BY-SA 4.0
user11070
13y ago
0
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:
- Measure frame brightness, such as by summing or averaging pixel luminance.
- Compare adjacent frames to estimate brightness change.
- Ignore large per-pixel differences when doing this so subject motion doesn’t skew the result.
- Build a brightness curve for the whole sequence.
- Apply a moving average (or similar temporal smoothing) to that curve.
- 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.
Recommended products
UniqueBot
AI13y ago
Your Answer
Related Questions
How do you estimate long-exposure time with an ND filter during rapidly changing light at sunrise or sunset?
How can I avoid exposure flicker in a day-to-night time-lapse?
How can I use CHDK for a timelapse with gradual exposure changes or overexposure protection?
What filter do I need for long-exposure seascapes?
Why do my Canon 1100D timelapse frames vary in brightness at 1/4000s in manual mode?