Image rendering method and device and electronic device
An image rendering and image technology, applied in the field of three-dimensional reconstruction, can solve the problems of virtual reality effects such as lack of realism, lack of realism, and poor user experience, and achieve the effect of enhancing virtual reality effects and realism, and improving user experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] First, refer to figure 1 An example electronic device 100 for implementing the image rendering method and apparatus of the embodiments of the present invention will be described.
[0051] Such as figure 1 As shown, the electronic device 100 includes one or more processors 102, one or more storage devices 104, an input device 106, an output device 108, and an image acquisition device 110, and these components are connected through a bus system 112 and / or other forms of connection mechanisms (not shown) interconnects. It should be noted that figure 1 The components and structure of the electronic device 100 shown are only exemplary, not limiting, and the electronic device may also have other components and structures as required.
[0052] The processor 102 may be a central processing unit (CPU), a graphics processing unit (Graphics Processing Unit, GPU) or other forms of processing units with data processing capabilities and / or instruction execution capabilities, and m...
Embodiment 2
[0061] figure 2 shows a flow chart of an image rendering method provided by this embodiment, as shown in Figure 4 As shown, the method includes the following steps:
[0062] Step S202, acquiring three-dimensional spatial information of the image.
[0063] Wherein, the image is a three-dimensional scene image constructed by the processor according to the depth image, or a three-dimensional scene image constructed by combining the depth image and the color image. The depth image can reflect the distance between different objects or different parts of the same object and the camera, and then reflect the three-dimensional spatial information of the object being photographed. The depth image may be an image collected in real time by a depth camera in the image acquisition device, or may be a pre-stored depth image. Similarly, the color image may be an image collected in real time by a color camera in the image acquisition device, or a pre-stored color image. If the depth imag...
Embodiment 3
[0119] Corresponding to the foregoing method embodiments, this embodiment provides an image rendering device, see Figure 4 A schematic structural diagram of an image rendering device is shown, the device includes:
[0120] A background information acquisition module 41, configured to acquire the three-dimensional space information of the image;
[0121] The rendering rule adjustment module 42 is configured to determine the coordinate variation of the current position of the target object in the image according to the three-dimensional space information of the image; determine the real-time rendering rule of the image according to the coordinate variation of the current position;
[0122] The rendering module 43 is configured to render the image according to the determined real-time rendering rule.
[0123] Wherein, the background information acquisition module 41 may also be configured to: acquire a depth image of the image, and obtain three-dimensional space information of ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


