| CPC G06T 5/50 (2013.01) [G06T 7/90 (2017.01); G06T 15/00 (2013.01); G06V 10/56 (2022.01); G06T 2207/10024 (2013.01); G06T 2207/20221 (2013.01)] | 15 Claims |

|
1. An image processing method comprising:
obtaining an RGB image and a stencil buffer, wherein the RGB image comprises: image information taken by a physical camera and image information rendered by a virtual object rendering module, and the stencil buffer stores stencil values corresponding to pixels of the RGB image, and pixels to be post-processed and pixels not to be post-processed of the RGB image correspond to different stencil values;
obtaining a target image by processing the RGB image according to the stencil buffer, wherein pixels not to be post-processed in the target image are in a preset color;
obtaining a post-processed image by post-processing the target image; and
determining an image to be displayed according to the post-processed image.
|