Application of a color-appearance model to vision through atmospheric haze