EP-4742670-A1 - DISPLAY METHOD AND ELECTRONIC DEVICE
Abstract
This application provides a display method and an electronic device. The display method includes: An electronic device displays a second image on a first display based on a first image output by an SoC, where a resolution of the first image is less than a resolution of the second image, the first image includes K first areas, the second image includes K second areas, different first areas in the K first areas correspond to different second areas in the K second areas, and a location of each first area in the first image is the same as a location of a corresponding second area in the second image. A resolution of a first target area in the K first areas is the same as a resolution of a corresponding second target area in the K second areas, content of the first target area is the same as content of the second target area, and content of each second area other than the first target area in the K second areas is obtained by upsampling content of a first area corresponding to the second area.
Inventors
- HE, XIAOYU
- WANG, ZIYU
Assignees
- Huawei Technologies Co., Ltd.
Dates
- Publication Date
- 20260513
- Application Date
- 20240802
Claims (13)
- A display method, applied to an electronic device, wherein the electronic device comprises a first display, and the method comprises: when the first display receives a first image, displaying, by the first display, a second image, wherein a resolution of the first image is less than a resolution of the second image, the first image comprises K first areas, the second image comprises K second areas, different first areas in the K first areas correspond to different second areas in the K second areas, and a location of each first area in the first image is the same as a location of a corresponding second area in the second image; and the K first areas comprise a first target area, the K second areas comprise a second target area corresponding to the first target area, a resolution of the first target area is the same as a resolution of the second target area, and a resolution of each second area other than the second target area in the K second areas is greater than a resolution of a first area corresponding to the second area.
- The method according to claim 1, wherein each second area other than the second target area in the K second areas is obtained by upsampling the first area corresponding to the second area, and a second area that is in the K second areas and that is farther away from the second target area corresponds to a larger upsampling factor.
- The method according to claim 1 or 2, wherein the electronic device further comprises a second display, and the method further comprises: when the second display receives a third image, displaying, by the second display, a fourth image, wherein a resolution of the third image is less than a resolution of the fourth image, the third image comprises K third areas, the fourth image comprises K fourth areas, different third areas in the K third areas correspond to different fourth areas in the K fourth areas, and a location of each third area in the third image is the same as a location of a corresponding fourth area in the fourth image; and the K third areas comprise a third target area, the K fourth areas comprise a fourth target area corresponding to the third target area, a resolution of the third target area is the same as a resolution of the fourth target area, and a resolution of each fourth area other than the fourth target area in the K fourth areas is greater than a resolution of a third area corresponding to the fourth area.
- The method according to claim 3, wherein the first image received by the first display is an image output by a system on chip SoC.
- The method according to claim 4, wherein the SoC is comprised in the electronic device.
- The method according to claim 4, wherein the SoC is not comprised in the electronic device.
- The method according to any one of claims 1 to 6, wherein both the first image and the second image can be divided into nine areas of three rows and three columns: a central area located at an image center, an upper left corner area located at an upper left corner of the central area, an upper transition area located above the central area, an upper right corner area located at an upper right corner of the central area, a left transition area located on a left side of the central area, a right transition area located on a right side of the central area, a lower left corner area located at a lower left corner of the central area, a lower transition area located below the central area, and a lower right corner area located at a lower right corner of the central area; and the first target area is the central area of the first image, the second target area is the central area of the second image, and that the resolution of the first target area is the same as the resolution of the second target area comprises: a resolution of the central area of the second image is the same as a resolution of the central area of the first image.
- The method according to claim 7, wherein the upper left corner area in the second image is obtained by upsampling the upper left corner area in the first image by a factor of q1 in a horizontal direction and upsampling the upper left corner area in the first image by a factor of p1 in a vertical direction; the left transition area in the second image is obtained by upsampling the left transition area in the first image by a factor of q1 in the horizontal direction and not upsampling the left transition area in the first image in the vertical direction; and the upper transition area in the second image is obtained by not upsampling the upper transition area in the first image in the horizontal direction and upsampling the upper transition area in the first image by a factor of p1 in the vertical direction, wherein both q1 and p1 are greater than 1.
- The method according to any one of claims 1 to 8, wherein the electronic device is a head-mounted display device.
- A display apparatus, comprising a memory and a processor, wherein the memory is configured to store program instructions; and the processor is configured to execute the program instructions in the memory, to implement the method according to any one of claims 1 to 9.
- An electronic device, comprising one or more displays, one or more memories, and one or more processors, wherein the one or more memories store one or more programs, and when the one or more processors execute the one or more programs, the electronic device is enabled to perform the display method according to any one of claims 1 to 9.
- A computer-readable storage medium, comprising computer instructions, wherein when the computer instructions are run on an electronic device, the electronic device is enabled to perform the display method according to any one of claims 1 to 9.
- A computer program product, wherein the computer program product comprises instructions used to implement the method according to any one of claims 1 to 9.
Description
This application claims priority to Chinese Patent Application No. 202311204134.0, filed with the China National Intellectual Property Administration on September 15, 2023 and entitled "DISPLAY METHOD AND ELECTRONIC DEVICE", which is incorporated herein by reference in its entirety. TECHNICAL FIELD This application relates to the field of terminal devices, and in particular, to a display method and an electronic device. BACKGROUND With the development of terminal display technologies, virtual reality (virtual reality, VR), augmented reality (augmented reality, AR), and mixed reality (mixed reality, MR) technologies are applied to more scenarios. Users can wear head-mounted display devices to experience different effect such as VR, AR, or MR. However, in a process of actually wearing the head-mounted display devices, it is found that the head-mounted display devices have a display delay. Consequently, the users may suffer from dizziness when wearing the head-mounted display devices, which severely affects user experience. SUMMARY This application provides a display method and an electronic device, to reduce a display delay, thereby avoiding that a user may suffer from dizziness when wearing a head-mounted display device, and improving comfort of the user wearing the head-mounted display device. According to a first aspect, this application provides a display method, applied to an electronic device. The electronic device includes a first display, and the method includes: When the first display receives a first image, the first display displays a second image. For example, the electronic device is a head-mounted display device. In this embodiment of this application, a device that outputs the first image is referred to as a processing device. For example, the first image received by the first display may be an image output by a system on chip (system on chip, SoC), that is, the processing device is the SoC. It should be noted herein that specific forms of the SoC and the electronic device are not limited in this application. For example, in some embodiments, the SoC is included in the electronic device. For another example, in some embodiments, the SoC is not included in the electronic device. That is, the SoC and the electronic device are independent of each other. Specifically, in this embodiment of this application, a resolution of the second image output by the first display is greater than a resolution of the first image. Specifically, in this embodiment of this application, both the first image and the second image output by the first display include K areas. In this embodiment of this application, the K areas included in the first image are referred to as K first areas, and the K areas included in the second image output by the first display are referred to as K second areas. For example, both the first image and the second image can be divided into nine (that is, K is 9) areas of three rows and three columns: a central area located at an image center, an upper left corner area located at an upper left corner of the central area, an upper transition area located above the central area, an upper right corner area located at an upper right corner of the central area, a left transition area located on a left side of the central area, a right transition area located on a right side of the central area, a lower left corner area located at a lower left corner of the central area, a lower transition area located below the central area, and a lower right corner area located at a lower right corner of the central area. Specifically, different first areas in the K first areas correspond to different second areas in the K second areas, and a location of each first area in the first image is the same as a location of a corresponding second area in the second image. In other words, in this embodiment of this application, the K first areas one-to-one correspond to the K second areas, and a location of a first area in the first image is the same as a location of a corresponding second area in the second image. In other words, in this embodiment of this application, the first image and the second image output by the first display are aligned. For example, if both the first image and the second image may be divided into nine (that is, K is 9) areas of three rows and three columns, it may be considered that: the upper left corner area in the first image corresponds to the upper left corner area in the second image, the upper transition area in the first image corresponds to the upper transition area in the second image, the upper right corner area in the first image corresponds to the upper right corner area in the second image, the left transition area in the first image corresponds to the left transition area in the second image, the central area in the first image corresponds to the central area in the second image, the right transition area in the first image corresponds to the right transition area in the second ima