The invention discloses a colorful
haze image defogging and illumination compensation
restoration method. The method mainly solves the problems of restoration result color
distortion, halo artifacts and darker halos existing in the prior art. The method comprises the steps of using a dark channel image D (x, y) of a
haze image I (x, y) for initially estimating air curtain images, conducting gray opening operation on the dark channel image, and obtaining an air curtain image rough
estimation image D' (x, y); taking the dark channel image as a guide image, conducting guide filtering on the air curtain image rough
estimation image, and obtaining an air curtain image V (x, y); conducting difference on the
haze image and the air curtain image, and obtaining a residual image E (x, y); conducting gray closing operation on a bright channel image B (x, y) of the residual image, and obtaining an illumination component image rough
estimation image B' (x, y); taking the bright channel image as a guide image, conducting guide filtering on the illumination component image rough estimation image, and obtaining an illumination component image L (x, y); substituting the illumination component image into an illumination-reflection imaging model, and conducting solving to obtain a restoration result. According to the method, a clear image can be stably restored without calculating ambient light and transmissivity.