This paper studies the processing of digital media images using a diffusion equation to increase the contrast of the image by stretching or extending the distribution of luminance data of the image to obtain clearer information of digital media images. In this paper, the image enhancement algorithm of nonlinear diffusion filtering is used to add a velocity term to the diffusion function using a coupled denoising model, which makes the diffusion of the original model smooth, and the interferogram is solved numerically with the help of numerical simulation to verify the denoising processing effect before and after the model correction. To meet the real-time applications in the field of video surveillance, this paper focuses on the optimization of the algorithm program, including software pipeline optimization, operation unit balancing, single instruction multiple data optimization, arithmetic operation optimization, and onchip storage optimization. These optimizations enable the nonlinear diffusion filter-based image enhancement algorithm to achieve high processing efficiency on the C674xDSP, with a processing speed of 25 posts per second for 640 × 480 size video images. Finally, the significance means a value of super pixel blocks is calculated in superpixel units, and the image is segmented into objects and backgrounds by combining with the Otsu threshold segmentation algorithm to mention the image. In this paper, the proposed algorithm experiments with several sets of Kor Kor resolution remote sensing images, respectively, and the Markov random field model and fully convolutional network (FCN) algorithm are used as the comparison algorithm. By comparing the experimental results qualitatively and quantitatively, it is shown that the algorithm in this paper has an obvious practical effect on contrast enhancement of digital media images and has certain practicality and superiority.