#Image recoloring using linear template mapping 基于线性映射模板的色彩转移
based on 《Image recoloring using linear template mapping》
Install
Usage
_root_dir = os.path.dirname(__file__)
reuslt = linear_recolor(_root_dir + '/image/apple/manifest.png',
_root_dir + '/image/apple/source.png',
reverse_map=True)
cv2.imwrite('./test2.png', reuslt)
reverse_map:参数指明 线性映射的方向,可选值:False || True
Advance Usage
manifest.png could be created by this program Grayscale.
som = SOMGraySclae()
manifest = som.get_1d_manifold(one_souce_image)
原图(source.png):
模板(manifest.png)(基于Data-driven Color Manifolds 生成)参见get_1d_manifold
效果图
Metadata
Release files for LinearRecolor 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| LinearRecolor-1.0.0.tar.gz | 4.2 kB | Without provenance | Details for LinearRecolor-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| LinearRecolor-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for LinearRecolor-1.0.0-py3-none-any.whl |
Total release size: 9.3 kB
Release files / LinearRecolor-1.0.0.tar.gz
| Download URL | LinearRecolor-1.0.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b75498ce887199227cd65c2f53ed76677c42c8d755b770afaed8caf8b03bd6e7
|
|
BLAKE2b-256 checksum How to use checksums |
5e7df7d8f2b08dfa934911861c28b97dc0d591b4d58187861e40c10f4cb210e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.4
|
Release files / LinearRecolor-1.0.0-py3-none-any.whl
| Download URL | LinearRecolor-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80ce07412a416540539c7edaaa75ffc5cd85e2e8fa8fb57a2b021dbe0e6dace1
|
|
BLAKE2b-256 checksum How to use checksums |
eb332feeb56190beaed3e41f4c8c859c61b531f9538a05f9558c254f74d47a03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.4
|
Security for LinearRecolor 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.