Common algorithms for white balance, including gray world method, perfect inverse color method, white balance algorithm based on automatic threshold processing, etc., are all executed after debugging on win32 platform.