Skip to main content

An implementation of Color transfer between images by E. Reinhard et. al.

Project description

Reinhard Color Transfer

An implementation of "Color transfer between images" by E. Reinhard et. al."

Usage

from PIL import Image
from colortransfer import transfer_color

source_image = Image.open("path/to/source/image")
color_image = Image.open("path/to/color/image")
alpha = 0.5 # Amount of color transfer
result_image: Image.Image = transfer_color(source_image, color_image, alpha)

Following is a visualization of result using sample images:

Color Transfer Visualization

Project details


Download files

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

Source Distribution

reinhard_color_transfer-0.1.2.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reinhard_color_transfer-0.1.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file reinhard_color_transfer-0.1.2.tar.gz.

File metadata

File hashes

Hashes for reinhard_color_transfer-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f058e7666da565b8f62bcb3d9118caf901f021ced4650dfd70bb80a12ed17eb3
MD5 68ac1c7dac644b52f4d9178643f4ae0c
BLAKE2b-256 a0f15550895f0f73788ff6611eaf9eb33ed970af258a3bb69efca287560a52af

See more details on using hashes here.

File details

Details for the file reinhard_color_transfer-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for reinhard_color_transfer-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6e823975c27cceb0cb02a239a9fa57b0bc157d3b944f4ed9170dfc4984fb019f
MD5 01b76b9ec25de91308687c8b4ebaf0e8
BLAKE2b-256 1d241e4ff40d898b4522bb191d767d37696e5a0062da47b08dde15ba19e55d02

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page