Display method and related device

By acquiring and sending the coordinates of the three primary colors to perceive the coordinates of the white point, and using a mapping table to adjust the display of the projection area, the problem of inconsistent visual effects in multi-screen collaboration scenarios is solved, and the consistency of visual effects between the projection area and the screen of the projected device is achieved.

CN120233964BActive Publication Date: 2026-05-15HONOR DEVICE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HONOR DEVICE CO LTD
Filing Date
2023-12-22
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

In multi-screen collaboration scenarios, the different display technologies and color modes of different electronic devices result in inconsistent visual effects between the projection area and the projected device, leading to a poor user experience.

Method used

The first electronic device obtains the coordinates of the three primary colors and senses the coordinates of the white point, and sends them to the second electronic device. The mapping table is used to adjust the display technology of the projection area, so that the two devices display the same visual effect in the projection area.

Benefits of technology

This ensures that the visual effect of the projection area is consistent with that of the device being projected, preventing users from perceiving that the colors displayed in the projection area are inconsistent with those displayed on the device being projected.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120233964B_ABST
    Figure CN120233964B_ABST
Patent Text Reader

Abstract

The present application provides a display method and related device. In the method, a first electronic device can cast display content to a second electronic device for display. After determining that the color modes adopted by the first electronic device and the second electronic device are consistent and are both standard modes, the first electronic device can send the tricolor coordinate white point coordinates obtained by the first electronic device to the second electronic device. In this way, no matter what color mode the first electronic device and the second electronic device adopt, the same visual effect as the first electronic device can be observed in the casting area of the second electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technology, and in particular to display methods and related devices. Background Technology

[0002] Because different electronic devices have different display capabilities, in multi-screen collaboration scenarios, the visual effects produced by the screen displayed in the projection area will be inconsistent with the visual effects produced by the screen displayed on the electronic device being projected. Summary of the Invention

[0003] This application provides a display method and related apparatus, which allows a first electronic device to project display content onto a second electronic device. The first electronic device can send the obtained coordinates of the three primary colors and the coordinates of the perceived white point to the second electronic device. Thus, regardless of the color mode used by the first and second electronic devices, a screen with the same visual effect as that of the first electronic device can be observed in the projection area of ​​the second electronic device.

[0004] In a first aspect, this application provides a display method applied to a communication system, the communication system comprising: a first electronic device and a second electronic device, the method comprising: the first electronic device displaying a first screen based on a first display technology; the first electronic device sending a screen projection command to the second electronic device; the second electronic device responding to the screen projection command and displaying a second screen in a projection area based on a second display technology, the second screen containing the same or related content as the first screen, the second screen having the same visual effect as the first screen, and the second display technology being different from the first display technology.

[0005] In some implementations, display technologies for electronic devices can include: Organic Light-Emitting Diode (OLED) and Liquid Crystal Display (LCD). Different display technology principles and display materials produce different emission spectra; for example, OLED can generate narrow-spectrum light sources, while LCD can generate broadband light sources.

[0006] Visually identical means that, from the user's perspective, the second screen appears to be the same as the first screen.

[0007] By implementing the above method, in a screen mirroring scenario, the image displayed on the projection area and the image displayed on the recipient electronic device can produce the same visual effect between two electronic devices that might exhibit metamerism. This avoids situations where users perceive a discrepancy between the colors displayed on the projection area and those displayed on the recipient electronic device.

[0008] In conjunction with the first aspect, in some implementations, before the first electronic device displays the first image based on the first display technology, the method further includes:

[0009] The first electronic device acquires a first mapping table, which includes a mapping relationship between a first color gamut and the actual color gamut of the first electronic device.

[0010] The first electronic device displays a first screen based on a first display technology, specifically including:

[0011] The first electronic device displays the first image using the first color gamut according to the first mapping table, based on the first display technology.

[0012] In some implementations, the first color gamut can refer to the color gamut applied by the color mode used by the electronic device. For example, if the first electronic device uses a standard mode, the color gamut it uses can be a standard color gamut (such as the P3 color gamut). If the first electronic device uses a vivid mode, the color gamut it uses can be a custom color gamut.

[0013] In one possible implementation, the first electronic device and the second electronic device may use the same color mode, but their color gamuts may not be the same. This is because different manufacturers may have different custom color gamut settings.

[0014] The actual color gamut of the first electronic device can refer to the color gamut actually generated by the first electronic device based on its hardware configuration, that is, the color gamut of the display screen of the first electronic device.

[0015] In this way, the first electronic device can display the colors that the electronic device actually reflects, based on the first mapping table.

[0016] In conjunction with the first aspect, in some implementations, the first mapping table is obtained based on a first mapping relationship and a second mapping relationship, wherein the first mapping relationship includes the mapping relationship between the first color gamut and the absolute color space, and the second mapping relationship includes the mapping relationship between the actual color gamut of the first electronic device and the absolute color space.

[0017] In conjunction with the first aspect, in some implementations, the first mapping relationship is obtained based on the chromaticity coordinates of the three primary colors in the first color gamut and the chromaticity coordinates of the perceived white point when the first electronic device uses the first color gamut. The perceived white point includes: the white point displayed by the first electronic device using the first color gamut that produces the same visual effect as a standard light source.

[0018] In some implementations, the first electronic device can be implemented through the following Figure 4The illustrated process method acquires the perceived white point. This allows the determination of the coordinates of the perceived white point that produces the same visual effect as the observed standard white point. Furthermore, the first electronic device can acquire a 3DLUT based on the perceived white point.

[0019] In conjunction with the first aspect, in some implementations, before the second electronic device displays the second image in the projection area based on the second display technology, the method includes:

[0020] The first electronic device sends the chromaticity coordinates of the three primary colors and the chromaticity coordinates of the perceived white point to the second electronic device;

[0021] The second electronic device determines a second mapping table based on the chromaticity coordinates of the three primary colors and the chromaticity coordinates of the perceived white point. The second mapping table includes the mapping relationship between the first color gamut and the actual color gamut of the second electronic device.

[0022] The second electronic device displays a second image in the projection area based on a second display technology, specifically including:

[0023] The second electronic device displays the second image in the projection area using the first color gamut according to the second mapping table, based on the second display technology and the second mapping table.

[0024] The second electronic device can also display its own image using the color mode set by the second electronic device, outside of the projection area, based on the second display technology.

[0025] In some implementations, the second electronic device displaying the second image using the first color gamut is not equivalent to the second electronic device using the same color mode as the first electronic device.

[0026] In conjunction with the first aspect, in some implementations, before the second electronic device displays a third image in the projection area based on the second display technology, the method includes:

[0027] The first electronic device sends the first mapping relationship to the second electronic device;

[0028] The second electronic device determines and obtains a second mapping table based on the first mapping relationship. The second mapping table includes: the mapping relationship between the first color gamut and the actual color gamut of the second electronic device.

[0029] The second electronic device displays a second image in the projection area based on a second display technology, specifically including:

[0030] The second electronic device displays the second image in the projection area using the first color gamut according to the second mapping table, based on the second display technology and the second mapping table.

[0031] In conjunction with the first aspect, in some implementations, before the first electronic device sends a screen mirroring command to the second electronic device, the method further includes:

[0032] The second electronic device uses a second color gamut to display the third image, and neither the first color gamut nor the second color gamut is a standard color gamut;

[0033] After the first electronic device sends a screen mirroring command to the second electronic device, the method further includes:

[0034] The first electronic device continuously uses the first color gamut to display the image according to the first mapping table;

[0035] The second electronic device displays a second image in the projection area based on a second display technology, specifically including:

[0036] The second electronic device displays the second image in the projection area using the first color gamut based on the second display technology.

[0037] In some implementations, neither the first nor the second electronic device adjusts its own set color mode. The second electronic device can also use a second color gamut to display the image outside the projection area, based on a second display technology.

[0038] In conjunction with the first aspect, in some implementations, before the first electronic device sends a screen mirroring command to the second electronic device, the method further includes:

[0039] The second electronic device uses a second color gamut to display the third image, and neither the first color gamut nor the second color gamut is a standard color gamut;

[0040] After the first electronic device sends a screen mirroring command to the second electronic device, the method further includes:

[0041] The second electronic device adjusts the color gamut used by the second electronic device to the standard color gamut and sends a first message to the first electronic device;

[0042] In response to the first message, the first electronic device adjusts the color gamut used by the first electronic device to the standard color gamut and continues to display the image using the standard color gamut;

[0043] The second electronic device displays a second image in the projection area based on a second display technology, specifically including:

[0044] The second electronic device uses the standard color gamut to display images in the projection area based on the second display technology.

[0045] In conjunction with the first aspect, in some implementations, before the first electronic device sends a screen mirroring command to the second electronic device, the method further includes:

[0046] The second electronic device uses a second color gamut to display the third image, the first color gamut is a standard color gamut, and the second color gamut is not the standard color gamut;

[0047] After the first electronic device sends a screen mirroring command to the second electronic device, the method further includes:

[0048] The first electronic device continuously uses the first color gamut to display the image according to the first mapping table;

[0049] The second electronic device adjusts the color gamut used by the second electronic device to the standard color gamut;

[0050] The second electronic device displays a second image in the projection area based on a second display technology, specifically including:

[0051] The second electronic device uses the standard color gamut to display images in the projection area based on the second display technology.

[0052] In conjunction with the first aspect, in some implementations, before the first electronic device sends a screen mirroring command to the second electronic device, the method further includes:

[0053] The second electronic device displays the third image using a second color gamut, where the first color gamut is not a standard color gamut, and the second color gamut is the standard color gamut.

[0054] After the first electronic device sends a screen mirroring command to the second electronic device, the method further includes: the second electronic device sending a first message to the first electronic device;

[0055] In response to the first message, the first electronic device adjusts the color gamut used by the first electronic device to the standard color gamut and continues to display the image using the standard color gamut;

[0056] The second electronic device displays a second image in the projection area based on a second display technology, specifically including:

[0057] The second electronic device uses a second color gamut to display images in the projection area based on a second display technology.

[0058] Secondly, this application provides a display method, characterized in that the method is applied to a first electronic device, the method comprising: the first electronic device displaying a first screen based on a first display technology; the first electronic device sending a screen projection command to a second electronic device, the screen projection command being used to trigger the second electronic device to display a second screen in the screen projection area based on a second display technology, the second screen containing the same or related content as the first screen, the second screen having the same visual effect as the first screen, and the second display technology being different from the first display technology.

[0059] By implementing the above method, in a screen mirroring scenario, the image displayed on the projection area and the image displayed on the recipient electronic device can produce the same visual effect between two electronic devices that might exhibit metamerism. This avoids situations where users perceive a discrepancy between the colors displayed on the projection area and those displayed on the recipient electronic device.

[0060] In conjunction with the second aspect, in some implementations, before the first electronic device displays the first image based on the first display technology, the method further includes:

[0061] The first electronic device acquires a first mapping table, which includes a mapping relationship between a first color gamut and the actual color gamut of the first electronic device.

[0062] The first electronic device displays a first screen based on a first display technology, specifically including:

[0063] The first electronic device displays the first image using the first color gamut according to the first mapping table.

[0064] In some implementations, the first color gamut can refer to the color gamut applied by the color mode used by the electronic device. For example, if the first electronic device uses a standard mode, the color gamut it uses can be a standard color gamut (such as the P3 color gamut). If the first electronic device uses a vivid mode, the color gamut it uses can be a custom color gamut.

[0065] In one possible implementation, the first electronic device and the second electronic device may use the same color mode, but their color gamuts may not be the same. This is because different manufacturers may have different custom color gamut settings.

[0066] The actual color gamut of the first electronic device can refer to the color gamut actually generated by the first electronic device based on its hardware configuration, that is, the color gamut of the display screen of the first electronic device.

[0067] In this way, the first electronic device can display the colors that the electronic device actually reflects, based on the first mapping table.

[0068] In conjunction with the second aspect, in some implementations, the first mapping table is obtained based on a first mapping relationship and a second mapping relationship, wherein the first mapping relationship includes the mapping relationship between the first color gamut and the absolute color space, and the second mapping relationship includes the mapping relationship between the actual color gamut of the first electronic device and the absolute color space.

[0069] In conjunction with the second aspect, in some implementations, the first mapping relationship is obtained based on the chromaticity coordinates of the three primary colors in the first color gamut and the chromaticity coordinates of the perceived white point when the first electronic device uses the first color gamut. The perceived white point includes: the white point displayed by the first electronic device using the first color gamut that produces the same visual effect as a standard light source.

[0070] In some implementations, the first electronic device can be implemented through the following Figure 4 The illustrated process method acquires the perceived white point. This allows the determination of the coordinates of the perceived white point that produces the same visual effect as the observed standard white point. Furthermore, the first electronic device can acquire a 3DLUT based on the perceived white point.

[0071] In conjunction with the second aspect, in some implementations, after the first electronic device sends a screen mirroring command to the second electronic device, the method includes:

[0072] The first electronic device sends the chromaticity coordinates of the three primary colors and the chromaticity coordinates of the perceived white point to the second electronic device. The second screen is a screen in the first color gamut used by the second electronic device according to the second mapping table. The second mapping table is determined according to the chromaticity coordinates of the three primary colors and the chromaticity coordinates of the perceived white point. The second mapping table includes the mapping relationship between the first color gamut and the actual color gamut of the second electronic device.

[0073] In conjunction with the second aspect, in some implementations, after the first electronic device sends a screen mirroring command to the second electronic device, the method includes:

[0074] The first electronic device sends the first mapping relationship to the second electronic device. The second screen is a screen displayed by the second electronic device using the first color gamut according to the second mapping table. The second mapping table is determined according to the first mapping relationship and includes the mapping relationship between the first color gamut and the actual color gamut of the second electronic device.

[0075] In conjunction with the second aspect, in some implementations, the second color gamut is the color gamut used by the second electronic device for displaying the third image. The first color gamut and the second color gamut are not both standard color gamuts. After the first electronic device sends a screen mirroring command to the second electronic device, the method further includes:

[0076] The first electronic device continuously uses the first color gamut to display the image according to the first mapping table, and the second image is the image displayed by the second electronic device using the first color gamut in the projection area based on the second display technology.

[0077] In conjunction with the second aspect, in some implementations, the second color gamut is the color gamut used by the second electronic device for displaying the third image, and neither the first color gamut nor the second color gamut is a standard color gamut. After the first electronic device sends a screen projection command to the second electronic device, the method further includes:

[0078] The first electronic device receives the first message sent by the second electronic device, adjusts the color gamut used by the first electronic device to the standard color gamut, and continuously displays the screen using the standard color gamut. The second screen is the screen displayed by the second electronic device in the projection area using the standard color gamut based on the second display technology.

[0079] In conjunction with the second aspect, in some implementations, the second color gamut is the color gamut used by the second electronic device for displaying the third image, the first color gamut is a standard color gamut, and the second color gamut is not a standard color gamut. After the first electronic device sends a screen projection command to the second electronic device, the method further includes:

[0080] The first electronic device continuously displays the image using the first color gamut according to the first mapping table, and the second image is the image displayed by the second electronic device using the standard color gamut in the projection area based on the second display technology.

[0081] In conjunction with the second aspect, in some implementations, the second color gamut is the color gamut used by the second electronic device for displaying the third image, the first color gamut is not a standard color gamut, and the second color gamut is a standard color gamut. After the first electronic device sends a screen projection command to the second electronic device, the method further includes:

[0082] The first electronic device receives the first message sent by the second electronic device, adjusts the color gamut used by the first electronic device to the standard color gamut, and continuously displays the screen using the standard color gamut. The second screen is the screen displayed by the second electronic device in the projection area using the second color gamut based on the second display technology.

[0083] In conjunction with the second aspect, in some implementations, before the first electronic device obtains the first mapping table, the method further includes:

[0084] The first electronic device acquires the third mapping table, which is based on the mapping relationship between the first color gamut and the absolute color space obtained through the chromaticity coordinates of the three primary colors in the first color gamut and the chromaticity coordinates of the standard white point, and the mapping relationship between the actual color gamut and the absolute color space of the first electronic device.

[0085] The first electronic device acquires the RGB value ratio between the standard white point and the perceived white point when using the first color gamut, the perceived white point including: the white point displayed by the first electronic device using the first color gamut that produces the same visual effect as a standard light source;

[0086] The first electronic device obtains a first RGB value and then maps it to a second RGB value according to the third mapping table. The first RGB value refers to the RGB value of any color supported in the first color gamut.

[0087] The first electronic device determines the third RGB value based on the RGB value ratio and the second RGB value;

[0088] The first electronic device calculates a first color difference between the second RGB value and the third RGB value;

[0089] If the first color difference is greater than the color difference between the standard white point and the perceived white point, then the RGB value mapped from the first RGB value in the first mapping table becomes the third RGB value.

[0090] If the first color difference is less than or equal to the color difference between the standard white point and the perceived white point, then the RGB value mapped from the first RGB value in the first mapping table is still the second RGB value.

[0091] In this way, the first electronic device can obtain an adjusted 3DLUT based on the original 3DLUT and the perceived white point.

[0092] Thirdly, this application provides a display method, characterized in that the method is applied to a second electronic device, the method comprising:

[0093] The second electronic device receives the screen mirroring command sent by the first electronic device;

[0094] The second electronic device responds to the screen projection command and displays a second screen in the projection area based on the second display technology. The second screen has the same visual effect as the first screen displayed by the first electronic device based on the first display technology. The first screen and the second screen contain the same or related content. The second display technology is different from the first display technology.

[0095] By implementing the above method, in a screen mirroring scenario, the image displayed on the projection area and the image displayed on the recipient electronic device can produce the same visual effect between two electronic devices that might exhibit metamerism. This avoids situations where users perceive a discrepancy between the colors displayed on the projection area and those displayed on the recipient electronic device.

[0096] In conjunction with the third aspect, in some implementations, before the second electronic device displays the second image in the projection area based on the second display technology, the method includes:

[0097] The second electronic device receives the chromaticity coordinates of the three primary colors in the first color gamut sent by the first electronic device, as well as the chromaticity coordinates of the perceived white point when the first electronic device uses the first color gamut. The first color gamut is the color gamut used by the first electronic device to display the first screen. The perceived white point includes: the white point displayed by the first electronic device using the first color gamut that produces the same visual effect as a standard light source.

[0098] The second electronic device determines a second mapping table based on the chromaticity coordinates of the three primary colors and the chromaticity coordinates of the perceived white point. The second mapping table includes the mapping relationship between the first color gamut and the actual color gamut of the second electronic device.

[0099] The second electronic device displays a second image in the projection area based on a second display technology, specifically including:

[0100] The second electronic device displays the second image using the first color gamut according to the second mapping table.

[0101] In conjunction with the third aspect, in some implementations, before the second electronic device displays the third image in the projection area based on the second display technology, the method includes:

[0102] The second electronic device receives a first mapping relationship sent by the first electronic device. The first mapping relationship includes a mapping relationship between a first color gamut and an absolute color space. The first mapping relationship is obtained based on the chromaticity coordinates of the three primary colors in the first color gamut and the chromaticity coordinates of the perceived white point when the first electronic device uses the first color gamut. The first color gamut is the color gamut used by the first electronic device to display the first image. The perceived white point includes a white point displayed by the first electronic device using the first color gamut that produces the same visual effect as a standard light source.

[0103] The second electronic device determines and obtains a second mapping table based on the first mapping relationship. The second mapping table includes: the mapping relationship between the first color gamut and the actual color gamut of the second electronic device.

[0104] The second electronic device displays a second image in the projection area based on a second display technology, specifically including:

[0105] The second electronic device displays the second image using the first color gamut according to the second mapping table.

[0106] In conjunction with the third aspect, in some implementations, before the second electronic device receives the screen projection command sent by the first electronic device, the method further includes:

[0107] The second electronic device uses a second color gamut to display the third image, and neither the first color gamut nor the second color gamut is a standard color gamut;

[0108] The second electronic device displays a second image in the projection area based on a second display technology, specifically including:

[0109] The second electronic device uses the first color gamut to display the second image in the projection area based on the second display technology.

[0110] In conjunction with the third aspect, in some implementations, before the second electronic device receives the screen projection command sent by the first electronic device, the method further includes:

[0111] The second electronic device uses a second color gamut to display the third image, while the color gamut used by the first electronic device and the second color gamut are both non-standard color gamuts;

[0112] After the second electronic device receives the screen mirroring command sent by the first electronic device, the method further includes:

[0113] The second electronic device adjusts the color gamut used by the second electronic device to the standard color gamut and sends a first message to the first electronic device. The first message instructs the first electronic device to adjust the color gamut used to the standard color gamut and continue to use the standard color gamut to display the screen.

[0114] The second electronic device displays a second image in the projection area based on a second display technology, specifically including:

[0115] The second electronic device uses the standard color gamut to display the image in the projection area based on the second display technology.

[0116] In conjunction with the third aspect, in some implementations, before the second electronic device receives the screen projection command sent by the first electronic device, the method further includes:

[0117] The second electronic device uses a second color gamut to display the third image, while the first electronic device uses a standard color gamut, and the second color gamut is not the standard color gamut.

[0118] After the second electronic device receives the screen mirroring command sent by the first electronic device, the method further includes:

[0119] The second electronic device adjusts the color gamut used by the second electronic device to the standard color gamut;

[0120] The second electronic device displays a second image in the projection area based on a second display technology, specifically including:

[0121] The second electronic device uses the standard color gamut to display the image in the projection area based on the second display technology.

[0122] In conjunction with the third aspect, in some implementations, before the second electronic device receives the screen projection command sent by the first electronic device, the method further includes:

[0123] The second electronic device uses a second color gamut to display the third image, while the first electronic device uses a color gamut that is not a standard color gamut, and the second color gamut is the standard color gamut.

[0124] After the second electronic device receives the screen mirroring command sent by the first electronic device, the method further includes:

[0125] The second electronic device sends a first message to the first electronic device;

[0126] The first message instructs the first electronic device to adjust the color gamut it uses to the standard color gamut and to continue using the standard color gamut to display the image;

[0127] The second electronic device displays a second image in the projection area based on a second display technology, specifically including:

[0128] The second electronic device uses a second color gamut to display images in the projection area based on a second display technology.

[0129] Fourthly, this application provides an electronic device including one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, including computer instructions, which, when executed by the one or more processors, cause the electronic device to perform the method described in the second aspect or any embodiment of the second aspect.

[0130] Fifthly, this application provides an electronic device including one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, including computer instructions, which, when executed by the one or more processors, cause the electronic device to perform the method described in the third aspect or any embodiment of the third aspect.

[0131] Sixthly, embodiments of this application provide a chip including one or more processors. When the one or more processors execute computer instructions, they cause an electronic device to perform the method described in the first aspect or any embodiment of the first aspect, or the second aspect or any embodiment of the second aspect.

[0132] In a seventh aspect, embodiments of this application provide a computer storage medium including computer instructions that, when executed on an electronic device, cause the electronic device to perform the method described in the first aspect or any embodiment of the first aspect, or in the second aspect or any embodiment of the second aspect. Attached Figure Description

[0133] Figure 1A chromaticity diagram of the CIE1931 color space and A gamut provided for embodiments of this application;

[0134] Figure 2 A schematic diagram of a 3DLUT provided in an embodiment of this application;

[0135] Figure 3 This application provides a schematic diagram of a scenario for acquiring perceived white points.

[0136] Figure 4 A flowchart illustrating a method for obtaining perceived white points provided in this application embodiment;

[0137] Figure 5 The spectral distribution diagrams of two types of perceived white points provided in the embodiments of this application;

[0138] Figure 6 A schematic diagram illustrating the adjustment of an original 3DLUT as provided in an embodiment of this application;

[0139] Figure 7 A flowchart illustrating a method for adjusting a 3DLUT as provided in this application embodiment;

[0140] Figure 8 A flowchart of a method for traversing and adjusting a 3DLUT is provided in an embodiment of this application;

[0141] Figure 9A A schematic diagram of a multi-screen collaboration scenario provided in an embodiment of this application;

[0142] Figures 9B-9F Schematic diagrams illustrating several scenarios that occur during screen mirroring, as provided in the embodiments of this application;

[0143] Figure 10 A flowchart of a display method provided in an embodiment of this application;

[0144] Figure 11 This is a schematic diagram of the structure of the electronic device 100 provided in the embodiments of this application;

[0145] Figure 12 A software structure block diagram of the electronic device 100 provided in the embodiments of this application. Detailed Implementation

[0146] The technical solutions in the embodiments of this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; the word "and / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone.

[0147] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.

[0148] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a mutually exclusive, independent, or alternative embodiment. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application can be combined with other embodiments.

[0149] The term "user interface (UI)" used in the following embodiments of this application refers to the medium interface through which an application or operating system interacts and exchanges information with the user. It realizes the conversion between the internal form of information and the form that the user can accept. The user interface is source code written in a specific computer language such as Java or Extensible Markup Language (XML). The interface source code is parsed and rendered on the electronic device, ultimately presenting content that the user can recognize. A common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed graphically. It can be visible interface elements such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets displayed on the screen of an electronic device.

[0150] First, let's introduce some terms used in the embodiments of this application:

[0151] RGB mode: A color mode based on the principle of light mixing. RGB values ​​refer to color values ​​in RGB mode. An RGB value consists of a set of three numbers (e.g., R, G, B values), each ranging from 0 to 255. The magnitude of these numbers represents the brightness of red, green, and blue light, respectively. Different colors are obtained by combining these three colors in different proportions.

[0152] Tristimulus values ​​are a measure of the intensity of the three primary colors of a color (red, green, and blue) that stimulate the human retina. Color is represented by three parameters: X, Y, and Z. X, Y, and Z represent the three axes of the color space, corresponding to the three basic photosensitive colors of light: red, green, and blue. Specifically, the X value represents the intensity of red light, the Y value represents the intensity of green light, and the Z value represents the intensity of blue light. Any color can be represented by its proportion in these three directions.

[0153] Metamerism: Different spectral compositions can produce the same visual response in users; that is, different spectra can produce colors with the same tristimulus values. A spectrum is a pattern formed by the arrangement of monochromatic lights, separated by a dispersive system (such as a prism or grating), according to their wavelength (or frequency).

[0154] Color space: refers to the range of colors that can be expressed by a certain color model (such as RGB model), and also refers to the range of colors that specific media such as screen display, digital output and printing reproduction can represent.

[0155] Among them, XYZ color space can refer to one type of color space. CIE1931 color space is an XYZ color space developed by the International Commission on Illumination in 1931 based on the physical perception characteristics of human eyes for long, medium and short wavelengths of light. It is used to represent a subset of visible light for all human eyes.

[0156] The CIE 1931 color space encompasses all colors of visible light, and each color can be represented by three coordinates. The X-coordinate represents the position of a color on the red-green axis, ranging from [0, 0.9505]. A smaller X-coordinate value indicates a higher red component; a larger X-coordinate value indicates a higher green component. The Y-coordinate represents the brightness of a color, ranging from [0, 1]. A larger Y-coordinate value indicates a brighter color. The Z-coordinate represents the position of a color on the blue-yellow axis, ranging from [0, 1.088]. A smaller Y-coordinate value indicates a higher blue component; a larger Y-coordinate value indicates a higher yellow component. For these reasons, it is used as the standard reference for defining other color spaces. The CIE 1931 color space is an absolute color space.

[0157] Color gamut: A subset of colors that can be accurately represented within a given color space or by a specific color output device. Examples include standard color gamuts for electronic devices such as sRGB and Adobe RGB. Some manufacturers have their own proprietary color spaces, such as Sony's S-Gamut3, Panasonic's V-Gamut, and Fujifilm's F-Log-Gamut. In addition, various international standard color spaces are also included, such as ProPhoto RGB, P3, Rec.709, Rec.2020, etc.

[0158] refer to Figure 1 , Figure 1 An illustrative diagram of the CIE1931 color space and the A color gamut is shown.

[0159] For example, Figure 1 The closed, irregular shape resembling a horseshoe can represent the CIE 1931 color space. The outlines on the left and right sides of the horseshoe represent monochromatic light with wavelengths continuously varying from 380nm to 700nm. The base of the horseshoe represents magenta light. However, magenta light is not monochromatic; it is a mixture of red (700nm) and violet (380nm). The center of the horseshoe is a mixture of red, yellow, and blue, with the D65 white dot precisely representing white under 6500K sunlight, a mixture of these three colors.

[0160] In this embodiment, any color can be represented using xy coordinates (i.e., color coordinates). The setting of the white point in each color gamut affects the color represented by each RGB value within that gamut. For example, the coordinates of the white point in D65 are x = 0.3127 and y = 0.3290.

[0161] The xy coordinates are derived from the xyz values, specifically:

[0162] The X, Y, and Z values ​​mentioned above are three coordinate values ​​in the CIE1931 color space.

[0163] Color gamut can typically be represented in the CIE 1931 chromaticity diagram. For example, Figure 1 The triangular shape in the diagram represents the A color gamut, clearly illustrating the relationship between the A color gamut and the range covered by human vision. The three vertices of the triangle represent the three primary colors. The coordinates of these three vertices, used as the standard color gamut, are fixed.

[0164] Furthermore, every color in the A color gamut can be represented using xy coordinates. Therefore, it can be seen that there is a mapping relationship between the RGB values ​​and XYZ values ​​of a color in the A color gamut. The chromaticity coordinates of the four points in the A color gamut (i.e., the coordinates of the three primary colors and the white point) can determine the color corresponding to each RGB value in the A color gamut. In other words, the mapping relationship between the A color gamut and the CIE 1931 color space can be determined based on the chromaticity coordinates of the above four points. The RGB values ​​are the three color parameters used to transmit color information between electronic devices, while the XYZ values ​​are the three parameters used to describe how a user perceives a color.

[0165] from Figure 1 It can also be seen that the larger the range of the A color gamut supported by an electronic device, the richer the colors that the electronic device can display.

[0166] Metamerism failure

[0167] In some implementations, the display technology used in the electronic device's display screen can affect the user's visual perception of colors with the same tristimulus values.

[0168] Electronic device displays can employ a wide variety of display technologies. These technologies include Organic Light-Emitting Diode (OLED) and Liquid Crystal Display (LCD). Different display technologies and materials produce different emission spectra; for example, OLEDs can generate narrow-spectrum light sources, while LCDs can generate broadband light sources.

[0169] Even after adjusting an OLED display and an LCD display to achieve objective color matching (i.e., both screens have the same tristimulus values), users can still observe a significant color difference between the two screens. For example, users will observe that the colors on the OLED display are significantly more vibrant than those on the LCD display.

[0170] The relationship between standard color gamut and actual color gamut

[0171] In some implementations, the standard color gamut, such as the P3 color gamut, used by the electronic device to display colors can be determined before it leaves the factory. However, the actual color gamut generated by the electronic device based on its hardware configuration (referred to as the actual color gamut) will deviate slightly from the standard color gamut it uses. For example, the electronic device receives display information intended to display a solid color image, whose RGB values ​​in the P3 color gamut are (220, 220, 220). However, due to the deviation between the electronic device's actual color gamut and the P3 color gamut, the electronic device will display a solid color image with RGB values ​​of (220, 220, 220) in the actual color gamut. This results in a mismatch between the solid color image displayed by the electronic device and the solid color image intended to be displayed.

[0172] Therefore, based on the above phenomena, electronic devices can determine a 3D Look-Up Table (3DLUT) based on the standard color gamut used and the actual color gamut. 3DLUT is one of many look-up tables used to adjust the RGB color channels simultaneously.

[0173] For example, refer to Figure 2 , Figure 2 An exemplary schematic diagram of a 3DLUT provided in an embodiment of this application is shown.

[0174] Figure 2 The image illustrates six mapping relationships in a 3DLUT using sRGB as an example of a standard color gamut. In this embodiment, the mapping relationships included in the 3DLUT should encompass the mapping relationship between each set of RGB values ​​in the standard color gamut and the RGB values ​​in the actual color gamut, and each mapping relationship can be arranged in ascending order of the magnitude of each set of RGB values ​​in the standard color gamut. Figure 2 This is for illustrative purposes only.

[0175] like Figure 2 As shown, by using 3DLUT to find the mapped RGB value of (50,50,50) in the sRGB color gamut, you will get the color with an RGB value of (70,70,70) in the actual color gamut or the color displayed on the monitor with an RGB value of (70,70,70) in the actual color gamut; by using 3DLUT to find the mapped RGB value of (50,60,50) in the sRGB color gamut, you will get the color with an RGB value of (70,80,70) in the actual color gamut or the color displayed on the monitor with an RGB value of (70,80,70) in the actual color gamut; by using 3DLUT to find the mapped RGB value of (50,70,60) in the sRGB color gamut, you will get the color with an RGB value of (90,85,85) in the actual color gamut or the color displayed on the monitor with an RGB value of (90,85,85) in the actual color gamut.

[0176] In the embodiments of this application, Figure 2 The mapping relationships shown are for illustrative purposes only and are not intended to be limiting.

[0177] Methods 1 and 2 described above can be used to obtain the mapping relationship between the standard color gamut and the actual color gamut. The standard color gamut can be represented by the three primary colors and the chromaticity coordinates of the white point, with the chromaticity coordinates of the white point being particularly important. If the standard white point (e.g., the D65 white point) is used as the white point in the standard color gamut, due to metamerism, users will perceive slight color differences between two images displayed on two different electronic devices with the same XYZ values.

[0178] To avoid subjective mismatches when users observe colors, we can start from the user's perspective and use the chromaticity coordinates of the white that the user actually sees (i.e., the perceived white point) as the basis for obtaining the mapping relationship between the above color gamut and the absolute color space.

[0179] The following describes a scenario for acquiring perceived white points provided by an embodiment of this application.

[0180] refer to Figure 3 , Figure 3 An exemplary schematic diagram of a scenario for acquiring a perceived white point is shown in an embodiment of this application. To avoid interference from other stray light in acquiring the perceived white point, the observer, the first electronic device, and the standard optical device can be placed in a dark room.

[0181] The first electronic device may be equipped with Alternatively, it can be a portable terminal device with other operating systems. Electronic device 100 can be a mobile phone, tablet computer, desktop computer, laptop computer, handheld computer, ultra-mobile personal computer (UMPC), netbook, cellular phone, personal digital assistant (PDA), augmented reality (AR) device, virtual reality (VR) device, artificial intelligence (AI) device, wearable device, vehicle, in-vehicle device, smart home device, and / or smart city device. It is not limited to these. The first electronic device may also include non-portable terminal devices such as laptops and desktop computers with touch-sensitive surfaces or touch panels. This application embodiment does not impose special limitations on the specific type of electronic device.

[0182] The first electronic device can refer to an electronic device using OLED display technology, an electronic device using LCD display technology, or an electronic device using other display technologies; there is no limitation in this regard. The first electronic device can also adjust the brightness and color of its screen.

[0183] Standard lighting equipment can simulate artificial light sources (i.e., standard light sources) under various ambient lighting conditions, enabling the acquisition of lighting effects that are essentially identical to those under actual ambient lighting, even when not currently in actual ambient lighting. Typically, standard lighting equipment houses the standard light source within a standard light source enclosure. For example, a standard lighting equipment can generate a D65 light source. The D65 light source, also known as International Standard Artificial Daylight, has a color temperature of 6500K.

[0184] To facilitate observation, the layout of the first electronic device and the standard light source needs to be appropriately arranged. For example, the first electronic device and the standard light source are placed side-by-side, with a relatively close distance between them. The center of the screen of the first electronic device and the center of the standard light source are at the same height. The observer faces the screen of the first electronic device and the standard light source, with their eyes at a suitable distance from both (e.g., 60cm). In this position, the observer can simultaneously observe the screen color of the first electronic device and the standard light.

[0185] In the embodiments of this application, the above Figure 1 The scenario shown is merely an example. There are many other layout options, screen settings, and light source settings available for obtaining different perceived white points. No limitation is imposed on these options.

[0186] Based on the above description of the scenario, this application provides a method for obtaining perceived white points.

[0187] Figure 4 An exemplary flowchart of a method for obtaining perceived white points provided in an embodiment of this application is shown. The method includes:

[0188] S401, The first electronic device adjusts the screen brightness to the first brightness.

[0189] In some implementations, the first brightness can include various screen brightness settings of the first electronic device. This allows for the simulation of the screen brightness used by a user in everyday scenarios.

[0190] Preferably, the first brightness can be the maximum screen brightness set by the first electronic device. This is because the maximum brightness set by the electronic device can refer to the brightness that ensures the user can clearly observe the screen in outdoor lighting conditions. In this way, the maximum brightness is more closely aligned with the standard light source set by the standard light device.

[0191] S402, The standard optical device adjusts the generated light source to a standard light source and adjusts the brightness of the light source to be consistent with the brightness of the first electronic device.

[0192] In some implementations, the standard light source can include various white point standards. For example, the standard light source could refer to a D65 light source. The chromaticity coordinates of the D65 light source are the commonly used chromaticity coordinates of a standard white point.

[0193] The standard light device adjusts the brightness of the light source to the highest level to avoid affecting the observer's perception of the screen and the standard light source due to differences in brightness. To ensure a single variable (i.e., screen color and standard light source color), the brightness of the standard light source is adjusted to match the screen brightness of the first electronic device.

[0194] S403. The first electronic device adjusts its screen color until the observed screen color of the first electronic device is consistent with the color of the light source produced by the standard light device.

[0195] After executing S402, the observer can, as follows: Figure 2 Observe the screen of the first electronic device against a standard light source in the scene shown.

[0196] If an observer perceives that the screen color of the first electronic device is inconsistent with the color of the standard light source, the first electronic device responds to the operation by adjusting the screen color.

[0197] For example, this operation could refer to an input operation, such as inputting R, G, and B values. The first electronic device can change the screen color based on the input RGB values.

[0198] For example, this operation could be selecting the next RGB value. The first electronic device has a pre-set RGB table containing various RGB values ​​sequentially. After responding to an input operation, the first electronic device uses the next RGB value from the current RGB value in the RGB table to display the screen color.

[0199] It's worth noting that in S403, the input RGB values ​​match the displayed RGB values; that is to say, in... Figure 4 3DLUT is not yet used in the flowchart shown.

[0200] In the embodiments of this application, the above-described methods for adjusting the screen color are merely illustrative examples, and other methods may also be included for adjusting the screen color.

[0201] S404 can be executed if the observer believes that the screen color of the first electronic device is consistent with the color of the standard light source.

[0202] S404. The first electronic device acquires the spectrum of the current screen and acquires the chromaticity coordinates of the perceived white point.

[0203] In some implementations, the spectrum of the current screen can be obtained when the observer perceives the colors to be identical. Methods for obtaining the spectrum may include, but are not limited to, measuring the spectrum of the current screen using a spectroradiometer.

[0204] In some implementations, the first electronic device can be functionally coupled to a spectroradiometer. The first electronic device can also directly acquire the spectrum measured by the spectroradiometer and then calculate the chromaticity coordinates of the perceived white point. The first electronic device can also respond to input operations and acquire the chromaticity coordinates of the perceived white point calculated by the spectroradiometer. In the embodiments of this application, the method by which the first electronic device acquires the chromaticity coordinates of the perceived white point is not limited.

[0205] Since different primary electronic devices may employ different display technologies, this can lead to inconsistencies in the acquired spectrum.

[0206] For example, the spectral distribution of perceived white points for different types of screens is shown below.

[0207] Figure 5 Two spectral distribution diagrams of perceived white points are shown as examples.

[0208] refer to Figure 5 , Figure 5 The horizontal axis represents wavelength (nm), and the vertical axis represents spectral power distribution (SPD) (W). The dashed line represents the spectral distribution of an OLED screen when displaying a perceived white point, while the solid line represents the spectral distribution of an LCD screen when displaying a perceived white point. This can be seen from... Figure 5 It was observed that screens using different display technologies exhibit different spectral distributions when displaying the same white point from the observer's perspective. Therefore, the chromaticity coordinates of the perceived white point are inconsistent across different types of electronic devices, necessitating the re-execution of the above process. Figure 5 The flowchart shown is used to obtain the information.

[0209] In some implementations, after obtaining the screen's spectrum, the chromaticity coordinates of the perceived white point can be calculated. Specifically, the XYZ values ​​of the perceived white point can be obtained by integrating the spectrum, and then the chromaticity coordinates of the perceived white point can be obtained.

[0210] In some implementations, because observers may perceive colors differently, to improve the accuracy of perceiving the chromaticity coordinates of the white point, multiple observers (e.g., 30 or more) can repeat the above process. Figure 4The process shown obtains the spectral information of the screens of multiple first electronic devices when displaying the perceived white point, thereby obtaining more accurate chromaticity coordinates of the perceived white point.

[0211] Optionally, change the brightness level of the first value in S401 and repeat the above process multiple times. Figure 4 The process shown in the diagram involves processing the measured spectrum to obtain more accurate chromaticity coordinates of the perceived white point.

[0212] In this way, the coordinates of the perceived white point can be determined to produce the same visual effect as the observed standard white point.

[0213] After obtaining the coordinates of the perceived white point of the first electronic device, the mapping relationship between the standard color gamut and the actual color gamut adopted by the first electronic device can be obtained, that is, the 3DLUT based on the perceived white point can be obtained.

[0214] This application provides two methods for obtaining 3DLUT based on perceived white points.

[0215] The first method is the color gamut matrix adjustment method. For example, taking the sRGB color gamut used by the first electronic device as an example, this application provides a first method for obtaining 3DLUT.

[0216] Specifically, in the first method: First, the mapping relationship between the standard color gamut (e.g., sRGB color gamut) based on the perceived white point and the CIE1931 color space adopted by the first electronic device is obtained. Then, the mapping relationship between the actual color gamut and the CIE1931 color space is determined. Finally, a 3DLUT between the standard color gamut based on the perceived white point and the actual color gamut is determined based on the above two mapping relationships. The mapping relationship between the actual color gamut of the first electronic device (i.e., the display color gamut) and the CIE1931 color space can be obtained through a traversal method. For example, the first electronic device can input various RGB values ​​one by one, and then measure the spectrum of the current screen using a spectroradiometer to calculate the XYZ value corresponding to each RGB value in the actual color gamut. In this embodiment, the mapping relationship between the actual color gamut of the first electronic device and the CIE1931 color space can also be calculated using relevant algorithms, and the method of obtaining the above mapping relationship is not limited.

[0217] In some implementations, the mapping relationship between a certain color gamut and the CIE1931 color space can be obtained based on the chromaticity coordinates of four points (i.e., the chromaticity coordinates of the three primary colors and the white point).

[0218] Specifically, the first electronic device can obtain the mapping relationship between the sRGB color gamut and the CIE 1931 color space based on the chromaticity coordinates of the three primary colors in the sRGB color gamut and the perceived white point. For example, if Figure 1 The color gamut A shown is the sRGB color gamut. Therefore, the chromaticity coordinates of the three primary colors in the sRGB color gamut are: Figure 1 The xy coordinates of the three vertices of the triangle (e.g., red, green, and blue points).

[0219] For example, the conversion matrix between the actual color gamut and the CIE 1931 color space is as follows:

[0220]

[0221] in, Based on the relationship between chromaticity coordinates and XYZ values, we know that:

[0222] X r =x r / y r ;Y r =1; Z r =(1-x r -y r ) / y r The chromaticity coordinates of point R, i.e., the red point, are (x... r ,y r );

[0223] X g =x g / y g ;Y g =1; Z g =(1-x g -y g ) / y g The chromaticity coordinates of point G, i.e., the green point, are (x... g ,y g );

[0224] X b =x b / y b ;Y b =1; Z b =(1-x b -y b ) / y b The chromaticity coordinates of point B, i.e., the blue point, are (x... b ,y b );

[0225] X w =x w / y w ;Y r =1; Zw =(1-x w -y w ) / y w The chromaticity coordinates of the perceived white point are (x w ,y w ).

[0226] The Y value of all four colors mentioned above is 1 because the Y value of a color not only represents the green information it contains, but also defines its brightness.

[0227] For example, in the sRGB color gamut, the coordinates of the red point are (0.64, 0.33), the green point is (0.3, 0.6), and the blue point is (0.15, 0.06). Furthermore, the chromaticity coordinates of the perceived white point can be obtained by performing the above steps. Figure 2 The method flow shown is as follows. Thus, when the standard color gamut used by the electronic device is the sRGB color gamut, the M matrix can be calculated by substituting the coordinate values ​​of the above four points.

[0228] The above calculation method can be used to obtain the mapping relationship between the sRGB color gamut and the CIE1931 color space based on the perceived white point. The mapping relationship between the actual color gamut and the CIE1931 color space has been obtained through the above method. Based on the transitivity of the mapping relationship, the 3DLUT based on the perceived white point can be obtained.

[0229] The second method is the 3DLUT adjustment method. For example, taking the sRGB color gamut used by the first electronic device as an example, this application provides a second method for obtaining 3DLUT.

[0230] In some implementations, if the perceived white point is not obtained, the electronic device will also generate a 3DLUT (referred to as the raw 3DLUT). This raw 3DLUT differs from the 3DLUT based on the perceived white point mentioned in the embodiments of this application. When the electronic device displays a colored image using the raw 3DLUT, there will be subjective differences. Therefore, in the second method, a 3DLUT based on the white point can be obtained by adjusting the mapping relationship in the raw 3DLUT.

[0231] In some implementations, as can be seen from the above method for obtaining the xy coordinates of the perceived white point, during the continuous adjustment of the screen color, when displaying the color of the perceived white point, the first electronic device can obtain the RGB value of the perceived white point in the actual color gamut. The electronic device can simply adjust the RGB value of the white point mapped in the actual color gamut from the standard white point (e.g., D65 white point) in the original 3DLUT to the RGB value of the perceived white point in the actual color gamut.

[0232] refer to Figure 6 , Figure 6An exemplary schematic diagram of adjusting the original 3DLUT provided in an embodiment of this application is shown.

[0233] like Figure 6 As shown, Figure 6 Cubes A and B in the diagram represent examples of the actual color gamut after mapping. Figure 6 The eight coordinates at the top center are the RGB values ​​of the eight vertices of cube A after mapping according to the original 3DLUT. Figure 6 The eight coordinates at the bottom center are the RGB values ​​of the eight vertices of cube B after mapping based on 3DLUT perceptual white points.

[0234] In the original 3DLUT, the RGB value (0,0,0) in the standard color gamut can be mapped to the RGB value (10,10,10) in the actual color gamut. The RGB value (255,0,0) in the standard color gamut can be mapped to the RGB value (250,10,10) in the actual color gamut. The RGB value (0,255,0) in the standard color gamut can be mapped to the RGB value (10,245,15) in the actual color gamut. The RGB value (255,255,0) in the standard color gamut can be mapped to the RGB value (250,245,10) in the actual color gamut. The RGB value (0,0,255) in the standard color gamut can be mapped to the RGB value (10,15,245) in the actual color gamut. The RGB value (255,0,255) in the standard color gamut can be mapped to the RGB value (250,15,240) in the actual color gamut. The RGB values ​​(0, 255, 255) in the standard color gamut can be mapped to the RGB values ​​(10, 240, 240) in the actual color gamut. The RGB values ​​(255, 255, 255) in the standard color gamut can be mapped to the RGB values ​​(245, 250, 255) in the actual color gamut.

[0235] In the embodiments of this application, the above-described mapping relationship between RGB is only for illustrative purposes and is not intended to limit the scope of the application.

[0236] The 3DLUT based on the perceived white point differs from the original 3DLUT in one mapping relationship, meaning the mapping relationship between the RGB values ​​of white is inconsistent. In the 3DLUT based on the perceived white point, except that the mapping result of the RGB values ​​(255, 255, 255) in the standard color gamut is the RGB values ​​(242, 245, 246) in the actual color gamut, the remaining mapping relationships are consistent with the original 3DLUT. For example, in S403 above, when the color consistency is observed, the input RGB values ​​are (242, 245, 246).

[0237] Furthermore, adjusting only the RGB value mapping of white in the 3DLUT may affect the mapping relationships between other RGB values. Therefore, this application provides a method for adjusting the 3DLUT.

[0238] Figure 7 An exemplary flowchart of a method for adjusting a 3DLUT provided in an embodiment of this application is shown.

[0239] S701. Obtain the RGB values ​​of the original white point after mapping with the original 3DLUT and the RGB values ​​of the perceived white point in the actual color gamut.

[0240] In some implementations, the original white point can refer to a standard white point, such as a D65 white point. Electronic devices in the above... Figure 4 The flowchart shown shows how the RGB values ​​of the perceived white point in the actual color gamut can be obtained. For example, the RGB values ​​of the white point in the standard color gamut are (255, 255, 255), the RGB values ​​of the original white point after being mapped by the original 3DLUT are (245, 250, 255), and the RGB values ​​of the perceived white point in the actual color gamut are (242, 245, 246).

[0241] S702. Calculate the color difference between the original white point and the perceived white point.

[0242] In some implementations, the color difference between the original white point and the perceived white point can be calculated using a color difference formula. For example, the original white point and the perceived white point can be compared in the XYZ color space by switching them to their respective RGB-to-XYZ color gamut conversion matrices.

[0243] For example, since the sRGB color gamut is standard and fixed, the mapping relationship between the sRGB color gamut and the CIE1931 color space is also fixed. The conversion matrix between the sRGB color gamut and the CIE1931 color space is as follows:

[0244]

[0245] Where X, Y, and Z values ​​are the XYZ values ​​of a certain color, and R... SRGB Value, G SRGB Value, B SRGB The value is the RGB value of a specific color within the sRGB color gamut. Therefore, given the RGB value of a color within the sRGB color gamut, the XYZ values ​​of that color can be determined using the mapping relationship described above. For example, if the RGB values ​​of the original white point are known, then the XYZ values ​​of the original white point can be obtained.

[0246] For example, the XYZ values ​​of the original white point are X0, Y0, and Z0, respectively. The XYZ values ​​of the perceived white point are X1, Y1, and Z1, respectively.

[0247] The color difference formula is as follows:

[0248] ΔE=[(ΔL * ) 2 +(Δa * ) 2 +(Δb * ) 2 ] 1 / 2

[0249] Among them, L * =116(Y1 / Y0) 1 / 3 -16; a * =500[(X1 / X0)] 1 / 3 -(Y1 / Y0) 1 / 3 ];b * =200[(Y1 / Y0)] 1 / 3 -(Z1 / Z0) 1 / 3 ].

[0250] In the embodiments of this application, the above calculation of the color difference between two colors is only an illustrative example. There may be more ways to calculate the color difference between the original white point and the perceived white point, and there is no limitation on this.

[0251] S703. Determine whether the color difference exceeds the color difference threshold.

[0252] In some implementations, a color difference threshold can be set. This threshold is used to determine whether the color difference between the perceived white point and the original white point is too large. If it is too large, it will cause inaccurate mapping between colors other than the white point in the 3DLUT based on the perceived white point.

[0253] After executing S703, if the color difference does not exceed the color difference threshold, then execute S704; if the color difference exceeds the color difference threshold, then execute S705.

[0254] S704. If the color difference does not exceed the color difference threshold, only adjust the RGB value after the white point is mapped.

[0255] In some implementations, if the color difference between the original white point and the perceived white point does not exceed the color difference threshold, it means that the visual effect presented to the user by the original white point and the perceived white point is not significantly different. In this case, simply adjusting the RGB values ​​of white under the standard color gamut to the RGB values ​​of the perceived white point through mapping is sufficient. This adjustment will not affect the user's visual experience when observing other colors.

[0256] S705. If the color difference exceeds the color difference threshold, then the mapping relationships in the original 3DLUT are iterated and adjusted.

[0257] In some implementations, if the color difference between the original white point and the perceived white point exceeds a color difference threshold, it indicates a significant difference in the visual effect presented to the user by the original white point and the perceived white point. Without adjusting other mapping relationships in 3DLUT, this can lead to a large difference between the color observed by the user and the color the electronic device intended to display.

[0258] The following describes a method for traversing and adjusting a 3DLUT provided by an embodiment of this application.

[0259] Figure 8 An exemplary flowchart of a method for traversing and adjusting a 3DLUT provided in an embodiment of this application is shown.

[0260] S801. The adjustment ratio of the white point is calculated based on the RGB value of the original white point after mapping by the original 3DLUT and the RGB value of the perceived white point in the actual color gamut.

[0261] In some implementations, the two RGB values ​​mentioned above have already been obtained in S701. For example, calculating the white point adjustment ratio may include: calculating the ratios between the R, G, and B values ​​respectively, and then using the average of these three ratios as the white point adjustment ratio. In this embodiment, the above calculation method is only illustrative and may include other methods for calculating the white point adjustment ratio, which are not limited thereto.

[0262] For example, the RGB values ​​of white after mapping through the original 3DLUT are R0, G0, and B0. The perceived white point's RGB values ​​in the actual color gamut are R1, G1, and B1. The ratio of R values ​​is r0 = R1 / R0; the ratio of G values ​​is g0 = G1 / G0; and the ratio of B values ​​is b0 = B1 / B0. The adjustment ratio of the white point is m = (r0 + g0 + b0) / 3.

[0263] S802, Obtain the RGB value of a mapped element from the original 3DLUT.

[0264] In some implementations, the first RGB value after mapping in the original 3DLUT can be obtained, or the RGB value at any position after mapping in the original 3DLUT can be obtained. In the embodiments of this application, the first RGB value of the traversed 3DLUT is not limited in this respect.

[0265] S803. Determine the RGB value to be adjusted based on the above adjustment ratio.

[0266] In some implementations, the RGB values ​​to be adjusted can be determined based on the mapped RGB values ​​in the original 3DLUT and the adjustment ratio.

[0267] For example, the mapped RGB values ​​obtained in S802 are R2, G2, and B2, and the RGB values ​​to be adjusted are R2. ′ G2 ′ B2 ′ .

[0268] Among them, R2 ′ =R²×m,R² ′ =R²×m,R² ′ =R2×m; m is the adjustment ratio of the white point calculated in S701 above.

[0269] S804. Calculate the color difference between the RGB value after the above mapping and the RGB value to be adjusted.

[0270] In some implementations, the mapped RGB values ​​and the RGB values ​​to be adjusted can be mapped to the XYZ color space according to their respective color gamut conversion matrices, and then the color difference between the two RGB values ​​in the XYZ color space can be calculated. For the method of calculating the color difference, please refer to the relevant description in S702 above, which will not be repeated here.

[0271] After executing S804, if the color difference exceeds the color difference threshold, then execute S805; if the color difference does not exceed the color difference threshold, then execute S806.

[0272] S805. If the color difference exceeds the color difference threshold, the mapped RGB value will be adjusted to the RGB value to be adjusted.

[0273] The color difference threshold mentioned here is the same as the color difference threshold mentioned in S703.

[0274] In some implementations, if the color difference between the mapped RGB values ​​and the RGB values ​​to be adjusted exceeds a color difference threshold, it indicates a significant difference between the color displayed by the electronic device with the mapped RGB values ​​and the color the electronic device actually intends to represent (i.e., the color with the RGB values ​​to be adjusted). Therefore, the mapped RGB values ​​need to be adjusted to the RGB values ​​to be adjusted.

[0275] S806. If the color difference does not exceed the color difference threshold, the RGB value after the mapping will not be modified.

[0276] In some implementations, if the color difference between the mapped RGB values ​​and the RGB values ​​to be adjusted does not exceed a color difference threshold, it means that the difference between the color displayed by the electronic device with the mapped RGB values ​​and the color that the electronic device actually wants to express (i.e., the color with the RGB values ​​to be adjusted) is small, and the visual effect difference when the user observes the two colors is small. Therefore, there is no need to adjust the RGB values, and the mapped RGB values ​​are retained.

[0277] S807, Traverse all the RGB values ​​after mapping in the original 3DLUT.

[0278] After executing S805 or S806, repeat the above S802-S806 until all the mapped RGB values ​​in the original 3DLUT have been traversed, and then the process ends.

[0279] In some implementations, repeatedly executing S802 specifically refers to: obtaining the RGB values ​​after the next mapping in the original 3DLUT. That is, the original 3DLUT contains multiple sequentially arranged RGB values ​​after mapping. After determining whether the RGB values ​​after the current mapping need adjustment, the next mapping's RGB values ​​are then checked for adjustment, and so on, until all mapping's RGB values ​​have been checked, thus completing the process. Figure 7 The method flow is shown.

[0280] By implementing the above method, 3DLUT based on perceived white points can be obtained more accurately. When users observe the colors displayed by electronic devices, their visual experience is closer to the colors that the electronic devices actually intend to display.

[0281] S706, Determine the 3DLUT based on the perceived white point.

[0282] In some implementations, after executing S704, a 3DLUT based on perceived white points can be determined. The difference between this perceived white point-based 3DLUT and the original 3DLUT in this case is that the mapping relationship of the RGB values ​​representing white is different. For example, the white mapping relationship in the original 3DLUT is: the RGB values ​​of the standard white point in the standard color gamut are mapped to the RGB values ​​of the standard white point in the actual color gamut; the white mapping relationship in the perceived white point-based 3DLUT is: the RGB values ​​of the standard white point in the standard color gamut are mapped to the RGB values ​​of the perceived white point in the actual color gamut.

[0283] In some implementations, after executing S705, a 3DLUT based on perceived white points can be determined. The difference between this perceived white point-based 3DLUT and the original 3DLUT lies in the different mapping relationships of multiple sets of RGB values. These multiple sets of RGB values ​​include the RGB values ​​representing white. For example, the white mapping relationship in the original 3DLUT is: the RGB values ​​of the standard white point in the standard color gamut are mapped to the RGB values ​​of the standard white point in the actual color gamut; the white mapping relationship in the perceived white point-based 3DLUT is: the RGB values ​​of the standard white point in the standard color gamut are mapped to the RGB values ​​of the perceived white point in the actual color gamut.

[0284] In addition, multiple sets of RGB values ​​also include RGB values ​​representing other colors. For example, the mapping relationship of color A in the original 3DLUT is: the RGB value of color A in the standard color gamut is mapped to the RGB value of color A in the actual color gamut; the mapping relationship of color A in the 3DLUT based on the perceived white point is: the RGB value of color A in the standard color gamut is mapped to the calculated RGB value to be matched. Wherein, the color difference between the RGB value to be matched and the RGB value of color A in the actual color gamut is less than the color difference threshold.

[0285] By implementing the above method, 3DLUT based on perceived white points can be obtained more accurately. When users observe the colors displayed by electronic devices, their visual experience is closer to the colors that the electronic devices actually intend to display.

[0286] In some implementations, electronic devices can use different color modes to display images. For example, color modes may include, but are not limited to: standard mode, vivid mode, custom mode, etc.

[0287] The standard mode closely approximates various standard color gamuts. The vivid mode displays images with more vibrant colors compared to the standard mode. The custom mode allows users to adjust the parameters of the color gamut used by the electronic device. When an electronic device displays the same image in different color modes, users can clearly observe the differences between the images.

[0288] In the embodiments of this application, the names of the color modes are merely illustrative and are not intended to be limiting.

[0289] In some implementations, the standard color gamut used by electronic devices may differ under different color modes, and therefore the 3DLUT used by the electronic devices will also differ.

[0290] To obtain 3DLUTs in different modes, the screen to be matched can be adjusted to the corresponding color mode in the above method for obtaining the perceived white point. For example, if it is necessary to obtain the 3DLUT of an electronic device in standard mode, the first electronic device in S401 is adjusted to display the screen in standard mode, and the analog light source in S402 is set to the standard light source; if it is necessary to obtain the 3DLUT of an electronic device in vivid mode, the first electronic device in S401 is adjusted to display the screen in vivid mode, and the analog light source in S402 is set to the standard light source in vivid mode. Here, the definition of the standard light source in vivid mode varies for different devices and needs to be set according to the actual situation.

[0291] The following describes an application scenario of multi-screen collaboration provided by an embodiment of this application.

[0292] Figure 9AAn exemplary schematic diagram of a multi-screen collaboration scenario provided by an embodiment of this application is shown.

[0293] like Figure 9A As shown, electronic device 100 can project its displayed image onto electronic device 200. Because electronic device 100 and electronic device 200 use different color modes, the following situations may occur after projection:

[0294] In this embodiment of the application, two color modes (e.g., standard mode or vivid mode) are used as examples to illustrate different situations that may occur during screen projection. Electronic devices 100 and 200 may also use other color modes, which are not limited.

[0295] like Figure 9B As shown, Figure 9B Both electronic devices 100 and 200 in the above embodiment adopt a standard mode. When the standard modes of electronic devices 100 and 200 both adopt the same standard color gamut (e.g., p3 color gamut), electronic devices 100 and 200 can display images with the same visual effect through the 3DLUT based on the perceived white point obtained in the above embodiment. That is to say, in Figure 9B In this process, the screen displayed on electronic device 100 has the same visual effect as the screen displayed in the projection area of ​​electronic device 200.

[0296] like Figure 9C As shown, Figure 9C Electronic device 100 displays the image in vivid mode, while electronic device 200 displays the image in standard mode. For example, the vivid mode of electronic device 100 may use a custom color gamut 1, while the standard mode of electronic device 200 may use a standard color gamut, such as the P3 color gamut. Due to the inconsistent color gamuts used, even if electronic devices 100 and 200 obtain 3DLUT based on the perceived white point through the above embodiments, they will not display images with the same visual effect. That is, in... Figure 9C In this case, the screen displayed on electronic device 100 has a different visual effect than the screen displayed in the projection area of ​​electronic device 200.

[0297] like Figure 9D As shown, Figure 9DElectronic device 100 displays the image in a standard mode, while electronic device 200 displays the image in a vivid mode. For example, the standard mode of electronic device 100 may use a standard color gamut, such as the P3 color gamut, while the vivid mode of electronic device 200 may use a custom color gamut 2. Due to the inconsistent color gamuts used, even if electronic devices 100 and 200 obtain 3DLUT based on the perceived white point through the above embodiments, they will not display images with the same visual effect. That is, in... Figure 9D In this case, the screen displayed on electronic device 100 has a different visual effect than the screen displayed in the projection area of ​​electronic device 200.

[0298] like Figure 9E As shown, Figure 9E Electronic device 100 and electronic device 200 both display images in vivid mode. For example, the vivid mode of electronic device 100 may use a custom color gamut 1, while the vivid mode of electronic device 200 may use a custom color gamut 2. Because the color gamuts used are inconsistent, even if electronic devices 100 and 200 obtain 3DLUT based on the perceived white point through the above embodiments, they will not display images with the same visual effect. That is, in... Figure 9E In this case, the screen displayed on electronic device 100 has a different visual effect than the screen displayed in the projection area of ​​electronic device 200.

[0299] However, in some scenarios, such as when users expect that regardless of the color mode used by electronic devices 100 and 200, they can observe images with the same visual effect in the projection areas of electronic devices 100 and 200.

[0300] like Figure 9F As shown, Figure 9F Both electronic device 100 and electronic device 200 use a vivid mode to display the image. For example, the vivid mode of electronic device 100 may use a custom color gamut 1, and the vivid mode of electronic device 200 may use a custom color gamut 2. The display method provided in this application embodiment enables: in Figure 9F In this process, the screen displayed on electronic device 100 has the same visual effect as the screen displayed in the projection area of ​​electronic device 200.

[0301] In the embodiments of this application, the above-mentioned scenarios are only illustrative examples and the color modes used are not limited.

[0302] The following describes a display method provided by an embodiment of this application.

[0303] Figure 10 An exemplary embodiment of the present application provides a display method. For example, taking the case where electronic device 100 and electronic device 200 employ different display technologies, the method includes:

[0304] S1001, Electronic device 100 and electronic device 200 establish a communication connection.

[0305] In some implementations, electronic device 100 and electronic device 200 can establish a communication connection wirelessly. This wireless connection can be a short-range connection such as wireless fidelity (Wi-Fi), Bluetooth, infrared, NFC, or ZigBee, or a long-range connection, including but not limited to long-range connections based on 2G, 3G, 4G, 5G, and subsequent standard protocols of mobile networks.

[0306] Optionally, electronic device 100 and electronic device 200 can also establish a communication connection via a wired means. For example, a USB data cable or a docking device, etc.

[0307] Electronic device 100 and electronic device 200 may be equipped with Alternatively, it can be a portable terminal device with other operating systems. Electronic device 100 can be a mobile phone, tablet computer, desktop computer, laptop computer, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, as well as cellular phone, personal digital assistant (PDA), augmented reality (AR) device, virtual reality (VR) device, artificial intelligence (AI) device, wearable device, vehicle, in-vehicle device, smart home device and / or smart city device. It is not limited to these, and may also include non-portable terminal devices such as laptops and desktop computers with touch-sensitive surfaces or touch panels. This application embodiment does not impose special restrictions on the specific type of electronic device, but both electronic device 100 and electronic device 200 must have a display screen.

[0308] For example, both electronic device 100 and electronic device 200 can activate their Wi-Fi functions and connect to the same Wi-Fi network. Electronic device 100 can also connect to the same Wi-Fi network by scanning the QR code displayed on electronic device 200.

[0309] S1002, Electronic device 100 sends a screen mirroring command to electronic device 200.

[0310] In some implementations, electronic device 100 can respond to user operations and send a screen projection command to electronic device 200. This screen projection command may include, but is not limited to, the identifier of electronic device 100 and the color mode used by electronic device 100.

[0311] For example, after electronic device 100 activates the screen mirroring function, it displays a screen mirroring device option, which indicates that electronic device 100 can mirror its screen to electronic device 200. Electronic device 100 can respond to the operation applied to the screen mirroring device option by sending a screen mirroring command to electronic device 200.

[0312] In this embodiment, there can be multiple screen projection device options, with different options corresponding to projection onto different electronic devices. Generally, electronic device 100 can project onto one electronic device 200. Optionally, electronic devices can also project onto multiple electronic devices 200.

[0313] Optionally, after activating the screen mirroring function, the electronic device 100 can further select between a pure screen mirroring mode and a multi-screen collaboration mode. For example, the electronic device 100 can respond to user input of controls applied to either of these modes to select the screen mirroring mode.

[0314] In this application embodiment, the screen casting technology used for the above-mentioned screen casting function is not limited, and may include more types of screen casting technologies.

[0315] S1003. Electronic device 200 receives the screen projection command and determines whether the color modes used by electronic device 100 and electronic device 200 are both standard modes.

[0316] In some implementations, after receiving the screen mirroring command, electronic device 200 can determine whether its current state allows displaying the screen mirroring image. If screen mirroring from electronic device 100 to electronic device 200 is allowed, electronic device 200 can send a command to electronic device 100 to notify it that screen mirroring is permitted.

[0317] After allowing screen mirroring, electronic device 200 can determine whether both electronic devices 100 and 200 are displaying the screen in standard mode. "Both using standard mode" here means displaying the screen in a standard mode with the same standard color gamut. Generally, standard modes set by the same manufacturer use the same standard color gamut.

[0318] Optionally, if the standard color gamut in the standard mode used by electronic device 100 and electronic device 200 is inconsistent, it can be understood that neither of them uses the standard mode to display the screen.

[0319] After executing S1003, if both electronic devices 100 and 200 use the standard color mode, then execute S1004; if neither electronic devices 100 nor 200 uses the standard color mode, then execute S1006.

[0320] S1004. Electronic device 100 sends screen information to electronic device 200.

[0321] In some implementations, the screen information may include: screen information generated by electronic device 100 that needs to be projected onto electronic device 200.

[0322] After executing S1004, execute S1005.

[0323] S1005, Electronic device 200 displays the screen. The screen information displayed by electronic device 100 has the same visual effect as the screen displayed by electronic device 200 in the projection area.

[0324] After S1005 is executed, the process ends. During the screen mirroring process, the electronic device 200 can continuously display the screen.

[0325] S1006, Electronic device 200 displays a prompt message, which indicates whether all settings have been adjusted to standard mode.

[0326] In some implementations, the color modes used by electronic device 100 and electronic device 200 are not both standard modes, which may include the following situations:

[0327] 1. Neither electronic device 100 nor electronic device 200 uses a standard mode. For example, both electronic device 100 and electronic device 200 use a vivid mode or other color modes. Furthermore, electronic device 100 may use color mode a, and electronic device 200 may use color mode b. Color mode a and color mode b may be the same or different, but neither is a standard mode.

[0328] 2. Electronic device 100 uses a standard mode, while electronic device 200 uses a non-standard mode. For example, electronic device 200 may use a vivid mode or other non-standard color modes.

[0329] 3. Electronic device 100 does not use a standard mode, while electronic device 200 uses a standard mode. For example, electronic device 100 may use a vivid mode or other non-standard color modes.

[0330] When the above situation occurs, electronic device 200 can display a prompt message after receiving the screen projection command. The prompt message is used to ask the user whether the color mode of both electronic device 100 and electronic device 200 needs to be adjusted to the standard mode.

[0331] If electronic device 200 responds to the user's operation and determines that it will not adjust the color modes of electronic device 100 and electronic device 200, then S1007 is executed.

[0332] When electronic device 200 responds to the user's operation and determines that the color modes of both electronic device 100 and electronic device 200 are adjusted to standard mode, S1010 is executed.

[0333] S1007. If the color modes of electronic devices 100 and 200 are not adjusted, electronic device 200 sends a message to electronic device 100 to indicate that electronic device 100 does not need to adjust the current color mode.

[0334] S1008, Electronic device 100 sends image information and color gamut information of the current color mode to electronic device 200.

[0335] In some implementations, the screen information may include: screen information generated by electronic device 100 that needs to be projected onto electronic device 200.

[0336] Color gamut information may include: the chromaticity coordinates of the perceived white point obtained by the electronic device 100 in the current color mode, and the chromaticity coordinates of the three primary colors of the color gamut used in the current color mode.

[0337] Color gamut information can also include the mapping relationship between the color gamut used by the current color mode and the absolute color gamut space.

[0338] It is understandable that the aforementioned current color mode can refer to either a standard mode or a non-standard mode (such as vivid mode). The premise that the current color mode is a standard mode is that the color mode used by the electronic device 200 is not a standard mode.

[0339] S1009, Electronic device 200 displays the image in the projection area according to the color gamut information. The image displayed by electronic device 100 has the same visual effect as the image displayed by electronic device 200 in the projection area.

[0340] Based on the above description of color modes, it can be seen that when electronic device 100 and electronic device 200 adopt the same non-standard mode (such as vivid mode), the visual effects they display are also different. This is why electronic device 100 needs to transmit color gamut information to electronic device 200, rather than transmitting the name of the current color mode of the color gamut currently used by electronic device 100 to electronic device 200.

[0341] In some implementations, electronic device 200 can determine the mapping relationship between the color gamut currently used by electronic device 100 and the CIE 1931 color space based on color gamut information. Electronic device 200 inherently stores the mapping relationship between its actual color gamut and the CIE 1931 color space. This mapping relationship between the actual color gamut and the CIE 1931 color space in electronic device 200 can be obtained based on the perceived white point, which will not be elaborated upon here.

[0342] Based on the above, electronic device 200 can determine the mapping relationship between the color gamut currently used by electronic device 100 and the actual color gamut of electronic device 200. In other words, electronic device 200 can display an image using the current color mode of electronic device 100 within the projection area. The specific implementation method described above can be referred to the first method for obtaining 3DLUT based on perceived white points, and will not be elaborated upon here.

[0343] For example, suppose electronic device 100 uses vivid mode, and electronic device 200 also uses vivid mode. The visual effects produced by electronic device 100 using vivid mode are different from those produced by electronic device 200 using vivid mode.

[0344] refer to Figure 9F Electronic devices 100 will be like Figure 9F After the color gamut information of the user interface 210 and the vivid mode of the electronic device 100 is transmitted to the electronic device 200, the electronic device 200 can display the user interface 220. The image displayed in the projection area of ​​the user interface 220 is identical to that of the user interface 210, and both the projection area of ​​the user interface 220 and the electronic device 100 use the vivid mode of the electronic device 100, resulting in identical visual effects. The areas of the user interface 220 other than the projection area use the vivid mode of the electronic device 200, and the visual effect of the projection area of ​​the user interface 220 differs from that of other areas.

[0345] S1010. If the color modes of electronic devices 100 and 200 are adjusted, electronic device 200 adjusts its color mode to standard mode and sends a message to electronic device 100. This message is used to prompt electronic device 100 to adjust its color mode to standard mode.

[0346] After executing S1010, execute S1004 as described above.

[0347] By implementing the above method, regardless of the color mode used by electronic devices 100 and 200, a visually identical image to that of electronic device 100 can be observed on the projection area of ​​electronic device 200. This avoids situations where users perceive a discrepancy between the colors displayed on the projection area and those displayed on electronic device 100. Furthermore, since the mapping relationship between the actual color gamut and absolute color space of electronic devices 100 and 200 is based on the perceived white point, the colors observed by the user are closer to the true colors reflected by the electronic devices.

[0348] In one possible implementation, multiple electronic devices 100 can project their screens onto the same electronic device 200. Multiple projection areas can be displayed on each electronic device 100. Different projection areas display images from different electronic devices 100. Furthermore, the images displayed in the projection areas have the same visual effect as the images on the corresponding electronic devices 100. For example, electronic device A displays an image using color mode a, and electronic device B displays an image using color mode b. Projection area A displays the image sent by electronic device A, and projection area B displays the image sent by electronic device B. In this case, both projection area A and electronic device A use color mode a, and the displayed images have the same visual effect. Similarly, both projection area B and electronic device B use color mode b, and the displayed images have the same visual effect.

[0349] In one possible implementation, if it is determined that the color modes of electronic devices 100 and 200 are adjusted to the standard mode, it is also necessary to further determine the display technology type of electronic device 200, and then further determine whether electronic device 200 acquires 3DLUT based on perceptual white point.

[0350] For example, if the display technology of electronic device 200 is LCD, and since the display technology of electronic device 100 is OLED, OLED and LCD have similar or even identical visual effects after 3DLUT calibration based on the perceived white point. Therefore, after adjusting the color mode of both electronic device 100 and electronic device 200 to standard mode, images with the same effect can be observed in the projection areas of electronic device 100 and electronic device 200.

[0351] If the display technology of the electronic device 200 is OLED, it is also necessary to determine whether the 3DLUT used by the electronic device 200 is the original 3DLUT or a 3DLUT based on the perceived white point.

[0352] If electronic device 200 uses the original 3DLUT, then electronic device 200 also needs to execute the two methods for obtaining a 3DLUT based on the perceived white point provided in the above embodiments. Specifically, electronic device 200 can obtain a 3DLUT based on the perceived white point using the above-mentioned color gamut matrix adjustment method or 3DLUT adjustment method based on the chromaticity coordinates of the perceived white point sent by electronic device 100. After both electronic devices 100 and 200 have their color modes adjusted to standard mode, images with the same visual effect can be observed in the projection areas of electronic devices 100 and 200.

[0353] If the electronic device 200 uses a 3DLUT based on white point perception, no further calibration or adjustment is required, and the same visual effect can be observed in the projection areas of the electronic devices 100 and 200.

[0354] In some implementations, electronic device 100 can be referred to as the first electronic device, and electronic device 200 can be referred to as the second electronic device. The image that electronic device 100 needs to project onto electronic device 200 can be referred to as the first image. The image displayed by electronic device 200 in the projection area can be referred to as the second image. The color gamut used by the color mode employed by electronic device 100 can be referred to as the first color gamut. The color gamut used by the color mode employed by electronic device 200 can be referred to as the second color gamut. The mapping relationship between the color gamut used by the current color mode employed by electronic device 100 and the actual color gamut can be referred to as the first mapping table. The mapping relationship between the color gamut obtained by electronic device 100 based on the coordinates of the three primary colors and the coordinates of the perceived white point of the color gamut employed by the current color mode and the absolute color space is the first mapping relationship. The mapping relationship between the actual color gamut and the absolute color space of electronic device 100 is referred to as the second mapping relationship.

[0355] Figure 11 A schematic diagram of the structure of the electronic device 100 is shown.

[0356] Electronic device 100 may be equipped with Alternatively, it can be a portable terminal device with other operating systems. Electronic device 100 can be a mobile phone, tablet computer, desktop computer, laptop computer, handheld computer, ultra-mobile personal computer (UMPC), netbook, as well as cellular phone, personal digital assistant (PDA), augmented reality (AR) device, virtual reality (VR) device, artificial intelligence (AI) device, wearable device, vehicle, in-vehicle device, smart home device, and / or smart city device. It is not limited to these; electronic device 100 can also include non-portable terminal devices such as laptops and desktop computers with touch-sensitive surfaces or touch panels. This application embodiment does not impose any special limitations on the specific type of electronic device.

[0357] Electronic device 100 may include processor 110, external memory interface 120, internal memory 121, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0358] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0359] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.

[0360] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0361] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0362] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple I2C buses. The processor 110 can couple to the touch sensor 180K, charger, flash, camera 193, etc., through different I2C bus interfaces. For example, the processor 110 can couple to the touch sensor 180K through the I2C interface, enabling the processor 110 and the touch sensor 180K to communicate through the I2C bus interface, thereby realizing the touch function of the electronic device 100.

[0363] The I2S interface can be used for audio communication. In some embodiments, the processor 110 may include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface to enable the function of answering phone calls through a Bluetooth headset.

[0364] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via the PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface, enabling the function of answering phone calls through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0365] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface to enable music playback through Bluetooth headphones.

[0366] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI) and a display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to enable the electronic device 100 to capture images. The processor 110 and the display screen 194 communicate via the DSI interface to enable the electronic device 100 to display images.

[0367] The GPIO interface can be configured via software. It can be configured as a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to a camera 193, a display screen 194, a wireless communication module 160, an audio module 170, a sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0368] USB port 130 is a USB standard compliant interface, specifically a Mini USB port, Micro USB port, USB Type-C port, etc. USB port 130 can be used to connect a charger to charge electronic device 100, and can also be used for data transfer between electronic device 100 and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices, such as AR devices.

[0369] It is understood that the interface connection relationships between the modules illustrated in the embodiments of the present invention are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.

[0370] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device via the power management module 141.

[0371] The power management module 141 connects the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, providing power to the processor 110, internal memory 121, display screen 194, camera 193, and wireless communication module 160, etc. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.

[0372] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.

[0373] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.

[0374] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.

[0375] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through audio devices (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.

[0376] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, demodulates and filters the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, frequency modulate and amplify them, and then convert them into electromagnetic waves for radiation via antenna 2.

[0377] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).

[0378] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0379] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.

[0380] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.

[0381] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and color. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.

[0382] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.

[0383] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 100 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.

[0384] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 can play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0385] An NPU (Neural Processing Unit) is a computational processor for neural networks (NNs). By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.

[0386] Internal memory 121 may include one or more random access memory (RAM) and one or more non-volatile memory (NVM).

[0387] Random access memory can include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), and double data rate synchronous dynamic random access memory (DDR SDRAM, such as fifth-generation DDR SDRAM, which is generally called DDR5 SDRAM). Non-volatile memory can include disk storage devices and flash memory.

[0388] Flash memory can be classified according to its operating principle, including NOR FLASH, NAND FLASH, 3D NAND FLASH, etc.; according to the level of the storage cell, including single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc.; and according to the storage specification, including universal flash storage (UFS) and embedded multimedia card (eMMC), etc.

[0389] The random access memory can be directly read and written by the processor 110. It can be used to store executable programs (such as machine instructions) of the operating system or other running programs, as well as user and application data.

[0390] Non-volatile memory can also store executable programs and user and application data, and can be pre-loaded into random access memory for direct reading and writing by the processor 110.

[0391] The external memory interface 120 can be used to connect to external non-volatile memory, thereby expanding the storage capacity of the electronic device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to perform data storage functions. For example, music, video, and other files can be stored in the external non-volatile memory.

[0392] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.

[0393] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.

[0394] The speaker 170A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or make hands-free calls through the speaker 170A.

[0395] The receiver 170B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a telephone call or voice message, the receiver 170B can be brought close to the ear to listen to the voice.

[0396] Microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 170C, inputting the sound signal into microphone 170C. Electronic device 100 may have at least one microphone 170C. In some embodiments, electronic device 100 may have two microphones 170C, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, electronic device 100 may also have three, four, or more microphones 170C, which can collect sound signals, reduce noise, identify the sound source, and perform directional recording, etc.

[0397] The 170D headphone jack is used to connect wired headphones. The 170D headphone jack can be a USB 130 interface or a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface, a CTIA (Cellular Telecommunications Industry Association of the USA) standard interface.

[0398] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be disposed on display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes. Electronic device 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 194, electronic device 100 detects the intensity of the touch operation based on pressure sensor 180A. Electronic device 100 can also calculate the touch position based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example, when a touch operation with an intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS is executed.

[0399] The gyroscope sensor 180B can be used to determine the motion attitude of the electronic device 100. In some embodiments, the gyroscope sensor 180B can determine the angular velocity of the electronic device 100 about three axes (i.e., the x, y, and z axes). The gyroscope sensor 180B can be used for image stabilization. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the shake of the electronic device 100, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the shake of the electronic device 100 by moving in the opposite direction, thus achieving image stabilization. The gyroscope sensor 180B can also be used in navigation and motion-sensing game scenarios.

[0400] The barometric pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates altitude using the air pressure value measured by the barometric pressure sensor 180C to assist in positioning and navigation.

[0401] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip cover. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover using the magnetic sensor 180D. Then, based on the detected opening and closing state of the cover or the flip cover, features such as automatic flip unlocking can be set.

[0402] The 180E accelerometer can detect the magnitude of acceleration of electronic device 100 in various directions (typically three axes). When electronic device 100 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the posture of electronic devices and applied to applications such as screen orientation switching and pedometers.

[0403] A distance sensor 180F is used to measure distance. Electronic device 100 can measure distance via infrared or laser. In some embodiments, during a shooting scene, electronic device 100 can utilize the distance sensor 180F to measure distance for rapid focusing.

[0404] The proximity sensor 180G may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The LED may be an infrared LED. The electronic device 100 emits infrared light outward through the LED. The electronic device 100 uses the photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 may use the proximity sensor 180G to detect when a user holds the electronic device 100 close to their ear for a call, so as to automatically turn off the screen to save power. The proximity sensor 180G can also be used in holster mode and pocket mode for automatic unlocking and locking of the screen.

[0405] The ambient light sensor 180L is used to sense the brightness of ambient light. The electronic device 100 can adaptively adjust the brightness of the display screen 194 based on the sensed ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also work with the proximity sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.

[0406] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can utilize the characteristics of the collected fingerprints to achieve fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering calls with fingerprints, etc.

[0407] Temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 uses the temperature detected by temperature sensor 180J to execute a temperature handling strategy. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, electronic device 100 performs thermal protection by reducing the performance of a processor located near temperature sensor 180J to reduce power consumption. In other embodiments, when the temperature is below another threshold, electronic device 100 heats battery 142 to prevent abnormal shutdown of electronic device 100 due to low temperature. In still other embodiments, when the temperature is below yet another threshold, electronic device 100 boosts the output voltage of battery 142 to prevent abnormal shutdown due to low temperature.

[0408] Touch sensor 180K, also known as a "touch device," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touchscreen." Touch sensor 180K detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of electronic device 100, in a different position than display screen 194.

[0409] The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire vibration signals from the vibrating bone segments of the human vocal cords. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure signals. In some embodiments, the bone conduction sensor 180M can also be incorporated into headphones to form bone conduction headphones. The audio module 170 can parse the voice signals from the vibrating bone segments of the vocal cords acquired by the bone conduction sensor 180M to realize voice functionality. The application processor can parse heart rate information from the blood pressure signals acquired by the bone conduction sensor 180M to realize heart rate detection functionality.

[0410] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. Electronic device 100 can receive button input and generate key signal inputs related to user settings and function control of electronic device 100.

[0411] Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or for touch vibration feedback. For example, different vibration feedback effects can correspond to touch operations performed on different applications (such as taking photos, playing audio, etc.). Motor 191 can also correspond to different vibration feedback effects for touch operations performed on different areas of the display screen 194. Different application scenarios (such as time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.

[0412] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.

[0413] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to make contact with and separate from the electronic device 100. The electronic device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 195 simultaneously. The multiple cards can be of the same or different types. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as calls and data communication. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0414] In the embodiments of this application, the structure of the electronic device 200 can be referred to the above description of the structure of the electronic device 100, and will not be repeated here.

[0415] The software system of electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This embodiment of the invention uses the layered architecture Android system as an example to exemplify the software structure of electronic device 100.

[0416] Figure 12 This is a software structure block diagram of the electronic device 100 according to an embodiment of the present invention.

[0417] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.

[0418] The application layer can include a series of application packages.

[0419] like Figure 12 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.

[0420] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0421] like Figure 12 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.

[0422] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.

[0423] Content providers store and retrieve data, making that data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.

[0424] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.

[0425] The phone manager is used to provide communication functions for electronic device 100. For example, it manages call status (including connection and disconnection).

[0426] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.

[0427] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.

[0428] The Android Runtime consists of core libraries and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.

[0429] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.

[0430] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0431] The system library can include multiple functional modules. For example: surface manager, 3D graphics processing library (e.g., OpenGL ES), media processing engine, display processing engine, etc.

[0432] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.

[0433] The media processing engine supports playback and recording of various common audio and video formats, as well as still image files. The media library supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG. The color gamut conversion matrix is ​​stored within the media processing engine.

[0434] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0435] The display processing engine is a 2D graphics engine. 3DLUTs are stored within the display processing engine.

[0436] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.

[0437] In the embodiments of this application, the software structure framework of electronic device 200 can refer to the software structure framework of electronic device 100, and will not be described in detail here.

[0438] The various embodiments of this application can be combined arbitrarily to achieve different technical effects.

[0439] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).

[0440] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

[0441] In summary, the above description is merely an embodiment of the technical solution of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made according to the disclosure of the present invention should be included within the scope of protection of the present invention.

Claims

1. A display method, characterized in that, The method is applied to a communication system, the communication system comprising: a first electronic device and a second electronic device, wherein the first electronic device displays an image using a screen based on a first display technology, and the second electronic device displays an image using a screen based on a second display technology, wherein the second display technology is different from the first display technology, and the method comprises: The first electronic device displays a first image using a first color gamut according to a first mapping table. The first mapping table includes a mapping relationship between the first color gamut and the actual color gamut of the first electronic device. The first mapping relationship is obtained based on the chromaticity coordinates of the perceived white point of the first electronic device. The perceived white point is a white light point emitted by the screen of the first electronic device that has the same visual effect as a standard light source. The first electronic device sends a screen projection command to the second electronic device, and the command includes the first color gamut; The second electronic device responds to the screen projection command and displays a second screen using the first color gamut according to a second mapping table. The second mapping table includes a mapping relationship between the first color gamut and the actual color gamut of the second electronic device. The second screen contains the same or related content as the first screen, and the second screen has the same visual effect as the first screen.

2. The method according to claim 1, characterized in that, The first mapping relationship is obtained based on the chromaticity coordinates of the perceived white point of the first electronic device, and includes: The first mapping table is obtained based on the first mapping relationship and the second mapping relationship. The first mapping relationship includes the mapping relationship between the first color gamut and the absolute color space, and the second mapping relationship includes the mapping relationship between the actual color gamut and the absolute color space of the first electronic device. The second mapping relationship is obtained based on the chromaticity coordinates of the perceived white point of the first electronic device.

3. The method according to claim 1, characterized in that, The method further includes: The first electronic device sends the chromaticity coordinates of the three primary colors and the chromaticity coordinates of the perceived white point to the second electronic device; The second electronic device determines the second mapping table based on the chromaticity coordinates of the three primary colors and the chromaticity coordinates of the perceived white point.

4. The method according to claim 1, characterized in that, The method further includes: The first electronic device sends the first mapping relationship to the second electronic device; The second electronic device determines the second mapping table based on the first mapping relationship.

5. The method according to any one of claims 1-4, characterized in that, Before the first electronic device sends a screen projection command to the second electronic device, the method further includes: the second electronic device displays a third screen using a second color gamut, wherein the first color gamut and the second color gamut are not both standard color gamuts; After the first electronic device sends a screen projection command to the second electronic device, the method further includes: the first electronic device continuously uses the first color gamut to display the screen according to the first mapping table.

6. The method according to any one of claims 1-4, characterized in that, Before the first electronic device sends a screen projection command to the second electronic device, the method further includes: the second electronic device displays a third screen using a second color gamut, wherein neither the first color gamut nor the second color gamut is a standard color gamut; The step of displaying the second screen using the first color gamut according to the second mapping table includes: the second electronic device adjusting the color gamut used by the second electronic device to the first color gamut according to the first user operation, and displaying the second screen using the first color gamut according to the second mapping table; After the first electronic device sends a screen mirroring command to the second electronic device, the method further includes: The second electronic device adjusts the color gamut used by the second electronic device to the standard color gamut according to the operation of the second user, and sends a first message to the first electronic device; The first electronic device responds to the first message by adjusting the color gamut used by the first electronic device to the standard color gamut, and continues to display the image using the standard color gamut; The second electronic device uses the standard color gamut to display the projected image; the second user operation does not occur simultaneously with the first user operation.

7. The method according to any one of claims 1-4, characterized in that, Before the first electronic device sends a screen projection command to the second electronic device, the method further includes: the second electronic device displays a third screen using a second color gamut, wherein the first color gamut is a standard color gamut, and the second color gamut is not the standard color gamut; After the first electronic device sends a screen projection command to the second electronic device, the method further includes: the first electronic device continuously uses the first color gamut to display the screen according to the first mapping table.

8. The method according to any one of claims 1-4, characterized in that, Before the first electronic device sends a screen projection command to the second electronic device, the method further includes: the second electronic device displays a third screen using a second color gamut, wherein the first color gamut is not a standard color gamut, and the second color gamut is the standard color gamut; The step of displaying the second screen using the first color gamut according to the second mapping table includes: the second electronic device adjusting the color gamut used by the second electronic device to the first color gamut according to the first user operation, and displaying the second screen using the first color gamut according to the second mapping table; After the first electronic device sends a screen mirroring command to the second electronic device, the method further includes: The second electronic device sends a first message to the first electronic device based on the operation of the second user; The first electronic device responds to the first message by adjusting the color gamut used by the first electronic device to the standard color gamut, and continues to display the image using the standard color gamut; The second electronic device displays the image using the second color gamut; the second user operation does not occur simultaneously with the first user operation.

9. A display method, characterized in that, The method is applied to a first electronic device, the first electronic device using a screen displaying an image based on a first display technology, the method comprising: The first electronic device displays a first image using a first color gamut according to a first mapping table. The first mapping table includes a mapping relationship between the first color gamut and the actual color gamut of the first electronic device. The first mapping relationship is obtained based on the chromaticity coordinates of the perceived white point of the first electronic device. The perceived white point is a white light point emitted by the screen of the first electronic device that has the same visual effect as a standard light source. The first electronic device sends a screen mirroring command to the second electronic device, and the second electronic device displays the image using a screen based on a second display technology, which is different from the first display technology. The instruction includes the first color gamut, and the screen projection instruction is used to trigger the second electronic device to display a second screen using the first color gamut according to the second mapping table. The second mapping table includes: the mapping relationship between the first color gamut and the actual color gamut of the second electronic device. The second screen contains the same or related content as the first screen, and the second screen has the same visual effect as the first screen.

10. The method according to claim 9, characterized in that, The first mapping relationship is obtained based on the chromaticity coordinates of the perceived white point of the first electronic device, and includes: The first mapping table is obtained based on the first mapping relationship and the second mapping relationship. The first mapping relationship includes the mapping relationship between the first color gamut and the absolute color space, and the second mapping relationship includes the mapping relationship between the actual color gamut and the absolute color space of the first electronic device. The second mapping relationship is obtained based on the chromaticity coordinates of the perceived white point of the first electronic device.

11. The method according to claim 9, characterized in that, The method further includes: The first electronic device sends the chromaticity coordinates of the three primary colors and the chromaticity coordinates of the perceived white point to the second electronic device. The second mapping table is determined by the second electronic device based on the chromaticity coordinates of the three primary colors and the chromaticity coordinates of the perceived white point.

12. The method according to claim 9, characterized in that, The method further includes: The first electronic device sends the first mapping relationship to the second electronic device, and the second mapping table is determined by the second electronic device based on the first mapping relationship.

13. The method according to any one of claims 9-12, characterized in that, Before the first electronic device sends a screen mirroring command to the second electronic device, the second electronic device displays the third screen using the second color gamut. After the first electronic device sends a screen projection command to the second electronic device, the method further includes: the first electronic device continuously uses the first color gamut to display the screen according to the first mapping table.

14. The method according to any one of claims 9-12, characterized in that, Before the first electronic device sends a screen mirroring command to the second electronic device, the second electronic device displays a third screen using a second color gamut. After the first electronic device sends the screen mirroring command to the second electronic device, the method further includes: The first electronic device receives a first message sent by the second electronic device, adjusts the color gamut used by the first electronic device to the standard color gamut, and continues to display the screen using the standard color gamut.

15. The method according to claim 10, characterized in that, The method further includes: The first electronic device acquires a third mapping table, which is obtained based on the first mapping relationship and the second mapping relationship; The first electronic device acquires the RGB value ratio between the standard white point and the perceived white point when using the first color gamut; The first electronic device obtains the second RGB value corresponding to the first RGB value after mapping according to the third mapping table. The first RGB value refers to the RGB value of any color supported in the first color gamut. The first electronic device determines the third RGB value based on the RGB value ratio and the second RGB value; The first electronic device calculates a first color difference between the second RGB value and the third RGB value; If the first color difference is greater than the color difference between the standard white point and the perceived white point, then the RGB value after mapping the first RGB value in the first mapping table is the third RGB value. If the first color difference is less than or equal to the color difference between the standard white point and the perceived white point, then the RGB value after mapping the first RGB value in the first mapping table is still the second RGB value.

16. A display method, characterized in that, The method is applied to a second electronic device, which uses a screen display based on a second display technology to display an image. The method includes: The second electronic device receives a screen projection command sent by the first electronic device. The first electronic device uses a screen display based on a first display technology. The second display technology is different from the first display technology. The command includes a first color gamut, which is the color gamut used by the first electronic device to project and display the first image. The second electronic device responds to the screen projection command and displays the second image using the first color gamut according to the second mapping table. The second mapping table includes: the mapping relationship between the first color gamut and the actual color gamut of the second electronic device, the second screen has the same visual effect as the first screen, and the first screen and the second screen contain the same or related content.

17. The method according to claim 16, characterized in that, The method further includes: The second electronic device receives the chromaticity coordinates of the three primary colors in the first color gamut sent by the first electronic device, as well as the chromaticity coordinates of the perceived white point when the first electronic device uses the first color gamut. The perceived white point is the white light point emitted by the screen of the first electronic device with the same visual effect as a standard light source. The second electronic device determines the second mapping table based on the chromaticity coordinates of the three primary colors and the chromaticity coordinates of the perceived white point.

18. The method according to claim 16, characterized in that, The method further includes: The second electronic device receives the chromaticity coordinates of the three primary colors sent by the first electronic device and the chromaticity coordinates of the perceived white point when the first electronic device uses the first color gamut. The perceived white point is the white light point emitted by the screen of the first electronic device with the same visual effect as a standard light source. The second electronic device determines the second mapping table based on the chromaticity coordinates of the three primary colors and the chromaticity coordinates of the perceived white point.

19. The method according to claim 16, characterized in that, Before the second electronic device receives the screen projection command sent by the first electronic device, the method further includes: the second electronic device displaying a third screen using a second color gamut.

20. The method according to claim 16, characterized in that, Before the second electronic device receives the screen projection instruction sent by the first electronic device, the method further includes: the second electronic device displays the third screen using a second color gamut, wherein neither the color gamut used by the first electronic device nor the second color gamut is a standard color gamut; The step of displaying the second screen using the first color gamut according to the second mapping table includes: the second electronic device adjusting the color gamut used by the second electronic device to the first color gamut according to the first user operation, and displaying the second screen using the first color gamut according to the second mapping table; After the second electronic device receives the screen projection command sent by the first electronic device, the method further includes: The second electronic device adjusts the color gamut used by the second electronic device to the standard color gamut according to the operation of the second user, and sends a first message to the first electronic device. The first message instructs the first electronic device to adjust the color gamut used to the standard color gamut and continue to use the standard color gamut to display the screen. The second electronic device displays a second image in the projection area based on the second display technology, specifically including: The second electronic device uses the standard color gamut to display the projected image; the second user operation does not occur simultaneously with the first user operation.

21. The method according to claim 16, characterized in that, Before the second electronic device receives the screen projection command sent by the first electronic device, the method further includes: the second electronic device displays the third screen using a second color gamut, wherein the color gamut used by the first electronic device is not a standard color gamut, and the second color gamut is the standard color gamut; The step of displaying the second screen using the first color gamut according to the second mapping table includes: the second electronic device adjusting the color gamut used by the second electronic device to the first color gamut according to the first user operation, and displaying the second screen using the first color gamut according to the second mapping table; After the second electronic device receives the screen projection command sent by the first electronic device, the method further includes: The second electronic device sends a first message to the first electronic device based on the operation of the second user; The first message instructs the first electronic device to adjust the color gamut it uses to the standard color gamut and to continue using the standard color gamut to display the image; The second electronic device displays the image using the second color gamut; the second user operation does not occur simultaneously with the first user operation.

22. An electronic device, characterized in that, The electronic device includes one or more memories and one or more processors; the memories are coupled to the one or more processors, the memories are used to store computer program code, the computer program code including computer instructions, and the one or more processors call the computer instructions to cause the electronic device to perform the method as claimed in any one of claims 9-15 or the method as claimed in any one of claims 16-21.

23. A chip, said chip being used in an electronic device, characterized in that, The chip includes one or more processors, the processors being configured to invoke computer instructions to cause the electronic device to perform the method as described in any one of claims 9-15 or the method as described in any one of claims 16-21.