A regularized optimization approach to fast image dehazing