WO2018223663A1 - Vr image processing method, device, and apparatus - Google Patents

Vr image processing method, device, and apparatus Download PDF

Info

Publication number
WO2018223663A1
WO2018223663A1 PCT/CN2017/117554 CN2017117554W WO2018223663A1 WO 2018223663 A1 WO2018223663 A1 WO 2018223663A1 CN 2017117554 W CN2017117554 W CN 2017117554W WO 2018223663 A1 WO2018223663 A1 WO 2018223663A1
Authority
WO
WIPO (PCT)
Prior art keywords
resolution
image
image display
display area
specified range
Prior art date
Application number
PCT/CN2017/117554
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 歌尔科技有限公司
Publication of WO2018223663A1 publication Critical patent/WO2018223663A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/013Eye tracking input arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Definitions

  • the present invention relates to the field of virtual reality technologies, and in particular, to a VR image processing method, apparatus, and device.
  • VR Virtual Reality
  • VR uses computer to generate a simulation environment. It is a multi-source information fusion, interactive 3D dynamic vision and entity. System simulation of behaviors that immerse users in the environment.
  • VR devices such as VR glasses and VR all-in-ones have brought about a three-dimensional visual experience.
  • aspects of the present invention provide a VR image processing method, apparatus, and device for reducing power consumption of a VR device.
  • the present invention provides a VR image processing method, including:
  • the other image display area refers to an image display area other than the image display area within the specified range of the attention point position in the at least two image display areas.
  • the resolution of the image of the area including:
  • the default resolution of the image that the VR display space needs to display is less than the first resolution threshold, increase the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the attention point position;
  • the reduction is The resolution of the image currently displayed or to be displayed by the other image display area; wherein the second resolution threshold is greater than the first resolution threshold.
  • the increasing the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the attention point position comprises:
  • the image display area within the specified range of the focus point location includes: a first three-dimensional area and a second three-dimensional area centered on the focus point position, the second three-dimensional area including the first a three-dimensional area;
  • the resolution of the image including:
  • the image display area within the specified range of the focus point location further includes: a third three-dimensional area centered on the focus point position, the third three-dimensional area including the second three-dimensional area;
  • the resolution of the image also includes:
  • the first three-dimensional area is a sphere area having a center of the focus point and a radius of the first distance
  • the second three-dimensional region is a sphere region having the focus point as a center of the sphere and the second distance as a radius;
  • the third three-dimensional region is a sphere region having a center of the focus point and a radius of the third distance; wherein the first distance is smaller than the second distance, and the second distance is smaller than the first Three distances.
  • the method also includes:
  • the method further includes:
  • a resource file corresponding to the first resolution, the second resolution, and the third resolution is rendered to output a current display or an image to be displayed after dynamically adjusting the resolution.
  • the method further includes:
  • the operating frequency of the CPU and/or GPU is reduced according to the number of patches and the preset frame rate.
  • the present invention also provides a VR image processing apparatus, comprising:
  • An identification module for identifying a location of a user's point of interest in the VR display space based on eye tracking
  • a dividing module configured to divide the VR display space into at least two image display areas based on the location of the attention point
  • An adjustment module configured to dynamically adjust a resolution of an image corresponding to at least one image display area of the at least two image display areas, so that an image of an image display area within a specified range of the attention point position has a resolution greater than other images The resolution of the image of the display area;
  • the other image display area refers to an image display area other than the image display area within the specified range of the attention point position in the at least two image display areas.
  • the adjusting module includes:
  • an increasing unit if the default resolution of the image that needs to be displayed in the VR display space is smaller than the first resolution threshold, increasing an image currently displayed or to be displayed in the image display area within the specified range of the attention point position Resolution
  • a reducing unit configured to reduce a resolution of an image currently displayed or to be displayed in the other image display area if a default resolution of the image to be displayed by the VR display space is greater than a second resolution threshold;
  • the second resolution threshold is greater than the first resolution threshold.
  • the increasing unit is specifically configured to:
  • the invention also provides an electronic device comprising a processor and a memory connected to the processor;
  • the memory is configured to store one or more computer instructions
  • the processor is configured to execute the one or more computer instructions to implement the steps in the foregoing method embodiments.
  • the present invention also provides a computer readable storage medium storing a computer program, the computer program being executed to implement the steps of the above method embodiments.
  • the location of the user's attention point in the VR display space is identified, and the VR display space is divided into at least two image display areas based on the position of the attention point, by dynamically adjusting at least two image display areas.
  • At least one image display area corresponds to a resolution of the image such that the resolution of the image of the image display area within the specified range of the attention point position is greater than the resolution of the image of the other image display area, thereby ensuring the vicinity of the position of the attention point
  • the image has a higher resolution, ensuring that the user can clearly see the image.
  • the image of other image display areas only needs to have a lower resolution, which can reduce the data amount of the VR image and reduce the power consumption of the VR device.
  • FIG. 1 is a schematic flowchart of a VR image processing method according to an embodiment of the present invention
  • FIG. 2a is a schematic cross-sectional view of a first three-dimensional region and a second three-dimensional region according to an embodiment of the present invention
  • 2b is a schematic cross-sectional view of a first three-dimensional region, a second three-dimensional region, and a third three-dimensional region according to an embodiment of the present invention
  • FIG. 3 is a block diagram of a VR image processing apparatus according to an embodiment of the present invention.
  • FIG. 4 is a block diagram of a VR image processing apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of an internal configuration structure of a head mounted display device according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart diagram of a VR image processing method according to an embodiment of the present invention. As shown in Figure 1, the method Includes the following steps:
  • S101 Identify the location of the user's point of interest in the VR display space based on eye tracking.
  • S103 Dynamically adjusting a resolution of an image corresponding to at least one image display area in at least two image display areas, so that an image of an image display area within a specified range of the attention point position has a resolution greater than that of another image display area.
  • the other image display area refers to an image display area other than the image display area within the specified range of the attention point position in at least two image display areas.
  • a VR display space is presented to the user to display images in the VR display space.
  • the image can be displayed in the VR display space or not.
  • the point of interest location may be a point of interest location on the image that the user is currently presenting in the VR presentation space.
  • the location of the focus can be identified by eye tracking technology.
  • the eyeball tracking technology can extract eye features according to changes in the characteristics of the eyeball and the periphery of the eyeball, changes in the iris angle, or actively projecting infrared rays to the iris, and then determine the user's attention in the VR display space according to the eye features and the VR display space. Point location.
  • the VR display space can be divided into at least two image display areas based on the position of the attention point.
  • the VR display space may be divided into at least two image display regions centered on the location of interest, ie, each of the at least two image display regions is centered on the location of the focus.
  • an image display area and other image display areas within a specified range of the focus point position are determined.
  • the specified range can be determined according to the range that the human eye can pay attention to.
  • the specified range may be set to a range of 0.5 m in the circle of the position of the attention point, and the image display area falling within the range of 0.5 m in the circle of the position of the attention point may be used as the image display area within the specified range of the position of the attention point. .
  • the other display area refers to an image display area other than the image display area within the specified range of the attention point position in at least two image display areas.
  • the image display area within the specified range of the position of the focus point is the area where the eyes of the person are mainly concerned, and the other display areas are relatively far from the position of the point of interest, which is the area of secondary concern.
  • the resolution of the image corresponding to the at least one image display area in the at least two image display areas may be dynamically adjusted, so that the resolution of the image of the image display area within the specified range of the attention point position is greater than the image of the other image display area. Resolution.
  • dynamically adjusting the resolution of the image corresponding to the at least one image display area comprises increasing or decreasing the resolution of the image corresponding to the at least one image display area.
  • the resolution of the image in some image display areas does not have to be adjusted, and the focus position can be specified.
  • the resolution of the image in the image display area inside is larger than the resolution of the image in the other image display area.
  • the image display area within the specified range may be the adjusted area or may not be the adjusted area; accordingly, the other display areas may also be the adjusted area or may not be the adjusted area.
  • the location of the user's attention point in the VR display space is identified, and the VR display space is divided into at least two image display areas based on the position of the attention point, and the at least two image display areas are dynamically adjusted.
  • At least one image display area corresponds to a resolution of the image such that the resolution of the image of the image display area within the specified range of the position of the attention point is greater than the resolution of the image of the other image display area, thereby ensuring an image near the position of the attention point
  • the high resolution ensures that the user can clearly see the image.
  • the images in other image display areas only need to have lower resolution, which can reduce the data volume of the VR image and reduce the power consumption of the VR device.
  • the embodiment dynamically adjusts the resolution of the image corresponding to the at least one image display area in the at least two image display areas, so that the resolution of the image of the image display area within the specified range of the attention point position is higher, in other
  • the image of the image display area has a lower resolution, and the resolution of the entire image is consistent with the prior art, and the embodiment is closer to the picture seen by the human eye in real life, and improves the realism of the image.
  • the resolution of each frame of the image that the VR display space needs to display may be the default resolution.
  • the default resolution may be a lower resolution or a higher resolution.
  • the first way if the default resolution of the image to be displayed in the VR display space is smaller than the first resolution threshold (ie, the default resolution is lower resolution), the image display area within the specified range of the attention point position is increased. The resolution of the image currently being displayed or will be displayed.
  • the default resolution of the image that the VR display space needs to display is less than the first resolution threshold, it means that the resolution of the image is low, and it is difficult to meet the basic visual needs of the user. Then, in order to make the resolution of the image of the image display area within the specified range of the position of the attention point larger than the resolution of the image of the other image display area, the resolution of the image of the image display area within the specified range of the position of the attention point may be increased. .
  • the image when the resolution of the image of the image display area within the specified range of the position of interest is increased, the image may be adjusted on the image currently displayed in the image display area, or may be on the image to be displayed, ie, Adjust on one frame of image.
  • the default resolution of the image to be displayed in the VR display space is 640*360, and the first resolution threshold is 1280*720, it is determined that the default resolution is smaller than the first resolution threshold, and then the focus is increased.
  • the resolution of the image of the image display area within the specified range of the location of interest may be increased such that the increased resolution is greater than the first resolution threshold.
  • the first resolution threshold can be flexibly customized according to the visual needs of the user.
  • the second way if the default resolution of the image to be displayed in the VR display space is greater than the second resolution threshold (ie, the default resolution is a higher resolution), then the current display or upcoming display in other image display areas is reduced.
  • the resolution of the image if the default resolution of the image to be displayed in the VR display space is greater than the second resolution threshold (ie, the default resolution is a higher resolution), then the current display or upcoming display in other image display areas is reduced. The resolution of the image.
  • the default resolution of the image to be displayed in the VR display space is greater than the second resolution threshold, it means that the resolution of the image is higher, which can provide a better visual experience for the user. Then, in order to make the resolution of the image of the image display area within the specified range of the attention point position larger than the resolution of the image of the other image display area, the resolution of the image of the other image display area can be reduced.
  • the default resolution of the image to be displayed in the VR display space is 1280*1440 and the second resolution threshold is 1280*720, it is determined that the default resolution is greater than the second resolution threshold, thereby reducing other image display.
  • the resolution of the image of the area is 1280*1440 and the second resolution threshold is 1280*720.
  • the resolution of the images of other image display regions may be reduced such that the reduced resolution is less than the second resolution threshold.
  • the second resolution threshold can also be flexibly customized according to the visual needs of the user.
  • the human eye can distinguish objects near the position of the focus; however, objects farther away from the point of interest are difficult to distinguish clearly.
  • the edge of the image display area within the specified range of the attention point position points to the direction of the position of the attention point, and gradually increases the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the position of the attention point.
  • the image display area within the specified range of the position of interest can be divided into a first three-dimensional area and a second three-dimensional area centered on the position of the attention point.
  • the second three-dimensional area comprises a first three-dimensional area.
  • the first three-dimensional region or the second three-dimensional region centered at the position of the focus point may include, but is not limited to, a cubic region centered on the position of the focus point, a cuboid region, a sphere region, a cylinder region, and the like.
  • the first three-dimensional area is a sphere area having a focus point as a center of the sphere and a radius of the first distance; and the second three-dimensional area is a center of the focus point, and the second distance is The sphere area of the radius. Wherein the first distance is less than the second distance.
  • the image display area within the specified range of the focus point position may be divided into the focus point position.
  • the second three-dimensional region comprises the first three-dimensional region
  • the third dimensional region of the domain includes a second three-dimensional region.
  • the first three-dimensional area is a sphere area having a focus point as a center of the sphere and a radius of the first distance; and the second three-dimensional area is a center of the focus point, and the second distance is The sphere area of the radius; the third three-dimensional area is a sphere area with the focus point as the center of the sphere and the third distance as the radius.
  • the first distance is smaller than the second distance, and the second distance is smaller than the third distance.
  • the first distance is 0.6 m
  • the second distance is 0.8 m
  • the second distance is 1 m.
  • the edge of the image display area within the specified range of the attention point position may be pointed to the direction of the position of the attention point, and the position of the attention point is gradually increased.
  • the resolution of the image currently displayed or to be displayed in the image display area within the range may be pointed to the direction of the position of the attention point, and the position of the attention point is gradually increased.
  • the edge of the image display area within the specified range of the position of interest is pointed to the direction of the position of the focus point, and the current display of each of the divided image display areas is sequentially increased according to the resolution increasing from small to large. Or the resolution of the image to be displayed. In some embodiments, the increase factor of the resolution of the image currently displayed or to be displayed by the same image display area is the same.
  • the resolution increase coefficient of the image currently displayed or to be displayed in the third three-dimensional region may be set to 2
  • the resolution increase coefficient of the image currently displayed or to be displayed in the second three-dimensional region may be set to 3.
  • the resolution increase factor of the image currently displayed or to be displayed in the first three-dimensional area is set to four.
  • dynamically adjusting the resolution of the at least one image display region corresponding image in the at least two image display regions comprises dynamically adjusting a resolution of the at least one image display region corresponding image object in the at least two image display regions.
  • increasing the resolution of the image currently displayed or about to be displayed in the image display area within the specified range of the location of interest includes increasing in focus.
  • the image object may include an image of a flower, an image of a grass, an image of a stone, an image of a sky, and the like.
  • the image object generally includes an image object of a model attribute and an image object of a background attribute.
  • an image of a flower belongs to an image object of a model property
  • an image of the sky belongs to an image object of a background property.
  • the user is more concerned with the image object of the model attribute in the image, and the human eye is more sensitive to the image object of the model attribute of different resolution than the image object of the background attribute.
  • increasing the resolution of the image includes increasing the resolution of the image object of the model attribute.
  • the resolution of the image of other image display areas is reduced.
  • the rate includes the resolution of the image object that reduces other image display areas.
  • reducing the resolution of the images of the other image display regions includes reducing the resolution of the image objects of the model attributes of the other image display regions.
  • the resolution of the image object can be the default resolution when the image is initially generated.
  • the image object of the default resolution in the image display area within the specified range of the point of interest position can be replaced with the image object of the larger resolution.
  • the image object of the default resolution of the other image display areas can be replaced with the image object of the smaller resolution.
  • image objects of various resolutions may be generated in advance.
  • At least one image object in the VR display space may be tagged to obtain at least one tag object prior to identifying the user's focus position in the VR display space based on eye tracking; then, at least one tag The objects respectively generate resource files corresponding to the first resolution, the second resolution, and the third resolution.
  • the label can uniquely identify the image object, which is equivalent to the naming of the image object.
  • the image object carrying the label that is, the label object
  • a resource file corresponding to the first resolution, a resource file corresponding to the second resolution, and a resource file corresponding to the third resolution may be separately generated for each of the tag objects.
  • different tags may be added to resource files corresponding to different resolutions belonging to the same tag object to distinguish the difference in resolution corresponding to the resource files.
  • the image object A adds the label x
  • the label of the resource file corresponding to the first resolution may be x.1
  • the label of the resource file corresponding to the second resolution may be x.2, corresponding to the third
  • the resolution resource file can be labeled x.3.
  • the first resolution is greater than the second resolution, and the second resolution is greater than the third resolution.
  • the resource file includes image models, pictures, and the like that are required to synthesize image objects of corresponding resolution.
  • the resolution of the image model and the resolution of the image are the same as the resolution corresponding to the resource file to which it belongs.
  • a resource file corresponding to a resolution of 1280*1440 includes an image model with a resolution of 1280*1440 and a resolution of 1280*1440.
  • the pre-generated resource files may be directly replaced with the resource files used by the currently displayed or upcoming image objects.
  • the edge of the image display area within the specified range of the attention point position points to the direction of the focus point position, and the image within the specified range of the focus point position is gradually increased.
  • the method of dividing the image display area within the specified range of the position of the attention point may be different, including the following two cases.
  • the resource file used by the label object within the first three-dimensional area is replaced with the corresponding One resolution a resource file; replacing a resource file used by the tag object between the second three-dimensional area and the first three-dimensional area with a resource file corresponding to the second resolution.
  • the three-dimensional area between the second three-dimensional area and the first three-dimensional area is as shown in FIG. 2a.
  • the first resolution and the second resolution are both greater than the first resolution threshold, such that the resolution of the image of the replaced image display area within the specified range of the attention point position is greater than the first resolution threshold.
  • the second case if the image display area within the specified range of the focus point position is divided into the first three-dimensional area, the second three-dimensional area, and the third three-dimensional area, the resource file used by the label object within the first three-dimensional area may be used. Replaced with a resource file corresponding to the first resolution; a resource file used by the label object between the second three-dimensional area and the first three-dimensional area is replaced with a resource file corresponding to the second resolution; the third three-dimensional area and the third The resource file used by the tag object between the two three-dimensional regions is replaced with a resource file corresponding to the third resolution.
  • the three-dimensional region between the second three-dimensional region and the first three-dimensional region, and the three-dimensional region between the third three-dimensional region and the second three-dimensional region are as shown in FIG. 2b.
  • the first resolution, the second resolution, and the third resolution are both greater than the first resolution threshold, such that the resolution of the image of the image display area within the specified range of the position of interest is replaced is greater than First resolution threshold.
  • the resource file used by the tag object within the other image display area may be replaced with the resource file corresponding to the third resolution.
  • the third resolution may be less than the second resolution threshold such that the resolution of the image of the replaced other image display area is less than the second resolution threshold.
  • the image of the other image display area is blurred. Based on this, the resource files within other image display areas can be blurred after the replacement operation to further enhance the realism of the image.
  • a shader can be used to fuzzify resource files within other image display areas.
  • the resource files corresponding to the first resolution, the second resolution, and the third resolution are rendered to output the current display or the image to be displayed after the dynamic adjustment of the resolution.
  • the current display or the image to be displayed after the resolution is adjusted can be displayed on the VR display device.
  • the currently displayed image after dynamically adjusting the resolution may be re-output after rendering the resource files corresponding to the first resolution, the second resolution, and the third resolution. If the resolution of the image to be displayed is adjusted, after the resource files corresponding to the first resolution, the second resolution, and the third resolution are rendered, the image to be displayed after the dynamic adjustment resolution is continuously output, as follows: One frame of image.
  • the first resolution and the second resolution are respectively generated for the at least one label object.
  • a resource file of a third resolution in some embodiments, a patch file may be used to generate a resource file corresponding to the first resolution, a resource file corresponding to the second resolution, and a third resolution corresponding to the third resolution resource.
  • the number of patches used to generate the resource file corresponding to the first resolution is greater than the number of patches used to generate the resource file corresponding to the second resolution, and the surface used by the resource file corresponding to the second resolution is generated.
  • the number of slices is greater than the number of patches used to generate the resource file corresponding to the third resolution.
  • the number of patches used to generate the table model of the first resolution is 500
  • the number of patches used to generate the table model of the second resolution is 400, which is used to generate the table model of the third resolution.
  • the patch is 300 pieces.
  • the shape of the patch includes, but is not limited to, a triangle, a rectangle, a diamond, or the like.
  • the shape of the patch is triangular.
  • the method further includes: displaying the image display area within the specified range of the attention point position after dynamically adjusting the resolution The number of patches included in the image; in turn, the CPU and/or GPU operating frequency is reduced based on the number of patches and the preset frame rate.
  • the number of patches included in the image display area within the specified range of the point of interest location is the number of patches used by the resource file corresponding to the image.
  • the fewer the patches used by the resource files the lower the CPU and/or GPU required to render the resource files.
  • the operating frequency of the CPU and/or GPU should not be too low, and the frame rate of the image should be kept above the preset frame rate to ensure the consistency of the image display.
  • the preset frame rate should be greater than 16 fps. Based on this, the correspondence between the operating frequency of the CPU and/or the GPU and the number of patches and the preset frame rate can be established in advance.
  • the number of patches used by the resource file corresponding to the image is increased. Then, the number of patches used by the resource file corresponding to the image of the image display area within the specified range of the attention point position after the dynamic adjustment of the resolution can be counted. Of course, it is also possible to count the number of patches used by the resource file corresponding to the entire image.
  • the number of patches is reduced compared to the number of patches used when the resolution of the entire image is higher. Based on this, the operating frequency of the CPU and/or GPU can be reduced according to the pre-established correspondence between the operating frequency of the CPU and/or GPU and the number of patches and the preset frame rate.
  • the resource files corresponding to the first resolution, the second resolution, and the third resolution may be rendered by the CPU and/or GPU after the operating frequency is reduced to output a dynamic adjustment resolution. After the image.
  • the image of the image display area within the specified range of the attention point position after the resolution is increased by the number of patches, which can increase the operating frequency of the CPU and/or GPU to reduce the delay time during the rendering operation.
  • the embodiment of the present invention further provides a VR image processing apparatus 300.
  • the VR image processing apparatus 300 includes an identification module 301, a partitioning module 302, and an adjustment module 303.
  • the identification module 301 is configured to identify a location of a user's point of interest in the VR display space based on eye tracking.
  • the dividing module 302 is configured to divide the VR display space into at least two image display areas based on the position of the point of interest identified by the identification module 301.
  • the adjusting module 303 is configured to dynamically adjust a resolution of the image corresponding to the image display area of the at least two image display areas, so that the resolution of the image of the image display area within the specified range of the attention point position is greater than that of the other image display areas.
  • the location of the user's attention point in the VR display space is identified, and the VR display space is divided into at least two image display areas based on the position of the attention point, and the at least two image display areas are dynamically adjusted.
  • At least one image display area corresponds to a resolution of the image such that the resolution of the image of the image display area within the specified range of the position of the attention point is greater than the resolution of the image of the other image display area, thereby ensuring an image near the position of the attention point
  • the high resolution ensures that the user can clearly see the image.
  • the images in other image display areas only need to have lower resolution, which can reduce the data volume of the VR image and reduce the power consumption of the VR device.
  • the adjustment module 303 includes an increase unit 3031 and a decrease unit 3032.
  • the increasing unit 3031 is configured to increase the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the attention point position if the default resolution of the image to be displayed in the VR display space is smaller than the first resolution threshold. .
  • the reducing unit 3032 is configured to reduce the resolution of the image currently displayed or to be displayed in other image display areas if the default resolution of the image that the VR display space needs to display is greater than the second resolution threshold.
  • the second resolution threshold is greater than the first resolution threshold.
  • the increasing unit 3031 increases the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the attention point position, specifically for: displaying the image within the specified range of the attention point position
  • the edge of the region points to the direction of the position of the point of interest, gradually increasing the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the position of the point of interest.
  • the image display area within the specified range of the focus point location includes a first three-dimensional area centered on the point of interest location and a second three-dimensional area, the second three-dimensional area including the first three-dimensional area.
  • the increasing unit 3031 points to the position of the attention point at the edge of the image display area within the specified range of the position of the attention point of interest
  • the direction is gradually increased when the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the position of the focus position is further used to: replace the resource file used by the label object within the first three-dimensional area with Corresponding to the resource file of the first resolution; replacing the resource file used by the label object between the second three-dimensional area and the first three-dimensional area with a resource file corresponding to the second resolution; wherein the first resolution The rate is greater than the second resolution, and the second resolution is greater than the first resolution threshold.
  • the image display area within the specified range of the focus point location further includes: a third three-dimensional area centered on the point of interest location, the third three-dimensional area including the second three-dimensional area.
  • the increasing unit 3031 gradually points the direction of the position of the attention point from the edge of the image display area within the specified range of the position of the attention point, and gradually increases the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the position of the attention point.
  • the method further includes: replacing, by using a resource file used by the label object between the three-dimensional area and the second three-dimensional area, a resource file corresponding to the third resolution; wherein, the second resolution is greater than the third resolution, and the third The resolution is greater than the first resolution threshold.
  • the first three-dimensional region is a sphere region having a focus point as a center of the sphere and a radius of the first distance; and the second three-dimensional region is a sphere having a focus point as a center of the sphere and a second distance as a radius
  • the third three-dimensional region is a sphere region having a focal point position as a center of the sphere and a third distance as a radius.
  • first distance is smaller than the second distance
  • second distance is smaller than the third distance
  • the VR image processing apparatus 300 further includes an adding module 304 and a generating module 305.
  • the adding module 304 is configured to add a label to at least one image object in the VR display space to obtain at least one label object.
  • the generating module 305 is configured to respectively generate resource files corresponding to the first resolution, the second resolution, and the third resolution for the at least one label object obtained by the adding module 304.
  • VR image processing device 300 also includes a rendering module 306.
  • the rendering module 306 is configured to render resource files corresponding to the first resolution, the second resolution, and the third resolution to output a current display or an image to be displayed after dynamically adjusting the resolution.
  • the VR image processing apparatus 300 further includes a statistics module 307 and an adjustment module 308.
  • the statistics module 307 is configured to count the number of patches included in the resource file corresponding to the image of the image display area within the specified range of the attention point position after dynamically adjusting the resolution.
  • the adjustment module 308 is configured to reduce the operating frequency of the CPU and/or the GPU according to the number of patches counted by the statistics module 307 and the preset frame rate.
  • An embodiment of the present invention further provides an electronic device.
  • the electronic device 400 includes a processor 401 and a memory 402 connected to the processor 401.
  • the memory 402 is configured to store one or more computer instructions.
  • the processor 401 is configured to execute one or more computer instructions stored in the memory 402 to implement the steps in the foregoing method embodiments.
  • the processor 401 is configured to execute one or more computer instructions stored in the memory 402, to: identify, according to eyeball tracking, a location of a user's point of interest in the VR display space; and divide the VR display space into at least two based on the location of the attention point.
  • Image display area dynamically adjusting the resolution of the image corresponding to at least one of the image display areas in at least two image display areas, so that the image of the image display area within the specified range of the attention point position has a resolution greater than that of the other image display areas
  • the resolution of the image display area refers to an image display area other than the image display area within the specified range of the attention point position in the at least two image display areas.
  • the processor 401 dynamically adjusts the resolution of the image corresponding to the at least one image display area in the at least two image display areas, so that the resolution of the image of the image display area within the specified range of the attention point position is
  • the resolution of the image is larger than that of the other image display area, it is specifically used to: if the default resolution of the image to be displayed in the VR display space is smaller than the first resolution threshold, increase the current image display area within the specified range of the attention point position.
  • the resolution of the image displayed or to be displayed if the default resolution of the image to be displayed in the VR display space is greater than the second resolution threshold, the resolution of the image currently displayed or to be displayed in other image display areas is reduced;
  • the second resolution threshold is greater than the first resolution threshold.
  • the processor 401 when the processor 401 increases the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the attention point position, the processor 401 is specifically configured to: image within the specified range of the attention point position.
  • the edge of the display area points to the direction of the position of the point of interest, and gradually increases the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the position of the point of interest.
  • the image display area within the specified range of the focus point location includes: a first three-dimensional area centered on the point of interest location and a second three-dimensional area, the second three-dimensional area including the first three-dimensional area.
  • the processor 401 points the direction of the position of the attention point position from the edge of the image display area within the specified range of the attention point position, and gradually increases the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the position of the attention point.
  • the rate is specifically used to: replace the resource file used by the label object within the first three-dimensional area with the resource file corresponding to the first resolution; and use the label object between the second three-dimensional area and the first three-dimensional area
  • the resource file is replaced with a resource file corresponding to the second resolution; wherein the first resolution is greater than the second resolution, and the second resolution is greater than the first resolution threshold.
  • the image display area within the specified range of the focus point location further includes: a third three-dimensional area centered on the focus point position, and the third three-dimensional area includes the second three-dimensional area.
  • the processor 401 When the edge of the image display area within the specified range of the position of the attention point points to the direction of the position of the attention point, and gradually increases the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the position of the attention point, specifically for Replacing the resource file used by the label object between the third three-dimensional area and the second three-dimensional area with a resource file corresponding to the third resolution; wherein the second resolution is greater than the third resolution, and the third resolution is greater than the third A resolution threshold.
  • the first three-dimensional region is a sphere region having a focal point position as a center of the sphere and a first distance as a radius.
  • the second three-dimensional region is a sphere region having a focal point position as a center of the sphere and a second distance as a radius; and the third three-dimensional region is a sphere region having a focal point position as a center of the sphere and a third distance as a radius.
  • the first distance is smaller than the second distance
  • the second distance is smaller than the third distance.
  • the processor 401 is further configured to: add a label to the at least one image object in the VR display space to obtain at least one label, before the location of the user is in the VR display space based on the eye tracking.
  • the processor 401 is further configured to: render a resource file corresponding to the first resolution, the second resolution, and the third resolution to output a current display or a display to be displayed after dynamically adjusting the resolution. image.
  • the processor 401 is further configured to: after the dynamic adjustment of the resolution, the specified range of the attention point position
  • the image display area image corresponds to the number of patches contained in the resource file; according to the number of patches and the preset frame rate, the operating frequency of the CPU and/or GPU is reduced.
  • the embodiment of the present invention further provides a computer storage medium, which stores one or more computer instructions, and when the one or more computer instructions are executed by a computer, the steps in the foregoing method embodiments may be implemented.
  • the electronic device provided by another embodiment of the present invention may be an external head mounted display device or an integrated head mounted display device, wherein the external head mounted display device needs to be used in conjunction with an external processing system (eg, a computer processing system).
  • an external processing system eg, a computer processing system
  • FIG. 6 is a schematic diagram of an internal configuration structure of a head mounted display device 500 according to another embodiment of the present invention.
  • the display unit 501 may include a display panel disposed on a side surface of the head mounted display device 500 facing the user's face, and may be a one-piece panel or left and right panels respectively corresponding to the left and right eyes of the user.
  • the display panel may be an electroluminescence (EL) element, a liquid crystal display or a microdisplay having a similar structure, or a laser-scanned display in which the retina may be directly displayed or similar.
  • EL electroluminescence
  • the virtual image optical unit 502 photographs the image displayed by the display unit 501 in an enlarged manner and allows the user to observe the displayed image in the enlarged virtual image.
  • the display image outputted to the display unit 501 it may be an image of a virtual scene supplied from a content reproduction device (a Blu-ray disc or a DVD player) or a streaming media server, or an external use An image of a real scene taken by the camera 510.
  • virtual image optical unit 502 can include a lens unit, such as a spherical lens, an aspheric lens, a Fresnel lens, and the like.
  • the input operation unit 503 includes at least one operation member for performing an input operation, such as a button, a button, a switch, or other similarly functioned component, receives a user instruction through the operation member, and outputs an instruction to the control unit 507.
  • an input operation such as a button, a button, a switch, or other similarly functioned component
  • the status information acquisition unit 504 is configured to acquire status information of the user wearing the head mounted display device 500.
  • the status information acquisition unit 504 may include various types of sensors for detecting status information by itself, and may acquire status information from an external device such as a smartphone, a wristwatch, and other multi-function terminals worn by the user through the communication unit 505.
  • the status information acquisition unit 504 can acquire location information and/or posture information of the user's head.
  • the status information acquisition unit 504 may include one or more of a gyro sensor, an acceleration sensor, a global positioning system (GPS) sensor, a geomagnetic sensor, a Doppler effect sensor, an infrared sensor, and a radio frequency field intensity sensor.
  • GPS global positioning system
  • the state information acquisition unit 504 acquires state information of the user wearing the head-mounted display device 500, for example, acquires, for example, an operation state of the user (whether the user wears the head-mounted display device 500), an action state of the user (such as standing, walking, running) And the state of movement such as the state of the hand or fingertip, the open or closed state of the eye, the direction of the line of sight, the size of the pupil, the mental state (whether the user is immersed in observing the displayed image, and the like), or even the physiological state.
  • an operation state of the user whether the user wears the head-mounted display device 500
  • an action state of the user such as standing, walking, running
  • the state of movement such as the state of the hand or fingertip, the open or closed state of the eye, the direction of the line of sight, the size of the pupil, the mental state (whether the user is immersed in observing the displayed image, and the like), or even the physiological state.
  • the communication unit 505 performs communication processing with the external device, modulation and demodulation processing, and encoding and decoding processing of the communication signal.
  • the control unit 507 can transmit transmission data from the communication unit 505 to an external device.
  • the communication method may be wired or wireless, such as mobile high-definition link (MHL) or universal serial bus (USB), high-definition multimedia interface (HDMI), wireless fidelity (Wi-Fi), Bluetooth communication, or low-power Bluetooth communication. And the mesh network of the IEEE802.11s standard.
  • communication unit 505 can be a cellular wireless transceiver that operates in accordance with Wideband Code Division Multiple Access (W-CDMA), Long Term Evolution (LTE), and the like.
  • W-CDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • the head mounted display device 500 can also include a storage unit, the storage unit 506 being a mass storage device configured to have a solid state drive (SSD) or the like.
  • storage unit 506 can store applications or various types of data. For example, content viewed by the user using the head mounted display device 500 may be stored in the storage unit 506.
  • the head mounted display device 500 can also include a control unit, and the control unit 507 can include a computer processing unit (CPU) or other device having similar functionality.
  • control unit 507 can be used to execute an application stored by storage unit 506, or control unit 507 can also be used to perform the methods, functions, and operations disclosed in some embodiments of the present invention.
  • the image processing unit 508 is for performing signal processing such as image quality correction related to the image signal output from the control unit 507, and converting its resolution into a resolution according to the screen of the display unit 501. Then, the display drive The moving unit 509 sequentially selects each line of pixels of the display unit 501, and sequentially scans each line of pixels of the display unit 501 line by line, thereby providing a pixel signal based on the signal processed image signal.
  • the head mounted display device 500 can also include an external camera.
  • the external camera 510 may be disposed on the front surface of the body of the head mounted display device 500, and the external camera 510 may be one or more.
  • the external camera 510 can acquire three-dimensional information and can also be used as a distance sensor. Additionally, a position sensitive detector (PSD) or other type of distance sensor that detects reflected signals from the object can be used with the external camera 510.
  • PSD position sensitive detector
  • the external camera 510 and the distance sensor can be used to detect the body position, posture, and shape of the user wearing the head mounted display device 500. In addition, under certain conditions, the user can directly view or preview the real scene through the external camera 510.
  • the head mounted display device 500 may further include a sound processing unit 511 that may perform sound quality correction or sound amplification of the sound signal output from the control unit 507, signal processing of the input sound signal, and the like. Then, the sound input/output unit 512 outputs the sound to the outside and the sound from the microphone after the sound processing.
  • a sound processing unit 511 may perform sound quality correction or sound amplification of the sound signal output from the control unit 507, signal processing of the input sound signal, and the like. Then, the sound input/output unit 512 outputs the sound to the outside and the sound from the microphone after the sound processing.
  • the structure or component shown by the dashed line in FIG. 6 may be independent of the head mounted display device 500, for example, may be disposed in an external processing system (eg, a computer system) for use with the head mounted display device 500; or The structure or components shown in dashed boxes may be disposed inside or on the surface of the head mounted display device 500.
  • an external processing system eg, a computer system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present invention provides a VR image processing method, device, and apparatus. The method comprises the following steps: identifying, based on eye tracking, the position of a point of interest of a user in a VR display space; dividing, based on the position of the point of interest, the VR display space into at least two image display regions; and dynamically adjusting the resolution of at least one image corresponding to the image display region of the at least two image display regions, such that the resolution of the image of the image display region in an area specified by the position of the point of the interest is greater than the resolution of an image of another image display region, the other image display region being that part of the image display region other than the image display region in the area specified by the position of the point of interest, in the at least two image display regions. The method provided by the present invention can reduce VR apparatus power consumption.

Description

VR图像处理方法、装置及设备VR image processing method, device and device
交叉引用cross reference
本发明引用于2017年6月6日递交的名称为“VR图像处理方法及装置”的第201710418800.9号中国专利申请,其通过引用被全部并入本发明。The present invention is incorporated by reference in its entirety in its entirety in its entirety in its entirety in its entirety in the the the the the the the the the
技术领域Technical field
本发明涉及虚拟现实技术领域,尤其涉及一种VR图像处理方法、装置及设备。The present invention relates to the field of virtual reality technologies, and in particular, to a VR image processing method, apparatus, and device.
背景技术Background technique
虚拟现实(Virtual Reality,VR)技术是一种可以创建和体验虚拟世界的计算机仿真系统,它利用计算机生成一种模拟环境,是一种多源信息融合的、交互式的三维动态视景和实体行为的系统仿真,使用户沉浸到该环境中。目前,出现了VR眼镜、VR一体机等带来三维视觉体验的VR设备。Virtual Reality (VR) technology is a computer simulation system that can create and experience virtual worlds. It uses computer to generate a simulation environment. It is a multi-source information fusion, interactive 3D dynamic vision and entity. System simulation of behaviors that immerse users in the environment. At present, VR devices such as VR glasses and VR all-in-ones have brought about a three-dimensional visual experience.
在通过这些VR设备展示VR图像的过程中,开发人员为了追求三维动态视景,或者说VR图像的清晰度,往往要为VR图像设置较高的分辨率。这种方法使得VR设备的功耗过大,容易引起VR设备的待机时间短、发热严重、掉频、掉核等严重问题。In the process of displaying VR images through these VR devices, developers often need to set a higher resolution for VR images in order to pursue three-dimensional dynamic view, or the definition of VR images. This method makes the power consumption of the VR device too large, which easily causes serious problems such as short standby time, severe heat generation, frequency loss, and nuclear loss of the VR device.
发明内容Summary of the invention
本发明的多个方面提供一种VR图像处理方法、装置及设备,用以降低VR设备的功耗。Aspects of the present invention provide a VR image processing method, apparatus, and device for reducing power consumption of a VR device.
本发明提供一种VR图像处理方法,包括:The present invention provides a VR image processing method, including:
基于眼球追踪,识别用户在VR展示空间中的关注点位置;Identifying the location of the user's point of interest in the VR display space based on eye tracking;
基于所述关注点位置,将所述VR展示空间划分为至少两个图像展示区域;Dividing the VR display space into at least two image display areas based on the location of interest;
动态调整所述至少两个图像展示区域中至少一个图像展示区域对应图像的分辨率,以使在所述关注点位置指定范围内的图像展示区域的图像的分辨率大于其他图像展示区域的图像的分辨率;Dynamically adjusting a resolution of the at least one image display area corresponding image in the at least two image display areas such that an image of the image display area within the specified range of the attention point position has a resolution greater than that of the other image display areas Resolution
其中,所述其他图像展示区域是指所述至少两个图像展示区域中,除在所述关注点位置指定范围内的图像展示区域之外的图像展示区域。The other image display area refers to an image display area other than the image display area within the specified range of the attention point position in the at least two image display areas.
可选地,动态调整所述至少两个图像展示区域中至少一个图像展示区域对应图像的分辨率,以使在所述关注点位置指定范围内的图像展示区域的图像的分辨率大于其他图像展示区域的图像的分辨率,包括:Optionally, dynamically adjusting a resolution of the at least one image display area corresponding image in the at least two image display areas, so that an image of the image display area within the specified range of the attention point position has a resolution greater than other image displays. The resolution of the image of the area, including:
若所述VR展示空间需要展示的图像的默认分辨率小于第一分辨率阈值,则增大在所述关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率;If the default resolution of the image that the VR display space needs to display is less than the first resolution threshold, increase the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the attention point position;
若所述VR展示空间需要展示的图像的默认分辨率大于第二分辨率阈值,则减小在所 述其他图像展示区域当前展示或即将展示的图像的分辨率;其中,所述第二分辨率阈值大于所述第一分辨率阈值。If the default resolution of the image that the VR display space needs to display is greater than the second resolution threshold, then the reduction is The resolution of the image currently displayed or to be displayed by the other image display area; wherein the second resolution threshold is greater than the first resolution threshold.
可选地,所述增大在所述关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率,包括:Optionally, the increasing the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the attention point position comprises:
自所述在所述关注点位置指定范围内的图像展示区域的边缘指向所述关注点位置的方向,逐渐增大在所述关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率。And gradually increasing the image currently displayed or to be displayed in the image display area within the specified range of the attention point position from the direction of the edge of the image display area within the specified range of the attention point position Resolution.
可选地,所述在所述关注点位置指定范围内的图像展示区域包括:以所述关注点位置为中心的第一三维区域和第二三维区域,所述第二三维区域包括所述第一三维区域;Optionally, the image display area within the specified range of the focus point location includes: a first three-dimensional area and a second three-dimensional area centered on the focus point position, the second three-dimensional area including the first a three-dimensional area;
所述自所述在所述关注点位置指定范围内的图像展示区域的边缘指向所述关注点位置的方向,逐渐增大在所述关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率,包括:And displaying, from the edge of the image display area within the specified range of the attention point position, the direction of the focus point position, and gradually increasing or temporarily displaying the image display area within the specified range of the attention point position The resolution of the image, including:
将所述第一三维区域之内的标签对象使用的资源文件替换为对应于第一分辨率的资源文件;Replacing the resource file used by the tag object within the first three-dimensional area with a resource file corresponding to the first resolution;
将所述第二三维区域和所述第一三维区域之间的标签对象使用的资源文件替换为对应于第二分辨率的资源文件;其中,所述第一分辨率大于所述第二分辨率,所述第二分辨率大于所述第一分辨率阈值。Replacing the resource file used by the label object between the second three-dimensional area and the first three-dimensional area with a resource file corresponding to the second resolution; wherein the first resolution is greater than the second resolution The second resolution is greater than the first resolution threshold.
可选地,所述在所述关注点位置指定范围内的图像展示区域还包括:以所述关注点位置为中心的第三三维区域,所述第三三维区域包括所述第二三维区域;Optionally, the image display area within the specified range of the focus point location further includes: a third three-dimensional area centered on the focus point position, the third three-dimensional area including the second three-dimensional area;
所述自所述在所述关注点位置指定范围内的图像展示区域的边缘指向所述关注点位置的方向,逐渐增大在所述关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率,还包括:And displaying, from the edge of the image display area within the specified range of the attention point position, the direction of the focus point position, and gradually increasing or temporarily displaying the image display area within the specified range of the attention point position The resolution of the image also includes:
将所述第三三维区域和所述第二三维区域之间的标签对象使用的资源文件替换为对应于第三分辨率的资源文件;其中,所述第二分辨率大于所述第三分辨率,所述第三分辨率大于所述第一分辨率阈值。Replacing the resource file used by the label object between the third three-dimensional area and the second three-dimensional area with a resource file corresponding to the third resolution; wherein the second resolution is greater than the third resolution The third resolution is greater than the first resolution threshold.
可选地,所述第一三维区域为以所述关注点位置为球心,以第一距离为半径的球体区域;Optionally, the first three-dimensional area is a sphere area having a center of the focus point and a radius of the first distance;
所述第二三维区域为以所述关注点位置为球心,以第二距离为半径的球体区域;The second three-dimensional region is a sphere region having the focus point as a center of the sphere and the second distance as a radius;
所述第三三维区域为以所述关注点位置为球心,以第三距离为半径的球体区域;其中,所述第一距离小于所述第二距离,所述第二距离小于所述第三距离。The third three-dimensional region is a sphere region having a center of the focus point and a radius of the third distance; wherein the first distance is smaller than the second distance, and the second distance is smaller than the first Three distances.
可选地,在所述基于眼球追踪,识别用户在VR展示空间中的关注点位置之前,所述 方法还包括:Optionally, before the eyeball tracking is performed, identifying a location of a user's point of interest in the VR display space, The method also includes:
为所述VR展示空间中至少一个图像对象添加标签,以获得至少一个标签对象;Adding a label to at least one image object in the VR display space to obtain at least one label object;
为所述至少一个标签对象分别生成对应于所述第一分辨率、所述第二分辨率和所述第三分辨率的资源文件。Generating resource files corresponding to the first resolution, the second resolution, and the third resolution, respectively, for the at least one tag object.
可选地,所述方法还包括:Optionally, the method further includes:
渲染对应于所述第一分辨率、所述第二分辨率和所述第三分辨率的资源文件,以输出动态调整分辨率后的当前展示或即将展示的图像。A resource file corresponding to the first resolution, the second resolution, and the third resolution is rendered to output a current display or an image to be displayed after dynamically adjusting the resolution.
可选地,在所述动态调整所述至少两个图像展示区域中至少一个图像展示区域对应图像的分辨率之后,所述方法还包括:Optionally, after the dynamically adjusting the resolution of the at least one image display area corresponding image in the at least two image display areas, the method further includes:
统计动态调整分辨率之后在所述关注点位置指定范围内的图像展示区域的图像对应的资源文件所包含的面片数量;Counting the number of patches included in the resource file corresponding to the image of the image display area within the specified range of the attention point position after dynamically adjusting the resolution;
根据所述面片数量以及预设帧率,降低CPU和/或GPU的工作频率。The operating frequency of the CPU and/or GPU is reduced according to the number of patches and the preset frame rate.
本发明还提供一种VR图像处理装置,包括:The present invention also provides a VR image processing apparatus, comprising:
识别模块,用于基于眼球追踪,识别用户在VR展示空间中的关注点位置;An identification module for identifying a location of a user's point of interest in the VR display space based on eye tracking;
划分模块,用于基于所述关注点位置,将所述VR展示空间划分为至少两个图像展示区域;a dividing module, configured to divide the VR display space into at least two image display areas based on the location of the attention point;
调整模块,用于动态调整所述至少两个图像展示区域中至少一个图像展示区域对应图像的分辨率,以使在所述关注点位置指定范围内的图像展示区域的图像的分辨率大于其他图像展示区域的图像的分辨率;An adjustment module, configured to dynamically adjust a resolution of an image corresponding to at least one image display area of the at least two image display areas, so that an image of an image display area within a specified range of the attention point position has a resolution greater than other images The resolution of the image of the display area;
其中,所述其他图像展示区域是指所述至少两个图像展示区域中,除在所述关注点位置指定范围内的图像展示区域之外的图像展示区域。The other image display area refers to an image display area other than the image display area within the specified range of the attention point position in the at least two image display areas.
可选地,所述调整模块包括:Optionally, the adjusting module includes:
增大单元,用于若所述VR展示空间需要展示的图像的默认分辨率小于第一分辨率阈值,则增大在所述关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率;And an increasing unit, if the default resolution of the image that needs to be displayed in the VR display space is smaller than the first resolution threshold, increasing an image currently displayed or to be displayed in the image display area within the specified range of the attention point position Resolution
减小单元,用于若所述VR展示空间需要展示的图像的默认分辨率大于第二分辨率阈值,则减小在所述其他图像展示区域当前展示或即将展示的图像的分辨率;其中,所述第二分辨率阈值大于所述第一分辨率阈值。a reducing unit, configured to reduce a resolution of an image currently displayed or to be displayed in the other image display area if a default resolution of the image to be displayed by the VR display space is greater than a second resolution threshold; The second resolution threshold is greater than the first resolution threshold.
可选地,所述增大单元具体用于:Optionally, the increasing unit is specifically configured to:
自所述在所述关注点位置指定范围内的图像展示区域的边缘指向所述关注点位置的方向,逐渐增大在所述关注点位置指定范围内的图像展示区域当前展示或即将展示的图像 的分辨率。And gradually increasing the image currently displayed or to be displayed in the image display area within the specified range of the attention point position from the direction of the edge of the image display area within the specified range of the attention point position Resolution.
本发明还提供一种电子设备,包括处理器,以及与所述处理器连接的存储器;The invention also provides an electronic device comprising a processor and a memory connected to the processor;
所述存储器,用于存储一条或多条计算机指令;The memory is configured to store one or more computer instructions;
所述处理器,用于执行所述一条或多条计算机指令,以实现上述方法实施例中各步骤。The processor is configured to execute the one or more computer instructions to implement the steps in the foregoing method embodiments.
本发明还提供一种存储有计算机程序的计算机可读存储介质,计算机程序被执行时能够实现上述方法实施例中各步骤。The present invention also provides a computer readable storage medium storing a computer program, the computer program being executed to implement the steps of the above method embodiments.
在本发明中,基于眼球追踪,识别用户在VR展示空间中的关注点位置,基于关注点位置,将VR展示空间划分为至少两个图像展示区域,通过动态调整至少两个图像展示区域中的至少一个图像展示区域对应图像的分辨率,以使在所述关注点位置指定范围内的图像展示区域的图像的分辨率大于其他图像展示区域的图像的分辨率,这样可以保证关注点位置附近的图像具有较高的分辨率,保证用户能够清晰的看到图像,同时,其他图像展示区域的图像只需具有较低的分辨率,可以减小VR图像的数据量,降低VR设备的功耗。In the present invention, based on the eyeball tracking, the location of the user's attention point in the VR display space is identified, and the VR display space is divided into at least two image display areas based on the position of the attention point, by dynamically adjusting at least two image display areas. At least one image display area corresponds to a resolution of the image such that the resolution of the image of the image display area within the specified range of the attention point position is greater than the resolution of the image of the other image display area, thereby ensuring the vicinity of the position of the attention point The image has a higher resolution, ensuring that the user can clearly see the image. At the same time, the image of other image display areas only needs to have a lower resolution, which can reduce the data amount of the VR image and reduce the power consumption of the VR device.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本发明的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1为本发明一实施例提供的VR图像处理方法的流程示意图;1 is a schematic flowchart of a VR image processing method according to an embodiment of the present invention;
图2a为本发明一实施例提供的第一三维区域和第二三维区域的剖面示意图;2a is a schematic cross-sectional view of a first three-dimensional region and a second three-dimensional region according to an embodiment of the present invention;
图2b为本发明一实施例提供的第一三维区域、第二三维区域和第三三维区域的剖面示意图;2b is a schematic cross-sectional view of a first three-dimensional region, a second three-dimensional region, and a third three-dimensional region according to an embodiment of the present invention;
图3为本发明一实施例提供的VR图像处理装置的模块结构图;3 is a block diagram of a VR image processing apparatus according to an embodiment of the present invention;
图4为本发明一实施例提供的VR图像处理装置的模块结构图;4 is a block diagram of a VR image processing apparatus according to an embodiment of the present invention;
图5为本发明一实施例提供的电子设备的结构示意图;FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
图6为本发明一实施例提供的头戴显示设备的内部配置结构示意图。FIG. 6 is a schematic diagram of an internal configuration structure of a head mounted display device according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明具体实施例及相应的附图对本发明技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions of the present invention will be clearly and completely described in conjunction with the specific embodiments of the present invention and the accompanying drawings. It is apparent that the described embodiments are only a part of the embodiments of the 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 are within the scope of the present invention.
以下结合附图,详细说明本发明各实施例提供的技术方案。The technical solutions provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
图1为本发明一实施例提供的VR图像处理方法的流程示意图。如图1所示,该方法 包括以下步骤:FIG. 1 is a schematic flowchart diagram of a VR image processing method according to an embodiment of the present invention. As shown in Figure 1, the method Includes the following steps:
S101:基于眼球追踪,识别用户在VR展示空间中的关注点位置。S101: Identify the location of the user's point of interest in the VR display space based on eye tracking.
S102:基于关注点位置,将VR展示空间划分为至少两个图像展示区域。S102: Divide the VR display space into at least two image display areas based on the position of the attention point.
S103:动态调整至少两个图像展示区域中至少一个图像展示区域对应图像的分辨率,以使在关注点位置指定范围内的图像展示区域的图像的分辨率大于其他图像展示区域的图像的分辨率;其中,其他图像展示区域是指至少两个图像展示区域中,除在关注点位置指定范围内的图像展示区域之外的图像展示区域。S103: Dynamically adjusting a resolution of an image corresponding to at least one image display area in at least two image display areas, so that an image of an image display area within a specified range of the attention point position has a resolution greater than that of another image display area. Wherein, the other image display area refers to an image display area other than the image display area within the specified range of the attention point position in at least two image display areas.
在VR设备的运行过程时,会向用户展示一VR展示空间,以在VR展示空间中展示图像。VR展示空间中可以正在展示图像,也可以没有任何图像。During the operation of the VR device, a VR display space is presented to the user to display images in the VR display space. The image can be displayed in the VR display space or not.
当用户的双眼看到VR展示空间时,会聚焦到某一个位置点,即关注点位置。在一些实施例中,关注点位置可以是用户在VR展示空间当前展示的图像上的关注点位置。When the user's eyes see the VR display space, they will focus on a certain point, that is, the position of the point of interest. In some embodiments, the point of interest location may be a point of interest location on the image that the user is currently presenting in the VR presentation space.
其中,关注点位置可以通过眼球追踪技术识别。眼球追踪技术可以根据眼球和眼球周边的特征变化、虹膜角度变化、或者主动投射红外线等光束到虹膜来提取眼部特征,再根据眼部特征以及VR展示空间,确定用户在VR展示空间中的关注点位置。Among them, the location of the focus can be identified by eye tracking technology. The eyeball tracking technology can extract eye features according to changes in the characteristics of the eyeball and the periphery of the eyeball, changes in the iris angle, or actively projecting infrared rays to the iris, and then determine the user's attention in the VR display space according to the eye features and the VR display space. Point location.
由于人眼能够集中注意力关注的区域范围有限,可以基于关注点位置,将VR展示空间划分为至少两个图像展示区域。Since the human eye can focus on a limited range of areas of interest, the VR display space can be divided into at least two image display areas based on the position of the attention point.
在一些实施例中,可以以关注点位置为中心,将VR展示空间划分为至少两个图像展示区域,即至少两个图像展示区域中的每一个图像展示区域均以关注点位置为中心。In some embodiments, the VR display space may be divided into at least two image display regions centered on the location of interest, ie, each of the at least two image display regions is centered on the location of the focus.
接着,确定在关注点位置指定范围内的图像展示区域和其他图像展示区域。其中,指定范围可以根据人眼可关注的范围确定。在一示例中,指定范围可以设为在关注点位置方圆0.5m米的范围,则可以将落在关注点位置方圆0.5m范围内的图像展示区域作为在关注点位置指定范围内的图像展示区域。Next, an image display area and other image display areas within a specified range of the focus point position are determined. Among them, the specified range can be determined according to the range that the human eye can pay attention to. In an example, the specified range may be set to a range of 0.5 m in the circle of the position of the attention point, and the image display area falling within the range of 0.5 m in the circle of the position of the attention point may be used as the image display area within the specified range of the position of the attention point. .
其他展示区域是指至少两个图像展示区域中,除在关注点位置指定范围内的图像展示区域之外的图像展示区域。The other display area refers to an image display area other than the image display area within the specified range of the attention point position in at least two image display areas.
一般来说,在关注点位置指定范围内的图像展示区域就是人的双眼主要关注的区域,其他展示区域相对来说远离关注点位置,是次要关注的区域。基于此,可以动态调整至少两个图像展示区域中至少一个图像展示区域对应图像的分辨率,以使在关注点位置指定范围内的图像展示区域的图像的分辨率大于其他图像展示区域的图像的分辨率。Generally speaking, the image display area within the specified range of the position of the focus point is the area where the eyes of the person are mainly concerned, and the other display areas are relatively far from the position of the point of interest, which is the area of secondary concern. Based on this, the resolution of the image corresponding to the at least one image display area in the at least two image display areas may be dynamically adjusted, so that the resolution of the image of the image display area within the specified range of the attention point position is greater than the image of the other image display area. Resolution.
在一些实施例中,动态调整至少一个图像展示区域对应图像的分辨率包括增大或者减小至少一个图像展示区域对应图像的分辨率。In some embodiments, dynamically adjusting the resolution of the image corresponding to the at least one image display area comprises increasing or decreasing the resolution of the image corresponding to the at least one image display area.
当然,有些图像展示区域的图像的分辨率可以不必调整,能够使关注点位置指定范围 内的图像展示区域的图像的分辨率大于其他图像展示区域的图像的分辨率即可。具体而言,指定范围内的图像展示区域可以是被调整的区域,也可以不是被调整的区域;相应地,其它展示区域也可以是被调整的区域,也可以不是被调整的区域。Of course, the resolution of the image in some image display areas does not have to be adjusted, and the focus position can be specified. The resolution of the image in the image display area inside is larger than the resolution of the image in the other image display area. Specifically, the image display area within the specified range may be the adjusted area or may not be the adjusted area; accordingly, the other display areas may also be the adjusted area or may not be the adjusted area.
在本实施例中,基于眼球追踪,识别用户在VR展示空间中的关注点位置,基于关注点位置,将VR展示空间划分为至少两个图像展示区域,通过动态调整至少两个图像展示区域中的至少一个图像展示区域对应图像的分辨率,以使在关注点位置指定范围内的图像展示区域的图像的分辨率大于其他图像展示区域的图像的分辨率,这样可以保证关注点位置附近的图像具有较高的分辨率,保证用户能够清晰的看到图像,同时,其他图像展示区域的图像只需具有较低的分辨率,可以减小VR图像的数据量,降低VR设备的功耗。In this embodiment, based on the eyeball tracking, the location of the user's attention point in the VR display space is identified, and the VR display space is divided into at least two image display areas based on the position of the attention point, and the at least two image display areas are dynamically adjusted. At least one image display area corresponds to a resolution of the image such that the resolution of the image of the image display area within the specified range of the position of the attention point is greater than the resolution of the image of the other image display area, thereby ensuring an image near the position of the attention point The high resolution ensures that the user can clearly see the image. At the same time, the images in other image display areas only need to have lower resolution, which can reduce the data volume of the VR image and reduce the power consumption of the VR device.
进一步地,本实施例通过动态调整至少两个图像展示区域中的至少一个图像展示区域对应图像的分辨率,使得在关注点位置指定范围内的图像展示区域的图像的分辨率较高,在其他图像展示区域的图像的分辨率较低,相比于现有技术中整个图像的分辨率一致,本实施例更切近现实生活中人眼看到的画面,提高图像的真实感。Further, the embodiment dynamically adjusts the resolution of the image corresponding to the at least one image display area in the at least two image display areas, so that the resolution of the image of the image display area within the specified range of the attention point position is higher, in other The image of the image display area has a lower resolution, and the resolution of the entire image is consistent with the prior art, and the embodiment is closer to the picture seen by the human eye in real life, and improves the realism of the image.
在一可选实施方式中,随着VR场景的变化,会生成一帧一帧的图像,进而可以按照图像的生成顺序将一帧帧图像在VR展示空间中依次展示出来,从而用户能够看到流畅的VR场景。本实施例中,VR展示空间需要展示的每一帧图像的分辨率可以均为默认分辨率。在一些实施例中,默认分辨率可为较低的分辨率,也可以为较高的分辨率。根据默认分辨率的不同,动态调节图像的分辨率的方式包括以下两种。In an optional implementation manner, as the VR scene changes, an image of one frame and one frame is generated, and then one frame image can be sequentially displayed in the VR display space according to the image generation order, so that the user can see Smooth VR scene. In this embodiment, the resolution of each frame of the image that the VR display space needs to display may be the default resolution. In some embodiments, the default resolution may be a lower resolution or a higher resolution. Depending on the default resolution, there are two ways to dynamically adjust the resolution of an image.
第一种方式:若VR展示空间需要展示的图像的默认分辨率小于第一分辨率阈值(即默认分辨率为较低的分辨率),则增大在关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率。The first way: if the default resolution of the image to be displayed in the VR display space is smaller than the first resolution threshold (ie, the default resolution is lower resolution), the image display area within the specified range of the attention point position is increased. The resolution of the image currently being displayed or will be displayed.
具体而言,若VR展示空间需要展示的图像的默认分辨率小于第一分辨率阈值,意味着图像的分辨率较低,难以满足用户的基本视觉需求。那么,为使在关注点位置指定范围内的图像展示区域的图像的分辨率大于其他图像展示区域的图像的分辨率,可增大在关注点位置指定范围内的图像展示区域的图像的分辨率。Specifically, if the default resolution of the image that the VR display space needs to display is less than the first resolution threshold, it means that the resolution of the image is low, and it is difficult to meet the basic visual needs of the user. Then, in order to make the resolution of the image of the image display area within the specified range of the position of the attention point larger than the resolution of the image of the other image display area, the resolution of the image of the image display area within the specified range of the position of the attention point may be increased. .
在一些实施例中,增大在关注点位置指定范围内的图像展示区域的图像的分辨率时,可以在图像展示区域当前展示的图像上进行调整,也可以在即将展示的图像上,即下一帧图像上,进行调整。In some embodiments, when the resolution of the image of the image display area within the specified range of the position of interest is increased, the image may be adjusted on the image currently displayed in the image display area, or may be on the image to be displayed, ie, Adjust on one frame of image.
在一示例中,若VR展示空间需要展示的图像的默认分辨率为640*360,第一分辨率阈值为1280*720,则判定默认分辨率小于第一分辨率阈值,则增大在关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率。 In an example, if the default resolution of the image to be displayed in the VR display space is 640*360, and the first resolution threshold is 1280*720, it is determined that the default resolution is smaller than the first resolution threshold, and then the focus is increased. The resolution of the image currently displayed or to be displayed in the image display area within the specified range of locations.
在一些实施例中,可增大在关注点位置指定范围内的图像展示区域的图像的分辨率,以使增大后的分辨率大于第一分辨率阈值。其中,第一分辨率阈值可以根据用户的视觉需求,灵活定制。In some embodiments, the resolution of the image of the image display area within the specified range of the location of interest may be increased such that the increased resolution is greater than the first resolution threshold. The first resolution threshold can be flexibly customized according to the visual needs of the user.
第二种方式:若VR展示空间需要展示的图像的默认分辨率大于第二分辨率阈值(即默认分辨率为较高的分辨率),则减小在其他图像展示区域当前展示或即将展示的图像的分辨率。The second way: if the default resolution of the image to be displayed in the VR display space is greater than the second resolution threshold (ie, the default resolution is a higher resolution), then the current display or upcoming display in other image display areas is reduced. The resolution of the image.
具体而言,若VR展示空间需要展示的图像的默认分辨率大于第二分辨率阈值,意味着图像的分辨率较高,能够给用户带来较佳的视觉体验。那么,为使在关注点位置指定范围内的图像展示区域的图像的分辨率大于其他图像展示区域的图像的分辨率,可减小其他图像展示区域的图像的分辨率。Specifically, if the default resolution of the image to be displayed in the VR display space is greater than the second resolution threshold, it means that the resolution of the image is higher, which can provide a better visual experience for the user. Then, in order to make the resolution of the image of the image display area within the specified range of the attention point position larger than the resolution of the image of the other image display area, the resolution of the image of the other image display area can be reduced.
在一示例中,若VR展示空间需要展示的图像的默认分辨率为1280*1440,第二分辨率阈值为1280*720,则判定默认分辨率大于第二分辨率阈值,则减小其他图像展示区域的图像的分辨率。In an example, if the default resolution of the image to be displayed in the VR display space is 1280*1440 and the second resolution threshold is 1280*720, it is determined that the default resolution is greater than the second resolution threshold, thereby reducing other image display. The resolution of the image of the area.
在一些实施例中,可减小其他图像展示区域的图像的分辨率,以使减小后的分辨率小于第二分辨率阈值。其中,第二分辨率阈值也可以根据用户的视觉需求,灵活定制。In some embodiments, the resolution of the images of other image display regions may be reduced such that the reduced resolution is less than the second resolution threshold. The second resolution threshold can also be flexibly customized according to the visual needs of the user.
在现实生活中,由于的人的视角是有限的,人眼能够分辨清楚关注点位置附近的物体;但是,距离关注点位置较远的物体,人眼就难以分辨清楚。In real life, because the human perspective is limited, the human eye can distinguish objects near the position of the focus; however, objects farther away from the point of interest are difficult to distinguish clearly.
基于此,为了增强图像的真实感,对于上述实施例中的第一种方式来说,在增大在关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率时,可以自在关注点位置指定范围内的图像展示区域的边缘指向关注点位置的方向,逐渐增大在关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率。Based on this, in order to enhance the realism of the image, for the first mode in the above embodiment, when the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the position of the attention point is increased, The edge of the image display area within the specified range of the attention point position points to the direction of the position of the attention point, and gradually increases the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the position of the attention point.
首先,可以将在关注点位置指定范围内的图像展示区域划分为以关注点位置为中心的第一三维区域和第二三维区域。其中,第二三维区域包括第一三维区域。First, the image display area within the specified range of the position of interest can be divided into a first three-dimensional area and a second three-dimensional area centered on the position of the attention point. Wherein the second three-dimensional area comprises a first three-dimensional area.
在一些实施例中,以关注点位置为中心的第一三维区域或第二三维区域可以包括但不限于以关注点位置为中心的立方体区域、长方体区域、球体区域、圆柱体区域等。优选地,如图2a所示,第一三维区域为以关注点位置为球心,以第一距离为半径的球体区域;第二三维区域为以关注点位置为球心,以第二距离为半径的球体区域。其中,第一距离小于第二距离。In some embodiments, the first three-dimensional region or the second three-dimensional region centered at the position of the focus point may include, but is not limited to, a cubic region centered on the position of the focus point, a cuboid region, a sphere region, a cylinder region, and the like. Preferably, as shown in FIG. 2a, the first three-dimensional area is a sphere area having a focus point as a center of the sphere and a radius of the first distance; and the second three-dimensional area is a center of the focus point, and the second distance is The sphere area of the radius. Wherein the first distance is less than the second distance.
当然,除了将在关注点位置指定范围内的图像展示区域划分为第一三维区域和第二三维区域之外,还可以将在关注点位置指定范围内的图像展示区域划分为以关注点位置为中心的第一三维区域、第二三维区域和第三三维区域。其中,第二三维区域包括第一三维区 域,第三三维区域包括第二三维区域。Of course, in addition to dividing the image display area within the specified range of the focus point position into the first three-dimensional area and the second three-dimensional area, the image display area within the specified range of the attention point position may be divided into the focus point position. a first three-dimensional area, a second three-dimensional area, and a third three-dimensional area of the center. Wherein the second three-dimensional region comprises the first three-dimensional region The third dimensional region of the domain includes a second three-dimensional region.
优选地,如图2b所示,第一三维区域为以关注点位置为球心,以第一距离为半径的球体区域;第二三维区域为以关注点位置为球心,以第二距离为半径的球体区域;第三三维区域为以关注点位置为球心,以第三距离为半径的球体区域。其中,第一距离小于第二距离,第二距离小于第三距离。例如,第一距离为0.6m,第二距离为0.8m,第二距离为1m。Preferably, as shown in FIG. 2b, the first three-dimensional area is a sphere area having a focus point as a center of the sphere and a radius of the first distance; and the second three-dimensional area is a center of the focus point, and the second distance is The sphere area of the radius; the third three-dimensional area is a sphere area with the focus point as the center of the sphere and the third distance as the radius. Wherein the first distance is smaller than the second distance, and the second distance is smaller than the third distance. For example, the first distance is 0.6 m, the second distance is 0.8 m, and the second distance is 1 m.
当然,还可以将在关注点位置指定范围内的图像展示区域划分为以关注点位置为中心的更多区域,开发人员可以根据用户的视觉体验灵活设置。Of course, it is also possible to divide the image display area within the specified range of the focus position into more areas centered on the focus point position, and the developer can flexibly set according to the user's visual experience.
在将在关注点位置指定范围内的图像展示区域划分为至少两个区域后,可以自在关注点位置指定范围内的图像展示区域的边缘指向关注点位置的方向,逐渐增大在关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率。After dividing the image display area within the specified range of the attention point position into at least two areas, the edge of the image display area within the specified range of the attention point position may be pointed to the direction of the position of the attention point, and the position of the attention point is gradually increased. The resolution of the image currently displayed or to be displayed in the image display area within the range.
在一些实施例中,自在关注点位置指定范围内的图像展示区域的边缘指向关注点位置的方向,根据由小到大的分辨率增大系数,依次增大划分出的各个图像展示区域当前展示或即将展示的图像的分辨率。在一些实施例中,同一个图像展示区域当前展示或即将展示的图像的分辨率的增大系数相同。In some embodiments, the edge of the image display area within the specified range of the position of interest is pointed to the direction of the position of the focus point, and the current display of each of the divided image display areas is sequentially increased according to the resolution increasing from small to large. Or the resolution of the image to be displayed. In some embodiments, the increase factor of the resolution of the image currently displayed or to be displayed by the same image display area is the same.
在一示例中,可以将第三三维区域当前展示或即将展示的图像的分辨率增大系数设为2,将第二三维区域当前展示或即将展示的图像的分辨率增大系数设为3,将第一三维区域当前展示或即将展示的图像的分辨率增大系数设为4。In an example, the resolution increase coefficient of the image currently displayed or to be displayed in the third three-dimensional region may be set to 2, and the resolution increase coefficient of the image currently displayed or to be displayed in the second three-dimensional region may be set to 3. The resolution increase factor of the image currently displayed or to be displayed in the first three-dimensional area is set to four.
在一些实施例中,动态调整至少两个图像展示区域中至少一个图像展示区域对应图像的分辨率包括动态调整至少两个图像展示区域中至少一个图像展示区域对应图像对象的分辨率。基于此,对于上述实施例中的第一种方式来说,在一些实施例中,增大在关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率包括增大在关注点位置指定范围内的图像展示区域当前展示或即将展示的图像对象的分辨率。In some embodiments, dynamically adjusting the resolution of the at least one image display region corresponding image in the at least two image display regions comprises dynamically adjusting a resolution of the at least one image display region corresponding image object in the at least two image display regions. Based on this, for the first mode in the above embodiment, in some embodiments, increasing the resolution of the image currently displayed or about to be displayed in the image display area within the specified range of the location of interest includes increasing in focus. The resolution of the image object currently displayed or to be displayed in the image display area within the specified range of the point location.
图像中可包括多个图像对象。例如,图像为草原图像时,图像对象可以包括花的图像、草的图像、石头的图像,天空的图像等。Multiple image objects can be included in the image. For example, when the image is a grassland image, the image object may include an image of a flower, an image of a grass, an image of a stone, an image of a sky, and the like.
其中,图像对象一般包括模型属性的图像对象和背景属性的图像对象。例如,花的图像属于模型属性的图像对象,天空的图像属于背景属性的图像对象。一般来说,用户比较关注的是图像中的模型属性的图像对象,而且人眼对不同分辨率的模型属性的图像对象较背景属性的图像对象要敏感。基于此,进一步,增大图像的分辨率包括增大模型属性的图像对象的分辨率。Among them, the image object generally includes an image object of a model attribute and an image object of a background attribute. For example, an image of a flower belongs to an image object of a model property, and an image of the sky belongs to an image object of a background property. In general, the user is more concerned with the image object of the model attribute in the image, and the human eye is more sensitive to the image object of the model attribute of different resolution than the image object of the background attribute. Based on this, further, increasing the resolution of the image includes increasing the resolution of the image object of the model attribute.
类似地,对于上述实施例中的第二种方式来说,减小其他图像展示区域的图像的分辨 率包括减小其他图像展示区域的图像对象的分辨率。进一步,减小其他图像展示区域的图像的分辨率包括减小其他图像展示区域的模型属性的图像对象的分辨率。Similarly, for the second mode in the above embodiment, the resolution of the image of other image display areas is reduced. The rate includes the resolution of the image object that reduces other image display areas. Further, reducing the resolution of the images of the other image display regions includes reducing the resolution of the image objects of the model attributes of the other image display regions.
在图像初始生成的时候,图像对象的分辨率可为默认分辨率。对于上述实施例中的第一种方式来说,可以将在关注点位置指定范围内的图像展示区域内默认分辨率的图像对象替换为较大分辨率的图像对象。相反地,对于上述实施例中的第二种方式来说,可以将其他图像展示区域的默认分辨率的图像对象替换为较小分辨率的图像对象。进一步地,为了提高动态调整图像对象分辨率的速率,可以预先生成多种分辨率的图像对象。The resolution of the image object can be the default resolution when the image is initially generated. For the first mode in the above embodiment, the image object of the default resolution in the image display area within the specified range of the point of interest position can be replaced with the image object of the larger resolution. Conversely, for the second mode in the above embodiment, the image object of the default resolution of the other image display areas can be replaced with the image object of the smaller resolution. Further, in order to increase the rate of dynamically adjusting the resolution of the image object, image objects of various resolutions may be generated in advance.
在一些实施例中,在基于眼球追踪,识别用户在VR展示空间中的关注点位置之前,可以为VR展示空间中至少一个图像对象添加标签,以获得至少一个标签对象;接着,为至少一个标签对象分别生成对应于第一分辨率、第二分辨率和第三分辨率的资源文件。In some embodiments, at least one image object in the VR display space may be tagged to obtain at least one tag object prior to identifying the user's focus position in the VR display space based on eye tracking; then, at least one tag The objects respectively generate resource files corresponding to the first resolution, the second resolution, and the third resolution.
其中,标签可以唯一标识图像对象,相当于图像对象的命名。在为图像对象添加标签后,可以获得携带标签的图像对象,即标签对象。针对每一个标签对象可以分别生成对应于第一分辨率的资源文件、对应于第二分辨率的资源文件和对应于第三分辨率的资源文件。在一些实施例中,对属于同一标签对象的对应于不同分辨率的资源文件还可以添加不同的标签,以区别资源文件对应分辨率的不同。Among them, the label can uniquely identify the image object, which is equivalent to the naming of the image object. After the label is added to the image object, the image object carrying the label, that is, the label object, can be obtained. A resource file corresponding to the first resolution, a resource file corresponding to the second resolution, and a resource file corresponding to the third resolution may be separately generated for each of the tag objects. In some embodiments, different tags may be added to resource files corresponding to different resolutions belonging to the same tag object to distinguish the difference in resolution corresponding to the resource files.
在一示例中,图像对象A添加标签x,对应于第一分辨率的资源文件的标签可为x.1,对应于第二分辨率的资源文件的标签可为x.2,对应于第三分辨率的资源文件的标签可为x.3。In an example, the image object A adds the label x, the label of the resource file corresponding to the first resolution may be x.1, and the label of the resource file corresponding to the second resolution may be x.2, corresponding to the third The resolution resource file can be labeled x.3.
其中,第一分辨率大于第二分辨率,第二分辨率大于第三分辨率。The first resolution is greater than the second resolution, and the second resolution is greater than the third resolution.
在一些实施例中,资源文件包括合成对应分辨率的图像对象所需要的图像模型、图片等。图像模型的分辨率、图片的分辨率均与其所属的资源文件对应的分辨率相同。In some embodiments, the resource file includes image models, pictures, and the like that are required to synthesize image objects of corresponding resolution. The resolution of the image model and the resolution of the image are the same as the resolution corresponding to the resource file to which it belongs.
例如,对应于1280*1440分辨率的资源文件,其包括的图像模型的分辨率为1280*1440,图片的分辨率为1280*1440。For example, a resource file corresponding to a resolution of 1280*1440 includes an image model with a resolution of 1280*1440 and a resolution of 1280*1440.
在预先生成对应于多种分辨率的资源文件之后,可以直接将预先生成的资源文件替换当前展示或即将展示的图像对象所使用的资源文件。After the resource files corresponding to the plurality of resolutions are generated in advance, the pre-generated resource files may be directly replaced with the resource files used by the currently displayed or upcoming image objects.
在一些实施例中,对于上述实施例的第一种方式来说,自在关注点位置指定范围内的图像展示区域的边缘指向关注点位置的方向,逐渐增大在关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨时,可根据在关注点位置指定范围内的图像展示区域的划分方法不同,包括以下两种情况。In some embodiments, for the first mode of the above embodiment, the edge of the image display area within the specified range of the attention point position points to the direction of the focus point position, and the image within the specified range of the focus point position is gradually increased. When the resolution of the currently displayed or upcoming image of the display area is different, the method of dividing the image display area within the specified range of the position of the attention point may be different, including the following two cases.
第一种情况:若在关注点位置指定范围内的图像展示区域被划分为第一三维区域和第二三维区域,则将第一三维区域之内的标签对象使用的资源文件替换为对应于第一分辨率 的资源文件;将第二三维区域和第一三维区域之间的标签对象使用的资源文件替换为对应于第二分辨率的资源文件。其中,第二三维区域和第一三维区域之间的三维区域如图2a所示。In the first case, if the image display area within the specified range of the attention point position is divided into the first three-dimensional area and the second three-dimensional area, the resource file used by the label object within the first three-dimensional area is replaced with the corresponding One resolution a resource file; replacing a resource file used by the tag object between the second three-dimensional area and the first three-dimensional area with a resource file corresponding to the second resolution. The three-dimensional area between the second three-dimensional area and the first three-dimensional area is as shown in FIG. 2a.
在一些实施例中,第一分辨率、第二分辨率均大于第一分辨率阈值,以使替换后的在关注点位置指定范围内的图像展示区域的图像的分辨率大于第一分辨率阈值。In some embodiments, the first resolution and the second resolution are both greater than the first resolution threshold, such that the resolution of the image of the replaced image display area within the specified range of the attention point position is greater than the first resolution threshold. .
第二种情况:若在关注点位置指定范围内的图像展示区域被划分为第一三维区域、第二三维区域和第三三维区域,可以将第一三维区域之内的标签对象使用的资源文件替换为对应于第一分辨率的资源文件;将第二三维区域和第一三维区域之间的标签对象使用的资源文件替换为对应于第二分辨率的资源文件;将第三三维区域和第二三维区域之间的标签对象使用的资源文件替换为对应于第三分辨率的资源文件。The second case: if the image display area within the specified range of the focus point position is divided into the first three-dimensional area, the second three-dimensional area, and the third three-dimensional area, the resource file used by the label object within the first three-dimensional area may be used. Replaced with a resource file corresponding to the first resolution; a resource file used by the label object between the second three-dimensional area and the first three-dimensional area is replaced with a resource file corresponding to the second resolution; the third three-dimensional area and the third The resource file used by the tag object between the two three-dimensional regions is replaced with a resource file corresponding to the third resolution.
其中,第二三维区域和第一三维区域之间的三维区域,以及第三三维区域和第二三维区域之间的三维区域,如图2b所示。Wherein, the three-dimensional region between the second three-dimensional region and the first three-dimensional region, and the three-dimensional region between the third three-dimensional region and the second three-dimensional region are as shown in FIG. 2b.
在一些实施例中,第一分辨率、第二分辨率和第三分辨率均大于第一分辨率阈值,以使替换后的在关注点位置指定范围内的图像展示区域的图像的分辨率大于第一分辨率阈值。In some embodiments, the first resolution, the second resolution, and the third resolution are both greater than the first resolution threshold, such that the resolution of the image of the image display area within the specified range of the position of interest is replaced is greater than First resolution threshold.
对于上述实施例的第二种方式来说,可以将其他图像展示区域之内的标签对象使用的资源文件替换为对应于第三分辨率的资源文件。For the second mode of the above embodiment, the resource file used by the tag object within the other image display area may be replaced with the resource file corresponding to the third resolution.
在一些实施例中,第三分辨率可小于第二分辨率阈值,以使替换后的其他图像展示区域的图像的分辨率小于第二分辨率阈值。In some embodiments, the third resolution may be less than the second resolution threshold such that the resolution of the image of the replaced other image display area is less than the second resolution threshold.
在一些实施例中,用户的视角在关注点位置指定范围内的图像展示区域时,一般其他图像展示区域的图像较模糊。基于此,可以在替换操作后,模糊化处理其他图像展示区域之内的资源文件,以进一步增强图像的真实感。在一些实施例中,可以使用着色器(Shader),模糊化处理其他图像展示区域之内的资源文件。In some embodiments, when the user's viewing angle is in the image display area within the specified range of the attention point position, generally the image of the other image display area is blurred. Based on this, the resource files within other image display areas can be blurred after the replacement operation to further enhance the realism of the image. In some embodiments, a shader can be used to fuzzify resource files within other image display areas.
接着,渲染对应于第一分辨率、第二分辨率和第三分辨率的资源文件,以输出动态调整分辨率后的当前展示或即将展示的图像。如此,VR显示设备上可以显示调整分辨率后的当前展示或即将展示的图像。Then, the resource files corresponding to the first resolution, the second resolution, and the third resolution are rendered to output the current display or the image to be displayed after the dynamic adjustment of the resolution. In this way, the current display or the image to be displayed after the resolution is adjusted can be displayed on the VR display device.
若调整当前展示的图像的分辨率,则可以在渲染对应于第一分辨率、第二分辨率和第三分辨率的资源文件之后,重新输出动态调整分辨率后的当前展示的图像。若调整即将展示的图像的的分辨率,则可以在渲染对应于第一分辨率、第二分辨率和第三分辨率的资源文件之后,继续输出动态调整分辨率后的即将展示的图像,如下一帧图像。If the resolution of the currently displayed image is adjusted, the currently displayed image after dynamically adjusting the resolution may be re-output after rendering the resource files corresponding to the first resolution, the second resolution, and the third resolution. If the resolution of the image to be displayed is adjusted, after the resource files corresponding to the first resolution, the second resolution, and the third resolution are rendered, the image to be displayed after the dynamic adjustment resolution is continuously output, as follows: One frame of image.
在一可选实施方式中,在为至少一个标签对象分别生成对应于第一分辨率、第二分辨 率和第三分辨率的资源文件时,在一些实施例中,可以使用面片工具生成对应于第一分辨率的资源文件、对应于第二分辨率的资源文件和对应于第三分辨率的资源文件。其中,生成对应于第一分辨率的资源文件所使用的面片数量大于生成对应于第二分辨率的资源文件所使用的面片数量,生成对应于第二分辨率的资源文件所使用的面片数量大于生成对应于第三分辨率的资源文件所使用的面片数量。In an optional implementation, the first resolution and the second resolution are respectively generated for the at least one label object. And a resource file of a third resolution, in some embodiments, a patch file may be used to generate a resource file corresponding to the first resolution, a resource file corresponding to the second resolution, and a third resolution corresponding to the third resolution resource. The number of patches used to generate the resource file corresponding to the first resolution is greater than the number of patches used to generate the resource file corresponding to the second resolution, and the surface used by the resource file corresponding to the second resolution is generated. The number of slices is greater than the number of patches used to generate the resource file corresponding to the third resolution.
在一示例中,生成第一分辨率的桌子模型所使用的面片为500个,生成第二分辨率的桌子模型所使用的面片为400个,生成第三分辨率的桌子模型所使用的面片为300个。In one example, the number of patches used to generate the table model of the first resolution is 500, and the number of patches used to generate the table model of the second resolution is 400, which is used to generate the table model of the third resolution. The patch is 300 pieces.
在一些实施例中,面片的形状包括但不限于三角形、长方形、菱形等。优选地,面片的形状为三角形。In some embodiments, the shape of the patch includes, but is not limited to, a triangle, a rectangle, a diamond, or the like. Preferably, the shape of the patch is triangular.
在一可选实施方式中,在动态调整至少两个图像展示区域中至少一个图像展示区域对应图像的分辨率之后,还包括:统计动态调整分辨率之后在关注点位置指定范围内的图像展示区域的图像包含的面片数量;进而,根据面片数量以及预设帧率,降低CPU和/或GPU的工作频率。In an optional implementation, after dynamically adjusting the resolution of the at least one image display area corresponding image in the at least two image display areas, the method further includes: displaying the image display area within the specified range of the attention point position after dynamically adjusting the resolution The number of patches included in the image; in turn, the CPU and/or GPU operating frequency is reduced based on the number of patches and the preset frame rate.
其中,在关注点位置指定范围内的图像展示区域的图像包含的面片数量为该图像对应的资源文件所使用的面片数量。The number of patches included in the image display area within the specified range of the point of interest location is the number of patches used by the resource file corresponding to the image.
一方面,资源文件所使用的面片的数量越少,在渲染资源文件的时候所需的CPU和/或GPU的工作频率就越低。另一方面,CPU和/或GPU的工作频率也不可过低,应能够支持图像的帧率保持在预设帧率以上,以保证图像显示的连贯性。在一些实施例中,预设帧率应大于16fps。基于此,可以预先建立CPU和/或GPU的工作频率与面片数量以及预设帧率的对应关系。On the one hand, the fewer the patches used by the resource files, the lower the CPU and/or GPU required to render the resource files. On the other hand, the operating frequency of the CPU and/or GPU should not be too low, and the frame rate of the image should be kept above the preset frame rate to ensure the consistency of the image display. In some embodiments, the preset frame rate should be greater than 16 fps. Based on this, the correspondence between the operating frequency of the CPU and/or the GPU and the number of patches and the preset frame rate can be established in advance.
由于在动态调整分辨率之后,在关注点位置指定范围内的图像展示区域的图像的分辨率较高,该图像对应的资源文件所使用的面片数量就越多。那么,可以统计动态调整分辨率之后关注点位置指定范围内的图像展示区域的图像对应的资源文件所使用的面片数量。当然,也可以统计整个图像对应的资源文件所使用的面片数量。Since the resolution of the image of the image display area within the specified range of the attention point position is higher after the resolution is dynamically adjusted, the number of patches used by the resource file corresponding to the image is increased. Then, the number of patches used by the resource file corresponding to the image of the image display area within the specified range of the attention point position after the dynamic adjustment of the resolution can be counted. Of course, it is also possible to count the number of patches used by the resource file corresponding to the entire image.
在动态调整分辨率之后,统计的面片数量相比于整个图像的分辨率较高时所使用的面片数量,有所减少。基于此,可以根据预先建立的CPU和/或GPU的工作频率与面片数量以及预设帧率的对应关系,降低CPU和/或GPU的工作频率。After dynamically adjusting the resolution, the number of patches is reduced compared to the number of patches used when the resolution of the entire image is higher. Based on this, the operating frequency of the CPU and/or GPU can be reduced according to the pre-established correspondence between the operating frequency of the CPU and/or GPU and the number of patches and the preset frame rate.
降低CPU和/或GPU的工作频率之后,可以以降低工作频率后的CPU和/或GPU渲染对应于第一分辨率、第二分辨率和第三分辨率的资源文件,以输出动态调整分辨率后的图像。After reducing the operating frequency of the CPU and/or the GPU, the resource files corresponding to the first resolution, the second resolution, and the third resolution may be rendered by the CPU and/or GPU after the operating frequency is reduced to output a dynamic adjustment resolution. After the image.
在一些实施例中,在本次降低CPU和/或GPU的工作频率之后,若下一次动态调整分 辨率之后在关注点位置指定范围内的图像展示区域的图像包含的面片数量较本次增多,可以升高CPU和/或GPU的工作频率,以降低渲染操作时的延迟时间。In some embodiments, after the current operating frequency of the CPU and/or GPU is reduced, if the next dynamic adjustment is performed The image of the image display area within the specified range of the attention point position after the resolution is increased by the number of patches, which can increase the operating frequency of the CPU and/or GPU to reduce the delay time during the rendering operation.
本发明实施例还提供一种VR图像处理装置300,如图3所示,包括识别模块301、划分模块302和调整模块303。The embodiment of the present invention further provides a VR image processing apparatus 300. As shown in FIG. 3, the VR image processing apparatus 300 includes an identification module 301, a partitioning module 302, and an adjustment module 303.
识别模块301,用于基于眼球追踪,识别用户在VR展示空间中的关注点位置。The identification module 301 is configured to identify a location of a user's point of interest in the VR display space based on eye tracking.
划分模块302,用于基于识别模块301识别的关注点位置,将VR展示空间划分为至少两个图像展示区域。The dividing module 302 is configured to divide the VR display space into at least two image display areas based on the position of the point of interest identified by the identification module 301.
调整模块303,用于动态调整至少两个图像展示区域中至少一个图像展示区域对应图像的分辨率,以使在关注点位置指定范围内的图像展示区域的图像的分辨率大于其他图像展示区域的图像的分辨率;其中,其他图像展示区域是指所述至少两个图像展示区域中,除在关注点位置指定范围内的图像展示区域之外的图像展示区域。The adjusting module 303 is configured to dynamically adjust a resolution of the image corresponding to the image display area of the at least two image display areas, so that the resolution of the image of the image display area within the specified range of the attention point position is greater than that of the other image display areas. The resolution of the image; wherein the other image display area refers to an image display area other than the image display area within the specified range of the attention point position in the at least two image display areas.
在本实施例中,基于眼球追踪,识别用户在VR展示空间中的关注点位置,基于关注点位置,将VR展示空间划分为至少两个图像展示区域,通过动态调整至少两个图像展示区域中的至少一个图像展示区域对应图像的分辨率,以使在关注点位置指定范围内的图像展示区域的图像的分辨率大于其他图像展示区域的图像的分辨率,这样可以保证关注点位置附近的图像具有较高的分辨率,保证用户能够清晰的看到图像,同时,其他图像展示区域的图像只需具有较低的分辨率,可以减小VR图像的数据量,降低VR设备的功耗。In this embodiment, based on the eyeball tracking, the location of the user's attention point in the VR display space is identified, and the VR display space is divided into at least two image display areas based on the position of the attention point, and the at least two image display areas are dynamically adjusted. At least one image display area corresponds to a resolution of the image such that the resolution of the image of the image display area within the specified range of the position of the attention point is greater than the resolution of the image of the other image display area, thereby ensuring an image near the position of the attention point The high resolution ensures that the user can clearly see the image. At the same time, the images in other image display areas only need to have lower resolution, which can reduce the data volume of the VR image and reduce the power consumption of the VR device.
在一些实施例中,如图4所示,调整模块303包括增大单元3031和减小单元3032。In some embodiments, as shown in FIG. 4, the adjustment module 303 includes an increase unit 3031 and a decrease unit 3032.
增大单元3031,用于若VR展示空间需要展示的图像的默认分辨率小于第一分辨率阈值,则增大在关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率。The increasing unit 3031 is configured to increase the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the attention point position if the default resolution of the image to be displayed in the VR display space is smaller than the first resolution threshold. .
减小单元3032,用于若VR展示空间需要展示的图像的默认分辨率大于第二分辨率阈值,则减小在其他图像展示区域当前展示或即将展示的图像的分辨率。The reducing unit 3032 is configured to reduce the resolution of the image currently displayed or to be displayed in other image display areas if the default resolution of the image that the VR display space needs to display is greater than the second resolution threshold.
其中,所述第二分辨率阈值大于所述第一分辨率阈值。The second resolution threshold is greater than the first resolution threshold.
在一些实施例中,增大单元3031在增大在关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率时,具体用于:自在关注点位置指定范围内的图像展示区域的边缘指向关注点位置的方向,逐渐增大在关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率。In some embodiments, when the increasing unit 3031 increases the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the attention point position, specifically for: displaying the image within the specified range of the attention point position The edge of the region points to the direction of the position of the point of interest, gradually increasing the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the position of the point of interest.
在一些实施例中,在关注点位置指定范围内的图像展示区域包括:以关注点位置为中心的第一三维区域和第二三维区域,第二三维区域包括第一三维区域。In some embodiments, the image display area within the specified range of the focus point location includes a first three-dimensional area centered on the point of interest location and a second three-dimensional area, the second three-dimensional area including the first three-dimensional area.
增大单元3031在自在关注点位置指定范围内的图像展示区域的边缘指向关注点位置 的方向,逐渐增大在关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率时,具体还用于:将第一三维区域之内的标签对象使用的资源文件替换为对应于第一分辨率的资源文件;将第二三维区域和所述第一三维区域之间的标签对象使用的资源文件替换为对应于第二分辨率的资源文件;其中,所述第一分辨率大于所述第二分辨率,所述第二分辨率大于所述第一分辨率阈值。The increasing unit 3031 points to the position of the attention point at the edge of the image display area within the specified range of the position of the attention point of interest The direction is gradually increased when the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the position of the focus position is further used to: replace the resource file used by the label object within the first three-dimensional area with Corresponding to the resource file of the first resolution; replacing the resource file used by the label object between the second three-dimensional area and the first three-dimensional area with a resource file corresponding to the second resolution; wherein the first resolution The rate is greater than the second resolution, and the second resolution is greater than the first resolution threshold.
在一些实施例中,在关注点位置指定范围内的图像展示区域还包括:以关注点位置为中心的第三三维区域,第三三维区域包括第二三维区域。In some embodiments, the image display area within the specified range of the focus point location further includes: a third three-dimensional area centered on the point of interest location, the third three-dimensional area including the second three-dimensional area.
增大单元3031在自在关注点位置指定范围内的图像展示区域的边缘指向关注点位置的方向,逐渐增大在关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率时,具体还用于:将三三维区域和第二三维区域之间的标签对象使用的资源文件替换为对应于第三分辨率的资源文件;其中,第二分辨率大于第三分辨率,第三分辨率大于第一分辨率阈值。The increasing unit 3031 gradually points the direction of the position of the attention point from the edge of the image display area within the specified range of the position of the attention point, and gradually increases the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the position of the attention point. Specifically, the method further includes: replacing, by using a resource file used by the label object between the three-dimensional area and the second three-dimensional area, a resource file corresponding to the third resolution; wherein, the second resolution is greater than the third resolution, and the third The resolution is greater than the first resolution threshold.
在一些实施例中,第一三维区域为以关注点位置为球心,以第一距离为半径的球体区域;第二三维区域为以关注点位置为球心,以第二距离为半径的球体区域;第三三维区域为以关注点位置为球心,以第三距离为半径的球体区域。In some embodiments, the first three-dimensional region is a sphere region having a focus point as a center of the sphere and a radius of the first distance; and the second three-dimensional region is a sphere having a focus point as a center of the sphere and a second distance as a radius The third three-dimensional region is a sphere region having a focal point position as a center of the sphere and a third distance as a radius.
其中,第一距离小于第二距离,第二距离小于第三距离。Wherein the first distance is smaller than the second distance, and the second distance is smaller than the third distance.
在一些实施例中,如图4所示,VR图像处理装置300还包括添加模块304和生成模块305。In some embodiments, as shown in FIG. 4, the VR image processing apparatus 300 further includes an adding module 304 and a generating module 305.
添加模块304,用于为VR展示空间中至少一个图像对象添加标签,以获得至少一个标签对象。The adding module 304 is configured to add a label to at least one image object in the VR display space to obtain at least one label object.
生成模块305,用于为添加模块304获得的至少一个标签对象分别生成对应于第一分辨率、第二分辨率和第三分辨率的资源文件。The generating module 305 is configured to respectively generate resource files corresponding to the first resolution, the second resolution, and the third resolution for the at least one label object obtained by the adding module 304.
在一些实施例中,VR图像处理装置300还包括渲染模块306。In some embodiments, VR image processing device 300 also includes a rendering module 306.
渲染模块306用于渲染对应于第一分辨率、第二分辨率和第三分辨率的资源文件,以输出动态调整分辨率后的当前展示或即将展示的图像。The rendering module 306 is configured to render resource files corresponding to the first resolution, the second resolution, and the third resolution to output a current display or an image to be displayed after dynamically adjusting the resolution.
在一些实施例中,如图4所示,VR图像处理装置300还包括统计模块307和调节模块308。In some embodiments, as shown in FIG. 4, the VR image processing apparatus 300 further includes a statistics module 307 and an adjustment module 308.
统计模块307,用于统计动态调整分辨率之后在关注点位置指定范围内的图像展示区域的图像对应的资源文件所包含的面片数量。The statistics module 307 is configured to count the number of patches included in the resource file corresponding to the image of the image display area within the specified range of the attention point position after dynamically adjusting the resolution.
调节模块308,用于根据统计模块307统计的面片数量以及预设帧率,降低CPU和/或GPU的工作频率。 The adjustment module 308 is configured to reduce the operating frequency of the CPU and/or the GPU according to the number of patches counted by the statistics module 307 and the preset frame rate.
本发明实施例还提供一种电子设备,如图5所示,电子设备400包括处理器401,以及与处理器401连接的存储器402。An embodiment of the present invention further provides an electronic device. As shown in FIG. 5, the electronic device 400 includes a processor 401 and a memory 402 connected to the processor 401.
存储器402,用于存储一条或多条计算机指令。处理器401,用于执行存储器402存储的一条或多条计算机指令,以实现上述方法实施例中各步骤。The memory 402 is configured to store one or more computer instructions. The processor 401 is configured to execute one or more computer instructions stored in the memory 402 to implement the steps in the foregoing method embodiments.
处理器401用于执行存储器402存储的一条或多条计算机指令,以用于:基于眼球追踪,识别用户在VR展示空间中的关注点位置;基于关注点位置,将VR展示空间划分为至少两个图像展示区域;动态调整至少两个图像展示区域中至少一个图像展示区域对应图像的分辨率,以使在关注点位置指定范围内的图像展示区域的图像的分辨率大于其他图像展示区域的图像的分辨率;其中,其他图像展示区域是指至少两个图像展示区域中,除在关注点位置指定范围内的图像展示区域之外的图像展示区域。The processor 401 is configured to execute one or more computer instructions stored in the memory 402, to: identify, according to eyeball tracking, a location of a user's point of interest in the VR display space; and divide the VR display space into at least two based on the location of the attention point. Image display area; dynamically adjusting the resolution of the image corresponding to at least one of the image display areas in at least two image display areas, so that the image of the image display area within the specified range of the attention point position has a resolution greater than that of the other image display areas The resolution of the image display area refers to an image display area other than the image display area within the specified range of the attention point position in the at least two image display areas.
在一可选实施方式中,处理器401在动态调整至少两个图像展示区域中至少一个图像展示区域对应图像的分辨率,以使在关注点位置指定范围内的图像展示区域的图像的分辨率大于其他图像展示区域的图像的分辨率时,具体用于:若VR展示空间需要展示的图像的默认分辨率小于第一分辨率阈值,则增大在关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率;若VR展示空间需要展示的图像的默认分辨率大于第二分辨率阈值,则减小在其他图像展示区域当前展示或即将展示的图像的分辨率;其中,第二分辨率阈值大于第一分辨率阈值。In an optional implementation manner, the processor 401 dynamically adjusts the resolution of the image corresponding to the at least one image display area in the at least two image display areas, so that the resolution of the image of the image display area within the specified range of the attention point position is When the resolution of the image is larger than that of the other image display area, it is specifically used to: if the default resolution of the image to be displayed in the VR display space is smaller than the first resolution threshold, increase the current image display area within the specified range of the attention point position. The resolution of the image displayed or to be displayed; if the default resolution of the image to be displayed in the VR display space is greater than the second resolution threshold, the resolution of the image currently displayed or to be displayed in other image display areas is reduced; The second resolution threshold is greater than the first resolution threshold.
在一可选实施方式中,处理器401在增大在关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率时,具体用于:自在关注点位置指定范围内的图像展示区域的边缘指向关注点位置的方向,逐渐增大在关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率。In an optional implementation manner, when the processor 401 increases the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the attention point position, the processor 401 is specifically configured to: image within the specified range of the attention point position. The edge of the display area points to the direction of the position of the point of interest, and gradually increases the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the position of the point of interest.
在一可选实施方式中,在关注点位置指定范围内的图像展示区域包括:以关注点位置为中心的第一三维区域和第二三维区域,第二三维区域包括第一三维区域。基于此,处理器401在自在关注点位置指定范围内的图像展示区域的边缘指向关注点位置的方向,逐渐增大在关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率时,具体用于:将第一三维区域之内的标签对象使用的资源文件替换为对应于第一分辨率的资源文件;将第二三维区域和第一三维区域之间的标签对象使用的资源文件替换为对应于第二分辨率的资源文件;其中,第一分辨率大于第二分辨率,第二分辨率大于第一分辨率阈值。In an optional implementation, the image display area within the specified range of the focus point location includes: a first three-dimensional area centered on the point of interest location and a second three-dimensional area, the second three-dimensional area including the first three-dimensional area. Based on this, the processor 401 points the direction of the position of the attention point position from the edge of the image display area within the specified range of the attention point position, and gradually increases the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the position of the attention point. The rate is specifically used to: replace the resource file used by the label object within the first three-dimensional area with the resource file corresponding to the first resolution; and use the label object between the second three-dimensional area and the first three-dimensional area The resource file is replaced with a resource file corresponding to the second resolution; wherein the first resolution is greater than the second resolution, and the second resolution is greater than the first resolution threshold.
在一可选实施方式中,在关注点位置指定范围内的图像展示区域还包括:以关注点位置为中心的第三三维区域,第三三维区域包括第二三维区域。基于此,处理器401 在自在关注点位置指定范围内的图像展示区域的边缘指向关注点位置的方向,逐渐增大在关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率时,具体用于:将第三三维区域和第二三维区域之间的标签对象使用的资源文件替换为对应于第三分辨率的资源文件;其中,第二分辨率大于第三分辨率,第三分辨率大于第一分辨率阈值。In an optional implementation manner, the image display area within the specified range of the focus point location further includes: a third three-dimensional area centered on the focus point position, and the third three-dimensional area includes the second three-dimensional area. Based on this, the processor 401 When the edge of the image display area within the specified range of the position of the attention point points to the direction of the position of the attention point, and gradually increases the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the position of the attention point, specifically for Replacing the resource file used by the label object between the third three-dimensional area and the second three-dimensional area with a resource file corresponding to the third resolution; wherein the second resolution is greater than the third resolution, and the third resolution is greater than the third A resolution threshold.
在一可选实施方式中,第一三维区域为以关注点位置为球心,以第一距离为半径的球体区域。第二三维区域为以关注点位置为球心,以第二距离为半径的球体区域;第三三维区域为以关注点位置为球心,以第三距离为半径的球体区域。其中,第一距离小于第二距离,第二距离小于第三距离。In an optional embodiment, the first three-dimensional region is a sphere region having a focal point position as a center of the sphere and a first distance as a radius. The second three-dimensional region is a sphere region having a focal point position as a center of the sphere and a second distance as a radius; and the third three-dimensional region is a sphere region having a focal point position as a center of the sphere and a third distance as a radius. Wherein the first distance is smaller than the second distance, and the second distance is smaller than the third distance.
在一可选实施方式中,处理器401在基于眼球追踪,识别用户在VR展示空间中的关注点位置之前,还用于:为VR展示空间中至少一个图像对象添加标签,以获得至少一个标签对象;为至少一个标签对象分别生成对应于第一分辨率、第二分辨率和第三分辨率的资源文件。In an optional implementation, the processor 401 is further configured to: add a label to the at least one image object in the VR display space to obtain at least one label, before the location of the user is in the VR display space based on the eye tracking. An object; a resource file corresponding to the first resolution, the second resolution, and the third resolution is generated for each of the at least one label object.
在一可选实施方式中,处理器401还用于:渲染对应于第一分辨率、第二分辨率和第三分辨率的资源文件,以输出动态调整分辨率后的当前展示或即将展示的图像。In an optional implementation, the processor 401 is further configured to: render a resource file corresponding to the first resolution, the second resolution, and the third resolution to output a current display or a display to be displayed after dynamically adjusting the resolution. image.
在一可选实施方式中,处理器401在动态调整至少两个图像展示区域中至少一个图像展示区域对应图像的分辨率之后,还用于:统计动态调整分辨率之后在关注点位置指定范围内的图像展示区域的图像对应的资源文件所包含的面片数量;根据面片数量以及预设帧率,降低CPU和/或GPU的工作频率。In an optional implementation, after dynamically adjusting the resolution of the at least one image display area corresponding image in the at least two image display areas, the processor 401 is further configured to: after the dynamic adjustment of the resolution, the specified range of the attention point position The image display area image corresponds to the number of patches contained in the resource file; according to the number of patches and the preset frame rate, the operating frequency of the CPU and/or GPU is reduced.
本发明实施例还提供了一种计算机存储介质,该计算机存储介质存储一条或多条计算机指令,该一条或多条计算机指令被计算机执行时,可实现上述方法实施例中各步骤。The embodiment of the present invention further provides a computer storage medium, which stores one or more computer instructions, and when the one or more computer instructions are executed by a computer, the steps in the foregoing method embodiments may be implemented.
本发明又一实施例提供的电子设备可以为外接式头戴显示设备或者一体式头戴显示设备,其中外接式头戴显示设备需要与外部处理系统(例如计算机处理系统)配合使用。The electronic device provided by another embodiment of the present invention may be an external head mounted display device or an integrated head mounted display device, wherein the external head mounted display device needs to be used in conjunction with an external processing system (eg, a computer processing system).
图6为本发明又一实施例提供的头戴显示设备500的内部配置结构示意图。FIG. 6 is a schematic diagram of an internal configuration structure of a head mounted display device 500 according to another embodiment of the present invention.
显示单元501可以包括显示面板,显示面板设置在头戴显示设备500上面向用户面部的侧表面,可以为一整块面板、或者为分别对应用户左眼和右眼的左面板和右面板。显示面板可以为电致发光(EL)元件、液晶显示器或具有类似结构的微型显示器、或者视网膜可直接显示或类似的激光扫描式显示器。The display unit 501 may include a display panel disposed on a side surface of the head mounted display device 500 facing the user's face, and may be a one-piece panel or left and right panels respectively corresponding to the left and right eyes of the user. The display panel may be an electroluminescence (EL) element, a liquid crystal display or a microdisplay having a similar structure, or a laser-scanned display in which the retina may be directly displayed or similar.
虚拟图像光学单元502以放大方式拍摄显示单元501所显示的图像,并允许用户按放大的虚拟图像观察所显示的图像。作为输出到显示单元501上的显示图像,可以是从内容再现设备(蓝光光碟或DVD播放器)或流媒体服务器提供的虚拟场景的图像、或者使用外部 相机510拍摄的现实场景的图像。一些实施例中,虚拟图像光学单元502可以包括透镜单元,例如球面透镜、非球面透镜、菲涅尔透镜等。The virtual image optical unit 502 photographs the image displayed by the display unit 501 in an enlarged manner and allows the user to observe the displayed image in the enlarged virtual image. As the display image outputted to the display unit 501, it may be an image of a virtual scene supplied from a content reproduction device (a Blu-ray disc or a DVD player) or a streaming media server, or an external use An image of a real scene taken by the camera 510. In some embodiments, virtual image optical unit 502 can include a lens unit, such as a spherical lens, an aspheric lens, a Fresnel lens, and the like.
输入操作单元503包括至少一个用来执行输入操作的操作部件,例如按键、按钮、开关或者其他具有类似功能的部件,通过操作部件接收用户指令,并且向控制单元507输出指令。The input operation unit 503 includes at least one operation member for performing an input operation, such as a button, a button, a switch, or other similarly functioned component, receives a user instruction through the operation member, and outputs an instruction to the control unit 507.
状态信息获取单元504用于获取穿戴头戴显示设备500的用户的状态信息。状态信息获取单元504可以包括各种类型的传感器,用于自身检测状态信息,并可以通过通信单元505从外部设备(例如智能手机、腕表和用户穿戴的其它多功能终端)获取状态信息。状态信息获取单元504可以获取用户的头部的位置信息和/或姿态信息。状态信息获取单元504可以包括陀螺仪传感器、加速度传感器、全球定位系统(GPS)传感器、地磁传感器、多普勒效应传感器、红外传感器、射频场强度传感器中的一个或者多个。此外,状态信息获取单元504获取穿戴头戴显示设备500的用户的状态信息,例如获取例如用户的操作状态(用户是否穿戴头戴显示设备500)、用户的动作状态(诸如静止、行走、跑动和诸如此类的移动状态,手或指尖的姿势、眼睛的开或闭状态、视线方向、瞳孔尺寸)、精神状态(用户是否沉浸在观察所显示的图像以及诸如此类的),甚至生理状态。The status information acquisition unit 504 is configured to acquire status information of the user wearing the head mounted display device 500. The status information acquisition unit 504 may include various types of sensors for detecting status information by itself, and may acquire status information from an external device such as a smartphone, a wristwatch, and other multi-function terminals worn by the user through the communication unit 505. The status information acquisition unit 504 can acquire location information and/or posture information of the user's head. The status information acquisition unit 504 may include one or more of a gyro sensor, an acceleration sensor, a global positioning system (GPS) sensor, a geomagnetic sensor, a Doppler effect sensor, an infrared sensor, and a radio frequency field intensity sensor. Further, the state information acquisition unit 504 acquires state information of the user wearing the head-mounted display device 500, for example, acquires, for example, an operation state of the user (whether the user wears the head-mounted display device 500), an action state of the user (such as standing, walking, running) And the state of movement such as the state of the hand or fingertip, the open or closed state of the eye, the direction of the line of sight, the size of the pupil, the mental state (whether the user is immersed in observing the displayed image, and the like), or even the physiological state.
通信单元505执行与外部装置的通信处理、调制和解调处理、以及通信信号的编码和解码处理。另外,控制单元507可以从通信单元505向外部装置发送传输数据。通信方式可以是有线或者无线形式,例如移动高清链接(MHL)或通用串行总线(USB)、高清多媒体接口(HDMI)、无线保真(Wi-Fi)、蓝牙通信或低功耗蓝牙通信,以及IEEE802.11s标准的网状网络等。另外,通信单元505可以是根据宽带码分多址(W-CDMA)、长期演进(LTE)和类似标准操作的蜂窝无线收发器。The communication unit 505 performs communication processing with the external device, modulation and demodulation processing, and encoding and decoding processing of the communication signal. In addition, the control unit 507 can transmit transmission data from the communication unit 505 to an external device. The communication method may be wired or wireless, such as mobile high-definition link (MHL) or universal serial bus (USB), high-definition multimedia interface (HDMI), wireless fidelity (Wi-Fi), Bluetooth communication, or low-power Bluetooth communication. And the mesh network of the IEEE802.11s standard. Additionally, communication unit 505 can be a cellular wireless transceiver that operates in accordance with Wideband Code Division Multiple Access (W-CDMA), Long Term Evolution (LTE), and the like.
一些实施例中,头戴显示设备500还可以包括存储单元,存储单元506是配置为具有固态驱动器(SSD)等的大容量存储设备。一些实施例中,存储单元506可以存储应用程序或各种类型的数据。例如,用户使用头戴显示设备500观看的内容可以存储在存储单元506中。In some embodiments, the head mounted display device 500 can also include a storage unit, the storage unit 506 being a mass storage device configured to have a solid state drive (SSD) or the like. In some embodiments, storage unit 506 can store applications or various types of data. For example, content viewed by the user using the head mounted display device 500 may be stored in the storage unit 506.
一些实施例中,头戴显示设备500还可以包括控制单元,控制单元507可以包括计算机处理单元(CPU)或者其他具有类似功能的设备。一些实施例中,控制单元507可以用于执行存储单元506存储的应用程序,或者控制单元507还可以用于执行本发明一些实施例公开的方法、功能和操作的电路。In some embodiments, the head mounted display device 500 can also include a control unit, and the control unit 507 can include a computer processing unit (CPU) or other device having similar functionality. In some embodiments, control unit 507 can be used to execute an application stored by storage unit 506, or control unit 507 can also be used to perform the methods, functions, and operations disclosed in some embodiments of the present invention.
图像处理单元508用于执行信号处理,比如与从控制单元507输出的图像信号相关的图像质量校正,以及将其分辨率转换为根据显示单元501的屏幕的分辨率。然后,显示驱 动单元509依次选择显示单元501的每行像素,并逐行依次扫描显示单元501的每行像素,因而提供基于经信号处理的图像信号的像素信号。The image processing unit 508 is for performing signal processing such as image quality correction related to the image signal output from the control unit 507, and converting its resolution into a resolution according to the screen of the display unit 501. Then, the display drive The moving unit 509 sequentially selects each line of pixels of the display unit 501, and sequentially scans each line of pixels of the display unit 501 line by line, thereby providing a pixel signal based on the signal processed image signal.
一些实施例中,头戴显示设备500还可以包括外部相机。外部相机510可以设置在头戴显示设备500主体前表面,外部相机510可以为一个或者多个。外部相机510可以获取三维信息,并且也可以用作距离传感器。另外,探测来自物体的反射信号的位置灵敏探测器(PSD)或者其他类型的距离传感器可以与外部相机510一起使用。外部相机510和距离传感器可以用于检测穿戴头戴显示设备500的用户的身体位置、姿态和形状。另外,一定条件下用户可以通过外部相机510直接观看或者预览现实场景。In some embodiments, the head mounted display device 500 can also include an external camera. The external camera 510 may be disposed on the front surface of the body of the head mounted display device 500, and the external camera 510 may be one or more. The external camera 510 can acquire three-dimensional information and can also be used as a distance sensor. Additionally, a position sensitive detector (PSD) or other type of distance sensor that detects reflected signals from the object can be used with the external camera 510. The external camera 510 and the distance sensor can be used to detect the body position, posture, and shape of the user wearing the head mounted display device 500. In addition, under certain conditions, the user can directly view or preview the real scene through the external camera 510.
一些实施例中,头戴显示设备500还可以包括声音处理单元,声音处理单元511可以执行从控制单元507输出的声音信号的声音质量校正或声音放大,以及输入声音信号的信号处理等。然后,声音输入/输出单元512在声音处理后向外部输出声音以及输入来自麦克风的声音。In some embodiments, the head mounted display device 500 may further include a sound processing unit 511 that may perform sound quality correction or sound amplification of the sound signal output from the control unit 507, signal processing of the input sound signal, and the like. Then, the sound input/output unit 512 outputs the sound to the outside and the sound from the microphone after the sound processing.
需要说明的是,图6中虚线框示出的结构或部件可以独立于头戴显示设备500之外,例如可以设置在外部处理系统(例如计算机系统)中与头戴显示设备500配合使用;或者,虚线框示出的结构或部件可以设置在头戴显示设备500内部或者表面上。It should be noted that the structure or component shown by the dashed line in FIG. 6 may be independent of the head mounted display device 500, for example, may be disposed in an external processing system (eg, a computer system) for use with the head mounted display device 500; or The structure or components shown in dashed boxes may be disposed inside or on the surface of the head mounted display device 500.
以上所述仅为本发明的实施例而已,并不用于限制本发明。对于本领域技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本发明的权利要求范围之内。 The above description is only an embodiment of the present invention and is not intended to limit the present invention. It will be apparent to those skilled in the art that various modifications and changes can be made in the present invention. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the invention are intended to be included within the scope of the appended claims.

Claims (14)

  1. 一种VR图像处理方法,其特征在于,包括:A VR image processing method, comprising:
    基于眼球追踪,识别用户在VR展示空间中的关注点位置;Identifying the location of the user's point of interest in the VR display space based on eye tracking;
    基于所述关注点位置,将所述VR展示空间划分为至少两个图像展示区域;Dividing the VR display space into at least two image display areas based on the location of interest;
    动态调整所述至少两个图像展示区域中至少一个图像展示区域对应图像的分辨率,以使在所述关注点位置指定范围内的图像展示区域的图像的分辨率大于其他图像展示区域的图像的分辨率;Dynamically adjusting a resolution of the at least one image display area corresponding image in the at least two image display areas such that an image of the image display area within the specified range of the attention point position has a resolution greater than that of the other image display areas Resolution
    其中,所述其他图像展示区域是指所述至少两个图像展示区域中,除在所述关注点位置指定范围内的图像展示区域之外的图像展示区域。The other image display area refers to an image display area other than the image display area within the specified range of the attention point position in the at least two image display areas.
  2. 根据权利要求1所述的方法,其特征在于,动态调整所述至少两个图像展示区域中至少一个图像展示区域对应图像的分辨率,以使在所述关注点位置指定范围内的图像展示区域的图像的分辨率大于其他图像展示区域的图像的分辨率,包括:The method according to claim 1, wherein dynamically adjusting a resolution of at least one image display area corresponding image in the at least two image display areas to cause an image display area within a specified range of the attention point position The resolution of the image is greater than the resolution of the image in other image display areas, including:
    若所述VR展示空间需要展示的图像的默认分辨率小于第一分辨率阈值,则增大在所述关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率;If the default resolution of the image that the VR display space needs to display is less than the first resolution threshold, increase the resolution of the image currently displayed or to be displayed in the image display area within the specified range of the attention point position;
    若所述VR展示空间需要展示的图像的默认分辨率大于第二分辨率阈值,则减小在所述其他图像展示区域当前展示或即将展示的图像的分辨率;If the default resolution of the image that the VR display space needs to display is greater than the second resolution threshold, reducing the resolution of the image currently displayed or to be displayed in the other image display area;
    其中,所述第二分辨率阈值大于所述第一分辨率阈值。The second resolution threshold is greater than the first resolution threshold.
  3. 根据权利要求2所述的方法,其特征在于,所述增大在所述关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率,包括:The method according to claim 2, wherein the increasing the resolution of an image currently displayed or to be displayed in an image display area within a specified range of the location of interest location comprises:
    自所述在所述关注点位置指定范围内的图像展示区域的边缘指向所述关注点位置的方向,逐渐增大在所述关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率。And gradually increasing the image currently displayed or to be displayed in the image display area within the specified range of the attention point position from the direction of the edge of the image display area within the specified range of the attention point position Resolution.
  4. 根据权利要求3所述的方法,其特征在于,所述在所述关注点位置指定范围内的图像展示区域包括:以所述关注点位置为中心的第一三维区域和第二三维区域,所述第二三维区域包括所述第一三维区域;The method according to claim 3, wherein the image display area within the specified range of the focus point position comprises: a first three-dimensional area and a second three-dimensional area centered on the focus point position, The second three-dimensional area includes the first three-dimensional area;
    所述自所述在所述关注点位置指定范围内的图像展示区域的边缘指向所述关注点位置的方向,逐渐增大在所述关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率,包括:And displaying, from the edge of the image display area within the specified range of the attention point position, the direction of the focus point position, and gradually increasing or temporarily displaying the image display area within the specified range of the attention point position The resolution of the image, including:
    将所述第一三维区域之内的标签对象使用的资源文件替换为对应于第一分辨率的资源文件;Replacing the resource file used by the tag object within the first three-dimensional area with a resource file corresponding to the first resolution;
    将所述第二三维区域和所述第一三维区域之间的标签对象使用的资源文件替换为 对应于第二分辨率的资源文件;Replacing the resource file used by the label object between the second three-dimensional area and the first three-dimensional area with a resource file corresponding to the second resolution;
    其中,所述第一分辨率大于所述第二分辨率,所述第二分辨率大于所述第一分辨率阈值。The first resolution is greater than the second resolution, and the second resolution is greater than the first resolution threshold.
  5. 根据权利要求4所述的方法,其特征在于,所述在所述关注点位置指定范围内的图像展示区域还包括:以所述关注点位置为中心的第三三维区域,所述第三三维区域包括所述第二三维区域;The method according to claim 4, wherein the image display area within the specified range of the focus point position further comprises: a third three-dimensional area centered on the focus point position, the third three-dimensional The area includes the second three-dimensional area;
    所述自所述在所述关注点位置指定范围内的图像展示区域的边缘指向所述关注点位置的方向,逐渐增大在所述关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率,还包括:And displaying, from the edge of the image display area within the specified range of the attention point position, the direction of the focus point position, and gradually increasing or temporarily displaying the image display area within the specified range of the attention point position The resolution of the image also includes:
    将所述第三三维区域和所述第二三维区域之间的标签对象使用的资源文件替换为对应于第三分辨率的资源文件;Replacing the resource file used by the label object between the third three-dimensional area and the second three-dimensional area with a resource file corresponding to the third resolution;
    其中,所述第二分辨率大于所述第三分辨率,所述第三分辨率大于所述第一分辨率阈值。The second resolution is greater than the third resolution, and the third resolution is greater than the first resolution threshold.
  6. 根据权利要求5所述的方法,其特征在于,所述第一三维区域为以所述关注点位置为球心,以第一距离为半径的球体区域;The method according to claim 5, wherein the first three-dimensional area is a sphere area having a center of the focus point and a radius of the first distance;
    所述第二三维区域为以所述关注点位置为球心,以第二距离为半径的球体区域;The second three-dimensional region is a sphere region having the focus point as a center of the sphere and the second distance as a radius;
    所述第三三维区域为以所述关注点位置为球心,以第三距离为半径的球体区域;The third three-dimensional area is a sphere area with the focus point as the center of the sphere and the third distance as the radius;
    其中,所述第一距离小于所述第二距离,所述第二距离小于所述第三距离。The first distance is smaller than the second distance, and the second distance is smaller than the third distance.
  7. 根据所述权利要求5或6所述的方法,其特征在于,在所述基于眼球追踪,识别用户在VR展示空间中的关注点位置之前,所述方法还包括:The method according to claim 5 or 6, wherein before the recognizing the position of the user in the VR display space based on the eyeball tracking, the method further comprises:
    为所述VR展示空间中至少一个图像对象添加标签,以获得至少一个标签对象;Adding a label to at least one image object in the VR display space to obtain at least one label object;
    为所述至少一个标签对象分别生成对应于所述第一分辨率、所述第二分辨率和所述第三分辨率的资源文件。Generating resource files corresponding to the first resolution, the second resolution, and the third resolution, respectively, for the at least one tag object.
  8. 根据权利要求5-7任一项中所述的方法,其特征在于,还包括:The method of any of claims 5-7, further comprising:
    渲染对应于所述第一分辨率、所述第二分辨率和所述第三分辨率的资源文件,以输出动态调整分辨率后的当前展示或即将展示的图像。A resource file corresponding to the first resolution, the second resolution, and the third resolution is rendered to output a current display or an image to be displayed after dynamically adjusting the resolution.
  9. 根据权利要求1-8任一项中所述的方法,其特征在于,在所述动态调整所述至少两个图像展示区域中至少一个图像展示区域对应图像的分辨率之后,所述方法还包括:The method according to any one of claims 1-8, wherein after the dynamically adjusting the resolution of the at least one image display area corresponding image in the at least two image display areas, the method further comprises :
    统计动态调整分辨率之后在所述关注点位置指定范围内的图像展示区域的图像对应的资源文件所包含的面片数量; Counting the number of patches included in the resource file corresponding to the image of the image display area within the specified range of the attention point position after dynamically adjusting the resolution;
    根据所述面片数量以及预设帧率,降低CPU和/或GPU的工作频率。The operating frequency of the CPU and/or GPU is reduced according to the number of patches and the preset frame rate.
  10. 一种VR图像处理装置,其特征在于,包括:A VR image processing apparatus, comprising:
    识别模块,用于基于眼球追踪,识别用户在VR展示空间中的关注点位置;An identification module for identifying a location of a user's point of interest in the VR display space based on eye tracking;
    划分模块,用于基于所述关注点位置,将所述VR展示空间划分为至少两个图像展示区域;a dividing module, configured to divide the VR display space into at least two image display areas based on the location of the attention point;
    调整模块,用于动态调整所述至少两个图像展示区域中至少一个图像展示区域对应图像的分辨率,以使在所述关注点位置指定范围内的图像展示区域的图像的分辨率大于其他图像展示区域的图像的分辨率;An adjustment module, configured to dynamically adjust a resolution of an image corresponding to at least one image display area of the at least two image display areas, so that an image of an image display area within a specified range of the attention point position has a resolution greater than other images The resolution of the image of the display area;
    其中,所述其他图像展示区域是指所述至少两个图像展示区域中,除在所述关注点位置指定范围内的图像展示区域之外的图像展示区域。The other image display area refers to an image display area other than the image display area within the specified range of the attention point position in the at least two image display areas.
  11. 根据权利要求10所述的装置,其特征在于,所述调整模块包括:The apparatus according to claim 10, wherein the adjustment module comprises:
    增大单元,用于若所述VR展示空间需要展示的图像的默认分辨率小于第一分辨率阈值,则增大在所述关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率;And an increasing unit, if the default resolution of the image that needs to be displayed in the VR display space is smaller than the first resolution threshold, increasing an image currently displayed or to be displayed in the image display area within the specified range of the attention point position Resolution
    减小单元,用于若所述VR展示空间需要展示的图像的默认分辨率大于第二分辨率阈值,则减小在所述其他图像展示区域当前展示或即将展示的图像的分辨率;a reducing unit, configured to reduce a resolution of an image currently displayed or to be displayed in the other image display area if a default resolution of the image that the VR display space needs to display is greater than a second resolution threshold;
    其中,所述第二分辨率阈值大于所述第一分辨率阈值。The second resolution threshold is greater than the first resolution threshold.
  12. 根据权利要求11所述的装置,其特征在于,所述增大单元具体用于:The device according to claim 11, wherein the increasing unit is specifically configured to:
    自所述在所述关注点位置指定范围内的图像展示区域的边缘指向所述关注点位置的方向,逐渐增大在所述关注点位置指定范围内的图像展示区域当前展示或即将展示的图像的分辨率。And gradually increasing the image currently displayed or to be displayed in the image display area within the specified range of the attention point position from the direction of the edge of the image display area within the specified range of the attention point position Resolution.
  13. 一种电子设备,其特征在于,包括处理器,以及与所述处理器连接的存储器;An electronic device, comprising: a processor, and a memory coupled to the processor;
    所述存储器,用于存储一条或多条计算机指令;The memory is configured to store one or more computer instructions;
    所述处理器,用于执行所述一条或多条计算机指令,以实现权利要求1-9任一项所述的方法。The processor is configured to execute the one or more computer instructions to implement the method of any one of claims 1-9.
  14. 一种存储有计算机程序的计算机可读存储介质,其特征在于,所述计算机程序被执行时能够实现权利要求1-9任一项所述方法中的步骤。 A computer readable storage medium storing a computer program, wherein the computer program, when executed, is capable of implementing the steps of the method of any of claims 1-9.
PCT/CN2017/117554 2017-06-06 2017-12-20 Vr image processing method, device, and apparatus WO2018223663A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710418800.9 2017-06-06
CN201710418800.9A CN107203270A (en) 2017-06-06 2017-06-06 VR image processing methods and device

Publications (1)

Publication Number Publication Date
WO2018223663A1 true WO2018223663A1 (en) 2018-12-13

Family

ID=59906777

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/117554 WO2018223663A1 (en) 2017-06-06 2017-12-20 Vr image processing method, device, and apparatus

Country Status (2)

Country Link
CN (1) CN107203270A (en)
WO (1) WO2018223663A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822418A (en) * 2020-12-31 2021-05-18 北京字节跳动网络技术有限公司 Video processing method and device, storage medium and electronic equipment

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203270A (en) * 2017-06-06 2017-09-26 歌尔科技有限公司 VR image processing methods and device
CN107844177A (en) * 2017-10-18 2018-03-27 歌尔科技有限公司 Device parameter method of adjustment, device and electronic equipment
CN107945100A (en) * 2017-11-28 2018-04-20 歌尔科技有限公司 Methods of exhibiting, virtual reality device and the system of virtual reality scenario
CN109120847B (en) 2018-08-16 2020-04-21 北京七鑫易维信息技术有限公司 Control method and device of image acquisition equipment
CN109242943B (en) 2018-08-21 2023-03-21 腾讯科技(深圳)有限公司 Image rendering method and device, image processing equipment and storage medium
CN110855972B (en) * 2019-11-21 2021-07-27 Oppo广东移动通信有限公司 Image processing method, electronic device, and storage medium
CN110910509A (en) * 2019-11-21 2020-03-24 Oppo广东移动通信有限公司 Image processing method, electronic device, and storage medium
CN112861852A (en) * 2021-01-19 2021-05-28 北京金山云网络技术有限公司 Sample data screening method and device, electronic equipment and storage medium
CN117148959A (en) * 2023-02-27 2023-12-01 荣耀终端有限公司 Frame rate adjusting method for eye movement tracking and related device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105718046A (en) * 2014-12-23 2016-06-29 联发科技股份有限公司 Head-Mount Display for Eye Tracking based on Mobile Device
CN106412563A (en) * 2016-09-30 2017-02-15 珠海市魅族科技有限公司 Image display method and apparatus
CN107203270A (en) * 2017-06-06 2017-09-26 歌尔科技有限公司 VR image processing methods and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8296359B2 (en) * 2010-07-12 2012-10-23 Opus Medicus, Inc. Systems and methods for networked, in-context, high resolution image viewing
US8493390B2 (en) * 2010-12-08 2013-07-23 Sony Computer Entertainment America, Inc. Adaptive displays using gaze tracking
US9690099B2 (en) * 2010-12-17 2017-06-27 Microsoft Technology Licensing, Llc Optimized focal area for augmented reality displays
US9661301B2 (en) * 2011-02-18 2017-05-23 Sony Corporation Image processing device and image processing method
US9423994B2 (en) * 2012-02-22 2016-08-23 Citrix Systems, Inc. Hierarchical display

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105718046A (en) * 2014-12-23 2016-06-29 联发科技股份有限公司 Head-Mount Display for Eye Tracking based on Mobile Device
CN106412563A (en) * 2016-09-30 2017-02-15 珠海市魅族科技有限公司 Image display method and apparatus
CN107203270A (en) * 2017-06-06 2017-09-26 歌尔科技有限公司 VR image processing methods and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822418A (en) * 2020-12-31 2021-05-18 北京字节跳动网络技术有限公司 Video processing method and device, storage medium and electronic equipment
CN112822418B (en) * 2020-12-31 2022-12-06 北京字节跳动网络技术有限公司 Video processing method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN107203270A (en) 2017-09-26

Similar Documents

Publication Publication Date Title
WO2018223663A1 (en) Vr image processing method, device, and apparatus
US10643307B2 (en) Super-resolution based foveated rendering
US9165381B2 (en) Augmented books in a mixed reality environment
EP3337158A1 (en) Method and device for determining points of interest in an immersive content
US20200241731A1 (en) Virtual reality vr interface generation method and apparatus
CN108139806A (en) Relative to the eyes of wearable device tracking wearer
EP3671408B1 (en) Virtual reality device and content adjusting method therefor
US11176637B2 (en) Foveated rendering using eye motion
US11353955B1 (en) Systems and methods for using scene understanding for calibrating eye tracking
KR20230121919A (en) Determination of gaze direction to create augmented reality content
KR20230127326A (en) Detection and obfuscation of display screens in augmented reality content
EP4044000A1 (en) Display method, electronic device, and system
WO2019015249A1 (en) Virtual-reality-based image display method and apparatus, and virtual reality helmet device
US10928893B2 (en) Content delivery
KR20210138484A (en) System and method for depth map recovery
CN107065164B (en) Image presentation method and device
WO2020044916A1 (en) Information processing device, information processing method, and program
US11694379B1 (en) Animation modification for optical see-through displays
CN107844197A (en) Virtual reality scenario display methods and equipment
KR20220106076A (en) Systems and methods for reconstruction of dense depth maps
CN116194792A (en) Connection evaluation system
CN107958478B (en) Rendering method of object in virtual reality scene and virtual reality head-mounted equipment
WO2019085109A1 (en) Image writing control method and apparatus, and electronic device
US20220148253A1 (en) Image rendering system and method
KR102284769B1 (en) Server for providing three-dimensional contents and method for operation thereof

Legal Events

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

Ref document number: 17913080

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17913080

Country of ref document: EP

Kind code of ref document: A1