A method of layered image virtualization based on monocular depth estimation is proposed, which can make the foreground clear and the background blurred. When it is farther away from the lens, then it is more obvious for the effect of virtualization. First of all, the image is reduced in proportion, and the edges of objects in the image are detected, and generating line scan information map using linear tracing . A depth map is obtained by smoothing the initial depth map with a bilateral filter. The image background is layered according to the depth information of image. The Gauss fuzzy processing is done in the layered to obtain, the final image layered virtual effect, which enhances the image expression and artistic effect. The effect of this technology is ideal, and it can achieve a good effect of layered image blurring.