Skip to main content

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

Project description

Reinhard Color Transfer

PyPI version

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

Installation

You can install the package using pip:

pip install reinhard-color-transfer

Usage

from PIL import Image
from reinhard_color_transfer 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.3.tar.gz (2.2 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.3-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for reinhard_color_transfer-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3820ff4e745c3f25e92ef6a9d8e8573ec60da01d69c1f44f822a689380f54fac
MD5 33abb8c1c51b82f82dfea4189b701a2c
BLAKE2b-256 a169f07fbca70fc51a59dbe324afe2f6034db8a4a71ed9e130d682b19f3da4b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reinhard_color_transfer-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 15debebac05fd5ecb994d4d398ce53d5bca47c49ecbf1af929e66f5c4d0de27c
MD5 c0b3ec17b75342565ba63a86982c113b
BLAKE2b-256 a7d07de0eaa9585c217698dfa91fc554d68aaeebc554e5730c3e58654e9af8ad

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