According to the characteristics of foggy images, such as high noise, low resolution, and uneven illumination, an improved foggy image enhancement method based on dark channel priority is proposed. First, the new algorithm refines the transmittance and optimizes the atmospheric light value and converts the restored image to HSV space. Second, the brightness V component is enhanced by MSRCR algorithm improved by bilateral filtering, and the saturation S is improved by adaptive stretching algorithm. Finally, the image is converted from HSV space to RGB space to complete image enhancement. The new method solves the problems of that the color of large area is uneven and the overall color of the image is dark when the traditional dark channel prior method is used to remove fog. The experimental results show that from subjective evaluation and quantitative analysis the new algorithm overcomes the shortcomings of noise amplification and edge blur when the conventional enhancement algorithm enhances the image. It can improve image darkening and avoid image distortion in JPEG, BMP, GIF, PNG, PSD, and TIFF formats. By comparing with other image enhancement algorithms, the improved algorithm performs better than DCP, SSR, MSR, MSRCR, and CLAHE algorithm in PSNR, SSIM, and IE evaluation indexes. It has a good effect on preserving the edge information and has good adaptability and stability for heavily polluted haze image enhancement.