Color gamut determination method and device
By sampling the brightness and white field brightness of the three primary color display system, calculating and superimposing stimulus values to determine the color gamut points and boundaries, the problem of inaccurate color gamut calculation in the prior art is solved, and accurate calculation and efficient color performance of the color gamut of the display system after adding white field is achieved.
Patent Information
- Application Number
- CN202411709875.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-02-28
AI Technical Summary
The prior art is difficult to accurately calculate the color gamut of the three primary color display system after adding the white field, resulting in inaccurate color gamut calculation.
By determining the original color gamut of the three primary colors of the display, sampling the brightness of the white field brightness under each brightness sample, calculating the stimulus values of different white field brightness samples under the same brightness sample, superimposing these stimulus values into the original color gamut, obtaining multiple color gamut points, determining the color gamut saturation points with the largest color chromatic value and their boundaries, and accumulating the color gamut plane to determine the three-dimensional color gamut of the display.
Accurate calculation of the color gamut of the display system after adding the white field is realized, ensuring the accuracy and reliability of the color gamut calculation, thereby improving the color performance capability of the display system.
Smart Images

Figure CN119544941A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular to a method and device for determining a color gamut. Background Art
[0002] Color gamut is an important parameter in the display system, which is used to describe the color range or color expression capability that the display system can reproduce.
[0003] Traditional RGB display systems reproduce various colors based on the combination of three primary colors: red, green, and blue. This technology has been widely used in a variety of display devices. At present, with the advancement of display technology, three-primary color display systems have begun to use discrete spectra such as lasers as light sources. Lasers as light sources have the characteristics of high brightness, long life, and narrow bandwidth, which can significantly improve the performance of display systems. In some cases, white fields are added to the three primary colors to increase the overall brightness. Given the characteristics of laser light sources and their application in display systems, it is particularly important to accurately calculate the color gamut of such display systems. This is because the color gamut not only reflects the range of colors that the display system can reproduce, but also directly affects the display quality.
[0004] Therefore, how to accurately calculate the color gamut of the display system after adding the white field is a technical problem that technical personnel in this field need to solve urgently. Summary of the invention
[0005] The present application provides a color gamut determination method to accurately calculate the color gamut of a display system after adding a white field. The present application also provides a color gamut determination device.
[0006] In a first aspect, the present application provides a color gamut determination method, comprising:
[0007] Determine the original color gamut of the three primary colors of the display;
[0008] Performing brightness sampling on the original color domain, and sampling the white field brightness under each sampled brightness sample;
[0009] Determine the stimulus values of different white field brightness samples under the same brightness sample, and superimpose each stimulus value into the original color gamut to obtain a plurality of color gamut points in the original color gamut;
[0010] Determine a color gamut saturation point with the largest chroma value among multiple color gamut points corresponding to the same brightness sample and determine a color gamut boundary where each of the color gamut saturation points is located;
[0011] A color gamut plane enclosed by each color gamut boundary among the plurality of color gamut boundaries is determined, and the color gamut plane corresponding to each brightness sample is accumulated to determine a three-dimensional color gamut displayed by the display in the color space.
[0012] Optionally, determining the color gamut saturation point with the maximum chroma value among multiple color gamut points corresponding to the same brightness sample includes:
[0013] Divide each color gamut point into equal parts of hue angle;
[0014] Determine the color gamut saturation point with the maximum chroma value at different hue angles among multiple color gamut points corresponding to the same brightness sample.
[0015] Optionally, superimposing each stimulus value into the original color gamut to obtain a plurality of color gamut points in the original color gamut includes:
[0016] Determine the color coordinates of the three primary colors of the display and the white field color coordinates;
[0017] Determine the stimulus value of the brightness sample under the white field brightness sample according to the color coordinates of the three primary colors of the display and the white field color coordinates,
[0018] The stimulus value is superimposed on the original color gamut to obtain the corresponding color gamut point in the original color gamut.
[0019] Optionally, the formula for determining the stimulus value of the brightness sample under the white field brightness sample is as follows:
[0020]
[0021] Among them, XR, XG and XB are the X stimulus values of the three primary colors, YR, YG and YB are the Y stimulus values of the three primary colors, ZR, ZG and ZB are the Z stimulus values of the three primary colors, XW, YW and ZW are the three stimulus values of the white field, X0, Y0 and Z0 are the three stimulus values of the white balance point. xr, yr, zr, xg, yg, zg, xb, yb and zb are the color coordinates of the three primary colors of the display, and x0, y0 and z0 are the coordinates of the white balance point.
[0022] Optionally, determining the original color gamut of the three primary colors of the display includes:
[0023] Get the stimulus values of the three primary colors of the display;
[0024] According to the stimulus value, determining a corresponding parallelepiped in the CIE color space;
[0025] The parallelepiped is transformed into a pre-selected uniform color space to determine the original color gamut.
[0026] In a second aspect, the present application further provides a color gamut determination device, the device comprising:
[0027] A first determining unit, used to determine an original color gamut of three primary colors of the display;
[0028] A sampling unit, used for performing brightness sampling on the original color domain, and sampling the white field brightness under each sampled brightness sample;
[0029] A second determination unit is used to determine the stimulus values of different white field brightness samples under the same brightness sample, and to superimpose each stimulus value into the original color gamut to obtain a plurality of color gamut points in the original color gamut;
[0030] A third determining unit is used to determine the color gamut saturation point with the largest chroma value among the multiple color gamut points corresponding to the same brightness sample and determine the color gamut boundary where each of the color gamut saturation points is located;
[0031] The fourth determination unit is used to determine the color gamut plane surrounded by each color gamut boundary among the multiple color gamut boundaries, accumulate the color gamut planes corresponding to each brightness sample, and determine the three-dimensional color gamut displayed by the display in the color space.
[0032] Optionally, the third determining unit is specifically configured to:
[0033] Divide each color gamut point into equal parts of hue angle;
[0034] Determine the color gamut saturation point with the maximum chroma value at different hue angles among multiple color gamut points corresponding to the same brightness sample.
[0035] Optionally, the second determining unit is specifically configured to:
[0036] Determine the color coordinates of the three primary colors of the display and the white field color coordinates;
[0037] Determine the stimulus value of the brightness sample under the white field brightness sample according to the color coordinates of the three primary colors of the display and the white field color coordinates,
[0038] The stimulus value is superimposed on the original color gamut to obtain the corresponding color gamut point in the original color gamut.
[0039] Optionally, the first determining unit is specifically configured to include:
[0040] Get the stimulus values of the three primary colors of the display;
[0041] According to the stimulus value, determining a corresponding parallelepiped in the CIE color space;
[0042] The parallelepiped is transformed into a pre-selected uniform color space to determine the original color gamut.
[0043] Optionally, the formula for determining the stimulus value of the brightness sample under the white field brightness sample is as follows:
[0044]
[0045] Among them, XR, XG and XB are the X stimulus values of the three primary colors, YR, YG and YB are the Y stimulus values of the three primary colors, ZR, ZG and ZB are the Z stimulus values of the three primary colors, XW, YW and ZW are the three stimulus values of the white field, X0, Y0 and Z0 are the three stimulus values of the white balance point. xr, yr, zr, xg, yg, zg, xb, yb and zb are the color coordinates of the three primary colors of the display, and x0, y0 and z0 are the coordinates of the white balance point.
[0046] In a third aspect, an embodiment of the present application provides a computing device, comprising a memory and a processor, wherein the memory is used to store instructions or codes, and the processor is used to execute the instructions or codes so that the computing device executes any method described in the first aspect.
[0047] In a fourth aspect, an embodiment of the present application provides a computer storage medium, in which a code is stored. When the code is executed, a device executing the code implements the method described in any one of the first aspects above.
[0048] Compared with the prior art, this application has the following beneficial effects:
[0049] In this application, the original color gamut of the three primary colors of the display is determined, the brightness of the original color gamut is sampled, the white field brightness is sampled under each sampled brightness sample, the stimulation value of different white field brightness samples under the same brightness sample is determined, each stimulation value is superimposed on the original color gamut, and multiple color gamut points in the original color gamut are obtained. The color gamut saturation point with the largest chroma value among the multiple color gamut points corresponding to the same brightness sample is determined, and the color gamut boundary where each color gamut saturation point is located is determined, and the color gamut plane surrounded by each color gamut boundary among the multiple color gamut boundaries is determined. The color gamut plane corresponding to each brightness sample is accumulated to determine the three-dimensional color gamut displayed by the display in the color space. It can be seen that in this application, by precisely measuring the brightness and color coordinates of red, green, blue and white fields, the stimulation value of the color and the stimulation value of the white balance point are calculated, and the stimulation value is superimposed on the original color gamut space. Combined with the color gamut volume calculation in the uniform color space, the influence of the introduction of the white field on the display effect is considered, so that this application can accurately calculate the color gamut of the display system after the addition of the white field. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions in this embodiment or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0051] Figure 1A flow chart of a color gamut determination method provided in an embodiment of the present application;
[0052] Figure 2 A schematic structural diagram of a specific implementation of the color gamut determination device provided in this application. DETAILED DESCRIPTION
[0053] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0054] Color gamut is an important parameter in display systems. It is used to describe the color range or color expression capability that a display system can reproduce. Color gamut usually has two representations: a flat color gamut and a three-dimensional extension of the flat color gamut - Color Gamut Volume (CGV). The three-dimensional color gamut not only describes the distribution of colors in a two-dimensional space, but also contains information about color intensity, so it can provide more comprehensive color information than a flat color gamut. Calculating the color gamut volume in a uniform color space is a common method for evaluating the color gamut coverage and color expression capability of a display system.
[0055] The traditional RGB display system reproduces various colors based on the combination of three primary colors: red, green, and blue. This technology has been widely used in a variety of display devices. However, in order to further improve the overall performance of the display system and provide users with a richer and more realistic visual experience, in addition to adding additional primary colors to develop multi-primary color technology, white brightness can also be added to the traditional RGB to form RGBW display technology. By introducing white sub-pixels, RGBW display technology can expand the color gamut range of the display system while maintaining or improving energy efficiency, improving image contrast, brightness uniformity, and color saturation. In addition, RGBW technology can also simplify the color management process, ensure color consistency across devices, and flexibly adjust the color gamut characteristics according to specific application requirements to adapt to the best display effect in various environments. In this way, RGBW display technology not only improves the overall performance of the display system, but also provides users with a more energy-saving, colorful, and realistic and reliable visual experience.
[0056] At present, with the advancement of display technology, three-primary color display systems have begun to use discrete spectra such as lasers as light sources. Lasers as light sources have the characteristics of high brightness, long life and narrow bandwidth, which can significantly improve the performance of display systems. If a white field is added on this basis, the overall brightness can be improved. That is, the EGBW technology is applied to laser light sources. Since the color gamut not only reflects the color range that the display system can reproduce, it also directly affects the display quality. Therefore, the characteristics of laser light sources and their application in display systems, and then accurately calculating the color gamut of such display systems become particularly important. By accurately calculating the color gamut, we can better evaluate the applicability of display systems in different applications, such as in professional image processing and filmmaking that require high color gamut, or in mobile device applications that require high energy efficiency. Accurate color gamut calculation also helps optimize the color management process and ensure color consistency between different display devices, which is essential to ensure a high-quality visual experience.
[0057] However, in the current prior art, after adding the white field, the color gamut of the three-primary color display system is still calculated without considering the influence of the white field factor, resulting in inaccurate color gamut calculated based on the original three primary colors. Therefore, accurately calculating the color gamut of the display system after adding the white field is a technical problem that those skilled in the art need to solve urgently.
[0058] In view of this, the present application provides a color gamut determination method, including: determining the original color gamut of the three primary colors of the display, sampling the brightness of the original color gamut, sampling the white field brightness under each sampled brightness sample, determining the stimulus value of different white field brightness samples under the same brightness sample, superimposing each stimulus value into the original color gamut, obtaining multiple color gamut points in the original color gamut, determining the color gamut saturation point with the largest chroma value among the multiple color gamut points corresponding to the same brightness sample and determining the color gamut boundary where each color gamut saturation point is located, determining the color gamut plane surrounded by each color gamut boundary among the multiple color gamut boundaries, accumulating the color gamut plane corresponding to each brightness sample, and determining the three-dimensional color gamut displayed by the display in the color space. It can be seen that in the present application, by precisely measuring the brightness and color coordinates of red, green, blue and white fields, calculating the stimulus value of the color and the stimulus value of the white balance point, superimposing the stimulus value into the original color gamut space, combining the color gamut volume calculation in the uniform color space, considering the influence of the introduction of the white field on the display effect, so that the present application can accurately calculate the color gamut of the display system after adding the white field.
[0059] It should be noted that the color gamut determination method and device provided in the present application are used in the field of display technology. The above is only an example and does not limit the application field of the method and device provided in the present application.
[0060] The method provided in the embodiment of the present application can be executed by software on a computing device, such as a mobile phone, a tablet computer, a computer, or the like.
[0061] In order to make the technical personnel in this field better understand the present application, the present application is further described in detail below in combination with the drawings and specific implementation methods. The method provided in the present application embodiment is described below by taking the first device as an example.
[0062] Figure 1 Flow chart of a color gamut determination method provided in an embodiment of the present application. Figure 1 As shown, the method includes:
[0063] S101: Determine the original color gamut of the three primary colors of the display.
[0064] The first device determines an original color gamut of the display color primaries.
[0065] Exemplarily, the first device determines the three primary colors of the display, the color coordinates of red in the three primary colors may be (xr, yr, zr), the color coordinates of green may be (xg, yg, zg), the color coordinates of blue may be (xb, yb, zb), the color coordinates of the additionally added white field may be (xw, yw, zw), and the color coordinates of the white balance point of the display are also (xw, yw, zw).
[0066] The first device may determine the sum of the brightness of the three primary colors and the white field (W). For example, the sum of the brightness of the three RGB primary colors and the white field (W) is normalized to 100, and the brightness of the white balance point of the maximum brightness of the display is Y0=100, thereby calculating the brightness of the three RGB primary colors as YR, YG, and YB, which can also be called the Y stimulus value of the three primary colors, and the brightness of the white field is YW, which is also the Y stimulus value of the white balance point, and then:
[0067] YR+YG+YB+YW=100
[0068] In CIEXYZ space, the boundary conditions are as follows:
[0069] XR+XG+XB+XW=X0
[0070] YR+YG+YB+YW=Y0
[0071] ZR+ZG+ZB+ZW=Z0
[0072] and
[0073]
[0074] Among them, XR, XG and XB are the X stimulus values of the three primary colors, YR, YG and YB are the Y stimulus values of the three primary colors, ZR, ZG and ZB are the Z stimulus values of the three primary colors, XW, YW and ZW are the three stimulus values of the white field, X0, Y0 and Z0 are the three stimulus values of the white balance point. xr, yr, zr, xg, yg, zg, xb, yb and zb are the color coordinates of the three primary colors of the display, and x0, y0 and z0 are the coordinates of the white balance point.
[0075] Y0 (also called the brightness of the white balance point at maximum brightness) is known, the color coordinates of the three primary colors, the color coordinates of the white balance point are known, and the brightness of the three primary colors YR, YG, and YB are known. Based on the above formula, the XYZ tristimulus values of the original three primary colors gamut boundary can be obtained. After obtaining the XYZ tristimulus values of the original three primary colors gamut boundary, a uniform color space can be selected for color gamut evaluation. The calculated primary color tristimulus values (X, Y, Z) (the tristimulus values corresponding to red are XR, YR, ZR, the tristimulus values corresponding to green are XG, YG, ZG, and the tristimulus values corresponding to blue are XB, YB, ZB) are stretched into a parallel polyhedron in the CIEXYZ space, and transformed into the selected uniform color space to obtain the three-dimensional color gamut of the original three primary colors. Among them, the color tristimulus values refer to the method of describing color by three imaginary color stimulus quantities. These three stimulus values are X, Y, and Z, which represent the response of the human eye to light of different wavelengths. X: represents the response of the human eye to long-wavelength (red) light. Y: represents the human eye's response to medium wavelength (green) light, and is also closely related to brightness (brightness perception). Z: represents the human eye's response to short wavelength (blue) light.
[0076] S102: Perform brightness sampling on the original color gamut, and sample the white field brightness under each sampled brightness sample.
[0077] The first device samples the original color space for brightness, and samples the white field brightness at each sampled brightness sample.
[0078] First, the first device samples the brightness of the original color space, for example, the brightness of the original three-primary color stereoscopic color space is equally divided into 101 brightness samples from 0 to 100. The white field brightness is sampled under each sampled brightness sample, for example, the random sampling number can be set, such as 100, that is, at each equally divided brightness in each uniform color space, that is, at each brightness sample, 100 white field brightnesses are randomly sampled to obtain different white field brightness samples.
[0079] S103: Determine stimulus values of different white field brightness samples under the same brightness sample, and superimpose each stimulus value into the original color gamut to obtain a plurality of color gamut points in the original color gamut.
[0080] The first device may determine stimulus values of different white field brightness samples under the same brightness sample, and superimpose each stimulus value into the original color gamut to obtain a plurality of color gamut points in the original color gamut.
[0081] Exemplarily, the first device may calculate the color tristimulus value under each white field brightness sample according to the formula in step S101, and then, according to the additivity of colors, superimpose each color tristimulus value into the original color gamut (the three-dimensional color gamut of the original three primary colors) to obtain a mixed color tristimulus value. The first device may divide the superimposed original color gamut into equal parts of hue angle, for example, the hue angle may be divided into 360 equal parts from 0° to 360°.
[0082] For example, after traversing the random samples and superimposing them at each brightness, the hue angle and chroma value of the 100 mixed colors can be calculated respectively. The chroma value is then placed under the corresponding brightness and the corresponding hue angle, which is
[0083] The calculation formula is as follows:
[0084]
[0085] Among them, Xmin, Ymin, and Zmin respectively represent the tristimulus values of the color to be mixed (the tristimulus values of the mixed color after the stimulus values are superimposed on the original color gamut), X0, Y0, and Z0 respectively represent the tristimulus values of the corresponding selected white point (such as D65, x=0.3127, y=0.3290), XW, YW, and ZW are the tristimulus values of the white field, X is the X stimulus value (the value of the X component) of the original three primary colors, which can be determined by XR, XG, and XB, Y is the Y stimulus value (the value of the Y component) of the original three primary colors, which can be determined by YR, YG, and YB, and Z is the Z stimulus value (the value of the Z component) of the original three primary colors, which can be determined by ZR, ZG, and ZB.
[0086] f(x) is a function defined as follows:
[0087]
[0088] According to the calculated L * 、a * 、b * The coordinates may identify multiple gamut points in the original gamut.
[0089] S104: Determine a color gamut saturation point with the largest chroma value among multiple color gamut points corresponding to the same brightness sample, and determine a color gamut boundary where each of the color gamut saturation points is located.
[0090] The first device may determine a color gamut saturation point having a maximum chroma value among multiple color gamut points corresponding to the same brightness sample and determine a color gamut boundary where each color gamut saturation point is located.
[0091] Exemplarily, the first device may determine whether the color gamut points belong to the same interval and group them according to the brightness and hue angle, for example The brightness of the colors in this group are all in the range of [49,50) and the hue angles of the colors are all in the range of [89°,90°). The color gamut saturation with the largest chroma value among multiple color gamut points corresponding to the same brightness sample is determined as the color gamut saturation, and the color gamut boundary of each color gamut saturation point is determined.
[0092] S105: Determine a color gamut plane enclosed by each color gamut boundary among the plurality of color gamut boundaries, accumulate the color gamut planes corresponding to each brightness sample, and determine a three-dimensional color gamut displayed by the display in the color space.
[0093] The first device may determine a color gamut plane enclosed by each color gamut boundary among multiple color gamut boundaries, accumulate the color gamut planes corresponding to each brightness sample, and determine a three-dimensional color gamut displayed by the display in the color space.
[0094] In this application, the original color gamut of the three primary colors of the display is determined, the brightness of the original color gamut is sampled, the white field brightness is sampled under each sampled brightness sample, the stimulation value of different white field brightness samples under the same brightness sample is determined, each stimulation value is superimposed on the original color gamut, and multiple color gamut points in the original color gamut are obtained. The color gamut saturation point with the largest chroma value among the multiple color gamut points corresponding to the same brightness sample is determined, and the color gamut boundary where each color gamut saturation point is located is determined, and the color gamut plane surrounded by each color gamut boundary among the multiple color gamut boundaries is determined. The color gamut plane corresponding to each brightness sample is accumulated to determine the three-dimensional color gamut displayed by the display in the color space. It can be seen that in this application, by precisely measuring the brightness and color coordinates of red, green, blue and white fields, the stimulation value of the color and the stimulation value of the white balance point are calculated, and the stimulation value is superimposed on the original color gamut space. Combined with the color gamut volume calculation in the uniform color space, the influence of the introduction of the white field on the display effect is considered, so that this application can accurately calculate the color gamut of the display system after the addition of the white field.
[0095] The above are some specific implementations of the color gamut determination method provided in the embodiments of the present application. Based on this, the present application also provides a corresponding device. The device provided in the embodiments of the present application will be introduced from the perspective of functional modularization. The device and the color gamut determination method described above can be referred to in correspondence with each other.
[0096] Figure 2 The structural block diagram of the color gamut determination device provided in the embodiment of the present invention is referred to as the specific implementation mode 2. Figure 2 The device may include:
[0097] A first determining unit 200 is used to determine the original color gamut of the three primary colors of the display;
[0098] The sampling unit 210 is used to perform brightness sampling on the original color domain and sample the white field brightness under each sampled brightness sample;
[0099] A second determination unit 220 is used to determine the stimulus values of different white field brightness samples under the same brightness sample, and to superimpose each stimulus value into the original color gamut to obtain a plurality of color gamut points in the original color gamut;
[0100] The third determining unit 230 is used to determine the color gamut saturation point with the largest chroma value among the multiple color gamut points corresponding to the same brightness sample and determine the color gamut boundary where each of the color gamut saturation points is located;
[0101] The fourth determining unit 240 is used to determine a color gamut plane surrounded by each color gamut boundary among the multiple color gamut boundaries, accumulate the color gamut planes corresponding to each brightness sample, and determine the three-dimensional color gamut displayed by the display in the color space.
[0102] Optionally, the third determining unit is specifically configured to:
[0103] Divide each color gamut point into equal parts of hue angle;
[0104] Determine the color gamut saturation point with the maximum chroma value at different hue angles among multiple color gamut points corresponding to the same brightness sample.
[0105] Optionally, the second determining unit is specifically configured to:
[0106] Determine the color coordinates of the three primary colors of the display and the white field color coordinates;
[0107] Determine the stimulus value of the brightness sample under the white field brightness sample according to the color coordinates of the three primary colors of the display and the white field color coordinates,
[0108] The stimulus value is superimposed on the original color gamut to obtain the corresponding color gamut point in the original color gamut.
[0109] Optionally, the first determining unit is specifically configured to include:
[0110] Get the stimulus values of the three primary colors of the display;
[0111] According to the stimulus value, determining a corresponding parallelepiped in the CIE color space;
[0112] The parallelepiped is transformed into a pre-selected uniform color space to determine the original color gamut.
[0113] Optionally, the formula for determining the stimulus value of the brightness sample under the white field brightness sample is as follows:
[0114]
[0115] Among them, XR, XG and XB are the X stimulus values of the three primary colors, YR, YG and YB are the Y stimulus values of the three primary colors, ZR, ZG and ZB are the Z stimulus values of the three primary colors, XW, YW and ZW are the three stimulus values of the white field, X0, Y0 and Z0 are the three stimulus values of the white balance point. xr, yr, zr, xg, yg, zg, xb, yb and zb are the color coordinates of the three primary colors of the display, and x0, y0 and z0 are the coordinates of the white balance point.
[0116] The embodiments of the present application also provide corresponding computing devices and computer storage media for implementing the solutions provided by the embodiments of the present application.
[0117] The computing device includes a memory and a processor, the memory is used to store instructions or codes, and the processor is used to execute the instructions or codes so that the computing device executes the method described in any embodiment of the present application.
[0118] The computer storage medium stores codes, and when the codes are executed, a device executing the codes implements the method described in any embodiment of the present application.
[0119] The "first" and "second" in the names such as "first" and "second" (if any) mentioned in the embodiments of the present application are only used as name identifiers and do not represent the first or second in order.
[0120] Through the description of the above implementation methods, it can be known that those skilled in the art can clearly understand that all or part of the steps in the above-mentioned embodiment method can be implemented by means of software plus a general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a storage medium, such as a read-only memory (ROM) / RAM, a magnetic disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network communication device such as a router) to execute the methods described in each embodiment of the present application or some parts of the embodiments.
[0121] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.
[0122] The above description is merely an exemplary embodiment of the present application and is not intended to limit the protection scope of the present application.
Claims
1. A method for determining a color gamut, characterized in that: include: Determine the original color gamut of the three primary colors of the display; Performing brightness sampling on the original color domain, and sampling the white field brightness under each sampled brightness sample; Determine the stimulus values of different white field brightness samples under the same brightness sample, and superimpose each stimulus value into the original color gamut to obtain a plurality of color gamut points in the original color gamut; Determine a color gamut saturation point with the largest chroma value among multiple color gamut points corresponding to the same brightness sample and determine a color gamut boundary where each of the color gamut saturation points is located; A color gamut plane enclosed by each color gamut boundary among the plurality of color gamut boundaries is determined, and the color gamut plane corresponding to each brightness sample is accumulated to determine a three-dimensional color gamut displayed by the display in the color space.
2. The method according to claim 1, characterized in that The step of determining the color gamut saturation point with the largest chroma value among the multiple color gamut points corresponding to the same brightness sample comprises: Divide each color gamut point into equal parts of hue angle; Determine the color gamut saturation point with the maximum chroma value at different hue angles among multiple color gamut points corresponding to the same brightness sample.
3. The method according to claim 1, characterized in that The step of superimposing each stimulus value into the original color gamut to obtain a plurality of color gamut points in the original color gamut includes: Determine the color coordinates of the three primary colors of the display and the white field color coordinates; Determine the stimulus value of the brightness sample under the white field brightness sample according to the color coordinates of the three primary colors of the display and the white field color coordinates, The stimulus value is superimposed on the original color gamut to obtain the corresponding color gamut point in the original color gamut.
4. The method according to claim 3, characterized in that The formula for determining the stimulus value of the brightness sample under the white field brightness sample is as follows: Among them, XR, XG and XB are the X stimulus values of the three primary colors, YR, YG and YB are the Y stimulus values of the three primary colors, ZR, ZG and ZB are the Z stimulus values of the three primary colors, XW, YW and ZW are the three stimulus values of the white field, X0, Y0 and Z0 are the three stimulus values of the white balance point. xr, yr, zr, xg, yg, zg, xb, yb and zb are the color coordinates of the three primary colors of the display, and x0, y0 and z0 are the coordinates of the white balance point.
5. The method according to claim 1, characterized in that Determine the original color gamut of the display's three primary colors, including: Get the stimulus values of the three primary colors of the display; According to the stimulus value, determining a corresponding parallelepiped in the CIE color space; The parallelepiped is transformed into a pre-selected uniform color space to determine the original color gamut.
6. A device for determining a color gamut, characterized in that: include: A first determining unit, used to determine an original color gamut of three primary colors of the display; A sampling unit, used for performing brightness sampling on the original color domain, and sampling the white field brightness under each sampled brightness sample; A second determination unit is used to determine the stimulus values of different white field brightness samples under the same brightness sample, and to superimpose each stimulus value into the original color gamut to obtain a plurality of color gamut points in the original color gamut; A third determining unit is used to determine the color gamut saturation point with the largest chroma value among the multiple color gamut points corresponding to the same brightness sample and determine the color gamut boundary where each of the color gamut saturation points is located; The fourth determination unit is used to determine the color gamut plane surrounded by each color gamut boundary among the multiple color gamut boundaries, accumulate the color gamut planes corresponding to each brightness sample, and determine the three-dimensional color gamut displayed by the display in the color space.
7. The device according to claim 6, characterized in that The third determining unit is specifically configured to: Divide each color gamut point into equal parts of hue angle; Determine the color gamut saturation point with the maximum chroma value at different hue angles among multiple color gamut points corresponding to the same brightness sample.
8. The device according to claim 6, characterized in that The second determining unit is specifically configured to: Determine the color coordinates of the three primary colors of the display and the white field color coordinates; Determine the stimulus value of the brightness sample under the white field brightness sample according to the color coordinates of the three primary colors of the display and the white field color coordinates, The stimulus value is superimposed on the original color gamut to obtain the corresponding color gamut point in the original color gamut.
9. The device according to claim 6, characterized in that The first determining unit is specifically configured to include: Get the stimulus values of the three primary colors of the display; According to the stimulus value, determining a corresponding parallelepiped in the CIE color space; The parallelepiped is transformed into a pre-selected uniform color space to determine the original color gamut.
10. A computing device, characterized in that include: Processor and memory; One or more computer programs are stored in the memory, and the one or more computer programs include instructions; when the instructions are executed by the processor, the computing device performs the method according to any one of claims 1 to 5.