Visible light images and infrared images can effectively complement each other in visual information. Effective fusion of infrared images and visible light images can not only provide better visual effects, but also provide more visual information. In this paper, the discrete cosine wavelet transform is used to obtain the basic information of the image, and the high-pass filter is used to obtain the characteristic information of the image, and the basic information and the characteristic information are effectively fused. In this paper, two-level discrete cosine wavelet transform is performed on the image, which can effectively extract features without distorting the image; secondly, use image quantization to encode, compress and decode the image, reduce the amount of image data, increase the computing speed, and be effective Perform fusion operations on color images. A representative image evaluation method is used to evaluate the fusion image, and the effectiveness of the proposed method is discussed. Experiments have proved that this method is more effective than other methods, and the effect is more obvious in the fusion of color images and infrared images.