1

I came across to different search result from google or bing, I couldn't find a good example of adapting auto white balance for a bitmap file such as jpg. My goal is to figure out how white balance algorithm works and how to adapt it using c#, java, or any programming language to achieve it. If anyone could share some snippet or some resource, I would greatly appreciate it!

skaffman
  • 398,947
  • 96
  • 818
  • 769
Aznkk77
  • 11
  • 1
  • 3

2 Answers2

0

The concept that is used in editing RAW format photos is the choose the whitest point in a photograph, then adjust to 255, 255, 255 ... but realistically, I adjust to around 240, 240, 240

I use Adobe bridge a lot for this

JoeyH
  • 335
  • 2
  • 10
0

There's an C# code here for Gimp white balance algorithm. It is simple and fast.

Tamara
  • 11
  • 2