colorcorrect 0.04

Implement some of color correction algorithms

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
MIT/X Consortium License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Shunsuke Aihara
HOMEPAGE:
www.bitbucket.org
CATEGORY:
ROOT \ Multimedia \ Graphics
colorcorrect is a Python module that implements some of color correction algorithms.

Install:

% python setup.py build
% python setup.py install

impement algorithms:

gray world
 colorcorrect.algorithm.gray_world
 usage: image
max white
 colorcorrect.algorithm.max_white
 usage: image
stretch
 colorcorrect.algorithm.stretch
 usage: image
retinex
 colorcorrect.algorithm.retinex
 usage: image
retinex with adjust
 colorcorrect.algorithm.retinex_with_adjust
 usage: image
standard deviation weighted grey world
 colorcorrect.algorithm.standard_deviation_weighted_grey_world
 usage: image,subblock width(default:20), subblock height(default:20)
standard deviation and luminance weighted gray world
 colorcorrect.algorithm.standard_deviation_and_luminance_weighted_gray_world
 usage: image,subblock width(default:20), subblock height(default:20)
luminance weighted gray world
 colorcorrect.algorithm.luminance_weighted_gray_world
 usage: image,subblock width(default:20), subblock height(default:20)
automatic color equalization
 colorcorrect.algorithm.automatic_color_equalization
 usage: image,slope(default:10),limit(default:1000)


sample usage:

>>> import Image
>>> import colorcorrect.algorithm as cca
>>> from colorcorrect.util import from_pil, to_pil
>>> img = Image.open('/path/to/image')
>>> to_pil(cca.stretch(from_pil(img))).show()

Last updated on March 8th, 2012

requirements

#color correction #correction algorithms #color #correction #algorithms #Python

Add your review!

SUBMIT