Image smog restoration using oblique gradient profile prior and energy minimization