See Thru algorithm - An algorithm to remove color cast in underwater pictures

Goes with this thread: