Skip to main content

A bunch of Automatic White-Balancing (AWB) Algorithm implementations

Project description

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

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

awblib-0.0.3.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

awblib-0.0.3-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file awblib-0.0.3.tar.gz.

File metadata

  • Download URL: awblib-0.0.3.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1041-azure

File hashes

Hashes for awblib-0.0.3.tar.gz
Algorithm Hash digest
SHA256 56517410cacf664088943d057ba45a37b8a8df9259ee6056e7e44649b8d0556e
MD5 876bfc5c24cfabe5f81cf36faa9c6e6e
BLAKE2b-256 303cd2f42fca73f7c6d38a1ffa198c3c5d640dae218cbbd8352dec1b0b520661

See more details on using hashes here.

File details

Details for the file awblib-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: awblib-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1041-azure

File hashes

Hashes for awblib-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 44782a7a0f947bd0fcbd0379c5ef39f8b1512e0761d7ac76256ef798932359ef
MD5 3b9f950fecdcea8a3fa6190a2a379673
BLAKE2b-256 54956cdaaf1fee21b9b8b092e91dbc7b7794a72e9f9b954478a3ce3b56ae6930

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page