How can one correct intensity flicker due to AC line frequency?

by chronosynclastic   Last Updated May 16, 2019 02:18 AM

Is there a good image processing method to get rid of the horizontal stripes in the images taken under fluorescent lighting? These stripes (flicker) occur when you take pictures indoors due to the 50 Hz (Europe) or 60 Hz (US) AC line frequency, and they reflect in the image as twice of this frequency (either 100 Hz or 120 Hz). One commonly suggested way is to choose a synchronized shutter speed (exposure time) such as 1/50s (1/60s) but how would you go about it, if the pictures are taken at an arbitrary shutter speed and you want to fix it in the post-processing?

Here is an example picture that displays the phenomenon:

Horizontal stripes (flicker)



Answers 3


It's almost impossible to remove them in post. You'd basically have to repaint the image digitally.

Choose a shutter speed that is slow enough to solve the problem in advance and in camera - it's always a better idea to solve problems as soon as practical.
Sadly, I don't know a good formula to determine the best speed, but you could just take a few test shots.

If you want to shoot at an arbitrary shutter speed, you have to use lights that are emitting continuously.

J0hj0h
J0hj0h
January 16, 2015 21:08 PM

If the whole scene is illuminated by a single light source, it might be possible to create a "flat frame" by taking a picture of the uniform white background illuminated by that light source, and then using the flat frame to compensate your photo for uneven illumination (divide the photo by the flat frame in photoshop/gimp/other).

Preparing a good quality flat frame is normally difficult because it must be truly uniform, but in this case it would be easier because we can assume that:

  • each horizontal line will have exactly the same brightness (we can blur horizontally)
  • the whole frame will be of the same average brightness (can be achieved by removing high frequency components from the picture)

The flat frame would only work for photos having exactly the same exposure time and will need adjusting (shifting up or down) as the light-induced color pattern will start at different phase each time (but the pattern should be otherwise identical).

szulat
szulat
January 16, 2015 23:46 PM

I read that the Canon 7Dmk2 has a killer feature for sports lighting which times the exposure to synchronize with the lights.

To fix in post, try shooting a burst which will get the stipes in different positions on each frame. Stack them (auto-align) in Photoshop and use brightest choice for each pixel via blending mode and parameters.

JDługosz
JDługosz
January 17, 2015 16:22 PM

Related Questions


Updated May 17, 2019 02:18 AM

Updated August 24, 2015 17:08 PM

Updated September 25, 2018 10:18 AM

Updated January 07, 2017 08:07 AM

Updated October 23, 2018 01:18 AM