The invention, which belongs to the computer application technology field, relates to a digital fog effect filter method based on dark primary color channel prior principle. A model in which an atmospheric scattering model is applied for defogging in haze weather and a dark primary color channel prior principle is employed to carry out operation on an image, wherein the operation including dark primary image extraction, atmospheric light estimation, transmissivity conversion, optimization compensation and fog effect simulation and the like. According to the invention, a solution scheme is proposed for limitation of an exiting model; on the basis of a perspective concept, a traditional defogging method is changed into a fog effect filter method to obtain foggy / fog-free scenes with different fog effects, so that defects existing in the prior art are overcome. According to the method, only a physical model and data calculation are needed to carry out correction operation on the physical model, thereby substantially reducing time and space and improving generality of the method.