Reinhard Color Transfer
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:
Metadata
Release files for reinhard-color-transfer 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| reinhard_color_transfer-0.1.3.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| reinhard_color_transfer-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.7 kB
Release files / reinhard_color_transfer-0.1.3.tar.gz
| Download URL | reinhard_color_transfer-0.1.3.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3820ff4e745c3f25e92ef6a9d8e8573ec60da01d69c1f44f822a689380f54fac
|
|
BLAKE2b-256 checksum How to use checksums |
a169f07fbca70fc51a59dbe324afe2f6034db8a4a71ed9e130d682b19f3da4b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.3
|
Release files / reinhard_color_transfer-0.1.3-py3-none-any.whl
| Download URL | reinhard_color_transfer-0.1.3-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
15debebac05fd5ecb994d4d398ce53d5bca47c49ecbf1af929e66f5c4d0de27c
|
|
BLAKE2b-256 checksum How to use checksums |
a7d07de0eaa9585c217698dfa91fc554d68aaeebc554e5730c3e58654e9af8ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.3
|