Color correction method, device, electronic device and computer-readable storage medium

By adjusting the initial and target color coordinate values ​​of the total color level and color coefficient of the LED display, using the target gamma curve and chromaticity diagram, the accurate color correction of the LED display is achieved, and the problem of inaccurate color correction is solved. Make sure it works on movie screens.

CN116052584BActive Publication Date: 2024-12-03LEYARD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211738532.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-31
Publication Date
2024-12-03
Estimated Expiration
2042-12-31

AI Technical Summary

Technical Problem

The LED display has the problem of inaccurate color correction when color correction is corrected, which cannot meet the bright color quality requirements of the movie screen.

Method used

By determining the total color level of the LED display and the initial and target color coordinate values ​​of the color coefficient of each color level, the target gamma curve is used to adjust the color coefficient until the target color coordinate value is reached, combining the initial gamma curve and sample color level and chromaticity diagrams to achieve accurate color correction.

Benefits of technology

Accurate color correction of the color level of the LED display screen is achieved, ensuring that it meets the bright color quality requirements of the movie screen, and solving the problem of inaccurate color correction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116052584B_ABST
    Figure CN116052584B_ABST
Patent Text Reader

Abstract

The present invention discloses a color correction method, device, electronic device and computer-readable storage medium. The method includes: determining the total color scale of an LED display screen; determining the initial color coordinate value and target color coordinate value of the color coefficient corresponding to each color scale in the total color scale; adjusting the initial color coordinate value of the color coefficient corresponding to each color scale in the total color scale according to the target gamma curve, until the initial color coordinate value of the color coefficient corresponding to each color scale in the total color scale reaches the corresponding target color coordinate value, wherein the target gamma curve is obtained according to the initial gamma curve, the sample color scale and the chromaticity diagram, and the total color scale includes the sample color scale. The present invention solves the technical problem of inaccurate color correction when color correction is performed by adjusting the color scale of an LED display screen in the related art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of LEDs, and in particular to a color correction method, device, electronic equipment and computer-readable storage medium. Background Art

[0002] At present, most movie screens use projection technology. In recent years, with the technological progress of LED display screens, especially the excellent performance of LED display screens in low brightness uniformity and color expression, LED display screens are gradually used as movie screens. However, when LED display screens are used as movie screens, the characteristics of unprocessed LED display screens do not meet the bright color quality requirements of movie screens. In the related technology, when adjusting the color coordinates of LED display screens for color correction, there is a problem of inaccurate color correction.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a color correction method, device, electronic device and computer-readable storage medium to at least solve the technical problem of inaccurate color correction when color correction is performed by adjusting the color scale of an LED display screen in the related art.

[0005] According to one aspect of an embodiment of the present invention, a color correction method is provided, comprising: determining a total color scale of an LED display screen; determining an initial color coordinate value and a target color coordinate value of a color coefficient corresponding to each color scale in the total color scale; adjusting the initial color coordinate value of the color coefficient corresponding to each color scale in the total color scale according to a target gamma curve, until the initial color coordinate value of the color coefficient corresponding to each color scale in the total color scale reaches the corresponding target color coordinate value, wherein the target gamma curve is obtained according to an initial gamma curve, a sample color scale and a chromaticity diagram, and the total color scale includes the sample color scale.

[0006] Optionally, the method of adjusting the coefficient value of the color coefficient corresponding to each color level in the total color level according to the target gamma curve until the initial color coordinate value of the color coefficient corresponding to each color level in the total color level reaches the corresponding target color coordinate value also includes: determining the sample color level from the total color level of the LED display screen; determining the initial sample color coordinate value and the target sample color coordinate value of the color coefficient corresponding to each color level in the sample color level; adjusting the initial color coordinate value of the color coefficient corresponding to each color level in the sample color level according to the chromaticity diagram, until the initial sample color coordinate value of the color coefficient corresponding to each color level in the sample color level reaches the corresponding target sample color coordinate value; determining the target coefficient value of the color coefficient corresponding to each color level in the sample color level; adjusting the initial gamma curve according to the target coefficient value of the color coefficient corresponding to each color level in the sample color level to obtain the target gamma curve corresponding to the color coefficient respectively.

[0007] Optionally, determining the sample color level from the total color level of the LED display screen includes: determining the sample color level from the total color level of the LED display screen according to a predetermined interval.

[0008] Optionally, the initial color coordinate values ​​of the color coefficients corresponding to each color level in the sample color levels are adjusted respectively according to the chromaticity diagram until the initial sample color coordinate values ​​of the color coefficients corresponding to each color level in the sample color levels reach the corresponding target sample color coordinate values, including: determining respectively the first change trend of the color coefficients corresponding to each color level in the sample color levels according to the chromaticity diagram; and adjusting respectively the initial color coordinate values ​​of the color coefficients corresponding to each color level in the sample color levels according to the first change trend until the initial sample color coordinate values ​​of the color coefficients corresponding to each color level in the sample color levels reach the corresponding target sample color coordinate values.

[0009] Optionally, the adjusting the initial color coordinate values ​​of the color coefficients corresponding to each color level in the sample color level respectively according to the first change trend until the initial sample color coordinate values ​​of the color coefficients corresponding to each color level in the sample color level reach the corresponding target sample color coordinate values, including: adjusting the initial color coordinate values ​​of the color coefficients corresponding to each color level in the sample color level respectively according to the first change trend to obtain the adjustment coefficient values ​​of the color coefficients corresponding to each color level in the sample color level; determining the adjusted sample color coordinate values ​​of the color coefficients corresponding to each color level in the sample color level according to the adjustment coefficient values ​​of the color coefficients corresponding to each color level in the sample color level; comparing the sample color coordinate values ​​respectively according to the first change trend. The target comparison result is obtained by comparing the adjusted sample color coordinate values ​​of the color coefficient corresponding to each color level in the present color level with the corresponding target sample color coordinate values; when the target comparison result is that there is a difference between the adjusted sample color coordinate values ​​of the color coefficient corresponding to each color level in the sample color level and the corresponding target sample color coordinate values, the second change trend of the color coefficient corresponding to each color level in the sample color level is determined according to the chromaticity diagram; according to the second change trend, the adjustment coefficient values ​​of the color coefficient corresponding to each color level in the sample color level are adjusted respectively until the adjusted sample color coordinate values ​​of the color coefficient corresponding to each color level in the sample color level reach the corresponding target sample color coordinate values.

[0010] Optionally, after respectively comparing the adjusted sample color coordinate values ​​of the color coefficient corresponding to each color level in the sample color level with the corresponding target sample color coordinate values ​​to obtain the target comparison result, it also includes: when the target comparison result is that the adjusted sample color coordinate values ​​of the color coefficient corresponding to each color level in the sample color level are exactly the same as the corresponding target sample color coordinate values, determining that the adjusted sample color coordinate values ​​of the color coefficient corresponding to each color level in the sample color level are the corresponding target sample color coordinate values.

[0011] Optionally, determining the initial color coordinate value of the color coefficient corresponding to each color level in the total color level includes: determining the initial color coordinate value of the color coefficient corresponding to each color level in the total color level according to the initial gamma curve.

[0012] According to one aspect of an embodiment of the present invention, a color correction device is provided, including: a first determination module, used to determine the total color scale of an LED display screen; a second determination module, used to determine the initial color coordinate value and the target color coordinate value of the color coefficient corresponding to each color scale in the total color scale; an adjustment module, used to adjust the initial color coordinate value of the color coefficient corresponding to each color scale in the total color scale according to a target gamma curve, until the initial color coordinate value of the color coefficient corresponding to each color scale in the total color scale reaches the corresponding target color coordinate value, wherein the target gamma curve is obtained according to the initial gamma curve, the sample color scale and the chromaticity diagram, and the total color scale includes the sample color scale.

[0013] According to one aspect of an embodiment of the present invention, an electronic device is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement any one of the color correction methods described above.

[0014] According to one aspect of an embodiment of the present invention, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute any one of the color correction methods described above.

[0015] In an embodiment of the present invention, the total color scale of the LED display screen is first determined, and then the initial color coordinate value and the target color coordinate value of the color coefficient corresponding to each color scale in the total color scale are determined, and then the initial color coordinate value of the color coefficient corresponding to each color scale in the total color scale is adjusted according to the target gamma curve, until the initial color coordinate value of the color coefficient corresponding to each color scale in the total color scale reaches the corresponding target color coordinate value. Among them, the target gamma curve is obtained according to the initial gamma curve, the sample color scale and the chromaticity diagram, and the total color scale includes the sample color scale. Since the initial color coordinate value of the color coefficient corresponding to each color scale in the total color scale has been adjusted, and the initial color coordinate value of the color coefficient corresponding to each color scale in the total color scale has been adjusted to the target color coordinate value, each color scale in the total color scale has been color corrected, thereby achieving the technical effect of accurately correcting the color scale of the LED display screen, thereby solving the technical problem of inaccurate color correction when adjusting the color scale of the LED display screen in the related art. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0017] Figure 1 is a flow chart of a color correction method according to an embodiment of the present invention;

[0018] Figure 2 is a schematic diagram of an initial gamma curve provided by an optional embodiment of the present invention;

[0019] Figure 3 is a schematic diagram of initial color coordinate values ​​of color coefficients provided in an optional embodiment of the present invention;

[0020] Figure 4 is a schematic diagram of target coefficient values ​​of color coefficients provided by an optional embodiment of the present invention;

[0021] Figure 5is a schematic diagram of a process of determining a target gamma curve provided by an optional embodiment of the present invention;

[0022] Figure 6 4 is a structural block diagram of a color correction device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0023] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0025] Example 1

[0026] According to an embodiment of the present invention, an embodiment of a color correction method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0027] Figure 1 is a flow chart of a color correction method according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0028] Step S102, determining the total color scale of the LED display screen;

[0029] In the technical solution provided in the above step S102 of the present invention, for example, in order to meet the requirements of a movie screen, the total color scale of the LED display screen can be determined to be 4096 gray scales. In this way, the total color scale that meets the requirements can be determined.

[0030] Step S104, determining the initial color coordinate value and the target color coordinate value of the color coefficient corresponding to each color level in the total color level;

[0031] In the technical solution provided in the above step S104 of the present invention, when the color coefficient is RGB, the target color coordinate value of the color coefficient corresponding to each color level in the total color level is determined according to the requirements of the movie display, for example, the target color coordinate value at the highest brightness in the 4096-level gray scale is (0.314, 0.351). The initial color coordinate value of the color coefficient corresponding to each color level in the total color level can be determined according to the initial gamma curve of the movie standard, that is, the curve with a gamma value of 2.6. In this way, the initial color coordinate value and the target color coordinate value of the color coefficient corresponding to each color level in the total color level can be quickly and accurately determined.

[0032] Step S106, according to the target gamma curve, respectively adjust the initial color coordinate value of the color coefficient corresponding to each color level in the total color level, until the initial color coordinate value of the color coefficient corresponding to each color level in the total color level reaches the corresponding target color coordinate value, wherein the target gamma curve is obtained based on the initial gamma curve, the sample color level and the chromaticity diagram, and the total color level includes the sample color level.

[0033] In the technical solution provided in the above step S106 of the present invention, when the color coefficient is RGB, the target gamma curve includes a first target gamma curve, a second target gamma curve and a third target gamma curve, which correspond to R, G and B in the color coefficient respectively. According to the first target gamma curve, the second target gamma curve and the third target gamma curve, the initial color coordinate values ​​of R, G and B in the color coefficient corresponding to each color level in the total color level are adjusted respectively until the initial color coordinate value of the color coefficient corresponding to each color level in the total color level reaches the corresponding target color coordinate value. In this way, each color level in the total color level can be accurately color corrected to ensure that the color-corrected LED display can be used as a movie screen.

[0034] Through the above steps S102 to S106, the total color scale of the LED display screen is first determined, and then the initial color coordinate value and the target color coordinate value of the color coefficient corresponding to each color scale in the total color scale are determined, and then the initial color coordinate value of the color coefficient corresponding to each color scale in the total color scale is adjusted according to the target gamma curve, until the initial color coordinate value of the color coefficient corresponding to each color scale in the total color scale reaches the corresponding target color coordinate value. Among them, the target gamma curve is obtained according to the initial gamma curve, the sample color scale and the chromaticity diagram, and the total color scale includes the sample color scale. Since the initial color coordinate value of the color coefficient corresponding to each color scale in the total color scale has been adjusted, and the initial color coordinate value of the color coefficient corresponding to each color scale in the total color scale has been adjusted to the target color coordinate value, each color scale in the total color scale has been color corrected, thereby achieving the technical effect of accurately correcting the color scale of the LED display screen, thereby solving the technical problem of inaccurate color correction when adjusting the color scale of the LED display screen in the related art.

[0035] As an optional embodiment, according to the target gamma curve, the coefficient value of the color coefficient corresponding to each color level in the total color level is adjusted until the initial color coordinate value of the color coefficient corresponding to each color level in the total color level reaches the corresponding target color coordinate value, and it also includes: determining a sample color level from the total color level of the LED display screen; determining the initial sample color coordinate value and the target sample color coordinate value of the color coefficient corresponding to each color level in the sample color level; according to the chromaticity diagram, adjusting the initial color coordinate value of the color coefficient corresponding to each color level in the sample color level respectively, until the initial sample color coordinate value of the color coefficient corresponding to each color level in the sample color level reaches the corresponding target sample color coordinate value; determining the target coefficient value of the color coefficient corresponding to each color level in the sample color level; adjusting the initial gamma curve according to the target coefficient value of the color coefficient corresponding to each color level in the sample color level, and obtaining the target gamma curve corresponding to the color coefficient respectively.

[0036] In this embodiment, a sample color scale is determined from the total color scale of the LED display screen, for example, 20 gray scales are selected from 4096 gray scales as sample color scales. The initial sample color coordinate value and the target sample color coordinate value of the color coefficient corresponding to each color scale in the 20 sample color scales are determined, and the current state and target state of the sample color scale can be accurately determined. According to the chromaticity diagram, the initial color coordinate value of the color coefficient corresponding to each color scale in the sample color scale is adjusted respectively. When the color coefficient is RGB, the three initial color coordinate values ​​of the color coefficient corresponding to each color scale are equal. For example, the R value, the G value, and the B value are all 96, until the initial sample color coordinate value of the color coefficient corresponding to each color scale in the sample color scale reaches the corresponding target sample color coordinate value, that is, it is ensured that each color scale in the sample color scale changes from the current state to the target state. Determine the target coefficient value of the color coefficient corresponding to each color scale in the sample color scale. For example, after adjustment, the R value is 93, the G value is 95, and the B value is 98. According to the target coefficient value of the color coefficient corresponding to each color scale in the sample color scale, the initial gamma curve is adjusted to obtain the target gamma curves corresponding to the color coefficients respectively. For example, according to the R value corresponding to each color scale in the 20 sample color scales, the initial gamma curve is adjusted to obtain the first target gamma curve. According to the G value corresponding to each color scale in the 20 sample color scales, the initial gamma curve is adjusted to obtain the second target gamma curve. According to the B value corresponding to each color scale in the 20 sample color scales, the initial gamma curve is adjusted to obtain the third target gamma curve. The target gamma curves include the first target gamma curve, the second target gamma curve, and the third target gamma curve. In this way, an accurate target gamma curve can be obtained.

[0037] As an optional embodiment, determining the sample color level from the total color level of the LED display screen includes: determining the sample color level from the total color level of the LED display screen according to a predetermined interval.

[0038] In this embodiment, the sample color levels can be evenly determined from the total color level of the LED display screen according to the predetermined interval. The sample color levels determined in this way can more accurately represent the total color level.

[0039] As an optional embodiment, according to the chromaticity diagram, the initial color coordinate values ​​of the color coefficient corresponding to each color level in the sample color level are adjusted respectively until the initial sample color coordinate values ​​of the color coefficient corresponding to each color level in the sample color level reach the corresponding target sample color coordinate values, including: according to the chromaticity diagram, respectively determining the first change trend of the color coefficient corresponding to each color level in the sample color level; according to the first change trend, respectively adjusting the initial color coordinate values ​​of the color coefficient corresponding to each color level in the sample color level until the initial sample color coordinate values ​​of the color coefficient corresponding to each color level in the sample color level reach the corresponding target sample color coordinate values.

[0040] In this embodiment, when the color coefficient is RGB, the change trend of R, the change trend of G and the change trend of B corresponding to each color level in the sample color level are determined respectively according to the chromaticity diagram, and the first change trend includes the change trend of R, the change trend of G and the change trend of B; according to the first change trend, the initial color coordinate value of the color coefficient corresponding to each color level in the sample color level is adjusted respectively, for example, if the change trend of R is decreasing, the R value corresponding to each color level in the sample color level can be adjusted to be smaller, if the change trend of G is decreasing, the G value corresponding to each color level in the sample color level can be adjusted to be smaller, and if the change trend of B is increasing, the B value corresponding to each color level in the sample color level can be increased, until the initial sample color coordinate value of the color coefficient corresponding to each color level in the sample color level reaches the corresponding target sample color coordinate value. In this way, the initial sample color coordinate value of the color coefficient corresponding to each color level in the sample color level can be accurately adjusted to the corresponding target sample color coordinate value.

[0041] As an optional embodiment, according to the first change trend, the initial color coordinate values ​​of the color coefficients corresponding to each color level in the sample color level are adjusted respectively until the initial sample color coordinate values ​​of the color coefficients corresponding to each color level in the sample color level reach the corresponding target sample color coordinate values, including: according to the first change trend, the initial color coordinate values ​​of the color coefficients corresponding to each color level in the sample color level are adjusted respectively to obtain the adjustment coefficient values ​​of the color coefficients corresponding to each color level in the sample color level; according to the adjustment coefficient values ​​of the color coefficients corresponding to each color level in the sample color level, the adjusted sample color coordinate values ​​of the color coefficients corresponding to each color level in the sample color level are determined; and the sample color coordinate values ​​of the color coefficients corresponding to each color level in the sample color level are compared respectively. The target comparison result is obtained by comparing the adjusted sample color coordinate values ​​of the color coefficient corresponding to each color level in the present color level with the corresponding target sample color coordinate values; when the target comparison result is that the adjusted sample color coordinate values ​​of the color coefficient corresponding to each color level in the sample color level are different from the corresponding target sample color coordinate values, the second change trend of the color coefficient corresponding to each color level in the sample color level is determined according to the chromaticity diagram; according to the second change trend, the adjustment coefficient values ​​of the color coefficient corresponding to each color level in the sample color level are adjusted until the adjusted sample color coordinate values ​​of the color coefficient corresponding to each color level in the sample color level reach the corresponding target sample color coordinate values.

[0042] In this embodiment, according to the first change trend, the initial color coordinate value of the color coefficient corresponding to each color level in the sample color level is adjusted respectively. For example, if the change trend of R is decreasing and the initial color coordinate value of R is 96, the R value corresponding to a color level in the sample color level can be adjusted down to 95; if the change trend of G is decreasing and the initial color coordinate value of G is 96, the G value corresponding to a color level in the sample color level can be adjusted down to 95; if the change trend of B is increasing and the initial color coordinate value of R is 96, the B value corresponding to each color level in the sample color level can be adjusted up to 97, and the adjustment coefficient value of the color coefficient corresponding to the color level in the sample color level is obtained as follows: R value is 95, G value is 95, and B value is 97. According to the adjustment coefficient value of the color coefficient corresponding to the color level in the sample color level, the adjusted sample color coordinate value of the color coefficient corresponding to the color level in the sample color level is determined. In this way, the adjusted sample color coordinate value of the color coefficient corresponding to each color level in the sample color level can be obtained. The adjusted sample color coordinate values ​​of the color coefficients corresponding to each color level in the sample color level are respectively compared with the corresponding target sample color coordinate values ​​to obtain the target comparison result. When the target comparison result is that there is a difference between the adjusted sample color coordinate values ​​of the color coefficients corresponding to each color level in the sample color level and the corresponding target sample color coordinate values, that is, when there are color levels in the sample color level that have not been adjusted to the target state, the second change trend of the color coefficients corresponding to each color level in the sample color level is determined according to the chromaticity diagram, that is, the change trend of the color coefficients corresponding to each color level in the sample color level after adjustment is determined. According to the second change trend, the adjusted coefficient values ​​of the color coefficients corresponding to each color level in the sample color level are respectively adjusted until the adjusted sample color coordinate values ​​of the color coefficients corresponding to each color level in the sample color level reach the corresponding target sample color coordinate values. By adjusting multiple times until the adjusted sample color coordinate values ​​of the color coefficients corresponding to each color level in the sample color level reach the corresponding target sample color coordinate values, it can be ensured that each color level in the sample color level reaches the target state.

[0043] As an optional embodiment, after respectively comparing the adjusted sample color coordinate values ​​of the color coefficient corresponding to each color level in the sample color level with the corresponding target sample color coordinate values ​​to obtain the target comparison result, it also includes: when the target comparison result is that the adjusted sample color coordinate values ​​of the color coefficient corresponding to each color level in the sample color level are exactly the same as the corresponding target sample color coordinate values, determining that the adjusted sample color coordinate values ​​of the color coefficient corresponding to each color level in the sample color level are the corresponding target sample color coordinate values.

[0044] In this embodiment, when the target comparison result is that the adjusted sample color coordinate value of the color coefficient corresponding to each color level in the sample color level is exactly the same as the corresponding target sample color coordinate value, that is, when each color level in the sample color level is adjusted to the target state, the adjusted sample color coordinate value of the color coefficient corresponding to each color level in the sample color level is determined to be the corresponding target sample color coordinate value, that is, it is determined that each color level in the sample color level does not need to be adjusted. In this way, each color level in the sample color level can be quickly adjusted to the target state.

[0045] As an optional embodiment, determining the initial color coordinate value of the color coefficient corresponding to each color level in the total color level includes: determining the initial color coordinate value of the color coefficient corresponding to each color level in the total color level according to an initial gamma curve.

[0046] In this embodiment, the initial gamma curve may be a movie standard, that is, the gamma value is 2.6. Based on the initial gamma curve, the initial color coordinate value of the color coefficient corresponding to each color level in the total color level may be accurately determined.

[0047] Based on the above embodiments and optional embodiments, an optional implementation is provided, which is described in detail below.

[0048] In the related art, when color correction is performed by adjusting the color scale of an LED display screen, there is a technical problem of inaccurate color correction.

[0049] In view of this, a color correction method is provided in an optional embodiment of the present invention, which can accurately perform color correction on the color scale of the LED display screen to ensure that the corrected LED display screen can be used as a movie screen.

[0050] Figure 2 is a schematic diagram of an initial gamma curve provided by an optional embodiment of the present invention, such as Figure 2 As shown in Figure 1, when the LED display is used as a movie screen, the Gamma value of the initial gamma curve is 2.6.

[0051] Figure 3 is a schematic diagram of the initial color coordinate values ​​of the color coefficients provided by an optional embodiment of the present invention, such as Figure 3 As shown, when the color coefficient is RGB, the initial color coordinate values ​​of RGB are equal.

[0052] It should be noted that after each primary color in RGB is processed by the initial gamma curve, a higher-bit processing value will be obtained. For example, if the input is a 12-bit 4096-level grayscale, a 16-bit 65535-level grayscale can be obtained after passing through the target gamma curve.

[0053] Figure 4is a schematic diagram of target coefficient values ​​of color coefficients provided by an optional embodiment of the present invention, such as Figure 4 As shown, according to the chromaticity diagram, the three initial color coordinate values ​​of RGB corresponding to a certain color level in the sample color level are adjusted respectively, and the three target coefficient values ​​obtained may not be equal.

[0054] Figure 5 is a schematic diagram of a process of determining a target gamma curve provided by an optional embodiment of the present invention, such as Figure 5 As shown, according to the target coefficient value of R in RGB corresponding to each color level in the sample color level, the initial gamma curve is adjusted to obtain a first target gamma curve corresponding to R. Similarly, a second target gamma curve corresponding to G and a third target gamma curve corresponding to B can be obtained. The target gamma curves include a first target gamma curve, a second target gamma curve, and a third target gamma curve.

[0055] Through the above optional implementation, at least the following beneficial effects can be achieved:

[0056] (1) By adjusting each color level in the total color level of the LED display, the color level of the LED display can be accurately corrected to ensure that the corrected LED display can be used as a movie screen;

[0057] (2) Each color in the color coefficient has a corresponding target gamma curve, which can accurately correct each color in the color coefficient.

[0058] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0059] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention.

[0060] Example 2

[0061] According to an embodiment of the present invention, a device for implementing the above color correction method is also provided. Figure 6 is a structural block diagram of a color correction device according to an embodiment of the present invention. Figure 6 As shown, the device includes: a first determination module 602, a second determination module 604 and an adjustment module 606. The device is described in detail below.

[0062] A first determination module 602 is used to determine the total color scale of the LED display screen; a second determination module 604 is connected to the above-mentioned first determination module 602, and is used to determine the initial color coordinate value and the target color coordinate value of the color coefficient corresponding to each color scale in the total color scale; an adjustment module 606 is connected to the above-mentioned second determination module 604, and is used to adjust the initial color coordinate value of the color coefficient corresponding to each color scale in the total color scale according to the target gamma curve, until the initial color coordinate value of the color coefficient corresponding to each color scale in the total color scale reaches the corresponding target color coordinate value, wherein the target gamma curve is obtained based on the initial gamma curve, the sample color scale and the chromaticity diagram, and the total color scale includes the sample color scale.

[0063] It should be noted here that the above-mentioned first determination module 602, second determination module 604 and adjustment module 606 correspond to steps S102 to S106 in implementing the color correction method, and the examples and application scenarios implemented by the multiple modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned embodiment 1.

[0064] Example 3

[0065] According to another aspect of an embodiment of the present invention, there is further provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor, wherein the processor is configured to execute the instructions to implement any one of the above color correction methods.

[0066] Example 4

[0067] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute any of the above color correction methods.

[0068] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0069] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0070] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0071] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0072] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0073] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0074] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A color correction method, characterized in that: include: Determine the overall color scale of the LED display; Determine the initial color coordinate value and the target color coordinate value of the color coefficient corresponding to each color level in the total color level; According to the target gamma curve, respectively adjust the initial color coordinate value of the color coefficient corresponding to each color level in the total color level until the initial color coordinate value of the color coefficient corresponding to each color level in the total color level reaches the corresponding target color coordinate value, wherein the target gamma curve is obtained according to the initial gamma curve, the sample color level and the chromaticity diagram, and the total color level includes the sample color level; The method of adjusting the coefficient value of the color coefficient corresponding to each color level in the total color level according to the target gamma curve until the initial color coordinate value of the color coefficient corresponding to each color level in the total color level reaches the corresponding target color coordinate value also includes: Determine the sample color level from the total color level of the LED display screen; Determine an initial sample color coordinate value and a target sample color coordinate value of a color coefficient corresponding to each color level in the sample color level; According to the chromaticity diagram, respectively adjust the initial color coordinate value of the color coefficient corresponding to each color level in the sample color level until the initial sample color coordinate value of the color coefficient corresponding to each color level in the sample color level reaches the corresponding target sample color coordinate value; Determine a target coefficient value of a color coefficient corresponding to each color level in the sample color level; According to the target coefficient value of the color coefficient corresponding to each color level in the sample color level, the initial gamma curve is adjusted to obtain the target gamma curve corresponding to the color coefficient respectively; Wherein, determining the sample color level from the total color level of the LED display screen includes: According to a predetermined interval, the sample color level is determined from the total color level of the LED display screen.

2. The method according to claim 1, characterized in that The method of adjusting the initial color coordinate value of the color coefficient corresponding to each color level in the sample color level according to the chromaticity diagram respectively until the initial sample color coordinate value of the color coefficient corresponding to each color level in the sample color level reaches the corresponding target sample color coordinate value includes: Determining, according to the chromaticity diagram, a first change trend of a color coefficient corresponding to each color level in the sample color levels; According to the first change trend, the initial color coordinate value of the color coefficient corresponding to each color level in the sample color level is adjusted respectively until the initial sample color coordinate value of the color coefficient corresponding to each color level in the sample color level reaches the corresponding target sample color coordinate value.

3. The method according to claim 2, characterized in that The method of adjusting the initial color coordinate value of the color coefficient corresponding to each color level in the sample color level according to the first change trend respectively until the initial sample color coordinate value of the color coefficient corresponding to each color level in the sample color level reaches the corresponding target sample color coordinate value includes: According to the first change trend, respectively adjust the initial color coordinate value of the color coefficient corresponding to each color level in the sample color level to obtain the adjustment coefficient value of the color coefficient corresponding to each color level in the sample color level; Determining the adjusted sample color coordinate value of the color coefficient corresponding to each color level in the sample color level according to the adjustment coefficient value of the color coefficient corresponding to each color level in the sample color level; Respectively comparing the adjusted sample color coordinate value of the color coefficient corresponding to each color level in the sample color level with the corresponding target sample color coordinate value to obtain a target comparison result; When the target comparison result is that there is a difference between the adjusted sample color coordinate value of the color coefficient corresponding to each color level in the sample color level and the corresponding target sample color coordinate value, determining the second change trend of the color coefficient corresponding to each color level in the sample color level according to the chromaticity diagram; According to the second change trend, the adjustment coefficient values ​​of the color coefficients corresponding to each color level in the sample color levels are adjusted respectively until the adjusted sample color coordinate values ​​of the color coefficients corresponding to each color level in the sample color levels reach the corresponding target sample color coordinate values.

4. The method according to claim 3, characterized in that: After respectively comparing the adjusted sample color coordinate values ​​of the color coefficients corresponding to each color level in the sample color levels with the corresponding target sample color coordinate values ​​to obtain the target comparison result, the method further includes: When the target comparison result is that the adjusted sample color coordinate value of the color coefficient corresponding to each color level in the sample color level is exactly the same as the corresponding target sample color coordinate value, the adjusted sample color coordinate value of the color coefficient corresponding to each color level in the sample color level is determined to be the corresponding target sample color coordinate value.

5. The method according to any one of claims 1 to 4, characterized in that: Determining the initial color coordinate value of the color coefficient corresponding to each color level in the total color level includes: According to the initial gamma curve, an initial color coordinate value of a color coefficient corresponding to each color level in the total color level is determined.

6. A color correction device, characterized in that: include: The first determination module is used to determine the total color scale of the LED display screen; A second determination module, used to determine an initial color coordinate value and a target color coordinate value of a color coefficient corresponding to each color level in the total color level; an adjustment module, configured to adjust the initial color coordinate value of the color coefficient corresponding to each color level in the total color level according to a target gamma curve, until the initial color coordinate value of the color coefficient corresponding to each color level in the total color level reaches the corresponding target color coordinate value, wherein the target gamma curve is obtained according to an initial gamma curve, a sample color level and a chromaticity diagram, and the total color level includes the sample color level; Wherein, the adjustment module is further used to determine the sample color scale from the total color scale of the LED display screen; determine the initial sample color coordinate value and the target sample color coordinate value of the color coefficient corresponding to each color scale in the sample color scale; according to the chromaticity diagram, respectively adjust the initial color coordinate value of the color coefficient corresponding to each color scale in the sample color scale until the initial sample color coordinate value of the color coefficient corresponding to each color scale in the sample color scale reaches the corresponding target sample color coordinate value; determine the target coefficient value of the color coefficient corresponding to each color scale in the sample color scale; according to the target coefficient value of the color coefficient corresponding to each color scale in the sample color scale, adjust the initial gamma curve to obtain the target gamma curve corresponding to the color coefficient respectively; Wherein, the adjustment module is further used to determine the sample color level from the total color level of the LED display screen according to a predetermined interval.

7. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the color correction method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the color correction method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Gamma correction method and device for display module

    CN110910847A

  • Gamma debugging method, device and equipment

    CN113393794A