Skip to main content

AWB-Lib

Implementation of a bunch of Automatic White-Balancing (AWBE algorithms), using JAX. Comparisons and experiments can be found in docs folder.

Implemented Algorithms

  1. Gray World (GW), based on gray world assumption. See awblib.gw.
  2. Colour Histogram Stretching (CHS). See awblib.chs.
  3. Average Equalization and Threshold (AAET). See awblib.aaet.
  4. Histogram Matching (AWB-HM), based on histogram matching. See awblib.hm.
  5. Dynamic Histogram Matching (AWB-DHM), based on histogram matching and channel selection. See awblib.dhm.

AWB-DHM

T. Gollanapalli, V. R. Peddigari and P. S. Madineni, "Auto white balance using dynamic histogram matching for AMOLED panels," 2017 IEEE International Conference on Consumer Electronics-Asia (ICCE-Asia), Bengaluru, India, 2017, pp. 41-46, doi: 10.1109/ICCE-ASIA.2017.8307848.

Explanations about our implementation is here.

AWB-HM

Chengqiang Huang, Qi Zhang, Hui Wang, and Songlin Feng, "A Low Power and Low Complexity Automatic White Balance Algorithm for AMOLED Driving Using Histogram Matching," J. Display Technol. 11, 53-59 (2015)

Explanations about our implementation is here. This implementation largely reproduced the results.

Example Results

See docs for more.

Report

Notes

Actually no paper has mentioned that if they are invariant to colour space or they depend on a specific colour space. As far as I know, most non-ML image processing algorithms require linear RGB; this processing is not done in this module yet.

License

Apache-2.0

Metadata

Release files for awblib 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for awblib 0.0.3
File Size Uploaded Provenance Actions
awblib-0.0.3.tar.gz 11.8 kB Without provenance Details for awblib-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for awblib 0.0.3
File Interpreter ABI Platform Actions
awblib-0.0.3-py3-none-any.whl Python 3 none any Details for awblib-0.0.3-py3-none-any.whl

Total release size: 27.1 kB

Release files / awblib-0.0.3.tar.gz

Download URL awblib-0.0.3.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
56517410cacf664088943d057ba45a37b8a8df9259ee6056e7e44649b8d0556e
BLAKE2b-256 checksum
How to use checksums
303cd2f42fca73f7c6d38a1ffa198c3c5d640dae218cbbd8352dec1b0b520661
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1041-azure

Release files / awblib-0.0.3-py3-none-any.whl

Download URL awblib-0.0.3-py3-none-any.whl
Size 15.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
44782a7a0f947bd0fcbd0379c5ef39f8b1512e0761d7ac76256ef798932359ef
BLAKE2b-256 checksum
How to use checksums
54956cdaaf1fee21b9b8b092e91dbc7b7794a72e9f9b954478a3ce3b56ae6930
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1041-azure

Security for awblib 0.0.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page