Image processing method and device in AR scene, electronic equipment and storage medium
An image processing and image technology, which is applied in the field of image processing, can solve problems such as difficulty in achieving good results, affecting users' judgment of road conditions, and unclearness, etc., to achieve the effects of augmenting reality user experience, improving picture display quality, and simplifying calculations
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] figure 1 It is a flow chart of the image processing method in the AR scene provided by Embodiment 1 of the present invention. This embodiment is applicable to some areas of the real scene image that are too dark or overexposed due to factors such as light and shadow in the AR scene, and image processing is required. For example, if the road condition image is not clear in AR navigation, image fill light is required or the picture in AR games is not clear, etc. The method can be executed by an image processing device in the AR scene, the device can be implemented by software and / or hardware, and generally can be integrated in the AR device or server. Such as figure 1 As shown, the method specifically includes:
[0032] S110. Acquire a depth image corresponding to the current real-scene image.
[0033] In this embodiment, the real scene image refers to a scene reproduced according to real environment information, for example, a photo or a video of the real environment ...
Embodiment 2
[0047] On the basis of the foregoing embodiments, this embodiment provides an implementation manner of performing coloring processing on an ambient light occlusion image according to virtual lighting parameters. Explanations of terms that are the same as or corresponding to those in the foregoing embodiments will not be repeated in this embodiment.
[0048] Specifically, performing coloring processing on the ambient light occlusion image according to virtual lighting parameters, including: reading the virtual lighting parameters; Shade each pixel in the image for coloring.
[0049] When performing pixel shading processing in two-dimensional screen space, the stored virtual lighting parameters are first read, and the ambient light occlusion image is colored pixel by pixel according to the virtual lighting parameters and the original image data, and the colored image is displayed in real time Image, for the user to view.
[0050] In an optional implementation manner, performin...
Embodiment 3
[0057] On the basis of the foregoing embodiments, this embodiment provides an implementation manner of acquiring an ambient light occlusion image corresponding to a depth image. Explanations of terms that are the same as or corresponding to those in the foregoing embodiments will not be repeated in this embodiment.
[0058] This embodiment uses the SSAO method to render an image as an example for illustration, and the SSAO can be calculated by using a normal-based hemispherical integral or a line-of-sight-based spherical integral.
[0059] Specifically, acquiring the ambient light occlusion image corresponding to the depth image includes:
[0060] Calculate the normal vector of each pixel in the depth image; calculate the shading value of each pixel according to the depth value and normal vector of each pixel, and obtain the ambient light shading image;
[0061] or,
[0062] Determine the line-of-sight vector of each pixel in the depth image; calculate the shading value of e...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com