jrosebr1/color_transfer
À propos
Transfère les couleurs entre deux images. S’inspire librement de l’article « Color Transfer between Images », publié par Reinhard et al. en 2001.
Design et médiasProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalSuper fast color transfer between images
The color_transfer package is an OpenCV and Python implementation based (loosely) on Color Transfer between Images [Reinhard et al., 2001] The algorithm itself is extremely efficient (much faster than histogram based methods), requiring only the mean and standard deviation of pixel intensities for each channel in the L*a*b* color space.
For more information, along with a detailed code review, take a look at this post on my blog.
#Requirements
- OpenCV
- NumPy
#Install To install, make sure you have installed NumPy and compiled OpenCV with Python bindings enabled.
From there, there easiest way to install is via pip:
$ pip install color_transfer
#Examples
Below are some examples showing how to run the example.py demo and the associated color transfers between images.
$ python example.py --source images/autumn.jpg --target images/fallingwater.jpg

$ python example.py --source images/woods.jpg --target images/storm.jpg

$ python example.py --source images/ocean_sunset.jpg --target images/ocean_day.jpg

Explorer des projets similaires
Chargement…