Image processing method and apparatus using a pixelated mask image and terminal orientation for a reflection effect
Abstract:
An image processing method and an apparatus relate to the field of image processing and add a diffuse reflection effect to a projection image in real time and reduce a calculation volume of adding the diffuse reflection effect. The method includes obtaining a first image that includes a diffuse reflection object, where the first image is an image obtained when the diffuse reflection object is illuminated by a light source, obtaining a mask image corresponding to the diffuse reflection object, obtaining orientation information of a terminal and obtaining a second image based on the orientation information, the first image, and the mask image, where the second image is an image that includes the diffuse reflection object and a diffuse reflection effect and that is generated by superposing the first image and the mask image moved based on the orientation information.
Information query
Patent Agency Ranking
0/0