Display method and device, storage medium and electronic equipment

By determining the correspondence between the original color gamut and the target color gamut in the display device, and using color compensation values and candidate mapping points for color gamut mapping, the color deviation problem of high color gamut images displayed in low color gamut devices is solved, achieving more accurate color display and reducing image detail loss.

CN120388545APending Publication Date: 2025-07-29BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410124944.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-29
Publication Date
2025-07-29

AI Technical Summary

Technical Problem

Due to the different color gamuts of different display devices, high color gamut images can lead to color deviations and image detail loss when displayed in low color gamut devices.

Method used

By determining the original color value of each pixel point in the image to be processed in the original color gamut, and determining the target color value under the target color gamut based on the preset color gamut correspondence, the color compensation value and candidate mapping points are used for color gamut mapping, ensuring that the mapped color is closer to the original color.

Benefits of technology

It reduces the color deviation of image display, reduces image detail loss, avoids blur or halo, and improves the accuracy of color gamut mapping.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120388545A_ABST
    Figure CN120388545A_ABST
Patent Text Reader

Abstract

The invention relates to a display method and device, a storage medium and electronic equipment. The method comprises the steps of determining an original color value of each pixel point in a to-be-processed image under an original color gamut; based on the original color value of each pixel point and a preset color gamut corresponding relation, determining a target color value of each pixel point in the to-be-processed image under a target color gamut, the preset color gamut corresponding relation being used for representing a color value corresponding relation between an original color node in the original color gamut and a target node in the target color gamut; and displaying the to-be-processed image according to the target color value of each pixel point in the to-be-processed image. The to-be-processed image is mapped to the target color gamut from the original color gamut through the preset color gamut corresponding relation to be displayed, so that the color of the mapped image is closer to the color of the original image, the color deviation of image display is reduced, and the loss of image details is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of display technologies, and particularly to a display method, apparatus, storage medium, and electronic device. Background Art

[0002] With the development of color science, the original color gamut of images is becoming wider and wider, and display devices are also showing a diversified trend. Since different display devices use different color gamuts, the same original image or video will show different effects on different display devices. For example, when a high-color-gamut image is displayed on a low-color-gamut device, the colors of the image display will deviate. Summary of the Invention

[0003] To overcome the problems in the related art, the present disclosure provides a display method, apparatus, storage medium, and electronic device.

[0004] According to a first aspect of an embodiment of the present disclosure, a display method is provided, and the display method includes:

[0005] Determine the original color values of each pixel point in the image to be processed in the original color gamut;

[0006] Based on the original color values of the pixel points and a preset color gamut correspondence, determine the target color values of each pixel point in the image to be processed in the target color gamut, where the preset color gamut correspondence is used to represent the color value correspondence between the original color nodes in the original color gamut and the target nodes in the target color gamut;

[0007] Display the image to be processed according to the target color values of each pixel point in the image to be processed.

[0008] Optionally, the color value of the first target node in the preset color gamut correspondence is determined based on the color compensation value of the first original node corresponding to the first target node and the candidate mapping point of the first original node, the candidate mapping point of the first original node is determined based on the color gamut boundary of the target color gamut and the first original node, the color compensation value of the first original node is determined by the color difference between the candidate mapping point of the second original node and the target mapping point, the target mapping point is the mapping point with the smallest display difference from the second original node among the multiple mapping points corresponding to the candidate mapping point of the second original node, and the first original node and the second original node are the same or related original nodes outside the color gamut boundary.

[0009] Optionally, the display method further includes:

[0010] Respectively determine the coordinates of the target color gamut and the original color gamut in the first color space, and determine the color gamut boundary of the target color gamut;

[0011] Determine the candidate mapping point of the first original node according to the gamut boundary of the target gamut and the first original node, and determine the first mapping point according to the candidate mapping point of the first original node and the color compensation value;

[0012] Determine a second mapping point in the target gamut that has the same coordinates as the third original node, where the third original node is within the gamut boundary of the target gamut;

[0013] Determine the color value of the first target node in the preset gamut correspondence according to the color value of the first mapping point, and determine the color value of the second target node corresponding to the third original node in the preset gamut correspondence according to the color value of the second mapping point.

[0014] Optionally, the first color space is the LCH color space, and the determining the candidate mapping point of the first original node according to the gamut boundary of the target gamut and the first original node includes:

[0015] Determine the target H value corresponding to the first original node;

[0016] Determine a new gamut boundary according to the gamut boundary and the target H value, and determine the candidate mapping point of the first original node according to the new gamut boundary and the first original node.

[0017] Optionally, the determining the new gamut boundary according to the gamut boundary and the target H value, and determining the candidate mapping point of the first original node according to the new gamut boundary and the first original node includes:

[0018] Determine the new gamut boundary according to the nodes in the boundary nodes corresponding to the gamut boundary whose H value is equal to the target H value;

[0019] Use the node on the new gamut boundary that is closest to the first original node as the candidate mapping point of the first original node.

[0020] Optionally, the determining the new gamut boundary according to the gamut boundary and the target H value, and determining the candidate mapping point of the first original node according to the new gamut boundary and the first original node includes:

[0021] Determine the new gamut boundary according to the nodes in the boundary nodes corresponding to the gamut boundary whose H value is within the preset range corresponding to the target H value;

[0022] Determine a fourth original node according to the preset range corresponding to the target H value and the first original node, where the H value of the fourth original node is within the preset range, and the fourth original node and the first original node are nodes with the same L value and C value;

[0023] Use the node on the new gamut boundary that is closest to the fourth original node as the candidate mapping point corresponding to the first original node.

[0024] Optionally, the determining the first mapping point according to the candidate mapping point of the first original node and the color compensation value includes:

[0025] Determine the mapping coordinates of the candidate mapping point of the first original node in the uniform color space;

[0026] Add the chromaticity coordinate value in the mapping coordinates of the candidate mapping point of the first original node to the color compensation value to obtain new mapping coordinates, and determine the mapping point corresponding to the new mapping coordinates as the first mapping point.

[0027] Optionally, the display method further includes:

[0028] Determine the chromaticity value of the candidate mapping point of the second original node in the uniform color space;

[0029] Determine multiple mapping points corresponding to the candidate mapping point of the second original node according to the chromaticity value of the candidate mapping point of the second original node;

[0030] Determine the target mapping point with the smallest display difference from the second original node among the multiple mapping points;

[0031] Determine the color compensation value of the first original node according to the chromaticity value of the target mapping point and the chromaticity value of the candidate mapping point.

[0032] Optionally, the determining multiple mapping points corresponding to the candidate mapping point of the second original node according to the chromaticity value of the candidate mapping point of the second original node includes:

[0033] Determine multiple mapping points corresponding to the candidate mapping point of the second original node within a preset chromaticity range corresponding to the chromaticity value of the candidate mapping point of the second original node.

[0034] Optionally, the determining the target mapping point with the smallest display difference from the second original node among the multiple mapping points includes:

[0035] Display the colors corresponding to the first preset number of mapping points through a first device, and display the colors corresponding to the second original nodes through a second device, where the display color gamut of the first device is the target color gamut, and the display color gamut of the second device is the original color gamut;

[0036] Receive a target comparison result, where the target comparison result includes a target color with the smallest display difference among the colors displayed by the first device compared to those displayed by the second device;

[0037] Determine the mapping point corresponding to the target color as the target mapping point.

[0038] Optionally, the first original node is the same as the second original node. The determining the color compensation value of the first original node according to the chromaticity value of the target mapping point and the chromaticity value of the candidate mapping point includes:

[0039] Determine a chromaticity difference according to the chromaticity value of the target mapping point and the chromaticity value of the candidate mapping point, and use the chromaticity difference as the color compensation value of the first original node.

[0040] Optionally, the first original node is related to the second original node. The display method further includes:

[0041] Group the original nodes outside the color gamut boundary to obtain multiple sets of original node sets, where the first original node and the second original node are the original nodes of a target original node set among the multiple sets of original node sets;

[0042] Determine a preset number of second original nodes in the target original node set;

[0043] The determining the color compensation value of the first original node according to the chromaticity value of the target mapping point and the chromaticity value of the candidate mapping point includes:

[0044] Determine the chromaticity differences between the candidate mapping points corresponding to each second original node in the preset number of second original nodes and the target mapping point, to obtain the preset number of chromaticity differences;

[0045] Use the average value of the preset number of chromaticity differences as the color compensation value of each original node in the target original node set.

[0046] Optionally, the grouping the original nodes outside the color gamut boundary to obtain multiple sets of original node sets includes:

[0047] Divide according to the H value range in the LCH color space to obtain multiple H value intervals;

[0048] Determine the coordinates of the original nodes outside the color gamut boundary in the LCH color space, and divide the original nodes with H values belonging to the same H value interval among the original nodes outside the color gamut boundary into the same set of original nodes, so as to obtain the multiple sets of original nodes.

[0049] According to a second aspect of the embodiments of the present disclosure, there is provided a display device, including:

[0050] A first determination module, configured to determine the original color values of each pixel point in the original color gamut of the image to be processed;

[0051] A second determination module, configured to determine the target color values of each pixel point in the target color gamut of the image to be processed based on the original color values of each pixel point and a preset color gamut correspondence relationship, where the preset color gamut correspondence relationship is used to represent the color value correspondence relationship between the original color nodes in the original color gamut and the target nodes in the target color gamut;

[0052] A display module, configured to display the image to be processed according to the target color values of each pixel point in the image to be processed.

[0053] According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, including:

[0054] A processor;

[0055] A memory for storing instructions executable by the processor;

[0056] Wherein, the processor is configured to:

[0057] Determine the original color values of each pixel point in the original color gamut of the image to be processed;

[0058] Based on the original color values of each pixel point and a preset color gamut correspondence relationship, determine the target color values of each pixel point in the target color gamut of the image to be processed, where the preset color gamut correspondence relationship is used to represent the color value correspondence relationship between the original color nodes in the original color gamut and the target nodes in the target color gamut;

[0059] Display the image to be processed according to the target color values of each pixel point in the image to be processed.

[0060] According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of the method described in any one of the first aspects above are implemented.

[0061] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:

[0062] First, determine the original color values of each pixel point in the image to be processed in the original color gamut. Then, based on the original color values of each pixel point and the preset color gamut correspondence, determine the target color values of each pixel point in the image to be processed in the target color gamut, and display the image to be processed according to the target color values of each pixel point in the image to be processed. The preset color gamut correspondence is used to represent the color value correspondence between the original color nodes in the original color gamut and the target nodes in the target color gamut. By using the above method, the image to be processed is mapped from the original color gamut to the target color gamut for display through the preset color gamut correspondence, so that the color of the mapped image is closer to the original image color, thereby reducing the color deviation of the image display and reducing the loss of image details.

[0063] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and do not limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present disclosure and, together with the specification, are used to explain the principles of the present disclosure.

[0065] Figure 1 is a flowchart showing a display method according to an exemplary embodiment;

[0066] Figure 2 is a schematic diagram showing color conversion of nodes within the color gamut boundary according to an exemplary embodiment;

[0067] Figure 3 is a schematic diagram showing determination of candidate mapping points for nodes outside the color gamut boundary according to an exemplary embodiment;

[0068] Figure 4 is a flowchart showing construction of a color gamut correspondence according to an exemplary embodiment;

[0069] Figure 5 is a block diagram showing a display device according to an exemplary embodiment;

[0070] Figure 6 is a block diagram showing an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0071] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0072] It should be noted that in the present disclosure, terms such as "S101" and "S102" in the specification, claims, and drawings are used to distinguish steps, and the method steps do not have to be understood as being executed in a specific order or sequence.

[0073] The following describes in detail the specific embodiments of the present disclosure with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only for explaining and illustrating the present disclosure, and are not used to limit the present disclosure.

[0074] It should be noted that all actions of obtaining signals, information, or data in the present disclosure are carried out on the premise of complying with the corresponding data protection regulations and policies of the country where the location is located, and with the authorization given by the owner of the corresponding device.

[0075] With the development of color science, more and more spectacular pictures have become a pursuit in color display. The original color gamut of pictures is getting wider and wider. For example, the original color gamut of HDR (High-Dynamic Range) video is BT2020, but the color gamut of terminal devices is often only 100% P3 or a smaller color gamut, which will cause color deviation in image display. In order to correctly display the corresponding colors of high-color gamut images on low-color gamut devices, color gamut mapping is required.

[0076] In view of this, the present disclosure provides a display method, device, storage medium, and electronic device to solve the above technical problems.

[0077] It should be noted that the display method provided by the present disclosure can be applied to a terminal device to perform color gamut mapping on an image with a color gamut higher than the display color gamut of the terminal device, or a low-color gamut terminal device performs color gamut mapping on an image sent by a high-color gamut device, so that the terminal device can correctly display the corresponding colors.

[0078] Figure 1 is a flowchart of a display method shown according to an exemplary embodiment. Referring to Figure 1 , the display method includes:

[0079] S101: Determine the original color value of each pixel point in the original color gamut of the image to be processed.

[0080] S102: Based on the original color values of each pixel point and the preset color gamut correspondence, determine the target color value of each pixel point in the target color gamut. The preset color gamut correspondence is used to represent the color value correspondence between the original color nodes in the original color gamut and the target nodes in the target color gamut.

[0081] S103: Display the image to be processed according to the target color values of the pixel points in the image to be processed.

[0082] It should be understood that the image to be processed can be image data such as pictures, picture frames of videos, etc., and the present disclosure makes no limitation thereto. The original color gamut is wider than the target color gamut. For example, the original color gamut is BT2020 and the target color gamut is P3 color gamut. The present disclosure makes no limitation thereto.

[0083] By using the above method, the image to be processed is mapped from the original color gamut to the target color gamut through the preset color gamut correspondence relationship for display, so that the color of the mapped image is closer to the original image color, thereby reducing the color deviation of the image display and reducing the loss of image details.

[0084] It is worth noting that if the colors in the high color gamut are first converted to the equal hue plane, and for the colors in the high color gamut that are outside the low color gamut boundary, they are mapped to the color on the low color gamut boundary with the smallest color difference from this color, it may cause the pixel points of different colors in the original image to be mapped to the same color on the low color gamut boundary, thereby losing the details of the source image, and thus blurring or halation phenomena appear in the mapped image. Or according to the chroma of the color to be mapped in the original image, its brightness is mapped to the brightness range of the low color gamut device in the way of an S-shaped function look-up table, and then it is mapped to the low color gamut through piecewise compression on the equal hue plane, which will also cause a certain chromaticity shift.

[0085] Therefore, in a possible way, the color value of the first target node in the preset color gamut correspondence relationship is determined based on the color compensation value of the first original node corresponding to the first target node and the candidate mapping point of the first original node. The candidate mapping point of the first original node is determined based on the color gamut boundary of the target color gamut and the first original node. The color compensation value of the first original node is determined by the color difference between the candidate mapping point of the second original node and the target mapping point. The target mapping point is the mapping point with the smallest display difference from the second original node among the multiple mapping points corresponding to the candidate mapping point of the second original node. The first original node and the second original node are the same or related original nodes outside the color gamut boundary.

[0086] Exemplarily, in the preset color gamut correspondence relationship, for the first original node outside the color gamut boundary of the target color gamut, the color value of its corresponding target node is determined based on the candidate mapping point and the color compensation value, and the color compensation value is determined by the color difference between the candidate mapping point and the target mapping point corresponding to the second original node. Since the second original node has the smallest display difference from the target mapping point, and the second original node is the same as or related to the first original node, the compensated color can be closer to the original color. In this way, even if different original nodes are mapped to the same candidate mapping point, there will be a color difference due to the color compensation value and be close to the original color. Furthermore, the pixel points of different colors in the image will not all be mapped to the same color on the low color gamut boundary, and the color of the mapped image is closer to the color of the original image, reducing the loss of image details and avoiding blurring or halation phenomena in the mapped image. And there is no need to compress the color gamut, thereby avoiding chromaticity shift.

[0087] In a possible manner, the display method further includes: respectively determining the coordinates of the target color gamut and the original color gamut in the first color space, and determining the color gamut boundary of the target color gamut; determining the candidate mapping point of the first original node according to the color gamut boundary of the target color gamut and the first original node, and determining the first mapping point according to the candidate mapping point of the first original node and the color compensation value; determining a second mapping point in the target color gamut with the same coordinates as the third original node, where the third original node is within the color gamut boundary of the target color gamut; determining the color value of the first mapping point as the color value of the first target node in the preset color gamut correspondence relationship, and determining the color value of the second mapping point as the color value of the second target node corresponding to the third original node in the preset color gamut correspondence relationship.

[0088] Exemplarily, the target color gamut and the original color gamut can be represented by color spaces such as RGB, and the present disclosure does not limit this. Taking the first color space as the LCH color space as an example, L is the luminance, C is the color saturation, and H is the chromaticity (Hue) also called the hue angle. The target color gamut and the original color gamut are respectively converted to the LCH color space, so that the color gamut boundary of the target color gamut can be determined, and it is convenient to compare the positional relationship between the original node in the original color gamut and the color gamut boundary of the target color gamut. The LCH color space is a color space with equal hue planes, and other color spaces can also be used, which can be specifically determined according to requirements, and the present disclosure does not limit this.

[0089] Exemplarily, for the original node within the color gamut boundary of the target color gamut, color conversion can be directly performed. Taking the conversion from the BT2020 color gamut to the P3 color gamut as an example, it can be converted from BT2020RGB to the XYZ color space and then back to P3RGB in the manner as Figure 2 shown, and the present disclosure does not limit this. For the original node outside the color gamut boundary of the target color gamut, color compensation is required to make it closer to the original color.

[0090] In a possible way, the first color space is the LCH color space. Determining candidate mapping points of the first original node based on the gamut boundary of the target gamut and the first original node may include: determining the target H value corresponding to the first original node; determining a new gamut boundary based on the gamut boundary and the target H value, and determining the candidate mapping points of the first original node based on the new gamut boundary and the first original node.

[0091] Exemplarily, the H value represents chromaticity and has a great influence on colors. Therefore, re-determining the gamut boundary by the H value can not only reduce the computational amount of determining candidate mapping points, but also reduce the color difference between the candidate mapping points and the original node, thereby reducing the color deviation of image display and reducing the loss of image details.

[0092] In a possible way, determining a new gamut boundary based on the gamut boundary and the target H value, and determining the candidate mapping points of the first original node based on the new gamut boundary and the first original node may include: determining the new gamut boundary according to the nodes among the boundary nodes corresponding to the gamut boundary whose H values are equal to the target H value; taking the node on the new gamut boundary that is closest to the first original node as the candidate mapping point of the first original node.

[0093] Exemplarily, determining the nodes among the boundary nodes corresponding to the gamut boundary whose H values are equal to the target H value as the new gamut boundary, so that the three-dimensional gamut boundary becomes a two-dimensional gamut boundary, and then finding the node on the new gamut boundary that is closest to the first original node as the candidate mapping point of the first original node by the iterative method.

[0094] In a possible way, determining a new gamut boundary based on the gamut boundary and the target H value, and determining the candidate mapping points of the first original node based on the new gamut boundary and the first original node may include: determining the new gamut boundary according to the nodes among the boundary nodes corresponding to the gamut boundary whose H values are within the preset range corresponding to the target H value; determining a fourth original node according to the preset range corresponding to the target H value and the first original node, the H value of the fourth original node is within the preset range, and the fourth original node and the first original node are nodes with the same L value and C value; taking the node on the new gamut boundary that is closest to the fourth original node as the candidate mapping point corresponding to the first original node.

[0095] Exemplarily, it is also possible to keep the value of the H value within a certain range when converting a high gamut to the LCH color space, so as to have a slight tolerance for chromaticity changes and facilitate finding a color with a smaller color difference from the original node. Refer to Figure 3, if node A is outside the low color gamut boundary, determine node A' and the new color gamut boundary according to the preset range x of H. The value of x can be determined according to requirements, such as 0.1, 0.2, 0.3, etc., and the present disclosure does not limit this. Among them, the coordinates of node A in the LCH color space are represented by L1C1H1, and the coordinates of node A' in the LCH color space are represented by L1C1H1', indicating that the L value and C value of node A and node A' are the same, and the H value is the node within the preset range. Then, determine the node closest to node A' on the new color gamut boundary as the candidate mapping point corresponding to the first original node.

[0096] In a possible way, the display method further includes: determining the chromaticity value of the candidate mapping point of the second original node in the uniform color space; determining multiple mapping points corresponding to the candidate mapping point of the second original node according to the chromaticity value of the candidate mapping point of the second original node; determining the target mapping point with the smallest display difference from the second original node among the multiple mapping points; and determining the color compensation value of the first original node according to the chromaticity value of the target mapping point and the chromaticity value of the candidate mapping point.

[0097] Exemplarily, the uniform color space can be a color space such as the LUV color space or the LAB color space, which can be specifically determined according to requirements, and the present disclosure does not limit this. Among them, UV and AB represent chromaticity. Determining multiple mapping points according to the chromaticity value of the candidate mapping point of the second original node in the uniform color space, and determining the target mapping point with the smallest display difference from the second original node among the multiple mapping points, and then determining the color compensation value of the first original node according to the chromaticity value of the target mapping point and the chromaticity value of the candidate mapping point can make the color compensated according to the color compensation value closer to the original color, thereby reducing the color deviation of the image display and reducing the loss of image details.

[0098] In a possible way, determining multiple mapping points corresponding to the candidate mapping point of the second original node according to the chromaticity value of the candidate mapping point of the second original node may include: determining multiple mapping points corresponding to the candidate mapping point of the second original node within the preset chromaticity range corresponding to the chromaticity value of the candidate mapping point of the second original node.

[0099] Exemplarily, taking the uniform color space as the LUV color space as an example, convert the candidate mapping point of the second original node to the LUV color space, change the U value and V value within a certain range, and obtain multiple mapping points after multiple changes. The specific range and number of changes can be determined according to requirements, and the present disclosure does not limit this.

[0100] Among possible ways, determining a target mapping point with the smallest display difference from a second original node among multiple mapping points may include: displaying colors corresponding to a first preset number of mapping points through a first device, and displaying the color corresponding to the second original node through a second device, where the display color gamut of the first device is the target color gamut and the display color gamut of the second device is the original color gamut; receiving a target comparison result, where the target comparison result includes a target color with the smallest display difference from the color displayed by the second device among the colors displayed by the first device; and determining the mapping point corresponding to the target color as the target mapping point.

[0101] It should be understood that the colors of candidate mapping points are not the closest to the original color after being displayed on the target device. Therefore, a mapping point closest to the original color can be selected from multiple mapping points for color compensation. By displaying the colors corresponding to multiple mapping points on a low-color gamut device and displaying the original color on a high-color gamut device, the mapping point corresponding to the color closest to the original color is selected as the target mapping point. Generally, the colors of candidate mapping points are already relatively close to the original color and the variation range is small. Therefore, the colors corresponding to multiple mapping points are also relatively close to the original color. Furthermore, color compensation is performed based on the color corresponding to the closest mapping point, making the mapped color closer to the original color, thereby reducing the color deviation in image display and minimizing the loss of image details.

[0102] It is worth noting that the target comparison result can be obtained based on manual selection to ensure subjective consistency between the mapped color and the original color. Of course, it can also be obtained based on an analysis device with corresponding functions, or can be obtained through a neural network model with corresponding functions. The present disclosure does not limit this as long as the mapping point closest to the original color can be determined. This can reduce the distortion during color gamut conversion from a high-color gamut to a low-color gamut and improve the accuracy of color gamut conversion.

[0103] Among possible ways, when the first original node is the same as the second original node, determining a color compensation value for the first original node according to the chromaticity value of the target mapping point and the chromaticity value of the candidate mapping point may include: determining a chromaticity difference according to the chromaticity value of the target mapping point and the chromaticity value of the candidate mapping point, and using the chromaticity difference as the color compensation value for the first original node.

[0104] Exemplarily, a corresponding color compensation value can be determined for each original node outside the low-color gamut boundary. That is, when the second original node is the same as the first original node, the chromaticity difference between the target mapping point and the candidate mapping point of this original node is determined, and this chromaticity difference is used as the color compensation value of this original node. This can make the accuracy of color gamut mapping higher, thereby reducing the color deviation in image display and minimizing the loss of image details.

[0105] In a possible manner, a first original node is related to a second original node, and the display method further includes: grouping the original nodes outside the gamut boundary to obtain multiple sets of original node sets, where the first original node and the second original node are the original nodes of a target original node set among the multiple sets of original node sets; determining a preset number of second original nodes in the target original node set. Determining the color compensation value of the first original node according to the chromaticity value of the target mapping point and the chromaticity value of the candidate mapping point may include: determining the chromaticity difference between the candidate mapping point corresponding to each second original node in the preset number of second original nodes and the target mapping point to obtain a preset number of chromaticity differences; taking the average value of the preset number of chromaticity differences as the color compensation value of each original node in the target original node set.

[0106] Exemplarily, the original nodes outside the gamut boundary can be grouped, and the first original node and the second original node are nodes in the same original node set. For the same original node set, a preset number of original nodes are randomly selected, the candidate mapping points of each original node are determined respectively, and then the chromaticity difference between each original node and its corresponding candidate mapping point in the preset number of original nodes is calculated. Then, the average value of the preset number of chromaticity differences is taken as the color compensation value of each original node in this group of original nodes. This can reduce the calculation amount and improve the mapping efficiency.

[0107] In a possible manner, grouping the original nodes outside the gamut boundary to obtain multiple sets of original node sets may include: dividing according to the H value range of the LCH color space to obtain multiple H value intervals; determining the coordinates of the original nodes outside the gamut boundary in the LCH color space, and dividing the original nodes outside the gamut boundary whose H values belong to the same H value interval into the same original node set to obtain multiple sets of original node sets.

[0108] Exemplarily, the original gamut can be mapped to the LCH color space and divided based on the range of the H value. The H value represents hue and has a greater impact on color. The H values of the original nodes in the same group are similar and the color difference is smaller. Therefore, the same color compensation value can be used for color compensation. Since the range of the H value is 0 - 360 degrees, grouping is performed according to the H value, and then multiple sets of original node sets are obtained. Among them, it can be an interval of 10 degrees, 20 degrees, or 30 degrees, which can be specifically set according to requirements, and the present disclosure does not limit this.

[0109] In a possible manner, determining the first mapping point according to the candidate mapping point and the color compensation value of the first original node may include: determining the mapping coordinates of the candidate mapping point of the first original node in the uniform color space; adding the chromaticity coordinate value in the mapping coordinates of the candidate mapping point of the first original node to the color compensation value to obtain new mapping coordinates, and determining the mapping point corresponding to the new mapping coordinates as the first mapping point.

[0110] Exemplarily, the uniform color space may be a color space such as the LUV color space, the LAB color space, etc., which can be specifically determined according to requirements, and the present disclosure does not limit this. Among them, UV and AB represent chromaticity. Taking the LUV color space as an example, the mapping coordinates of the candidate mapping point of the first original node A are [L1, U1, V1], and the color compensation value is U2V2. Then the mapping coordinates of the first mapping point are [L1, (U1 + U2), (V1 + V2)], so as to obtain the mapping point after color compensation.

[0111] It should be noted that, for the convenience of the terminal device to perform gamut mapping, the color values in the gamut correspondence are usually converted into the color values in the color space of the gamut of the terminal device. Taking the BT2020 gamut and the P3 gamut as examples, in the gamut correspondence, BT2020RGB corresponds to P3RGB.

[0112] Exemplarily, referring to Figure 4 , taking the construction of the correspondence between BT2020RGB and P3RGB as an example, the gamut is usually stored in the form of a node look-up table (LUT). The node A in the BT2020 gamut is converted to the LCH space, and the positional relationship between the node and the gamut boundary of the P3 gamut in the LCH space is judged. If the node A is within the gamut boundary of the P3 gamut, it is converted through the XYZ color space to obtain the gamut correspondence of the node A.

[0113] Exemplarily, if the node A is outside the gamut boundary of the P3 gamut, the node A is converted to the LUV color space, and then the candidate mapping point B is determined. The compensated mapping point B' is determined according to the candidate mapping point and the color compensation value of the node A. The determination processes of the candidate mapping point and the color compensation value have been described in the above embodiments, and the present disclosure will not repeat them here. Then the mapping point B' is converted to P3RGB, and then the gamut correspondence of the node A. The gamut correspondence can also be stored in the form of a LUT, and the present disclosure does not limit this.

[0114] In this way, when performing gamut conversion on the image to be processed, it is possible to directly find the corresponding color value in the gamut correspondence based on the color value of the pixel point in the image to be processed for conversion, which can not only improve the efficiency of gamut mapping, but also reduce the color deviation of image display and reduce the loss of image details.

[0115] Using the above method, a color gamut correspondence relationship from a high color gamut to a low color gamut is constructed, and there is a small tolerance for changes in the Hue of the nodes. Also, considering the influence of L, C, and H on color changes during the conversion from a high color gamut to a low color gamut, the accuracy of color gamut mapping is ensured. Different colors are classified by Hue, and the mapped colors are fine-tuned in the LUV or LAB color space. The colors before and after mapping for each group after classification are manually screened to determine the color compensation value, which not only reduces the computational amount but also ensures subjective consistency during the color gamut mapping process. Through color compensation, a color conversion that is more in line with the subjective visual effect is obtained, reducing the distortion when the image is color gamut mapped from a high color gamut to a low color gamut, thereby reducing the color deviation of the image display and reducing the loss of image details.

[0116] Based on the same inventive concept, an embodiment of the present disclosure provides a display device. Referring to Figure 5 , the display device 500 includes:

[0117] A first determination module 501, configured to determine the original color values of each pixel point in the to-be-processed image in the original color gamut;

[0118] A second determination module 502, configured to determine the target color values of each pixel point in the to-be-processed image in the target color gamut based on the original color values of the pixel points and a preset color gamut correspondence relationship, where the preset color gamut correspondence relationship is used to represent the color value correspondence relationship between the original color nodes in the original color gamut and the target nodes in the target color gamut;

[0119] A display module 503, configured to display the to-be-processed image according to the target color values of each pixel point in the to-be-processed image.

[0120] Using the above device, the to-be-processed image is mapped from the original color gamut to the target color gamut for display through the preset color gamut correspondence relationship, making the color of the mapped image closer to the original image color, thereby reducing the color deviation of the image display and reducing the loss of image details.

[0121] Optionally, the color value of the first target node in the preset color gamut correspondence relationship is determined based on the color compensation value of the first original node corresponding to the first target node and the candidate mapping point of the first original node. The candidate mapping point of the first original node is determined based on the color gamut boundary of the target color gamut and the first original node. The color compensation value of the first original node is determined by the color difference between the candidate mapping point of the second original node and the target mapping point. The target mapping point is the mapping point with the smallest display difference from the second original node among the multiple mapping points corresponding to the candidate mapping point of the second original node. The first original node and the second original node are the same or related original nodes outside the color gamut boundary.

[0122] Optionally, the display device 500 further includes:

[0123] A third determination module, configured to respectively determine the coordinates of the target color gamut and the original color gamut in the first color space, and determine the color gamut boundary of the target color gamut;

[0124] A fourth determination module, configured to determine a candidate mapping point of the first original node according to the color gamut boundary of the target color gamut and the first original node, and determine a first mapping point according to the candidate mapping point of the first original node and a color compensation value;

[0125] A fifth determination module, configured to determine a second mapping point having the same coordinates as a third original node in the target color gamut, where the third original node is inside the color gamut boundary of the target color gamut;

[0126] A sixth determination module, configured to determine the color value of the first target node in the preset color gamut correspondence according to the color value of the first mapping point, and determine the color value of the second target node corresponding to the third original node in the preset color gamut correspondence according to the color value of the second mapping point.

[0127] Optionally, the first color space is an LCH color space, and the fourth determination module is configured to:

[0128] Determine the target H value corresponding to the first original node;

[0129] Determine a new color gamut boundary according to the color gamut boundary and the target H value, and determine a candidate mapping point of the first original node according to the new color gamut boundary and the first original node.

[0130] Optionally, the fourth determination module is configured to:

[0131] Determine the new color gamut boundary according to the boundary nodes corresponding to the color gamut boundary whose H value is equal to the target H value;

[0132] Use the node on the new color gamut boundary that is closest to the first original node as the candidate mapping point of the first original node.

[0133] Optionally, the fourth determination module is configured to:

[0134] Determine the new color gamut boundary according to the boundary nodes corresponding to the color gamut boundary whose H value is within a preset range corresponding to the target H value;

[0135] Determine a fourth original node according to the preset range corresponding to the target H value and the first original node, where the H value of the fourth original node is within the preset range, and the fourth original node and the first original node are nodes with the same L value and C value;

[0136] Use the node on the new gamut boundary that is closest to the fourth original node as the candidate mapping point corresponding to the first original node.

[0137] Optionally, the fourth determination module is configured to:

[0138] Determine the mapping coordinates of the candidate mapping point of the first original node in the uniform color space;

[0139] Add the chromaticity coordinate value in the mapping coordinates of the candidate mapping point of the first original node to the color compensation value to obtain new mapping coordinates, and determine the mapping point corresponding to the new mapping coordinates as the first mapping point.

[0140] Optionally, the display device 500 further includes:

[0141] A seventh determination module, configured to determine the chromaticity value of the candidate mapping point of the second original node in the uniform color space;

[0142] An eighth determination module, configured to determine multiple mapping points corresponding to the candidate mapping point of the second original node according to the chromaticity value of the candidate mapping point of the second original node;

[0143] A ninth determination module, configured to determine a target mapping point with the smallest display difference from the second original node among the multiple mapping points;

[0144] A tenth determination module, configured to determine the color compensation value of the first original node according to the chromaticity value of the target mapping point and the chromaticity value of the candidate mapping point.

[0145] Optionally, the eighth determination module is configured to:

[0146] Determine multiple mapping points corresponding to the candidate mapping point of the second original node within the preset chromaticity range corresponding to the chromaticity value of the candidate mapping point of the second original node.

[0147] Optionally, the ninth determination module is configured to:

[0148] Display the colors corresponding to the first preset number of mapping points through a first device, and display the color corresponding to the second original node through a second device, where the display gamut of the first device is the target gamut, and the display gamut of the second device is the original gamut;

[0149] Receive a target comparison result, where the target comparison result includes a target color in the colors displayed by the first device with the smallest display difference from the display of the second device;

[0150] Determine the mapping point corresponding to the target color as the target mapping point.

[0151] Optionally, the first original node is the same as the second original node, and the tenth determination module is configured to:

[0152] Determine a chromaticity difference based on the chromaticity value of the target mapping point and the chromaticity value of the candidate mapping point, and use the chromaticity difference as the color compensation value of the first original node.

[0153] Optionally, the first original node is related to the second original node, and the display device 500 further includes:

[0154] A grouping module, configured to group the original nodes outside the gamut boundary to obtain multiple sets of original node sets, where the first original node and the second original node are the original nodes of the target original node set in the multiple sets of original node sets;

[0155] An eleventh determination module, configured to determine a preset number of second original nodes in the target original node set;

[0156] The tenth determination module is configured to:

[0157] Determine the chromaticity difference between the candidate mapping point and the target mapping point corresponding to each second original node in the preset number of second original nodes to obtain the preset number of chromaticity differences;

[0158] Use the average value of the preset number of chromaticity differences as the color compensation value of each original node in the target original node set.

[0159] Optionally, the grouping module is configured to:

[0160] Divide according to the H value range of the LCH color space to obtain multiple H value intervals;

[0161] Determine the coordinates of the original nodes outside the gamut boundary in the LCH color space, and divide the original nodes with H values belonging to the same H value interval among the original nodes outside the gamut boundary into the same original node set to obtain the multiple sets of original node sets.

[0162] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated here.

[0163] Based on the same inventive concept, the present disclosure also provides an electronic device, including:

[0164] A processor;

[0165] A memory for storing instructions executable by the processor;

[0166] Wherein, the processor is configured to:

[0167] Determine the original color values of each pixel point in the to-be-processed image in the original color gamut;

[0168] Based on the original color values of each pixel point and the preset color gamut correspondence relationship, determine the target color values of each pixel point in the to-be-processed image in the target color gamut, and the preset color gamut correspondence relationship is used to represent the color value correspondence relationship between the original color nodes in the original color gamut and the target nodes in the target color gamut;

[0169] Display the to-be-processed image according to the target color values of each pixel point in the to-be-processed image.

[0170] Based on the same inventive concept, the present disclosure also provides a computer-readable storage medium, on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of any one of the above display methods are implemented.

[0171] Figure 6 is a block diagram of an electronic device 600 shown according to an exemplary embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0172] Refer to Figure 6 , the electronic device 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input / output interface 612, a sensor component 614, and a communication component 616.

[0173] The processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, telephone call, data communication, camera operation, and recording operation. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.

[0174] The memory 604 is configured to store various types of data to support the operation of the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phone book data, messages, pictures, videos, and the like. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk.

[0175] The power supply component 606 provides power to the various components of the electronic device 600. The power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 600.

[0176] The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can not only sense the boundaries of the touch or swipe actions but also detect the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the electronic device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.

[0177] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC) that is configured to receive external audio signals when the electronic device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 604 or transmitted via the communication component 616. In some embodiments, the audio component 610 further includes a speaker for outputting audio signals.

[0178] The input / output interface 612 provides an interface between the processing component 602 and a peripheral interface module, which can be a keyboard, a click wheel, buttons, etc. These buttons can include, but are not limited to: a home button, a volume button, a start button, and a lock button.

[0179] The sensor assembly 614 includes one or more sensors for providing an assessment of various aspects of the state of the electronic device 600. For example, the sensor assembly 614 can detect the on / off state of the electronic device 600, the relative positioning of components, such as the display and keypad of the electronic device 600. The sensor assembly 614 can also detect a change in the position of the electronic device 600 or a component of the electronic device 600, the presence or absence of user contact with the electronic device 600, the orientation or acceleration / deceleration of the electronic device 600, and the temperature change of the electronic device 600. The sensor assembly 614 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 614 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0180] The communication component 616 is configured to facilitate communication between the electronic device 600 and other devices in a wired or wireless manner. The electronic device 600 can access a wireless network based on communication standards, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0181] In an exemplary embodiment, the electronic device 600 can be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above method.

[0182] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as the memory 604 including instructions, is also provided. The above instructions can be executed by the processor 620 of the electronic device 600 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0183] In addition to being an independent electronic device, the above-mentioned electronic device can also be a part of an independent electronic device. For example, in one embodiment, the electronic device can be an integrated circuit (IC) or a chip. The integrated circuit can be a single IC or a collection of multiple ICs. The chip can include, but is not limited to, the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or code) to implement the above-mentioned display method. The executable instructions can be stored in the integrated circuit or chip, or obtained from other devices or equipment. For example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instructions can be stored in the memory and, when executed by the processor, implement the above-mentioned display method. Alternatively, the integrated circuit or chip can receive the executable instructions through the interface and transmit them to the processor for execution to implement the above-mentioned display method.

[0184] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program that can be executed by a programmable device, and the computer program has a code portion for executing the above-mentioned display method when executed by the programmable device.

[0185] After considering the specification and practicing the present disclosure, those skilled in the art will readily think of other embodiments of the present disclosure. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.

[0186] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.

Claims

1. A display method, characterized in that, The display method includes: Determining the original color values of each pixel point in the to-be-processed image in the original color gamut; Based on the original color values of each pixel point and a preset color gamut correspondence relationship, determining the target color values of each pixel point in the to-be-processed image in the target color gamut, where the preset color gamut correspondence relationship is used to represent the correspondence relationship of color values between the original color nodes in the original color gamut and the target nodes in the target color gamut; Displaying the to-be-processed image according to the target color values of each pixel point in the to-be-processed image.

2. The display method according to claim 1, characterized in that, The color value of the first target node in the preset color gamut correspondence relationship is determined based on the color compensation value of the first original node corresponding to the first target node and the candidate mapping point of the first original node. The candidate mapping point of the first original node is determined based on the color gamut boundary of the target color gamut and the first original node. The color compensation value of the first original node is determined by the color difference between the candidate mapping point of the second original node and the target mapping point. The target mapping point is the mapping point with the smallest display difference from the second original node among the multiple mapping points corresponding to the candidate mapping point of the second original node. The first original node and the second original node are the same or related original nodes outside the color gamut boundary.

3. The display method according to claim 2, wherein The display method further includes: Respectively determining the coordinates of the target color gamut and the original color gamut in the first color space, and determining the color gamut boundary of the target color gamut; Determining the candidate mapping point of the first original node according to the color gamut boundary of the target color gamut and the first original node, and determining the first mapping point according to the candidate mapping point of the first original node and the color compensation value; Determining a second mapping point in the target color gamut with the same coordinates as the third original node, where the third original node is located inside the color gamut boundary of the target color gamut; Determining the color value of the first mapping point as the color value of the first target node in the preset color gamut correspondence relationship, and determining the color value of the second mapping point as the color value of the second target node corresponding to the third original node in the preset color gamut correspondence relationship.

4. The display method according to claim 3, characterized in that, The first color space is the LCH color space. The determining the candidate mapping point of the first original node according to the color gamut boundary of the target color gamut and the first original node includes: Determining the target H value corresponding to the first original node; Determining a new color gamut boundary according to the color gamut boundary and the target H value, and determining the candidate mapping point of the first original node according to the new color gamut boundary and the first original node.

5. The display method according to claim 4, wherein The determining the new color gamut boundary according to the color gamut boundary and the target H value, and determining the candidate mapping point of the first original node according to the new color gamut boundary and the first original node includes: Determining the new color gamut boundary according to the node in the boundary nodes corresponding to the color gamut boundary whose H value is equal to the target H value; Taking the node on the new color gamut boundary closest to the first original node as the candidate mapping point of the first original node.

6. The display method according to claim 4, wherein Determining a new color gamut boundary according to the color gamut boundary and the target H value, and determining a candidate mapping point of the first original node according to the new color gamut boundary and the first original node, includes: Determining the new color gamut boundary according to nodes among the boundary nodes corresponding to the color gamut boundary whose H values are within a preset range corresponding to the target H value; Determining a fourth original node according to the preset range corresponding to the target H value and the first original node, where the H value of the fourth original node is within the preset range, and the fourth original node and the first original node are nodes with the same L value and C value; Taking the node on the new color gamut boundary closest to the fourth original node as the candidate mapping point corresponding to the first original node.

7. The display method according to claim 3, wherein Determining a first mapping point according to the candidate mapping point of the first original node and the color compensation value, includes: Determining the mapping coordinates of the candidate mapping point of the first original node in the uniform color space; Adding the chromaticity coordinate value in the mapping coordinates of the candidate mapping point of the first original node to the color compensation value to obtain new mapping coordinates, and determining the mapping point corresponding to the new mapping coordinates as the first mapping point.

8. The display method according to any one of claims 2-7, characterized in that The display method further includes: Determining the chromaticity value of the candidate mapping point of the second original node in the uniform color space; Determining multiple mapping points corresponding to the candidate mapping point of the second original node according to the chromaticity value of the candidate mapping point of the second original node; Determining a target mapping point with the smallest display difference from the second original node among the multiple mapping points; Determining the color compensation value of the first original node according to the chromaticity value of the target mapping point and the chromaticity value of the candidate mapping point.

9. The display method according to claim 8, wherein Determining multiple mapping points corresponding to the candidate mapping point of the second original node according to the chromaticity value of the candidate mapping point of the second original node, includes: Determining multiple mapping points corresponding to the candidate mapping point of the second original node within a preset chromaticity range corresponding to the chromaticity value of the candidate mapping point of the second original node.

10. The display method according to claim 9, wherein, Determining a target mapping point with the smallest display difference from the second original node among the multiple mapping points, includes: Displaying the colors corresponding to the first preset number of mapping points through a first device, and displaying the color corresponding to the second original node through a second device, where the display color gamut of the first device is the target color gamut, and the display color gamut of the second device is the original color gamut; Receiving a target comparison result, where the target comparison result includes the target color with the smallest display difference from the color displayed by the second device among the colors displayed by the first device; Determining the mapping point corresponding to the target color as the target mapping point.

11. The display method according to claim 8, wherein The first original node is the same as the second original node. Determining the color compensation value of the first original node according to the chromaticity value of the target mapping point and the chromaticity value of the candidate mapping point, includes: Determining a chromaticity difference according to the chromaticity value of the target mapping point and the chromaticity value of the candidate mapping point, and taking the chromaticity difference as the color compensation value of the first original node.

12. The display method according to claim 8, characterized in that The first original node is related to the second original node, and the display method further includes: Grouping the original nodes outside the gamut boundary to obtain multiple sets of original node sets, where the first original node and the second original node are the original nodes of a target original node set among the multiple sets of original node sets; Determining a preset number of second original nodes in the target original node set; The determining the color compensation value of the first original node according to the chromaticity value of the target mapping point and the chromaticity value of the candidate mapping point includes: Determining the chromaticity difference between the candidate mapping point corresponding to each second original node in the preset number of second original nodes and the target mapping point to obtain the preset number of chromaticity differences; Taking the average value of the preset number of chromaticity differences as the color compensation value of each original node in the target original node set.

13. The display method according to claim 12, wherein The grouping the original nodes outside the gamut boundary to obtain multiple sets of original node sets includes: Dividing according to the range of the H value in the LCH color space to obtain multiple H value intervals; Determining the coordinates of the original nodes outside the gamut boundary in the LCH color space, and dividing the original nodes with H values belonging to the same H value interval among the original nodes outside the gamut boundary into the same original node set to obtain the multiple sets of original node sets.

14. A display device, characterized in that, The display device includes: A first determination module configured to determine the original color values of each pixel point in the original gamut of the image to be processed; A second determination module configured to determine the target color values of each pixel point in the target gamut of the image to be processed based on the original color values of the pixel points and a preset gamut correspondence relationship, where the preset gamut correspondence relationship is used to represent the color value correspondence relationship between the original color nodes in the original gamut and the target nodes in the target gamut; A display module for displaying the image to be processed according to the target color values of each pixel point in the image to be processed.

15. An electronic device, characterized in that, including: A processor; A memory for storing processor-executable instructions; Wherein, the processor is configured to: Determine the original color values of each pixel point in the original gamut of the image to be processed; Based on the original color values of the pixel points and a preset gamut correspondence relationship, determine the target color values of each pixel point in the target gamut of the image to be processed, where the preset gamut correspondence relationship is used to represent the color value correspondence relationship between the original color nodes in the original gamut and the target nodes in the target gamut; Display the image to be processed according to the target color values of each pixel point in the image to be processed.

16. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the program instruction is executed by the processor, the steps of the method according to any one of claims 1-13 are implemented.