Skip to main content

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

Project description

Reinhard Color Transfer

This repository is 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.0.tar.gz (2.0 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.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for reinhard_color_transfer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ed8cc47c4ca2d1fa40f95de76a1ff13e85034e13bd76f93e68ce9c8c16152de9
MD5 b15238950ae3aee6b73d6bff68f02db2
BLAKE2b-256 d29689c85b6b78f04de8aed203bfdbbe60befa7f1d6d1ee7df951ebc05f3df0f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reinhard_color_transfer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1bcfe66f890895618dd7518d96513e91a36f28820006cec07284dfafe4b02e8d
MD5 dd1d953424a274b2d1e3a75489d9096e
BLAKE2b-256 467c3b38b82e857b8296eb376ff9348b23c27557c4062a0ee19ba72967e574d2

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