Color evaluation method and device, electronic equipment and storage medium

By displaying images with gradually changing color values ​​on a computer display device and measuring color differences using optical equipment, the color effect can be objectively evaluated, solving the problems of time-consuming and inaccurate manual evaluation and achieving more efficient and accurate color evaluation.

CN121940532APending Publication Date: 2026-04-28BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
Filing Date
2024-10-28
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

In existing technologies, the evaluation of computer display colors relies on manual observation and subjective judgment, which is subject to human interference, making it difficult to accurately evaluate the effect and is time-consuming.

Method used

By displaying multiple images with varying color values, optical equipment is used to measure color values ​​and calculate color differences. An evaluation value is determined based on these differences, and an objective evaluation method is adopted to reduce human influence.

Benefits of technology

It improves the accuracy and efficiency of color assessment, reduces visual discontinuity, and enhances the consistency and visual comfort of color gradient effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121940532A_ABST
    Figure CN121940532A_ABST
Patent Text Reader

Abstract

The invention relates to a color evaluation method and device, electronic equipment and a storage medium. The color evaluation method comprises the steps that pictures in a picture set are displayed, the picture set comprises a plurality of pictures with color values gradually changed, and the color value difference value between the adjacent displayed pictures is smaller than a threshold value; detecting a display color value corresponding to each picture in the picture set, and determining a color difference between the pictures based on the display color value; based on the color difference, an evaluation value for color evaluation is determined, and a corresponding relation exists between the color difference and the evaluation value; and performing color evaluation based on the evaluation value. According to the invention, the color evaluation accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of digital image processing technology, and in particular to a color evaluation method, apparatus, electronic device, and storage medium. Background Technology

[0002] With the continuous development of digital image processing technology, when evaluating the display colors of a computer, users usually adjust the display colors based on their own sensory judgment.

[0003] However, judging the display effect of colors based on sensory perception is subject to human subjectivity and is easily interfered with by human factors, making it difficult to accurately evaluate the effect of computer display colors. Summary of the Invention

[0004] To overcome the problems existing in related technologies, this disclosure provides a color evaluation method, apparatus, electronic device, and storage medium.

[0005] According to a first aspect of the present disclosure, a color evaluation method is provided, comprising: displaying images in an image set, the image set including multiple images with gradually changing color values, wherein the color value difference between adjacent displayed images is less than a threshold; detecting the display color value corresponding to each image in the image set, and determining a color difference between the images based on the display color value; determining an evaluation value for color evaluation based on the color difference, wherein the color difference and the evaluation value have a corresponding relationship; and performing color evaluation based on the evaluation value.

[0006] In one embodiment, determining the color difference between the images based on the displayed color values ​​includes: in response to the current color display mode being a standard color mode, determining the difference between the standard color value and the displayed color value of each image in the image set, and determining the difference as the color difference between the images; in response to the color display mode being a non-standard color mode, determining the difference between the displayed color values ​​of adjacent displayed images as the color difference between the images.

[0007] In one embodiment, determining the difference between the standard color value and the display color value of each image in the image set includes: for each image in the image set, determining the weight of the spatial transformation matrix based on the inverse matrix of the three primary color matrices and the white matrix in the chromaticity coordinates; determining the spatial transformation matrix based on the product of the weights and the three primary color matrices; converting the three primary color values ​​of each image in the image set to initial chromaticity coordinate values ​​based on the spatial transformation matrix; normalizing the initial chromaticity coordinate values ​​to obtain the standard color value of each image in the image set; and determining the difference between the standard color value and the display color value of each image in the image set based on the standard color value and the display color value.

[0008] In one embodiment, determining the evaluation value for color evaluation based on the color difference includes: determining the average color difference of each image in the image set based on the color difference of each image in the image set; and determining the evaluation value for color evaluation based on the average color difference and the evaluation standard, wherein the evaluation standard records the correspondence between different average color differences and evaluation values.

[0009] In one embodiment, the evaluation criteria record multiple different color difference ranges, and each color difference range corresponds to an evaluation value. The step of determining the evaluation value for color evaluation based on the average color difference and the evaluation criteria includes: determining the color difference range of the average color difference, and determining the evaluation value corresponding to the determined color difference range as the evaluation value for color evaluation.

[0010] In one embodiment, the atlas is predetermined in the following manner: in a color space including hue, saturation and lightness elements, any two of the hue, saturation and lightness elements are kept constant, while the other element is controlled to change, to obtain a mixed color atlas including multiple colors with color changes.

[0011] According to a second aspect of the present disclosure, a color evaluation apparatus is provided, comprising: a display unit for displaying images in an image set, the image set including multiple images with gradually changing color values, wherein the color value difference between adjacent displayed images is less than a threshold; a detection unit for detecting the display color value corresponding to each image in the image set, and determining the color difference between the images based on the display color value; an evaluation unit for determining an evaluation value for color evaluation based on the color difference, wherein the color difference and the evaluation value have a corresponding relationship; and performing color evaluation based on the evaluation value.

[0012] In one embodiment, the detection unit determines the color difference between the images based on the displayed color values ​​in the following manner: in response to the current color display mode being a standard color mode, it determines the difference between the standard color value and the displayed color value of each image in the image set, and determines the difference as the color difference between the images; in response to the color display mode being a non-standard color mode, it determines the difference between the displayed color values ​​of adjacent displayed images as the color difference between the images.

[0013] In one embodiment, the detection unit determines the difference between the standard color value and the display color value of each image in the image set as follows: For each image in the image set, the weights of the spatial transformation matrix are determined based on the inverse matrix of the three primary color matrices and the white matrix in the chromaticity coordinates; the spatial transformation matrix is ​​determined based on the product of the weights and the three primary color matrices; based on the spatial transformation matrix, the three primary color values ​​of each image in the image set are transformed into initial chromaticity coordinate values; the initial chromaticity coordinate values ​​are normalized to obtain the standard color value of each image in the image set; based on the standard color value and the display color value, the difference between the standard color value and the display color value of each image in the image set is determined.

[0014] In one embodiment, the evaluation unit determines the evaluation value for color evaluation based on the color difference in the following manner: based on the color difference of each image in the image set, the average color difference of each image in the image set is determined; based on the average color difference and the evaluation standard, the evaluation value for color evaluation is determined, wherein the evaluation standard records the correspondence between different average color differences and evaluation values.

[0015] In one embodiment, the evaluation criteria records multiple different color difference ranges, and each color difference range corresponds to an evaluation value. The evaluation unit determines the evaluation value for color evaluation based on the average color difference and the evaluation criteria in the following manner: determining the color difference range of the average color difference, and determining the evaluation value corresponding to the determined color difference range as the evaluation value for color evaluation.

[0016] In one embodiment, the display unit predetermines the color atlas in the following manner: in a color space including hue, saturation, and brightness elements, any two of the hue, saturation, and brightness elements are kept constant, while the other element is controlled to change, to obtain a mixed color atlas including multiple colors with color changes.

[0017] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the executable instructions to perform a color evaluation method according to the first aspect or any embodiment of the first aspect.

[0018] According to a fourth aspect of the present disclosure, a storage medium is provided that stores instructions which, when executed by a processor, enable an electronic device to perform the color evaluation method of the first aspect or any embodiment of the first aspect.

[0019] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: By setting the color value difference between adjacent images in multiple images with color gradients to be less than a threshold, visual discontinuity caused by abrupt color changes can be avoided, thereby improving the consistency and visual comfort of the color gradient effect. Detecting the displayed color value of each image reduces the uncertainty of subjective human judgment of the color display effect. Based on the calculated color difference, an evaluation value for color evaluation is determined, and this evaluation value is used to evaluate the gradient effect of the images in the image set with color gradients, improving the accuracy of color evaluation.

[0020] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0021] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0022] Figure 1 This is a flowchart illustrating a color evaluation method according to an exemplary embodiment.

[0023] Figure 2 This is a schematic diagram illustrating the creation of a mixed color atlas according to an exemplary embodiment.

[0024] Figure 3 This is a flowchart illustrating the determination of color difference according to an exemplary embodiment.

[0025] Figure 4 This is a flowchart illustrating a method for determining color differences under a standard color mode, according to an exemplary embodiment.

[0026] Figure 5 This is a schematic diagram illustrating the determination of color differences in a standard color mode according to an exemplary embodiment.

[0027] Figure 6 This is a flowchart illustrating a color evaluation method according to an exemplary embodiment.

[0028] Figure 7 This is a flowchart illustrating a color mixing transition evaluation method according to an exemplary embodiment.

[0029] Figure 8 This is a block diagram of a color evaluation device according to an exemplary embodiment.

[0030] Figure 9 This is a block diagram illustrating a color evaluation device according to an exemplary embodiment.

[0031] Figure 10This is a block diagram illustrating a color evaluation device according to an exemplary embodiment. Detailed Implementation

[0032] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure.

[0033] The color evaluation method provided in this disclosure is applied to scenarios where the color display effect of electronic devices is evaluated.

[0034] In related technologies, color evaluation primarily relies on manual observation and subjective judgment. For example, personnel observe images with the naked eye to assess the smoothness and naturalness of colors, and then score the images using certain rating criteria. However, the evaluations from different observers vary significantly, and a unified standard is lacking. Furthermore, manually scoring color display effects is time-consuming. Moreover, because the visual system has limited ability to perceive subtle color changes, it is difficult to capture details in the color process using manual methods.

[0035] In view of this, the present disclosure provides a color evaluation method that automatically evaluates color quality by acquiring an image set and based on the color display mode, thereby improving the objectivity, efficiency and accuracy of the evaluation.

[0036] Figure 1 This is a flowchart illustrating a color evaluation method according to an exemplary embodiment. Figure 1 As shown, it includes the following steps.

[0037] In step S11, the images in the image set are displayed.

[0038] The image set includes multiple images with gradually changing color values, and the difference in color values ​​between adjacent images is less than a threshold.

[0039] In step S12, the display color value corresponding to each image in the image set is detected, and the color difference between each image is determined based on the display color value.

[0040] In this embodiment of the disclosure, the display color coordinates of each image in the image set are measured using optical equipment. The measured color coordinates are then normalized to obtain the display color values. Based on the detected display color values, the color difference between the images in the image set is determined.

[0041] Color difference can be understood as the difference in displayed color between two adjacent images during the color gradation process in the image center, or as the difference between the standard displayed color value of the image and the measured actual displayed color value.

[0042] In step S13, an evaluation value for color assessment is determined based on the color difference.

[0043] In this embodiment of the disclosure, an evaluation value for measuring the color gradient effect in the image set is determined based on the color difference between each image in the image set.

[0044] The evaluation value is used to measure the color value gradient effect of multiple images, and there is a corresponding relationship between the evaluation value and the color difference.

[0045] In step S14, a color evaluation is performed based on the evaluation value.

[0046] According to an exemplary embodiment of this disclosure, by measuring each image in the color value gradient atlas, the measurement results of each image in the color value gradient atlas are obtained, reducing the influence of subjective human observation and improving the accuracy of image color judgment. Furthermore, the measurement results are used to evaluate the effect of gradient transitions in the images of the color value gradient atlas, reducing human intervention, improving color evaluation efficiency, and enhancing color evaluation quality.

[0047] In this embodiment of the disclosure, the color evaluation method can be performed by creating a color gradient atlas of a single primary color or by using a color gradient atlas of mixed colors. Taking mixed colors as an example, for color evaluation, in a color space including hue, saturation, and lightness elements, any two of the hue, saturation, and lightness elements can be kept constant while the other element is controlled to change, thus pre-obtaining a mixed color atlas containing multiple colors with varying hues.

[0048] In this context, a mixed color atlas can be understood as an atlas composed of images featuring a series of pink gradients, using colors other than the standard three primary colors, such as pink.

[0049] In one example, such as Figure 2 As shown, Figure 2This is a schematic diagram illustrating the creation of a mixed color atlas according to an exemplary embodiment. In the Hue, Saturation, and Value (HSV) color space, which consists of Hue (H), Saturation (S), and Value (V), a specific HSV range is selected. The HSV range can be: Hue range in [H0, H1] (as shown in the figure, H∈[H0, H1]), Saturation range in [S0, S1] (as shown in the figure, S∈[S0, S1]), and Value range in [V0, V1] (as shown in the figure, V∈[V0, V1]). For example, H is between 0-359, S is between 0-100, and V is between 0-100. The selected H is 0-359, S = 60, and V = 30. The selected HSV values ​​are converted to the corresponding primary color (Red, Green, Blue, RGB) values ​​(as shown in the figure, HSV2RGB). Based on the converted RGB values, a mixed color atlas is created.

[0050] In this embodiment of the disclosure, the mixed color atlas can also be understood as a mixed color atlas, and the two are used interchangeably, but their meanings should be understood to be consistent.

[0051] According to exemplary embodiments of this disclosure, the HSV color space better aligns with the color model perceived by human vision. Therefore, using the HSV color space representation makes it easier to understand and control color variations when creating color mixing atlases. Furthermore, the HSV color space facilitates the generation of various complex color effects. For example, a smooth transition from red to yellow to green can be generated by changing the hue (H) without worrying about complex changes in RGB values. This, in turn, facilitates a comprehensive evaluation of the device's color display performance.

[0052] In this embodiment of the disclosure, for the created mixed color atlas, the color difference of each image in the atlas is determined.

[0053] Figure 3 This is a flowchart illustrating the determination of color difference according to an exemplary embodiment. For example... Figure 3 As shown, it includes the following steps.

[0054] In step S21, the color display mode is determined.

[0055] The color display modes include standard color modes and non-standard color modes.

[0056] A standard color model can be understood as a widely accepted and adopted method of color representation with clear definitions and specifications, designed to ensure color consistency and predictability across different electronic devices. For example, sRGB (Standard Red Green Blue) defines a specific set of red, green, and blue primary colors and a gamma value to ensure that colors appear consistent across different devices.

[0057] Non-standard color modes can be understood as color representation methods that are not widely accepted or standardized. For example, equipment manufacturers define their own color modes to achieve specific effects or meet specific needs. Specific application scenarios require color representation methods that differ from standard color modes. Or, the development of new technologies necessitates new color modes to better represent a wider or more precise range of colors.

[0058] In step S22, in response to the current color display mode being the standard color mode, the difference between the standard color value and the display color value of each image in the image set is determined, and the difference is determined as the color difference between each image.

[0059] In this embodiment of the disclosure, if the current display mode of the electronic device is the standard color mode, the color difference between each image in the mixed color image set is determined based on the difference between the standard color value of each image and the actual measured display color value.

[0060] In step S23, in response to the color display mode being a non-standard color mode, the difference between the displayed color values ​​of adjacent images is determined as the color difference between each image.

[0061] In this embodiment of the disclosure, if the color display mode is a non-standard color mode, the difference between the displayed color values ​​of two adjacent images is measured using an optical device to determine the color difference between each image in the mixed color set.

[0062] In one example, the color difference calculation method is selected based on the device's current color display mode. If the current device display mode is standard color mode, the RGB values ​​of each image are converted into standard color coordinates (XYZ). Simultaneously, the XYZ values ​​of each image displayed on the electronic device are measured using optical equipment, and the color difference between the standard XYZ values ​​and the actually measured display XYZ values ​​of each image is calculated. If the current electronic device display mode is non-standard color mode, the color difference between two adjacent images is calculated based on the actual measured display XYZ values ​​of each image on the electronic device.

[0063] According to exemplary embodiments of this disclosure, different color difference calculation methods are used for different color display modes to improve the applicability of color evaluation methods.

[0064] In this embodiment of the disclosure, for the standard color mode, color evaluation is performed using the difference between the standard color value and the displayed color value.

[0065] Figure 4 This is a flowchart illustrating a method for determining color differences under a standard color mode, according to an exemplary embodiment. Figure 4 As shown, it includes the following steps.

[0066] In step S31, for each image in the image set, the weights of the spatial transformation matrix are determined based on the inverse matrix of the three primary color matrices and the white matrix in the chromaticity coordinates.

[0067] In this embodiment of the disclosure, for each image in the image set, the three primary color matrices and the white matrix are determined based on the chromaticity coordinates, and the weights of the spatial transformation matrix are determined.

[0068] Chromaticity coordinates can be understood as coordinates in a chromaticity diagram, used to represent the position of a color. For example, the chromaticity of a color can be uniquely determined by its x and y chromaticity coordinates.

[0069] In one example, the x and y chromaticity coordinates corresponding to the RGB values ​​of the colors displayed in each image are determined in a chromaticity diagram of a standard color mode. For example, the chromaticity coordinates corresponding to the RGB values ​​of the colors displayed in one image could be:

[0070] W x W y =0.3127, 0.329

[0071] R x ,R y =0.68, 0.32

[0072] G x G y =0.265, 0.69

[0073] B x B y =0.15,0.06

[0074] The weights of the space transformation matrix are determined using the x and y chromaticity coordinates:

[0075]

[0076] In step S32, the spatial transformation matrix is ​​determined based on the product of the weights and the three primary color matrices.

[0077] In one example, the spatial transformation matrix M is determined by multiplying the weights by the three primary color matrices.

[0078]

[0079] In step S33, based on the spatial transformation matrix, the three primary color values ​​of each image in the transformation set are converted to initial color coordinate values.

[0080] In this embodiment of the disclosure, the initial color coordinates of each image are obtained by multiplying the RGB value of each image in the image set with the spatial transformation matrix.

[0081] In step S34, the initial color coordinate values ​​are normalized to obtain the standard color values ​​for each image in the image set.

[0082] In this embodiment of the disclosure, the initial color coordinate values ​​are normalized based on the color coordinate values ​​of the pure white image displayed by the electronic device to obtain the standard color values ​​of each image in the image set.

[0083] In step S35, the difference between the standard color value and the display color value of each image in the image set is determined based on the standard color value and the display color value.

[0084] In this embodiment of the disclosure, the difference between the standard color value and the displayed color value is calculated to determine the color difference in the standard color mode.

[0085] In one example, the following is used: Figure 5 The method shown further illustrates how to determine color differences under a standard color mode.

[0086] Figure 5 This is a schematic diagram illustrating the determination of color differences in a standard color mode according to an exemplary embodiment.

[0087] exist Figure 5 First, the input RGB values ​​are converted to XYZi values ​​in the XYZ color space using a spatial transformation matrix M, which maps RGB values ​​to the XYZ color space. The XYZ value of white (W) is measured using an optical device and denoted as XYZw. Similarly, the XYZ value of the target color (m) is measured using an optical device and denoted as XYZm. XYZi is then converted to xyYw values ​​in the xyY color space. The xyY color space is another color space related to the XYZ color space, where Y represents luminance and xy represents chromaticity. XYZm is then converted to xyYm values ​​in the xyY color space. xyYw is then converted to Lab values ​​in the Lab color space. The Lab color space is an artificial color space related to human visual perception, where L represents luminance, and a and b represent chromaticity. xyYm is then converted to Lab values ​​in the Lab color space. Finally, the color difference DE2000 between Labw and Labm is calculated.

[0088] DE2000 is a color difference calculation method used to measure the degree of difference between two colors. The "2" in the diagram can be understood as a conversion, such as converting RGB values ​​to XYZ values ​​in the XYZ color space. Figure 5 All other instances of "2" can be understood as meaning conversion, and will not be explained in detail here.

[0089] According to exemplary embodiments of this disclosure, the RGB values ​​of images in a color mixing dataset are converted to XYZ values. These XYZ values ​​accurately describe color performance on different devices. By converting RGB values ​​to XYZ values, differences between different devices can be eliminated, ensuring the comparability and accuracy of measurement results. Furthermore, the XYZ color space provides an objective benchmark for measuring and comparing color accuracy. By converting RGB values ​​to XYZ values, the color difference between the standard XYZ values ​​of each image and the actual measured XYZ values ​​can be calculated, thereby quantifying the accuracy of color display. Moreover, in the XYZ color space, the luminance dimension (Y) can be processed independently of the chromaticity dimensions (X and Z). Therefore, it is possible to unify the standard and measured luminance dimensions when calculating color differences, thereby more accurately evaluating color effects.

[0090] In this embodiment of the disclosure, a unified color evaluation standard can be used for color evaluation based on the color difference obtained under different color display modes.

[0091] Figure 6 This is a flowchart illustrating a color evaluation method according to an exemplary embodiment. Figure 6 As shown, it includes the following steps.

[0092] In step S41, the average color difference of each image in the image set is determined based on the color difference of each image in the image set.

[0093] In this embodiment of the disclosure, the average color difference of the entire image set is calculated using the color difference of each image in the image set.

[0094] In step S42, an evaluation value for color evaluation is determined based on the average color difference and the evaluation criteria.

[0095] The evaluation criteria record the correspondence between different average color differences and evaluation values.

[0096] According to an exemplary embodiment of this disclosure, utilizing the average color difference of the entire atlas helps to quantify the overall quality of color transitions and determine the comprehensiveness and representativeness of the evaluation results.

[0097] In this embodiment of the disclosure, the evaluation criteria record multiple different color difference ranges, and each color difference range corresponds to an evaluation value. The color difference range of the average color difference is determined, and the evaluation value corresponding to the determined color difference range is determined as the evaluation value for color evaluation.

[0098] As shown in Table 1, Table 1 is a color evaluation standard table according to an exemplary embodiment.

[0099] In Table 1, when DE2000 is below 1.5, its color evaluation score is 4; when DE2000 is between 1.5 and 2, its color evaluation score is 3; when DE2000 is between 2 and 3, its color evaluation score is 2; when DE2000 is between 3 and 4, its color evaluation score is 1; and when DE2000 is greater than 4, its color evaluation score is 0. That is, as the DE2000 value increases, its color evaluation score decreases.

[0100] Table 1

[0101] DE2000 Color evaluation score <1.5 4 1.5-2 3 2-3 2 3-4 1 >4 0

[0102] In one embodiment, the color evaluation method involved in the above embodiments is further illustrated using a color mixing transition atlas as an example.

[0103] Figure 7 This is a flowchart illustrating a color mixing transition evaluation method according to an exemplary embodiment, including the following steps.

[0104] In step S51, a color blending transition atlas is created.

[0105] In this embodiment of the disclosure, a color blending transition atlas is created and selected based on the actual color representation. This color blending transition atlas contains a series of images with color gradients.

[0106] In one example, since color representation in the HSV color space is more intuitive, images in the HSV space can be selected to create a color blending atlas. For instance, in the HSV color space, a hue (H) between 0 and 359, a saturation (S) fixed at 60, and a value (V) fixed at 30 can be selected. By adjusting the hue slider to change the colors of the image, a series of color gradient images can be created, thus obtaining a color blending atlas.

[0107] In step S52, the color difference is determined based on the color mixing transition atlas.

[0108] In this embodiment of the disclosure, the color display mode of the current electronic device's display screen is determined, and the color difference is determined based on the color display mode.

[0109] In one example, if the color display mode is the standard color display mode, the RGB values ​​of each image are converted into standard XYZ values. At the same time, optical equipment is used to measure the display XYZ values ​​of each image when it is displayed on the screen of the electronic device. By calculating the difference between the standard XYZ values ​​and the display XYZ values, the color difference in the standard color display mode is determined.

[0110] In another example, if the color display mode is a non-standard color display mode, the XYZ values ​​of each image are directly measured using optical equipment when displayed on the electronic device. The color difference in the non-standard color display mode is determined by calculating the difference between the XYZ values ​​of two adjacent images.

[0111] In step S53, the color display effect is evaluated based on the color difference.

[0112] In this embodiment of the disclosure, the average color difference of all images in the color transition set is calculated based on the color difference of each image in the color transition set, and then the display effect in the color transition process is evaluated based on the average value.

[0113] According to an exemplary embodiment of this disclosure, starting from the color space used to create the display content, a corresponding complex color mixing and transition atlas is created, and the color transition display capability of the electronic device is evaluated based on the color difference, thereby guiding the optimization and improvement direction in the color calibration of the electronic device.

[0114] Based on the same concept, embodiments of this disclosure also provide a color evaluation device.

[0115] It is understood that the color evaluation device provided in this disclosure includes hardware structures and / or software modules corresponding to each function in order to achieve the above-mentioned functions. In conjunction with the units and algorithm steps of the various examples disclosed in this disclosure, this disclosure can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the technical solutions of this disclosure.

[0116] Figure 8 This is a block diagram illustrating a color evaluation device according to an exemplary embodiment. (Refer to...) Figure 8 The device 100 includes a display unit 101, a detection unit 102, and an evaluation unit 103.

[0117] Display unit 101 is used to display images in an image collection, which includes multiple images with varying color values, wherein the color value difference between adjacent displayed images is less than a threshold.

[0118] The detection unit 102 is used to detect the display color values ​​corresponding to each image in the image set, and to determine the color difference between each image based on the display color values.

[0119] Evaluation unit 103 is used to determine the evaluation value for color evaluation based on the color difference, and there is a corresponding relationship between the color difference and the evaluation value; and to perform color evaluation based on the evaluation value.

[0120] In one embodiment, the detection unit 102 determines the color difference between each image based on the displayed color value in the following manner: in response to the current color display mode being a standard color mode, it determines the difference between the standard color value and the displayed color value of each image in the image set, and determines the difference as the color difference between each image; in response to the color display mode being a non-standard color mode, it determines the difference between the displayed color values ​​of adjacent displayed images as the color difference between each image.

[0121] In one embodiment, the detection unit 102 determines the difference between the standard color value and the display color value of each image in the image set in the following manner: For each image in the image set, the weights of the spatial transformation matrix are determined based on the inverse matrix of the three primary color matrices and the white matrix in the chromaticity coordinates; the spatial transformation matrix is ​​determined based on the product of the weights and the three primary color matrices; based on the spatial transformation matrix, the three primary color values ​​of each image in the image set are transformed into initial chromaticity coordinate values; the initial chromaticity coordinate values ​​are normalized to obtain the standard color value of each image in the image set; based on the standard color value and the display color value, the difference between the standard color value and the display color value of each image in the image set is determined.

[0122] In one embodiment, the evaluation unit 103 determines the evaluation value for color evaluation based on color difference in the following manner: based on the color difference of each image in the image set, the average color difference of each image in the image set is determined; based on the average color difference and the evaluation standard, the evaluation value for color evaluation is determined, wherein the evaluation standard records the correspondence between different average color differences and evaluation values.

[0123] In one embodiment, the evaluation criteria record multiple different color difference ranges, and each color difference range corresponds to an evaluation value. The evaluation unit 103 determines the evaluation value for color evaluation based on the average color difference and the evaluation criteria in the following manner: determine the color difference range of the average color difference, and determine the evaluation value corresponding to the determined color difference range as the evaluation value for color evaluation.

[0124] In one embodiment, the display unit 101 predetermines the color atlas in the following manner: in a color space including hue, saturation and brightness elements, any two of the hue, saturation and brightness elements are kept constant, while the other element is controlled to change, to obtain a mixed color atlas including multiple colors with color changes.

[0125] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0126] Figure 9 This is a block diagram illustrating a color evaluation device 200 according to an exemplary embodiment. For example, device 200 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.

[0127] Reference Figure 9 The device 200 may include one or more of the following components: processing component 202, memory 204, power component 206, multimedia component 208, audio component 210, input / output (I / O) interface 212, sensor component 214, and communication component 216.

[0128] Processing component 202 typically controls the overall operation of device 200, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 202 may include one or more modules to facilitate interaction between processing component 202 and other components. For example, processing component 202 may include a multimedia module to facilitate interaction between multimedia component 208 and processing component 202.

[0129] Memory 204 is configured to store various types of data to support the operation of device 200. Examples of such data include instructions for any application or method operating on device 200, contact data, phonebook data, messages, pictures, videos, etc. Memory 204 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 storage, flash memory, magnetic disk, or optical disk.

[0130] The power supply component 206 provides power to the various components of the device 200. The power supply component 206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to the device 200.

[0131] Multimedia component 208 includes a screen that provides an output interface between the device 200 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 may be implemented as a touchscreen 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 may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 208 includes a front-facing camera and / or a rear-facing camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0132] Audio component 210 is configured to output and / or input audio signals. For example, audio component 210 includes a microphone (MIC) configured to receive external audio signals when device 200 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 204 or transmitted via communication component 216. In some embodiments, audio component 210 also includes a speaker for outputting audio signals.

[0133] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0134] Sensor assembly 214 includes one or more sensors for providing status assessments of various aspects of device 200. For example, sensor assembly 214 may detect the on / off state of device 200, the relative positioning of components such as the display and keypad of device 200, changes in the position of device 200 or a component of device 200, the presence or absence of user contact with device 200, the orientation or acceleration / deceleration of device 200, and temperature changes of device 200. Sensor assembly 214 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 214 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0135] Communication component 216 is configured to facilitate wired or wireless communication between device 200 and other devices. Device 200 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 216 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 216 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0136] In an exemplary embodiment, the apparatus 200 may 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 to perform the methods described above.

[0137] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, which can be executed by a processor 220 of the device 200 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0138] Figure 10 This is a block diagram illustrating a color evaluation device 300 according to an exemplary embodiment. For example, device 300 may be provided as a server. (Refer to...) Figure 10The device 300 includes a processing component 322, which further includes one or more processors, and memory resources represented by memory 332 for storing instructions, such as application programs, that can be executed by the processing component 322. The application programs stored in memory 332 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 322 is configured to execute instructions to perform the methods described above.

[0139] Device 300 may also include a power supply component 326 configured to perform power management of device 300, a wired or wireless network interface 350 configured to connect device 300 to a network, and an input / output (I / O) interface 352. Device 300 may operate on an operating system stored in memory 332, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or similar.

[0140] It is understood that in this disclosure, "multiple" refers to two or more, and other quantifiers are similar. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. The singular forms "a," "the," and "the" are also intended to include the plural forms unless the context clearly indicates otherwise.

[0141] It is further understood that the terms "first," "second," etc., are used to describe various types of information, but this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another, and do not indicate a specific order or degree of importance. In fact, the expressions "first," "second," etc., are completely interchangeable. For example, without departing from the scope of this disclosure, first information can also be referred to as second information, and similarly, second information can also be referred to as first information.

[0142] It is further understood that the terms “center,” “longitudinal,” “lateral,” “front,” “rear,” “up,” “down,” “left,” “right,” “vertical,” “horizontal,” “top,” “bottom,” “inner,” and “outer,” etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this embodiment and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation.

[0143] It can be further understood that, unless otherwise specified, "connection" includes both direct connections where no other components exist between the two parties and indirect connections where other components exist between them.

[0144] It is further understood that although operations are described in a specific order in the accompanying drawings in the embodiments of this disclosure, this should not be construed as requiring these operations to be performed in the specific order or serial order shown, or requiring all of the shown operations to be performed to obtain the desired result. In certain environments, multitasking and parallel processing may be advantageous.

[0145] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein.

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

Claims

1. A color evaluation method, characterized in that, The method includes: The image set displays multiple images with varying color values, wherein the color value difference between adjacent images is less than a threshold. Detect the display color value corresponding to each image in the image set, and determine the color difference between the images based on the display color value; Based on the color difference, an evaluation value for color assessment is determined, and there is a corresponding relationship between the color difference and the evaluation value; Based on the evaluation values, a color evaluation is performed.

2. The method according to claim 1, characterized in that, Determining the color difference between the images based on the displayed color values ​​includes: In response to the current color display mode being the standard color mode, the difference between the standard color value and the display color value of each image in the image set is determined, and the difference is determined as the color difference between the images. In response to a non-standard color display mode, the difference between the displayed color values ​​of adjacent images is determined as the color difference between the images.

3. The method according to claim 2, characterized in that, Determining the difference between the standard color value and the display color value of each image in the image set includes: For each image in the image set, the weights of the spatial transformation matrix are determined based on the inverse matrix of the three primary color matrices and the white matrix in the chromaticity coordinates, respectively. The spatial transformation matrix is ​​determined based on the product of the weights and the three primary color matrices; Based on the spatial transformation matrix, the three primary color values ​​of each image in the image set are transformed into initial color coordinate values; The initial color coordinate values ​​are normalized to obtain the standard color values ​​for each image in the image set; Based on the standard color value and the display color value, the difference between the standard color value and the display color value of each image in the image set is determined.

4. The method according to claim 1, characterized in that, The determination of the evaluation value for color assessment based on the color difference includes: Based on the color difference of each image in the image set, determine the average color difference of each image in the image set; Based on the average color difference and the evaluation criteria, an evaluation value for color evaluation is determined, wherein the evaluation criteria record the correspondence between different average color differences and evaluation values.

5. The method according to claim 4, characterized in that, The evaluation criteria record multiple different color difference ranges, and each color difference range corresponds to an evaluation value. The determination of the evaluation value for color evaluation based on the average color difference and the evaluation criteria includes: The color difference range of the average color difference is determined, and the evaluation value corresponding to the determined color difference range is determined as the evaluation value for color evaluation.

6. The method according to claim 1, characterized in that, The atlas is predetermined in the following manner: In a color space that includes hue, saturation, and lightness elements, any two of these elements are kept constant while the other element is changed, resulting in a mixed color atlas of various colors with varying hues.

7. A color evaluation device, characterized in that, The device includes: The display unit is used to display images in the image collection, which includes multiple images with gradually changing color values, wherein the color value difference between adjacent displayed images is less than a threshold. The detection unit is used to detect the display color value corresponding to each image in the image set, and determine the color difference between the images based on the display color value; An evaluation unit is used to determine an evaluation value for color evaluation based on the color difference, wherein there is a corresponding relationship between the color difference and the evaluation value; and to perform color evaluation based on the evaluation value.

8. The apparatus according to claim 7, characterized in that, The detection unit determines the color difference between the images based on the displayed color values ​​using the following method: In response to the current color display mode being the standard color mode, the difference between the standard color value and the display color value of each image in the image set is determined, and the difference is determined as the color difference between the images. In response to a non-standard color display mode, the difference between the displayed color values ​​of adjacent images is determined as the color difference between the images.

9. The apparatus according to claim 8, characterized in that, The detection unit determines the difference between the standard color value and the displayed color value of each image in the image set using the following method: For each image in the image set, the weights of the spatial transformation matrix are determined based on the inverse matrix of the three primary color matrices and the white matrix in the chromaticity coordinates, respectively. The spatial transformation matrix is ​​determined based on the product of the weights and the three primary color matrices; Based on the spatial transformation matrix, the three primary color values ​​of each image in the image set are transformed into initial color coordinate values; The initial color coordinate values ​​are normalized to obtain the standard color values ​​for each image in the image set; Based on the standard color value and the display color value, the difference between the standard color value and the display color value of each image in the image set is determined.

10. The apparatus according to claim 7, characterized in that, The evaluation unit determines the evaluation value for color evaluation based on the color difference in the following manner: Based on the color difference of each image in the image set, determine the average color difference of each image in the image set; Based on the average color difference and the evaluation criteria, an evaluation value for color evaluation is determined, wherein the evaluation criteria record the correspondence between different average color differences and evaluation values.

11. The apparatus according to claim 10, characterized in that, The evaluation criteria record multiple different color difference ranges, and each color difference range corresponds to an evaluation value. The evaluation unit determines the evaluation value for color evaluation based on the average color difference and the evaluation criteria in the following manner: The color difference range of the average color difference is determined, and the evaluation value corresponding to the determined color difference range is determined as the evaluation value for color evaluation.

12. The apparatus according to claim 7, characterized in that, The display unit predetermines the image set in the following manner: In a color space that includes hue, saturation, and lightness elements, any two of these elements are kept constant while the other element is changed, resulting in a mixed color atlas of various colors with varying hues.

13. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform the method according to any one of claims 1-6.

14. A storage medium, characterized in that, The storage medium stores instructions that, when executed by a processor, enable the execution of the method described in any one of claims 1-6.