WO2017156742A1 - Virtual reality-based image displaying method and related device - Google Patents

Virtual reality-based image displaying method and related device Download PDF

Info

Publication number
WO2017156742A1
WO2017156742A1 PCT/CN2016/076584 CN2016076584W WO2017156742A1 WO 2017156742 A1 WO2017156742 A1 WO 2017156742A1 CN 2016076584 W CN2016076584 W CN 2016076584W WO 2017156742 A1 WO2017156742 A1 WO 2017156742A1
Authority
WO
WIPO (PCT)
Prior art keywords
head posture
display data
data
difference
display
Prior art date
Application number
PCT/CN2016/076584
Other languages
French (fr)
Chinese (zh)
Inventor
李刚
龙寿伦
Original Assignee
深圳多哚新技术有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳多哚新技术有限责任公司 filed Critical 深圳多哚新技术有限责任公司
Priority to PCT/CN2016/076584 priority Critical patent/WO2017156742A1/en
Publication of WO2017156742A1 publication Critical patent/WO2017156742A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/14Picture signal circuitry for video frequency region
    • H04N5/21Circuitry for suppressing or minimising disturbance, e.g. moiré or halo
    • H04N5/213Circuitry for suppressing or minimising impulsive noise

Definitions

  • the present invention relates to the field of image processing, and in particular, to a virtual reality based screen display method and related device.
  • Virtual reality technology is a computer simulation system that can create and experience a virtual world. It uses a computer to generate a simulation environment. It is a multi-source information fusion interactive system simulation of three-dimensional dynamic vision and physical behavior to immerse users in the system. Environment.
  • the user's head position needs to be tracked to display the image that the user can see in real time, specifically through the sensor integrated on the VR glasses.
  • the gyroscope collects the offset angle ⁇ data of the user's head, and then the MCU collects the collected data to generate the user's head angle data, and adds the predicted point deviation angle to the CPU and the GPU for processing and rendering, and finally reaches the real-time display.
  • the image seen by the user's head needs to be tracked to display the image that the user can see in real time, specifically through the sensor integrated on the VR glasses.
  • the gyroscope collects the offset angle ⁇ data of the user's head, and then the MCU collects the collected data to generate the user's head angle data, and adds the predicted point deviation angle to the CPU and the GPU for processing and rendering, and finally reaches the real-time display.
  • the image seen by the user's head is a virtual reality (VR) smart device work process.
  • the existing image data smoothing processing method generally adopts a mean value processing, that is, a position of several adjacent calculation points, for example, a calculation point position X1, X2 of a certain two adjacent time frames, and display of the latter frame.
  • the point adopts the mean value, that is, (X1+X2)/2, to achieve smooth processing of the data, and reduce the user's picture jitter feeling.
  • the mean data smoothing method causes the display point X3 of the frame to be offset from the display point position of the previous frame, that is, the position difference between the two frames is large, which is easy to bring obvious image jitter to the user, and reduces the user experience. .
  • an embodiment of the present invention provides a virtual reality based screen display method and related device.
  • a virtual reality based screen display method comprising:
  • the current screen is displayed based on the head posture pre-display data Q2.
  • the method further includes:
  • the current picture is displayed according to the head posture current data Q2'.
  • the smoothing processing of the head posture current data Q2' to obtain the head posture pre-display data Q2 includes:
  • the difference between the head posture pre-display data Q2 after smoothing and the head posture display data Q1 is made smaller than the first difference ⁇ .
  • the difference between the smoothed processed head posture pre-display data Q2 and the head posture display data Q1 is smaller than the first difference ⁇ .
  • a virtual reality based screen display device comprising:
  • An obtaining unit configured to acquire head posture display data Q1 of the last screen display
  • the obtaining unit is further configured to acquire a head posture current data Q2' pre-displayed by the current picture;
  • a determining unit configured to determine a first difference ⁇ between the head posture display data Q1 and the head posture current data Q2';
  • a processing unit configured to determine whether the difference ⁇ exceeds a preset threshold, and if so, smoothing the head posture current data Q2' to obtain head posture pre-display data Q2;
  • a display unit configured to display the current picture according to the head posture pre-display data Q2 Show.
  • processing unit is further configured to:
  • the current picture is displayed according to the head posture current data Q2'.
  • processing unit is further configured to
  • the difference between the head posture pre-display data Q2 and the head posture display data Q1 after smoothing is smaller than the first difference ⁇ .
  • the image processing device is a virtual reality device.
  • a device for displaying a virtual reality based screen comprising: a processor and a memory, wherein
  • a computer readable program is stored in the memory
  • the processor is configured to execute a method based on virtual reality based screen display by running a program in the memory.
  • the virtual reality-based screen display method and related device in the embodiment of the present invention acquires the head posture display data Q1 displayed on the previous screen, acquires the head posture current data Q2′ displayed on the current screen, and determines the head posture. And displaying a difference ⁇ between the data Q1 and the head posture current data Q2′, determining whether the first difference ⁇ exceeds a preset threshold, and if so, smoothing the head posture current data Q2 ′
  • the head posture pre-display data Q2 is obtained, and the current screen is displayed according to the head posture pre-display data Q2, which can reduce the jitter and drift of the screen seen by the human eye, and improve the user experience.
  • FIG. 1 is a schematic diagram of a method for processing a mean value in the prior art
  • FIG. 2 is a flowchart of an embodiment of a virtual reality based screen display method according to an embodiment of the present invention
  • FIG. 3 is a structural diagram of an embodiment of a virtual reality based screen display device in an embodiment of the present invention.
  • FIG. 4 is a structural diagram of an embodiment of a virtual reality based screen display device in an embodiment of the present invention.
  • an embodiment of an image processing method provided in an embodiment of the present invention includes:
  • the head posture display data Q1 refers to data used for displaying a picture in the previous frame.
  • the pre-displayed head pose current data Q2' refers to the display data that is to be used as the current frame screen display. It can be understood that it needs to be tested before it can be used. If it fails to pass the test, it can be used after the subsequent smoothing process. There is no limit here.
  • the head posture display data Q1 used by the picture of the previous frame is used to check the pre-displayed head posture current data Q2', because studies have shown that when the previous frame picture and the current frame picture are greatly offset, The current picture is drifted, which may cause discomfort to the user.
  • the limit value of the offset is used as a preset threshold, which is not limited herein.
  • the preset threshold When the preset threshold is exceeded, it indicates that there is a problem with the current posture Q2' of the head posture used for the pre-display. If it is not directly used, the current data Q2' of the head posture can be processed by the smoothing processing, and the specific operation for the smoothing processing is It should be understood by ordinary technicians that the details are not described.
  • the head posture current data Q2' is smoothed to obtain the head posture pre-display data Q2, which may include the following methods:
  • the difference between the head posture pre-display data Q2 after the smoothing process and the head posture display data Q1 is made smaller than the first difference value.
  • the difference here refers to the absolute value of the difference between the two head pose data.
  • the smoothing adjustment value M is set, and the head posture pre-display data Q2 is smoothed to a value at the adjustment smoothing value M in the same direction as the head posture display data Q1; for example, the head posture pre-display
  • M is a constant, which is a preferred value for statistical analysis based on a large amount of experimental data.
  • the same direction here means that if the latter picture is above the previous picture, it is +M. If the latter picture is below the previous picture, it is -M, that is, the vector of the pre-display data Q2 and the head posture display data Q1.
  • the direction and the vector direction of the head posture current data Q2' and the head posture display data Q1 are on the same side in the horizontal direction. 4.
  • the Q2 smoothing process is at the sum of the smoothing adjustment value M in the same direction as the head posture display data Q1 and the second difference ⁇ '.
  • the head posture pre-display data Q2 Q1 ⁇ M+ ⁇ ′
  • Q1′ is the last data of the head posture displayed on the previous screen, where M is a constant, which is a preference based on statistical analysis of a large amount of experimental data. value.
  • the previous data Q1' refers to the obtained posture data for displaying the previous screen without performing smoothing processing.
  • the head posture pre-display data Q2 is smoothed to display the current picture, and the current intelligent reality picture is optimized in advance to avoid user discomfort caused by the drift of the picture.
  • the head pose current data Q2' After checking that the head pose current data Q2' does not appear to have a large offset, the head pose current data Q2' can be directly used to display the current screen.
  • An embodiment of the method for performing head posture adjustment by using a first calculation point as a calculation reference includes:
  • S1 Acquire a detection coordinate of a position where the first calculation point in the current frame is located.
  • the first calculation point here refers to a reference point selected in order to calculate the relative position of the current frame picture and the next frame picture when performing image display, and the position of the first calculation point can be flexibly selected, and is not limited, specifically selected. After the first calculation point is determined, the detection coordinates in the current frame, that is, the coordinate position of the current first calculation point, are acquired.
  • the parameters such as the moving direction and speed of the device can be determined according to the collected sensor parameters, and the pre-display coordinates of the first calculated point in the next frame image can be obtained according to the moving direction and the speed parameters.
  • the pre-display coordinate is the parameter actually detected by the sensor. If the parameter displayed by the parameter with excessive deviation is jittery, it is necessary to judge the obtained pre-display coordinates in the subsequent steps to determine whether it can be used.
  • the deviation of the distance is used to determine whether a large offset occurs. First, the detection coordinates of the first calculation point of the current frame are calculated and the pre-display coordinates are calculated to calculate the displacement value between the two.
  • the distance threshold is preset.
  • the specific value can be obtained according to the test. It is not limited here.
  • the pre-display coordinate has a large displacement. Poor, if the next frame image is displayed according to the pre-display coordinates, screen jitter may occur, so a point on the line between the detected coordinates and the pre-display coordinates may be used as the actual display coordinate of the first calculation point in the next frame image.
  • the actual display coordinate is in the direction of the pre-display coordinate.
  • the distance between the actual display coordinate and the detected coordinate is within a preset fixed value, and the actual display coordinate is when the pre-display coordinate is located at the lower left of the detected coordinate.
  • the actual display coordinates should also be in the direction of the lower left of the detected coordinates. It should be noted that the displacement value between the actual display coordinate position and the detected coordinates in the current frame should not exceed the preset distance threshold to avoid a large occurrence. Deviations will be understood by those of ordinary skill in the art and will not be described.
  • the jitter of the picture seen by the human eye can be reduced, and the user's experience is enhanced.
  • a virtual reality-based screen display device As shown in FIG. 3, in the embodiment of the present invention, a virtual reality-based screen display device is provided, wherein the device includes:
  • the acquiring unit 301 is configured to acquire the head posture display data Q1 displayed on the previous screen;
  • the obtaining unit 301 is further configured to acquire a head posture current data Q2' pre-displayed by the current picture;
  • a determining unit 302 configured to determine a first difference ⁇ between the head posture display data Q1 and the head posture current data Q2';
  • the processing unit 303 is configured to determine whether the difference ⁇ exceeds a preset threshold, and if so, smoothing the head posture current data Q2' to obtain head posture pre-display data Q2;
  • the display unit 304 is configured to display the current screen according to the head posture pre-display data Q2.
  • processing unit 303 is further configured to:
  • the current picture is displayed according to the head posture current data Q2'.
  • the processing unit 303 is further configured to make the difference between the smoothed processed head posture pre-display data Q2 and the head posture display data Q1 be smaller than the first difference value ⁇ .
  • the virtual reality based screen display device is a virtual reality device.
  • An embodiment of the present invention further provides an apparatus for displaying a virtual reality based screen, including: a processor and a memory, where
  • a computer readable program is stored in the memory
  • the processor is configured to execute virtual reality based by running a program in the memory The method of displaying the screen.
  • an apparatus for displaying a virtual reality based screen including: a processor 401 and a memory 403, where
  • the computer 401 stores a computer readable program
  • the processor 403 is configured to: run the program in the memory, specifically:
  • the current screen is displayed based on the head posture pre-display data Q2.
  • FIG. 4 is a schematic diagram of a virtual reality based screen display device according to an embodiment of the present invention.
  • the virtual reality based picture display device 400 includes at least one processor 401, a communication bus 402, a memory 403, and at least one communication interface 404.
  • the processor 401 can be a general purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present invention.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • Communication bus 402 can include a path for communicating information between the components described above.
  • the communication interface 404 uses devices such as any transceiver for communicating with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), and the like.
  • RAN Radio Access Network
  • WLAN Wireless Local Area Networks
  • the memory 403 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type that can store information and instructions.
  • the dynamic storage device can also be an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and Any other medium that is accessible by the computer, but is not limited to this.
  • the memory can exist independently and be connected to the processor via a bus. The memory can also be integrated with the processor.
  • the memory 403 is used to store program code for executing the solution of the present invention, and is controlled by the processor 401 for execution.
  • the processor 401 is configured to execute program code stored in the memory 403.
  • the processor 401 may include one or more CPUs, such as CPU0 and CPU1 in FIG.
  • the virtual reality based picture display device 400 may include multiple processors, such as the processor 401 and the processor 408 in FIG. Each of these processors can be a single-CPU processor or a multi-core processor.
  • a processor herein may refer to one or more devices, circuits, and/or processing cores for processing data, such as computer program instructions.
  • the virtual reality based screen display device 400 may further include an output device 405 and an input device 406.
  • Output device 405 is in communication with processor 401 and can display information in a variety of ways.
  • the output device 405 can be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. Wait.
  • Input device 406 is in communication with processor 401 and can accept user input in a variety of ways.
  • input device 406 can be a mouse, keyboard, touch screen device, or sensing device, and the like.
  • the above-described virtual reality-based screen display device 400 can be a general purpose computer device or a dedicated computer device.
  • the virtual reality based screen display device 400 may be a virtual reality device, a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, and a communication device.
  • PDA personal digital assistant
  • embedded devices or devices with similar structures in Figure 4-b The embodiment of the present invention does not limit the type of the virtual reality based screen display device 400.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are only for example, the division of the unit is only a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be combined or may be integrated into another system, or some features. Can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.
  • ROM Read Only Memory
  • RAM Random Access Memory

Abstract

A virtual reality-based image displaying method and a related device. Head posture display data Q1 displayed in a previous image is acquired (S201), head posture current data Q2' pre-displayed in a current image is acquired (S202), a first difference Δ between the head posture display data Q1 and the head posture current data Q2' is determined (S203), a determination is made on whether the difference Δ exceeds a preset threshold; and if yes, then the head posture current data Q2' is smoothed to produce head posture pre-display data Q2 (S205), thus reducing visually observed image jittering and drifting, and increasing user experience.

Description

一种基于虚拟现实的画面显示方法及相关设备Virtual reality based screen display method and related equipment 技术领域Technical field
本发明涉及图像处理领域,特别涉及一种基于虚拟现实的画面显示方法及相关设备。The present invention relates to the field of image processing, and in particular, to a virtual reality based screen display method and related device.
背景技术Background technique
虚拟现实技术是一种可以创建和体验虚拟世界的计算机仿真系统它利用计算机生成一种模拟环境是一种多源信息融合的交互式的三维动态视景和实体行为的系统仿真使用户沉浸到该环境中。Virtual reality technology is a computer simulation system that can create and experience a virtual world. It uses a computer to generate a simulation environment. It is a multi-source information fusion interactive system simulation of three-dimensional dynamic vision and physical behavior to immerse users in the system. Environment.
在虚拟现实(Virtual Reality,VR)智能设备工作过程中,需要对用户的头部位置进行追踪,以实时准确的显示用户可看到的图像,具体是通过集成在VR眼镜上的传感器(sensor)、陀螺仪采集用户头部的偏移角度θ数据,再通过MCU对采集的数据进行融合计算生成用户头部角度数据,加上预测点偏离角度后发送给CPU及GPU处理渲染,最终达到实时显示用户头部看到的图像。In the virtual reality (VR) smart device work process, the user's head position needs to be tracked to display the image that the user can see in real time, specifically through the sensor integrated on the VR glasses. The gyroscope collects the offset angle θ data of the user's head, and then the MCU collects the collected data to generate the user's head angle data, and adds the predicted point deviation angle to the CPU and the GPU for processing and rendering, and finally reaches the real-time display. The image seen by the user's head.
如图1所示,现有图像数据平滑处理方法一般采用均值处理,即将相邻的几个计算点位置,例如,某两个相邻时间帧的计算点位置X1、X2,后一帧的显示点采用均值,即(X1+X2)/2,以实现数据的平滑处理,减小用户的画面抖动感觉,然而,当某一帧的计算点距离上一帧的显示点偏移很大,采用均值数据平滑处理方法会导致该帧的显示点X3距离上一帧的显示点位置偏移较大,即前后两帧位置相差较大,容易带给用户明显的画面抖动,降低了用户的体验感。As shown in FIG. 1 , the existing image data smoothing processing method generally adopts a mean value processing, that is, a position of several adjacent calculation points, for example, a calculation point position X1, X2 of a certain two adjacent time frames, and display of the latter frame. The point adopts the mean value, that is, (X1+X2)/2, to achieve smooth processing of the data, and reduce the user's picture jitter feeling. However, when the calculation point of a certain frame is greatly offset from the display point of the previous frame, The mean data smoothing method causes the display point X3 of the frame to be offset from the display point position of the previous frame, that is, the position difference between the two frames is large, which is easy to bring obvious image jitter to the user, and reduces the user experience. .
发明内容Summary of the invention
有鉴于此,本发明实施例提供了一种基于虚拟现实的画面显示方法及相关设备。In view of this, an embodiment of the present invention provides a virtual reality based screen display method and related device.
一种基于虚拟现实的画面显示方法,所述方法包括:A virtual reality based screen display method, the method comprising:
获取上次画面显示的头部姿态显示数据Q1;Obtaining the head posture display data Q1 of the last screen display;
获取当前画面预显示的头部姿态当前数据Q2’;Obtaining the head data current data Q2' pre-displayed on the current picture;
确定所述头部姿态显示数据Q1与所述头部姿态当前数据Q2’之间第 一差值Δ;Determining between the head posture display data Q1 and the head posture current data Q2' a difference Δ;
判断所述差值Δ是否超过预设阈值,如果超过,则对所述头部姿态当前数据Q2’进行平滑处理得到头部姿态预显示数据Q2;Determining whether the difference Δ exceeds a preset threshold, if so, smoothing the head posture current data Q2' to obtain head posture pre-display data Q2;
根据所述头部姿态预显示数据Q2对当前画面进行显示。The current screen is displayed based on the head posture pre-display data Q2.
可选地,所述方法还包括:Optionally, the method further includes:
如果所述差值Δ不超过预设阈值,根据所述头部姿态当前数据Q2’对当前画面进行显示。If the difference Δ does not exceed the preset threshold, the current picture is displayed according to the head posture current data Q2'.
所述对所述头部姿态当前数据Q2’进行平滑处理得到头部姿态预显示数据Q2包括:The smoothing processing of the head posture current data Q2' to obtain the head posture pre-display data Q2 includes:
使平滑处理后的所述头部姿态预显示数据Q2与所述头部姿态显示数据Q1的差值小于所述第一差值Δ。The difference between the head posture pre-display data Q2 after smoothing and the head posture display data Q1 is made smaller than the first difference Δ.
可选地,使平滑处理后的所述头部姿态预显示数据Q2与所述头部姿态显示数据Q1的差值小于所述第一差值Δ包括Optionally, the difference between the smoothed processed head posture pre-display data Q2 and the head posture display data Q1 is smaller than the first difference Δ.
获取所述头部姿态显示数据Q1和所述头部姿态当前数据Q2’的平均值,将所述头部姿态预显示数据Q2平滑处理为所述平均值;Acquiring an average value of the head posture display data Q1 and the head posture current data Q2', and smoothing the head posture pre-display data Q2 into the average value;
or
设置平滑调整值M,将所述头部姿态预显示数据Q2平滑处理为距离所述头部姿态显示数据Q1同向的调整平滑值M处的值;Setting a smoothing adjustment value M, and smoothing the head posture pre-display data Q2 to a value at an adjustment smoothing value M in the same direction as the head posture display data Q1;
or
获取上次画面显示的头部姿态的上次数据Q1’与所述头部姿态当前数据Q2’的第二差值Δ’,设置平滑调整值M,将所述头部姿态预显示数据Q2平滑处理为距离所述头部姿态显示数据Q1同向的平滑调整值M与所述第二差值Δ’的和值处。一种基于虚拟现实的画面显示装置,所述装置包括:Obtaining a second difference Δ′ between the previous data Q1′ of the head posture of the previous screen display and the head posture current data Q2′, setting a smoothing adjustment value M, and smoothing the head posture pre-display data Q2 The processing is at a sum of the smoothing adjustment value M in the same direction as the head posture display data Q1 and the second difference Δ'. A virtual reality based screen display device, the device comprising:
获取单元,用于获取上次画面显示的头部姿态显示数据Q1;An obtaining unit, configured to acquire head posture display data Q1 of the last screen display;
获取单元还用于获取当前画面预显示的头部姿态当前数据Q2’;The obtaining unit is further configured to acquire a head posture current data Q2' pre-displayed by the current picture;
确定单元,用于确定所述头部姿态显示数据Q1与所述头部姿态当前数据Q2’之间第一差值Δ;a determining unit, configured to determine a first difference Δ between the head posture display data Q1 and the head posture current data Q2';
处理单元,用于判断所述差值Δ是否超过预设阈值,如果超过,则对所述头部姿态当前数据Q2’进行平滑处理得到头部姿态预显示数据Q2;a processing unit, configured to determine whether the difference Δ exceeds a preset threshold, and if so, smoothing the head posture current data Q2' to obtain head posture pre-display data Q2;
显示单元,用于根据所述头部姿态预显示数据Q2对当前画面进行显 示。a display unit, configured to display the current picture according to the head posture pre-display data Q2 Show.
可选地,所述处理单元还用于:Optionally, the processing unit is further configured to:
如果所述第一差值Δ不超过预设阈值,根据所述头部姿态当前数据Q2’对当前画面进行显示。If the first difference Δ does not exceed the preset threshold, the current picture is displayed according to the head posture current data Q2'.
可选地,所述处理单元还用于使Optionally, the processing unit is further configured to
平滑处理后的所述头部姿态预显示数据Q2与所述头部姿态显示数据Q1的差值小于所述第一差值Δ。可选地,所述图像处理装置为虚拟现实设备。The difference between the head posture pre-display data Q2 and the head posture display data Q1 after smoothing is smaller than the first difference Δ. Optionally, the image processing device is a virtual reality device.
一种基于虚拟现实的画面显示的设备,包括:处理器和存储器,其中,A device for displaying a virtual reality based screen, comprising: a processor and a memory, wherein
所述存储器中存有计算机可读程序;a computer readable program is stored in the memory;
所述处理器通过运行所述存储器中的程序,以用于完成基于虚拟现实的画面显示的方法。The processor is configured to execute a method based on virtual reality based screen display by running a program in the memory.
本发明实施例中的基于虚拟现实的画面显示方法及相关设备,获取上次画面显示的头部姿态显示数据Q1,获取当前画面预显示的头部姿态当前数据Q2’,确定所述头部姿态显示数据Q1与所述头部姿态当前数据Q2’之间差值Δ,判断所述第一差值Δ是否超过预设阈值,如果超过,则对所述头部姿态当前数据Q2’进行平滑处理得到头部姿态预显示数据Q2,根据所述头部姿态预显示数据Q2对当前画面进行显示,可以降低人眼看到的画面的抖动和漂移,提升用户的体验感。The virtual reality-based screen display method and related device in the embodiment of the present invention acquires the head posture display data Q1 displayed on the previous screen, acquires the head posture current data Q2′ displayed on the current screen, and determines the head posture. And displaying a difference Δ between the data Q1 and the head posture current data Q2′, determining whether the first difference Δ exceeds a preset threshold, and if so, smoothing the head posture current data Q2 ′ The head posture pre-display data Q2 is obtained, and the current screen is displayed according to the head posture pre-display data Q2, which can reduce the jitter and drift of the screen seen by the human eye, and improve the user experience.
附图说明DRAWINGS
图1是现有技术中利用均值处理方法的示意图;1 is a schematic diagram of a method for processing a mean value in the prior art;
图2是本发明实施例中基于虚拟现实的画面显示方法的一种实施例的流程图;2 is a flowchart of an embodiment of a virtual reality based screen display method according to an embodiment of the present invention;
图3是本发明实施例中基于虚拟现实的画面显示装置的一种实施例的结构图;3 is a structural diagram of an embodiment of a virtual reality based screen display device in an embodiment of the present invention;
图4是本发明实施例中基于虚拟现实的画面显示设备的一种实施例的结构图。4 is a structural diagram of an embodiment of a virtual reality based screen display device in an embodiment of the present invention.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明 实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to provide a better understanding of the present invention by those skilled in the art, the present invention will be described below. The embodiments of the present invention are clearly and completely described in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth" and the like in the specification and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order. Or prioritization. It is to be understood that the data so used may be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than what is illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
结合图2所示,本发明实施例中提供的图像处理方法的一种实施例,所述方法包括:As shown in FIG. 2, an embodiment of an image processing method provided in an embodiment of the present invention includes:
S201、获取上次画面显示的头部姿态显示数据Q1。S201. Acquire head posture display data Q1 displayed on the previous screen.
头部姿态显示数据Q1是指上一帧中显示画面所用到的数据。The head posture display data Q1 refers to data used for displaying a picture in the previous frame.
S202、获取当前画面预显示的头部姿态当前数据Q2’。S202. Acquire a head posture current data Q2' that is pre-displayed on the current screen.
预显示的头部姿态当前数据Q2’是指准备用来作为当前帧画面显示用的显示数据,可以理解为需要经过检验才能使用,如果未能通过检验则可以经过后期的平滑处理再进行使用,这里不做限定。The pre-displayed head pose current data Q2' refers to the display data that is to be used as the current frame screen display. It can be understood that it needs to be tested before it can be used. If it fails to pass the test, it can be used after the subsequent smoothing process. There is no limit here.
S203、确定所述头部姿态显示数据Q1与所述头部姿态当前数据Q2’之间第一差值Δ。S203. Determine a first difference Δ between the head posture display data Q1 and the head posture current data Q2'.
利用上一帧的画面所用头部姿态显示数据Q1对预显示的头部姿态当前数据Q2’进行检验,因为经过研究表明,当上一帧画面和当前帧画面如果产生较大偏移时候会使得当前画面产生漂移,这样会引起使用者的不适,将这个偏移的极限值作为预设阈值使用,此处不进行限定。The head posture display data Q1 used by the picture of the previous frame is used to check the pre-displayed head posture current data Q2', because studies have shown that when the previous frame picture and the current frame picture are greatly offset, The current picture is drifted, which may cause discomfort to the user. The limit value of the offset is used as a preset threshold, which is not limited herein.
S204、判断所述第一差值Δ是否超过预设阈值,如果超过,则对所述头部姿态当前数据Q2’进行平滑处理得到头部姿态预显示数据Q2,执行S205。 S204. Determine whether the first difference Δ exceeds a preset threshold. If yes, perform smoothing on the head posture current data Q2' to obtain head posture pre-display data Q2, and execute S205.
当超出预设阈值则表明预显示使用的头部姿态当前数据Q2’存在问题,不可以直接使用,则可以利用平滑处理对头部姿态当前数据Q2’进行处理,对于平滑处理的具体操作,本领与普通技术人员应当了解,具体不作赘述。When the preset threshold is exceeded, it indicates that there is a problem with the current posture Q2' of the head posture used for the pre-display. If it is not directly used, the current data Q2' of the head posture can be processed by the smoothing processing, and the specific operation for the smoothing processing is It should be understood by ordinary technicians that the details are not described.
需要说明的是,对所述头部姿态当前数据Q2’进行平滑处理得到头部姿态预显示数据Q2可以包括以下几种方式:It should be noted that the head posture current data Q2' is smoothed to obtain the head posture pre-display data Q2, which may include the following methods:
1、使平滑处理后的所述头部姿态预显示数据Q2与所述头部姿态显示数据Q1的差值小于所述第一差值。这里的差值是指两个头部姿态数据的差的绝对值。1. The difference between the head posture pre-display data Q2 after the smoothing process and the head posture display data Q1 is made smaller than the first difference value. The difference here refers to the absolute value of the difference between the two head pose data.
2、所述对所述头部姿态当前数据Q2’进行平滑处理得到头部姿态预显示数据Q2包括:获取所述头部姿态显示数据Q1和所述头部姿态当前数据Q2’的平均值,将所述头部姿态预显示数据Q2平滑处理为所述平均值,例如对所述头部姿态预显示数据Q2=(Q1+Q2’)/2,即取平均值计算。2. The smoothing processing of the head posture current data Q2 ′ to obtain the head posture pre-display data Q2 includes: acquiring an average value of the head posture display data Q1 and the head posture current data Q2 ′, The head posture pre-display data Q2 is smoothed to the average value, for example, the head posture pre-display data Q2=(Q1+Q2')/2, that is, the average value calculation.
3、设置平滑调整值M,将所述头部姿态预显示数据Q2平滑处理为距离所述头部姿态显示数据Q1同向的调整平滑值M处的值;例如,所述头部姿态预显示数据Q2=Q1±M,±表示正负范围内,其中,M为常数,是根据大量实验数据统计分析的一个优选值。这里的同向是指如果后一画面在在前一画面上方,就是+M,如果后一画面在前一画面的下方就是-M,也就是预显示数据Q2与头部姿态显示数据Q1的矢量方向与所述头部姿态当前数据Q2’与头部姿态显示数据Q1的矢量方向是在水平方向的同一侧。4、获取上次画面显示的头部姿态的上次数据Q1’与所述头部姿态当前数据Q2’的第二差值Δ’,设置平滑调整值M,将所述头部姿态预显示数据Q2平滑处理为距离所述头部姿态显示数据Q1同向的平滑调整值M与所述第二差值Δ’的和值处。例如所述头部姿态预显示数据Q2=Q1±M+Δ’,Q1’为上次画面显示的头部姿态的上次数据,其中,M为常数,是根据大量实验数据统计分析的一个优选值。进一步,当所述头部姿态预显示数据Q2=Q1±N+(Q2’-Q1’)时,判断(Q2’-Q1’)的的第二差值Δ’是否大于所述第一差值Δ。这里的上次数据Q1’是指获取的用于对上次画面进行显示而没有进行平滑处理的姿态数据。3. The smoothing adjustment value M is set, and the head posture pre-display data Q2 is smoothed to a value at the adjustment smoothing value M in the same direction as the head posture display data Q1; for example, the head posture pre-display The data Q2 = Q1 ± M, ± indicates a range of positive and negative, where M is a constant, which is a preferred value for statistical analysis based on a large amount of experimental data. The same direction here means that if the latter picture is above the previous picture, it is +M. If the latter picture is below the previous picture, it is -M, that is, the vector of the pre-display data Q2 and the head posture display data Q1. The direction and the vector direction of the head posture current data Q2' and the head posture display data Q1 are on the same side in the horizontal direction. 4. Obtaining a second difference Δ′ between the previous data Q1′ of the head posture displayed on the previous screen and the head posture current data Q2′, setting a smooth adjustment value M, and pre-displaying the head posture data. The Q2 smoothing process is at the sum of the smoothing adjustment value M in the same direction as the head posture display data Q1 and the second difference Δ'. For example, the head posture pre-display data Q2=Q1±M+Δ′, Q1′ is the last data of the head posture displayed on the previous screen, where M is a constant, which is a preference based on statistical analysis of a large amount of experimental data. value. Further, when the head posture pre-display data Q2=Q1±N+(Q2′−Q1′), it is determined whether the second difference Δ′ of (Q2′−Q1′) is greater than the first difference Δ . Here, the previous data Q1' refers to the obtained posture data for displaying the previous screen without performing smoothing processing.
S205、根据所述头部姿态预显示数据Q2对当前画面进行显示。 S205. Display the current screen according to the head posture pre-display data Q2.
将经过平滑处理得到头部姿态预显示数据Q2进行当前画面的显示,对当前智能现实的画面进行提前优化处理,避免因为画面的漂移造成使用者的不适。The head posture pre-display data Q2 is smoothed to display the current picture, and the current intelligent reality picture is optimized in advance to avoid user discomfort caused by the drift of the picture.
S206、判断所述第一差值Δ是否超过预设阈值,如果不超过,根据所述头部姿态当前数据Q2’对当前画面进行显示。S206. Determine whether the first difference Δ exceeds a preset threshold. If not, display the current picture according to the head posture current data Q2'.
经过检验发现头部姿态当前数据Q2’没有出现较大偏移,则可以直接使用头部姿态当前数据Q2’进行当前画面的显示。After checking that the head pose current data Q2' does not appear to have a large offset, the head pose current data Q2' can be directly used to display the current screen.
本发明实施实例中还提供了以第一计算点为计算基准进行头部姿态调整的方法的一种实施例,所述方法包括:An embodiment of the method for performing head posture adjustment by using a first calculation point as a calculation reference, the method includes:
S1、获取当前帧中第一计算点所处位置的检测坐标。S1: Acquire a detection coordinate of a position where the first calculation point in the current frame is located.
这里的第一计算点是指在进行图像显示时候,为了计算当前帧画面和下一帧画面的相对位而选择的一个参考点,第一计算点的位置可以灵活选择,具体不进行限定,选定第一计算点之后获取当前帧中所处的检测坐标,即当前的第一计算点的坐标位置。The first calculation point here refers to a reference point selected in order to calculate the relative position of the current frame picture and the next frame picture when performing image display, and the position of the first calculation point can be flexibly selected, and is not limited, specifically selected. After the first calculation point is determined, the detection coordinates in the current frame, that is, the coordinate position of the current first calculation point, are acquired.
S2、获取下一帧中所述第一计算点所处位置的预显示坐标。S2: Obtain pre-display coordinates of a position where the first calculation point is located in the next frame.
由于设备在运动过程中图像需要实时进行调整,根据采集到传感器参数可以确定设备的移动方向和速度等参数,可以根据移动方向和速度等参数得到下一帧图像中第一计算点的预显示坐标,预显示坐标是传感器实际检测到的参数,如果是偏差过大的参数显示出的画面会出现抖动的情况,所以还需要对得到的预显示坐标进行后续步骤的判断才能确定是否可以使用。Since the image needs to be adjusted in real time during the movement, the parameters such as the moving direction and speed of the device can be determined according to the collected sensor parameters, and the pre-display coordinates of the first calculated point in the next frame image can be obtained according to the moving direction and the speed parameters. The pre-display coordinate is the parameter actually detected by the sensor. If the parameter displayed by the parameter with excessive deviation is jittery, it is necessary to judge the obtained pre-display coordinates in the subsequent steps to determine whether it can be used.
S3、计算所述检测坐标和所述预显示坐标之间的位移值。S3. Calculate a displacement value between the detection coordinate and the pre-display coordinate.
利用距离的偏差来判断是否出现较大偏移,先需要计算出当前帧的第一计算点的检测坐标和计算得到预显示坐标进行计算得到两者之间的位移值。The deviation of the distance is used to determine whether a large offset occurs. First, the detection coordinates of the first calculation point of the current frame are calculated and the pre-display coordinates are calculated to calculate the displacement value between the two.
S4、确定所述位移值超过预设的距离阈值则将所述检测坐标和所述预显示坐标之间的连线上任一点作为所述第一计算点在所述下一帧的实际显示坐标。S4. Determine that the displacement value exceeds a preset distance threshold, and use any point on the line between the detection coordinate and the pre-display coordinate as the actual display coordinate of the first calculation point in the next frame.
预先设定距离阈值,具体的数值可以根据试验获得,此处不进行限定,当计算得到位移值超过预设的距离阈值说明预显示坐标出现较大位移偏 差,如果按照预显示坐标显示下一帧图像很可能会出现画面抖动,所以可以在检测坐标和预显示坐标之间的连线上的一点作为第一计算点在下一帧图像中的实际显示坐标,实际显示坐标在预显示坐标所在方向上,可选地,实际显示坐标和检测坐标之间的距离位于预设的固定值内,实际显示坐标即当预显示坐标位于检测坐标的左下方时,那么实际显示坐标也应当在检测坐标的左下方的方向上,需要说明的是,实际显示坐标位置与当前帧中的检测坐标之间的位移值不应超过预设的距离阈值,避免发生较大偏差,本领域普通技术人员应当了解,不进行赘述。The distance threshold is preset. The specific value can be obtained according to the test. It is not limited here. When the calculated displacement value exceeds the preset distance threshold, the pre-display coordinate has a large displacement. Poor, if the next frame image is displayed according to the pre-display coordinates, screen jitter may occur, so a point on the line between the detected coordinates and the pre-display coordinates may be used as the actual display coordinate of the first calculation point in the next frame image. The actual display coordinate is in the direction of the pre-display coordinate. Optionally, the distance between the actual display coordinate and the detected coordinate is within a preset fixed value, and the actual display coordinate is when the pre-display coordinate is located at the lower left of the detected coordinate. Then the actual display coordinates should also be in the direction of the lower left of the detected coordinates. It should be noted that the displacement value between the actual display coordinate position and the detected coordinates in the current frame should not exceed the preset distance threshold to avoid a large occurrence. Deviations will be understood by those of ordinary skill in the art and will not be described.
通过采用上述的方案,可以降低人眼看到的画面的抖动,提升用户的体验感。By adopting the above scheme, the jitter of the picture seen by the human eye can be reduced, and the user's experience is enhanced.
结合图3所述,本发明实施例中提供了一种基于虚拟现实的画面显示装置,其特征在于,所述装置包括:As shown in FIG. 3, in the embodiment of the present invention, a virtual reality-based screen display device is provided, wherein the device includes:
获取单元301,用于获取上次画面显示的头部姿态显示数据Q1;The acquiring unit 301 is configured to acquire the head posture display data Q1 displayed on the previous screen;
获取单元301还用于获取当前画面预显示的头部姿态当前数据Q2’;The obtaining unit 301 is further configured to acquire a head posture current data Q2' pre-displayed by the current picture;
确定单元302,用于确定所述头部姿态显示数据Q1与所述头部姿态当前数据Q2’之间第一差值Δ;a determining unit 302, configured to determine a first difference Δ between the head posture display data Q1 and the head posture current data Q2';
处理单元303,用于判断所述差值Δ是否超过预设阈值,如果超过,则对所述头部姿态当前数据Q2’进行平滑处理得到头部姿态预显示数据Q2;The processing unit 303 is configured to determine whether the difference Δ exceeds a preset threshold, and if so, smoothing the head posture current data Q2' to obtain head posture pre-display data Q2;
显示单元304,用于根据所述头部姿态预显示数据Q2对当前画面进行显示。The display unit 304 is configured to display the current screen according to the head posture pre-display data Q2.
可选地,所述处理单元303还用于:Optionally, the processing unit 303 is further configured to:
如果所述第一差值Δ不超过预设阈值,根据所述头部姿态当前数据Q2’对当前画面进行显示。If the first difference Δ does not exceed the preset threshold, the current picture is displayed according to the head posture current data Q2'.
可选地,所述处理单元303还用于使平滑处理后的所述头部姿态预显示数据Q2与所述头部姿态显示数据Q1的差值小于所述第一差值Δ。Optionally, the processing unit 303 is further configured to make the difference between the smoothed processed head posture pre-display data Q2 and the head posture display data Q1 be smaller than the first difference value Δ.
可选地,所述基于虚拟现实的画面显示装置为虚拟现实设备。Optionally, the virtual reality based screen display device is a virtual reality device.
本发明实施例中还提供一种基于虚拟现实的画面显示的设备,包括:处理器和存储器,其中,An embodiment of the present invention further provides an apparatus for displaying a virtual reality based screen, including: a processor and a memory, where
所述存储器中存有计算机可读程序;a computer readable program is stored in the memory;
所述处理器通过运行所述存储器中的程序,以用于完成基于虚拟现实 的画面显示的方法。The processor is configured to execute virtual reality based by running a program in the memory The method of displaying the screen.
结合图4所示,为了实现上述方法,本发明实施例中还提供一种基于虚拟现实的画面显示的设备,包括:处理器401和存储器403,其中,As shown in FIG. 4, in order to implement the foregoing method, an apparatus for displaying a virtual reality based screen is provided in the embodiment of the present invention, including: a processor 401 and a memory 403, where
所述存储器401中存有计算机可读程序;The computer 401 stores a computer readable program;
所述处理器403通过运行所述存储器中的程序,具体用于:The processor 403 is configured to: run the program in the memory, specifically:
获取上次画面显示的头部姿态显示数据Q1;Obtaining the head posture display data Q1 of the last screen display;
获取当前画面预显示的头部姿态当前数据Q2’;Obtaining the head data current data Q2' pre-displayed on the current picture;
确定所述头部姿态显示数据Q1与所述头部姿态当前数据Q2’之间第一差值Δ;Determining a first difference Δ between the head posture display data Q1 and the head posture current data Q2';
判断所述第一差值Δ是否超过预设阈值,如果超过,则对所述头部姿态当前数据Q2’进行平滑处理得到头部姿态预显示数据Q2;Determining whether the first difference Δ exceeds a preset threshold, and if so, smoothing the head posture current data Q2' to obtain head posture pre-display data Q2;
根据所述头部姿态预显示数据Q2对当前画面进行显示。The current screen is displayed based on the head posture pre-display data Q2.
图4所示为本发明实施例提供的基于虚拟现实的画面显示设备示意图。基于虚拟现实的画面显示设备400包括至少一个处理器401,通信总线402,存储器403以及至少一个通信接口404。FIG. 4 is a schematic diagram of a virtual reality based screen display device according to an embodiment of the present invention. The virtual reality based picture display device 400 includes at least one processor 401, a communication bus 402, a memory 403, and at least one communication interface 404.
处理器401可以是一个通用中央处理器(CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本发明方案程序执行的集成电路。The processor 401 can be a general purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present invention.
通信总线402可包括一通路,在上述组件之间传送信息。所述通信接口404,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如以太网,无线接入网(RAN),无线局域网(Wireless Local AreaNetworks,WLAN)等。Communication bus 402 can include a path for communicating information between the components described above. The communication interface 404 uses devices such as any transceiver for communicating with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), and the like.
存储器403可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能 够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。The memory 403 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type that can store information and instructions. The dynamic storage device can also be an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and Any other medium that is accessible by the computer, but is not limited to this. The memory can exist independently and be connected to the processor via a bus. The memory can also be integrated with the processor.
其中,所述存储器403用于存储执行本发明方案的程序代码,并由处理器401来控制执行。所述处理器401用于执行所述存储器403中存储的程序代码。The memory 403 is used to store program code for executing the solution of the present invention, and is controlled by the processor 401 for execution. The processor 401 is configured to execute program code stored in the memory 403.
在具体实现中,作为一种实施例,处理器401可以包括一个或多个CPU,例如图4中的CPU0和CPU1。In a specific implementation, as an embodiment, the processor 401 may include one or more CPUs, such as CPU0 and CPU1 in FIG.
在具体实现中,作为一种实施例,基于虚拟现实的画面显示设备400可以包括多个处理器,例如图4中的处理器401和处理器408。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, the virtual reality based picture display device 400 may include multiple processors, such as the processor 401 and the processor 408 in FIG. Each of these processors can be a single-CPU processor or a multi-core processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data, such as computer program instructions.
在具体实现中,作为一种实施例,基于虚拟现实的画面显示设备400还可以包括输出设备405和输入设备406。输出设备405和处理器401通信,可以以多种方式来显示信息。例如,输出设备405可以是液晶显示器(liquid crystal display,LCD),发光二级管(light emitting diode,LED)显示设备,阴极射线管(cathode ray tube,CRT)显示设备,或投影仪(projector)等。输入设备406和处理器401通信,可以以多种方式接受用户的输入。例如,输入设备406可以是鼠标、键盘、触摸屏设备或传感设备等。In a specific implementation, as an embodiment, the virtual reality based screen display device 400 may further include an output device 405 and an input device 406. Output device 405 is in communication with processor 401 and can display information in a variety of ways. For example, the output device 405 can be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. Wait. Input device 406 is in communication with processor 401 and can accept user input in a variety of ways. For example, input device 406 can be a mouse, keyboard, touch screen device, or sensing device, and the like.
上述的基于虚拟现实的画面显示设备400可以是一个通用计算机设备或者是一个专用计算机设备。在具体实现中,基于虚拟现实的画面显示设备400可以是虚拟现实设备、台式机、便携式电脑、网络服务器、掌上电脑(Personal Digital Assistant,PDA)、移动手机、平板电脑、无线终端设备、通信设备、嵌入式设备或有图4-b中类似结构的设备。本发明实施例不限定基于虚拟现实的画面显示设备400的类型。The above-described virtual reality-based screen display device 400 can be a general purpose computer device or a dedicated computer device. In a specific implementation, the virtual reality based screen display device 400 may be a virtual reality device, a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, and a communication device. , embedded devices or devices with similar structures in Figure 4-b. The embodiment of the present invention does not limit the type of the virtual reality based screen display device 400.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅 是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are only For example, the division of the unit is only a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be combined or may be integrated into another system, or some features. Can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或光盘等。A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be performed by a program to instruct related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be performed by a program to instruct related hardware, and the program may be stored in a computer readable storage medium, the above mentioned storage. The medium can be a read only memory, a magnetic disk or an optical disk or the like.
以上对本发明所提供的一种基于虚拟现实的画面显示方法及相关设备进行了详细介绍,对于本领域的一般技术人员,依据本发明实施例的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 The VR-based image display method and related device provided by the present invention are described in detail above. For those skilled in the art, according to the idea of the embodiment of the present invention, there will be a specific implementation manner and application range. The details of the description are not to be construed as limiting the invention.

Claims (10)

  1. 一种基于虚拟现实的画面显示方法,其特征在于,所述方法包括:A virtual reality based screen display method, characterized in that the method comprises:
    获取上次画面显示的头部姿态显示数据Q1;Obtaining the head posture display data Q1 of the last screen display;
    获取当前画面预显示的头部姿态当前数据Q2’;Obtaining the head data current data Q2' pre-displayed on the current picture;
    确定所述头部姿态显示数据Q1与所述头部姿态当前数据Q2’之间第一差值Δ;Determining a first difference Δ between the head posture display data Q1 and the head posture current data Q2';
    判断所述第一差值Δ是否超过预设阈值,如果超过,则对所述头部姿态当前数据Q2’进行平滑处理得到头部姿态预显示数据Q2;Determining whether the first difference Δ exceeds a preset threshold, and if so, smoothing the head posture current data Q2' to obtain head posture pre-display data Q2;
    根据所述头部姿态预显示数据Q2对当前画面进行显示。The current screen is displayed based on the head posture pre-display data Q2.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    如果所述第一差值Δ不超过预设阈值,根据所述头部姿态当前数据Q2’对当前画面进行显示。If the first difference Δ does not exceed the preset threshold, the current picture is displayed according to the head posture current data Q2'.
  3. 根据权利要求1或2所述的方法,其特征在于,所述对所述头部姿态当前数据Q2’进行平滑处理得到头部姿态预显示数据Q2包括:The method according to claim 1 or 2, wherein the smoothing the head pose current data Q2' to obtain the head pose pre-display data Q2 comprises:
    使平滑处理后的所述头部姿态预显示数据Q2与所述头部姿态显示数据Q1的差值小于所述第一差值Δ。The difference between the head posture pre-display data Q2 after smoothing and the head posture display data Q1 is made smaller than the first difference Δ.
  4. 根据权利要求3所述的方法,其特征在于,所述使平滑处理后的所述头部姿态预显示数据Q2与所述头部姿态显示数据Q1的差值小于所述第一差值Δ包括:The method according to claim 3, wherein the difference between the smoothed processed head posture pre-display data Q2 and the head posture display data Q1 is smaller than the first difference Δ :
    获取所述头部姿态显示数据Q1和所述头部姿态当前数据Q2’的平均值,将所述头部姿态预显示数据Q2平滑处理为所述平均值;Acquiring an average value of the head posture display data Q1 and the head posture current data Q2', and smoothing the head posture pre-display data Q2 into the average value;
    or
    设置平滑调整值M,将所述头部姿态预显示数据Q2平滑处理为距离所述头部姿态显示数据Q1同向的调整平滑值M处的值;Setting a smoothing adjustment value M, and smoothing the head posture pre-display data Q2 to a value at an adjustment smoothing value M in the same direction as the head posture display data Q1;
    or
    获取上次画面显示的头部姿态的上次数据Q1’与所述头部姿态当前数据Q2’的第二差值Δ’,设置平滑调整值M,将所述头部姿态预显示数据Q2平滑处理为距离所述头部姿态显示数据Q1同向的平滑调整值M与所述第二差值Δ’的和值处。 Obtaining a second difference Δ′ between the previous data Q1′ of the head posture of the previous screen display and the head posture current data Q2′, setting a smoothing adjustment value M, and smoothing the head posture pre-display data Q2 The processing is at a sum of the smoothing adjustment value M in the same direction as the head posture display data Q1 and the second difference Δ'.
  5. 根据权利要求4所述的方法,其特征在于,当将所述头部姿态预显示数据Q2平滑处理为距离所述头部姿态显示数据Q1同向的平滑调整值M与所述第二差值Δ’的和值处时,在将所述头部姿态预显示数据Q2平滑处理为距离所述头部姿态显示数据Q1同向的平滑调整值M与所述第二差值Δ’的和值处之前,还包括判断第二差值Δ’值是否大于所述第一差值Δ,如果大于,则进行后续处理。The method according to claim 4, wherein when the head posture pre-display data Q2 is smoothed into a smooth adjustment value M and the second difference in the same direction as the head posture display data Q1 At the sum of Δ', the head posture pre-display data Q2 is smoothed to a sum of the smoothing adjustment value M and the second difference Δ' that are in the same direction as the head posture display data Q1. Before, the method further comprises determining whether the second difference Δ' value is greater than the first difference Δ, and if it is greater, performing subsequent processing.
  6. 一种基于虚拟现实的画面显示装置,其特征在于,所述装置包括:A virtual reality based picture display device, characterized in that the device comprises:
    获取单元,用于获取上次画面显示的头部姿态显示数据Q1;An obtaining unit, configured to acquire head posture display data Q1 of the last screen display;
    获取单元还用于获取当前画面预显示的头部姿态当前数据Q2’;The obtaining unit is further configured to acquire a head posture current data Q2' pre-displayed by the current picture;
    确定单元,用于确定所述头部姿态显示数据Q1与所述头部姿态当前数据Q2’之间第一差值Δ;a determining unit, configured to determine a first difference Δ between the head posture display data Q1 and the head posture current data Q2';
    处理单元,用于判断所述差值Δ是否超过预设阈值,如果超过,则对所述头部姿态当前数据Q2’进行平滑处理得到头部姿态预显示数据Q2;a processing unit, configured to determine whether the difference Δ exceeds a preset threshold, and if so, smoothing the head posture current data Q2' to obtain head posture pre-display data Q2;
    显示单元,用于根据所述头部姿态预显示数据Q2对当前画面进行显示。And a display unit, configured to display the current screen according to the head posture pre-display data Q2.
  7. 根据权利要求6所述的装置,其特征在于,所述处理单元还用于:The device according to claim 6, wherein the processing unit is further configured to:
    如果所述第一差值Δ不超过预设阈值,根据所述头部姿态当前数据Q2’对当前画面进行显示。If the first difference Δ does not exceed the preset threshold, the current picture is displayed according to the head posture current data Q2'.
  8. 根据权利要求6或7所述的装置,其特征在于,所述处理单元还用于使平滑处理后的所述头部姿态预显示数据Q2与所述头部姿态显示数据Q1的差值小于所述第一差值Δ。The apparatus according to claim 6 or 7, wherein the processing unit is further configured to make the difference between the smoothed processed head posture pre-display data Q2 and the head posture display data Q1 smaller than The first difference Δ is described.
  9. 根据权利要求6所述的装置,其特征在于,所述图像处理装置为虚拟现实设备。The apparatus of claim 6 wherein said image processing device is a virtual reality device.
  10. 一种基于虚拟现实的画面显示的设备,其特征在于,包括:处理器和存储器,其中,An apparatus for displaying a virtual reality based screen, comprising: a processor and a memory, wherein
    所述存储器中存有计算机可读程序;a computer readable program is stored in the memory;
    所述处理器通过运行所述存储器中的程序,以用于完成上述权利要求1至5所述的方法。 The processor is operative to execute the method of the above claims 1 to 5 by running a program in the memory.
PCT/CN2016/076584 2016-03-17 2016-03-17 Virtual reality-based image displaying method and related device WO2017156742A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/076584 WO2017156742A1 (en) 2016-03-17 2016-03-17 Virtual reality-based image displaying method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/076584 WO2017156742A1 (en) 2016-03-17 2016-03-17 Virtual reality-based image displaying method and related device

Publications (1)

Publication Number Publication Date
WO2017156742A1 true WO2017156742A1 (en) 2017-09-21

Family

ID=59852226

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/076584 WO2017156742A1 (en) 2016-03-17 2016-03-17 Virtual reality-based image displaying method and related device

Country Status (1)

Country Link
WO (1) WO2017156742A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114302214A (en) * 2021-01-18 2022-04-08 海信视像科技股份有限公司 Virtual reality equipment and anti-jitter screen recording method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626512A (en) * 2009-08-11 2010-01-13 北京交通大学 Method and device of multiple description video coding based on relevance optimization rule
CN101908153A (en) * 2010-08-21 2010-12-08 上海交通大学 Method for estimating head postures in low-resolution image treatment
CN103414845A (en) * 2013-07-24 2013-11-27 中国航天科工集团第三研究院第八三五七研究所 Self-adaptive video image noise reducing method and noise reducing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626512A (en) * 2009-08-11 2010-01-13 北京交通大学 Method and device of multiple description video coding based on relevance optimization rule
CN101908153A (en) * 2010-08-21 2010-12-08 上海交通大学 Method for estimating head postures in low-resolution image treatment
CN103414845A (en) * 2013-07-24 2013-11-27 中国航天科工集团第三研究院第八三五七研究所 Self-adaptive video image noise reducing method and noise reducing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114302214A (en) * 2021-01-18 2022-04-08 海信视像科技股份有限公司 Virtual reality equipment and anti-jitter screen recording method

Similar Documents

Publication Publication Date Title
KR102291461B1 (en) Technologies for adjusting a perspective of a captured image for display
CN107204044B (en) Picture display method based on virtual reality and related equipment
US10852828B1 (en) Automatic peripheral pairing with hand assignments in virtual, augmented, and mixed reality (xR) applications
US10636158B1 (en) Methods and systems for height estimation from a 2D image using augmented reality
US10854012B1 (en) Concealing loss of distributed simultaneous localization and mapping (SLAM) data in edge cloud architectures
US10082879B2 (en) Head mounted display device and control method
US20210049360A1 (en) CONTROLLER GESTURES IN VIRTUAL, AUGMENTED, AND MIXED REALITY (xR) APPLICATIONS
CN113853570B (en) System and method for generating dynamic obstacle collision warning for head mounted display
US11809617B2 (en) Systems and methods for generating dynamic obstacle collision warnings based on detecting poses of users
US9646571B1 (en) Panoramic video augmented reality
JP6500355B2 (en) Display device, display program, and display method
JP7090178B2 (en) Controlling a remote avatar with facial expressions
US10366525B2 (en) Generating an interactive digital media item that follows a viewer
US9536351B1 (en) Third person view augmented reality
US10937192B2 (en) Resolving incorrect distributed simultaneous localization and mapping (SLAM) data in edge cloud architectures
JP6144363B2 (en) Technology for automatic evaluation of 3D visual content
US10147240B2 (en) Product image processing method, and apparatus and system thereof
KR101330531B1 (en) Method of virtual touch using 3D camera and apparatus thereof
US11043004B2 (en) Resolving region-of-interest (ROI) overlaps for distributed simultaneous localization and mapping (SLAM) in edge cloud architectures
US20160266648A1 (en) Systems and methods for interacting with large displays using shadows
WO2017156742A1 (en) Virtual reality-based image displaying method and related device
US10409464B2 (en) Providing a context related view with a wearable apparatus
CN107203257A (en) A kind of head pose compensation method and relevant device
US20150063631A1 (en) Dynamic image analyzing system and operating method thereof
CN109062413A (en) A kind of AR interactive system and method

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16893907

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 31.01.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16893907

Country of ref document: EP

Kind code of ref document: A1