Single image dehazing using kernel regression model and dark channel prior