Light and shadow rendering method, device and electronic device for virtual object in panoramic video

A technology of virtual objects and panoramic video, applied in the field of image processing, can solve the problem of unwillingness to use, and achieve the effect of effective heat dissipation and beautiful appearance of mobile phones
CN109064544AInactive Publication Date: 2018-12-21PACIFIC FUTURE TECH (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
PACIFIC FUTURE TECH (SHENZHEN) CO LTD
Publication Date
2018-12-21
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention provides a light and shadow rendering method of a virtual object in a panoramic video, a device and an electronic device. The method comprises the following steps: judging whether a preset virtual object characteristic point is included in a current picture of a panoramic video on a display screen; and determining whether the preset virtual object characteristic point is included in the current picture of the panoramic video. If the virtual object feature points are included, decomposing the current picture into a first preset number of sub-pictures; Determininga light intensity weighting center according to an image moment of the sub-picture, and determining light source position information of the current picture based on the light intensity weighting center and the geometric center of the sub-picture; Determining contour information and position information of the virtual object based on the feature points of the virtual object; A light and shadow effect of that virtual object is generate according to the light source position information and the outline information and the position information of the virtual object. Whether a virtual object is included in a currently played panoramic video can be determined in real time, and a light shadow effect of the virtual object is generated according to a light source position in the video.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the technical field of image processing, in particular to a light and shadow rendering method, device and electronic equipment for virtual objects in panoramic video. Background technique

[0002] Virtual reality technology aims to use computer technology to build a virtual world with the same perception as the real world. When users watch panoramic videos, they can drag and watch panoramic videos at any angle in 360 degrees, so that they have a truly immersive feeling. In addition, watching with VR glasses will have a stronger sense of immersion. However, in the process of implementing the present invention, the inventor found that in related technologies, since the virtual objects are pre-generated by computer, and the screen area of ​​the panoramic video can be switched in 360 degrees, it is impossible to obtain in advance which of the panoramic videos the user watches. area, so that light and shadow effects cannot ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More