Patent ID: 10748329

Abstract:
An image processing method and apparatus belong to the technical field of image processing. The method is applied to a mobile terminal, and includes: acquiring a target image on a Two-dimensional (2D) image (S11); creating a Three-Dimensional (3D) image layer, taking the 2D image as a background of the 3D image layer, and creating a background frame on the 3D image layer (S12); detecting an orientation of the mobile terminal, and adjusting a shape of the background frame according to the orientation of the mobile terminal, so that different areas of the 2D image are moved into or out of the background frame (S13); and when the target object on the 2D image is not completely accommodated within the background frame, drawing the target object at a position of the target object on the 3D image layer (S14), where the 2D image, the background frame, and the drawn target object on the 3D image layer are sequentially stacked from bottom to top. The method and the apparatus implement the effect that the 2D image is presented as a 3D effect on the mobile terminal.