Reduce color of the picture
Project description
colorcluster
Reducing Color of pictures by KMeans clustering.
Options
input_fig_path
The file path of the image to be processed.
color_num
Set the number of colors to be reduced. Default:8
show_img
Pop up the processed picture when descripted.
export_fig_path
Set the file path of output picture. Default:"result.jpg"
export_color_array
Outputs the central color obtained by clustering in CSV format when descripted.
export_array_path
Set the file path of output of the above CSV file. Default:"array.csv"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
colorcluster-1.2.1.tar.gz
(1.8 kB
view details)
Built Distribution
File details
Details for the file colorcluster-1.2.1.tar.gz
.
File metadata
- Download URL: colorcluster-1.2.1.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f680ebd3f5f1dcd8bbc17d2f44eab823e51cb9f067606aa21eb8a5f05012bb7f |
|
MD5 | 7fc5a1c8b0202fb3c853b12dfe87e9fb |
|
BLAKE2b-256 | bef11c27227b355e1076635a8ee75349c529b29ea3d8f87ed285fe5428c946ee |
File details
Details for the file colorcluster-1.2.1-py3-none-any.whl
.
File metadata
- Download URL: colorcluster-1.2.1-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c2fa73ac5eef20bde32c6e47deda2de62dc44903da82aa7e4424501776c9880 |
|
MD5 | 328d2a63b932113b7a1caf472b0df24a |
|
BLAKE2b-256 | 7372d91c3a6f66ddf63ca864276da2de2a62d69740140d3012a05eb959e96885 |