Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
ksonod committed Dec 28, 2023
2 parents 0db5f29 + 9b1126b commit 37b3762
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
This repository provides:
- Python version of the auto-white-balance (AWB) method based on [principle component analysis](https://en.wikipedia.org/wiki/Principal_component_analysis) (PCA) [[1](https://opg.optica.org/josaa/abstract.cfm?uri=josaa-31-5-1049)].
- Python RGB data processing pipeline to convert raw mosaiced images to standard RGB images (i.e., demosaicing, AWB, color correction matrix, gamma correction, and color enhancement).
- Matlab script to construct a color correction matrix (CCM) using [Macbeth chart](https://en.wikipedia.org/wiki/ColorChecker).
- Matlab script to construct a color correction matrix (CCM) using [Macbeth chart](https://en.wikipedia.org/wiki/ColorChecker).

*I am not the author of the aforementioned paper. I have built this tool only for learning purposes.


# How to Use
1. Open [main.py](https://github.com/ksonod/pca-auto-white-balance/blob/main/sample/rgb_processing/main.py) in `./sample/rgb_processing` and specify config dictionaries.
Expand All @@ -15,4 +18,4 @@ Sample raw data in `./data/sample_image` is taken from [[2](https://www.kaggle.c

# References
[[1](https://opg.optica.org/josaa/abstract.cfm?uri=josaa-31-5-1049)] D. Cheng, D. K. Prasad, and M. S. Brown, Illuminant estimation for color consistency: why spatial domain methods work and the role of the color distribution, J. Opt. Soc. Am. A 31. 1049-1058, 2014
[[2](https://www.kaggle.com/datasets/tenxengineers/auto-white-balance-awb)] 10xEngineers. (2023). Auto White Balance (AWB) Dataset. Kaggle.com. https://www.kaggle.com/datasets/tenxengineers/auto-white-balance-awb [Accessed]: Dec. 26, 2023
[[2](https://www.kaggle.com/datasets/tenxengineers/auto-white-balance-awb)] 10xEngineers. (2023). Auto White Balance (AWB) Dataset. Kaggle.com. https://www.kaggle.com/datasets/tenxengineers/auto-white-balance-awb [Accessed]: Dec. 26, 2023

0 comments on commit 37b3762

Please sign in to comment.