Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Adjust the brightness of images for smooth timelapse videos

Project Description

After I made my first few timelapse videos I got really bothered by the erratic small changes of exposure, which are caused by various effects: * Changes of the exposure settings (if not in full manual mode) * Uncertainties of the aperture * Shutter jitter

I was looking for an existing solution and only found expensive (O(100€)) software.

So I wrote this little (150 SLOCS) programm. The brightness of the images are adjusted to fit a rolling mean over several consecutive images.

Installation

I recommend anaconda, it comes with the heavy dependencies of this package: numpy and scikit-image

Installation of deflicker:

$ pip install deflicker

Usage

deflicker expects all your pictures in one directory. The alphabetical order has to be equivalent to the chronological order.

deflicker <inputfolder> [options]

Options

  • -o <dir>, --outdir=<dir> Output directory [default: deflickered]
  • -w <N>, --window=<N> Window size for rolling mean [default: 10]
  • -q, --quiet Only output errors and warnings
  • -f <fmt>, --format=<fmt> Output format for the scaled images [default: png]
  • -s <s>, --sigma=<s> Sigma for the sigma clipping
Release History

Release History

This version
History Node

0.1.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
deflicker-0.1.1post1.tar.gz (4.4 kB) Copy SHA256 Checksum SHA256 Source Nov 6, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting