A method, apparatus, and computer for enhancing the quality of images that
have been subjected to degradation. One example of such degradation
occurs as the result of haze in the atmosphere. An enhancement function
is derived according to a reference digital image and a degraded version
of the reference digital image. The enhancement function is applied to a
new digital image to produce an enhanced digital image.