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.1.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.1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for reinhard_color_transfer-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b7304f9fb0a2dc01021dd168df765043cfb817681e01da83727467371be76dcf
MD5 d152d6761d760fa2d707b7d81fc53339
BLAKE2b-256 4ca29dce0e9877d9d3674f7d9163a5cf7c8744768e21eea3439b1c98a51b9087

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reinhard_color_transfer-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f4a77ab63637c41aeaf3adf3afceb3957efa8b738ff97278f27323aee6cc5f85
MD5 a26d8bfc434638031c59a8a0d6d3a98c
BLAKE2b-256 9f5bdae1932a2f480a0b698ea97dc1572e481424e869bb6d872a1d524f87eb16

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