Gamma brightness curve acquisition method, storage medium, chip and electronic equipment

By determining the first target point and the second target point in the standard gamma curve in the LED display, scaling to connect the actual brightness curve, and constructing a reference gamma curve, the brightness jump problem is solved and the accuracy of image display is improved.

CN118658404APending Publication Date: 2024-09-17XIAN QINGSONG PHOTOELECTRIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310232208.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-10
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

When the LED display screen obtains a display correction image, different processing methods for low gray and high gray parts cause brightness jumps, affecting the accuracy of the gamma brightness curve, thereby reducing the accuracy of image display.

Method used

By determining the first target point from the actual brightness curve of the LED display as the dividing point between low grayscale and high grayscale, combined with the second target point in the standard gamma curve, the actual brightness curve is scaled and connected to construct a reference gamma curve , ensuring the same slope at the connection points, thus smoothing the transition and avoiding brightness jumps.

Benefits of technology

It improves the accuracy of the LED display screen when displaying images based on the gamma brightness curve, avoids brightness jumps, and improves the display effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118658404A
    Figure CN118658404A
Patent Text Reader

Abstract

The invention relates to the field of data processing, and discloses a gamma brightness curve acquisition method, a storage medium, a chip and electronic equipment, and the method comprises the steps: determining a first target point from an actual brightness curve of an LED display screen, the first target point being a demarcation point between a low gray level and a high gray level; determining a second target point corresponding to the first target point from a standard gamma curve of the LED display screen, wherein the slope of the standard gamma curve at the second target point is the same as the slope of the actual brightness curve at the first target point; zooming and connecting a curve after the second target point in the standard gamma curve to a curve before the first target point in the actual brightness curve by taking the first target point as a connecting point to obtain a reference gamma curve; and determining the gamma brightness curve of the LED display screen according to the actual brightness curve and the reference gamma curve, so as to improve the problem of low accuracy of the existing LED display screen during image display and improve the accuracy of image display.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing, and in particular to a method for obtaining a gamma brightness curve, a storage medium, a chip, and an electronic device. Background Art

[0002] As users' demand for large-screen movie watching continues to increase, the demand for display screens is also increasing. After the LED display screen is produced, it is necessary to obtain the display calibration image of the LED display screen through data acquisition, and determine the gamma brightness curve of the LED display screen based on the display calibration image.

[0003] When collecting data on the LED display, when the LED display turns gray, the front part (low gray part) has a small brightness corresponding to the grayscale, which easily causes the display to fail. Therefore, the low gray part of the LED display is processed separately, and the high gray part is processed normally. Due to the different processing methods for the low gray and high gray parts, this method will cause the actual brightness curve determined by the collected display correction image to have a brightness jump at the junction of low gray and high gray, and then the gamma brightness curve determined by the actual brightness curve will also have a brightness jump, which will reduce the accuracy of the LED display when displaying images according to the gamma brightness curve. Summary of the invention

[0004] One purpose of the embodiments of the present application is to provide a gamma brightness curve acquisition method, a storage medium, a chip and an electronic device, aiming to improve the problem of low accuracy when displaying images on existing LED display screens.

[0005] In a first aspect, an embodiment of the present application provides a method for obtaining a gamma brightness curve, the method comprising:

[0006] Determine a first target point from an actual brightness curve of the LED display screen, wherein the first target point is a dividing point between low grayscale and high grayscale;

[0007] Determine a second target point corresponding to the first target point from a standard gamma curve of the LED display screen, wherein a slope of the standard gamma curve at the second target point is the same as a slope of the actual brightness curve at the first target point;

[0008] Scaling and connecting the curve after the second target point in the standard gamma curve to the curve before the first target point in the actual brightness curve with the first target point as a connection point, so as to obtain a reference gamma curve;

[0009] A gamma brightness curve of the LED display screen is determined according to the actual brightness curve and the reference gamma curve.

[0010] In a possible implementation, determining the gamma brightness curve of the LED display screen according to the actual brightness curve and the reference gamma curve includes:

[0011] Determining, from the actual brightness curve, a grayscale value corresponding to a brightness value in the reference gamma curve;

[0012] A curve is constructed according to the brightness value in the reference gamma curve and the grayscale value in the actual brightness curve corresponding to the brightness value in the reference gamma curve to obtain the gamma brightness curve of the LED display screen.

[0013] In a possible implementation, scaling and connecting the curve after the second target point in the standard gamma curve to the curve before the first target point in the actual brightness curve with the first target point as a connection point to obtain a reference gamma curve includes:

[0014] Determining, according to the coordinates of the first target point and the coordinates of the second target point, a grayscale coordinate value of a point in the reference gamma curve corresponding to a point in the curve of the standard gamma curve after the second target point;

[0015] Determining a brightness coordinate value of a point in the reference gamma curve corresponding to a point in the curve of the standard gamma curve after the second target point according to a grayscale coordinate value of a point in the reference gamma curve corresponding to a point in the curve of the standard gamma curve after the second target point and the standard gamma curve;

[0016] The reference gamma curve is determined by the grayscale coordinate value and brightness coordinate value of a point in the reference gamma curve corresponding to the standard gamma curve after the second target point and the coordinates of a point in the actual brightness curve before the first target point.

[0017] In a possible implementation, determining the first target point from an actual brightness curve of the LED display screen includes:

[0018] Determine a first reference point, where the first reference point is any point in the actual brightness curve;

[0019] Acquire a second brightness value of a second reference point immediately after the first reference point in the actual brightness curve, and acquire a third brightness value of a third reference point immediately after the second reference point in the actual brightness curve;

[0020] If the second brightness value and the third brightness value are both smaller than the first brightness value of the first reference point, the first reference point is determined to be the first target point.

[0021] In a possible implementation, after determining the first target point from the actual brightness curve of the LED display screen, the method further includes:

[0022] Determine a fourth reference point from a curve after the first target point in the actual brightness curve, wherein a brightness value of the fourth reference point is the same as a brightness value of the first target point;

[0023] Adjusting the brightness value of a point between the first target point and the fourth reference point in the actual brightness curve to the brightness value of the first target point to obtain an adjusted actual brightness curve;

[0024] An outlier point set is determined from the adjusted actual brightness curve, where an outlier point in the outlier point set is a point whose brightness value is lower than that of a previous point.

[0025] In a possible implementation, the method further includes:

[0026] Determine the corrected brightness value of the outlier point in the outlier point set according to the interpolation method;

[0027] The actual brightness curve is corrected according to the corrected brightness values ​​of the outliers in the outlier set to obtain a corrected actual brightness curve.

[0028] In a possible implementation, the method further includes:

[0029] Acquire the slope of the actual brightness curve at the first target point;

[0030] The obtaining the slope of the actual brightness curve at the first target point includes:

[0031] Obtaining the slope of the actual brightness curve at K points adjacent to the first target point;

[0032] The average value of the slopes of the actual brightness curve at K adjacent points before the first target point is determined as the slope of the actual brightness curve at the first target point.

[0033] In a second aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes a method as described in any one of the first aspects.

[0034] In a third aspect, an embodiment of the present application provides a chip, including:

[0035] at least one processor; and,

[0036] a memory communicatively connected to the at least one processor; wherein,

[0037] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the gamma brightness curve acquisition method as described in any one of the first aspects.

[0038] In a fourth aspect, an embodiment of the present application provides an electronic device, including:

[0039] at least one processor; and,

[0040] a memory communicatively connected to the at least one processor; wherein,

[0041] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the gamma brightness curve acquisition method as described in any one of the first aspects.

[0042] In the gamma brightness curve acquisition method provided in the embodiment of the present application, a first target point is determined from the actual brightness curve of the LED display screen, the first target point is the dividing point between low grayscale and high grayscale, a second target point corresponding to the first target point is determined from the standard gamma curve of the LED display screen, the slope of the standard gamma curve at the second target point is the same as the slope of the actual brightness curve at the first target point, the curve after the second target point in the standard gamma curve is scaled and connected to the curve before the first target point in the actual brightness curve with the first target point as the connection point to obtain a reference gamma curve, and the gamma brightness curve of the LED display screen is determined according to the actual brightness curve and the reference gamma curve, so that the actual brightness curve can be corrected by the standard gamma curve to obtain the gamma brightness curve, and since the slopes at the connection points are the same, the slope at the point corresponding to the first target point in the gamma brightness curve is smoothly transitioned, avoiding brightness jumps, thereby improving the accuracy of the LED display screen when displaying images according to the gamma brightness curve. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0044] Figure 1A A schematic diagram of an actual brightness curve of an LED display screen provided in an embodiment of the present application;

[0045] Figure 1B A schematic diagram of a gamma brightness curve of an LED display screen in an existing solution provided in an embodiment of the present application;

[0046] Figure 1C Schematic diagram of a gamma brightness curve acquisition system provided in an embodiment of the present application

[0047] Figure 2A A schematic diagram of a gamma brightness curve acquisition method provided in an embodiment of the present application;

[0048] Figure 2B A schematic diagram of an actual brightness curve and a standard gamma curve provided in an embodiment of the present application;

[0049] Figure 2C A comparative schematic diagram of a gamma brightness curve provided in an embodiment of the present application;

[0050] Figure 3 A schematic diagram of the circuit structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0052] It should be noted that, if there is no conflict, the various features in the embodiments of the present application can be combined with each other, all within the scope of protection of the present application. In addition, although the functional module division is performed in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a sequence different from the module division in the device or the flow chart. Furthermore, the words "first", "second", "third", etc. used in this application do not limit the data and execution order, but only distinguish the same items or similar items with basically the same functions and effects.

[0053] In order to better understand a method for obtaining a gamma brightness curve provided in an embodiment of the present application, the following first briefly introduces a method for obtaining a gamma brightness curve in an existing scheme. In the existing scheme, when obtaining the gamma brightness curve, a conversion operation is usually performed directly based on the actual brightness curve and the standard gamma curve to obtain the gamma brightness curve, wherein the actual brightness curve can represent a curve representing the mapping relationship between the brightness value actually measured by the LED display and the input video signal of the LED display, the standard gamma curve can be understood as a curve representing the mapping relationship between the input video signal of the LED display and the brightness value of the LED display (determined by the gamma formula), the gamma brightness curve can be understood as a curve representing the mapping relationship between the input video signal of the LED display and the corrected brightness value of the LED display, and the gamma brightness curve can be used to determine the corresponding brightness value of the input video signal when the LED display is displaying an image. Figure 1A As shown in the figure, when collecting data on the LED display, when the LED display turns gray, the front part (low gray part) is prone to not turning gray due to the small brightness corresponding to the grayscale. In this case, the low gray part of the LED display needs to be processed separately. When processing separately, the grayscale value corresponding to the next input video signal value is usually at least the grayscale value of the previous input video signal + 1, so that the low gray part of the LED display is approximated to a straight line, and the high gray part is processed normally, which is actually represented as a curve, resulting in a large brightness jump near the low gray and high gray fusion point (the dividing point between low gray and high gray) (such as Figure 1A As shown in ), a color jump is formed, so that after the gamma brightness curve is determined according to the actual brightness curve, there is an obvious brightness transition at the low gray and high gray fusion point in the gamma brightness curve (as shown in Figure 1B As a result, the LED display screen has reduced accuracy when displaying images according to the gamma brightness curve.

[0054] The present application aims to solve the above-mentioned problem and proposes a method for obtaining a gamma brightness curve, so that the actual brightness curve can be corrected by a standard gamma curve to obtain a gamma brightness curve. Since the slopes at the connection points are the same, the slopes at the points corresponding to the first target point in the gamma brightness curve are smoothly transitioned, avoiding brightness jumps, thereby improving the accuracy of the LED display when displaying images according to the gamma brightness curve.

[0055] The embodiment of the present application provides a gamma brightness curve acquisition system, which includes a camera and an electronic device. The camera and the electronic device may be connected by wire or wirelessly. When connected wirelessly, for example, they may be connected by WIFI, or by other frequency bands such as 2.4 GHz, or by other wireless connection methods such as Bluetooth. The electronic device may be a computer, a tablet computer, a mobile phone, a mobile terminal, etc., and of course, it may also be other electronic devices.

[0056] The gamma brightness curve acquisition method can be applied to the gamma brightness curve acquisition system, see Figure 1C The gamma brightness curve acquisition system 100 includes an electronic device 1 and a camera 2. The electronic device includes a processor 11, a memory 12 and a communication interface 13. The electronic device 1 includes at least one processor 11, a memory 12 and a communication interface 13. At least one processor 11 is respectively connected to the memory 12 for communication, wherein at least one processor 11 is respectively connected to the communication interface, and the memory 12 stores instructions that can be executed by at least one processor 11. The instructions are executed by the at least one processor 11 so that the at least one processor 11 can execute the gamma brightness curve acquisition method described below.

[0057] The electronic device 1 is connected to the LED display screen 3 through a communication interface, and the electronic device 1 is connected to the camera 2 through a communication interface. The camera 2 can receive an image acquisition instruction sent by the electronic device 1, and acquire a display image of the LED display screen, and send the display image to the electronic device 1, and the electronic device 1 obtains the gamma brightness curve of the LED display screen based on the display image.

[0058] As another aspect of the present application, the present application provides a method for obtaining a gamma brightness curve, which is applied to electronic devices. In the following embodiments, the input video signal type is 8-bit, and the grayscale value type of the LED display screen is 16-bit (where the maximum grayscale value is 32767) as an example. Figure 2A , the gamma brightness curve acquisition method includes:

[0059] S201. Determine a first target point from an actual brightness curve of the LED display screen, where the first target point is a dividing point between low grayscale and high grayscale.

[0060] When determining the first target point in the actual brightness curve of the LED display, the first target point can be determined based on whether there is a brightness jump between adjacent points in the actual brightness curve. For example, if the brightness values ​​of several consecutive points after a point are lower than the brightness value of the point, then the point is determined as the first target point.

[0061] Of course, the first target point may be determined by other methods. For example, when the LED display screen is displaying, the last point of the low gray single point may be determined as the first target point.

[0062] S202: Determine a second target point corresponding to the first target point from a standard gamma curve of the LED display screen, wherein a slope of the standard gamma curve at the second target point is the same as a slope of the actual brightness curve at the first target point.

[0063] When determining the slope of the second target point, the slope of the standard gamma curve at the second target point may be calculated using a common slope calculation method.

[0064] When determining the slope of the first target point, since the first target point is a low gray and high gray fusion point (a dividing point between low gray and high gray), there are two slopes at the first target point. In this case, the slope of the curve of the actual brightness curve before the first target point can be determined as the slope of the actual brightness curve at the first target point. Specifically, the average of the slopes of the curve of the actual brightness curve before the first target point at the first target point and at adjacent points (e.g., multiple adjacent points, which can usually be 3, 4, 5, etc., without specific limitation) before the first target point can be determined as the slope of the actual brightness curve at the first target point.

[0065] S203 , scaling and connecting the curve after the second target point in the standard gamma curve to the curve before the first target point in the actual brightness curve with the first target point as the connection point, so as to obtain a reference gamma curve.

[0066] Among them, the grayscale coordinate value of the point in the reference gamma curve corresponding to the curve after the second target point of the standard gamma curve can be determined according to the coordinates of the first target point and the coordinates of the second target point. After the grayscale value coordinates are determined, the brightness coordinate value corresponding to the grayscale coordinate value is determined by the standard gamma curve, thereby obtaining the coordinate value of the reference gamma curve obtained after the scaling connection process except the portion of the curve before the first target point in the actual brightness curve. Finally, the portion is spliced ​​with the portion of the curve before the first target point in the actual brightness curve to obtain the reference gamma curve.

[0067] Before stitching, it is also necessary to map the curve before the first target point in the actual brightness curve to the coordinate space of the standard gamma curve. When mapping, in the coordinate space of the standard gamma curve, the value range of the horizontal axis is [0,1], and the value range of the vertical axis is [0,1]. When mapping, the horizontal axis of the coordinate system where the actual brightness curve is located can be mapped to a value range of [0,1], and the vertical axis can be mapped to a value range of [0,1]. The specific mapping method can refer to the method of generating a standard gamma curve by referring to the gamma curve (the mapping relationship curve between the input video signal value and the grayscale value of the LED display), which will not be repeated here.

[0068] After mapping the curve before the first target point in the actual brightness curve to the coordinate space of the standard gamma curve, when performing scaling connection, the specific method of scaling connection can be understood as follows: if the horizontal coordinate of the second target point is greater than the horizontal coordinate of the mapping point of the first target point in the coordinate space of the standard gamma curve, then at this time, the curve after the second target point in the standard gamma curve needs to be stretched so as to be connected to the first target point; if the horizontal coordinate of the second target point is less than the horizontal coordinate of the mapping point of the first target point in the coordinate space of the standard gamma curve, then at this time, the curve after the second target point in the standard gamma curve needs to be compressed so as to be connected to the first target point.

[0069] Among them, Figure 2B As shown, the curve before the first target point in the actual brightness curve can be understood as a curve composed of points in the actual brightness curve whose horizontal coordinates are smaller than the horizontal coordinate of the first target point; the curve after the second target point in the standard gamma curve can be understood as a curve composed of points in the standard gamma curve whose horizontal coordinates are larger than the horizontal coordinate of the first target point.

[0070] S204: Determine the gamma brightness curve of the LED display screen according to the actual brightness curve and the reference gamma curve.

[0071] The input video signal value corresponding to the brightness value in the reference gamma curve can be determined based on the actual brightness curve. After the input video signal value corresponding to the brightness value in the reference gamma curve is determined, a curve is constructed based on the brightness value in the reference gamma curve and the corresponding input video signal value to obtain the gamma brightness curve of the LED display. Figure 2C As shown, Figure 2C The gamma brightness curve 2 determined in the present application and the gamma brightness curve 1 determined in the prior art are shown in FIG. Figure 2C It can be clearly seen that the gamma brightness curve 2 determined in the present application is smoother, avoiding brightness jumps, thereby improving the accuracy of the LED display when displaying images according to the gamma brightness curve.

[0072] In a possible implementation, after determining the reference gamma curve, since the reference gamma curve is in the same coordinate space as the standard gamma curve, it is necessary to map the reference gamma curve through the actual brightness curve to obtain the gamma brightness curve of the LED display. A specific method for determining the gamma brightness curve of the LED display according to the actual brightness curve and the reference gamma curve includes:

[0073] A1. determining an input video signal value corresponding to a brightness value in a reference gamma curve from an actual brightness curve;

[0074] A2. A curve is constructed according to the brightness value in the reference gamma curve and the input video signal value in the actual brightness curve corresponding to the brightness value in the reference gamma curve to obtain the gamma brightness curve of the LED display.

[0075] The actual brightness curve is used to characterize the mapping relationship between the input video signal value and the actual brightness value, so that the brightness value in the reference gamma curve can be mapped through the actual brightness curve to obtain the input video signal value corresponding to the brightness value in the reference gamma curve.

[0076] When specifically obtaining the input video signal value corresponding to the brightness value in the reference gamma curve, it is possible to obtain only the input video signal value corresponding to the brightness value of the portion of the reference gamma curve obtained by scaling and connecting the standard gamma curve. The portion of the reference gamma curve corresponding to the curve before the first target point in the actual brightness curve can be directly extracted from the actual brightness curve to obtain the corresponding input video signal value, thereby reducing the amount of data during data processing, reducing the consumption of computing resources, and improving efficiency.

[0077] When constructing a curve according to the brightness value in the reference gamma curve and the input video signal value in the actual brightness curve corresponding to the brightness value in the reference gamma curve, the brightness value in the reference gamma curve is used as the ordinate, and the input video signal value corresponding to the brightness value is used as the abscissa to construct the curve, so as to obtain the gamma brightness curve of the LED display screen, as shown in FIG. Figure 2B As shown in , the gamma brightness curve 2 determined in the present application is smoother, avoiding brightness jumps, thereby improving the accuracy of the LED display when displaying images according to the gamma brightness curve.

[0078] In a possible implementation, when the curve after the second target point in the standard gamma curve is scaled and connected to the curve before the first target point with the first target point as the connection point, since the horizontal coordinate of the second target point in the coordinate space where the standard gamma curve is located may be smaller than the horizontal coordinate of the first target point in the coordinate space where the standard gamma curve is located, the curve after the second target point in the standard gamma curve needs to be compressed to connect the curve after the second target point in the standard gamma curve to the curve before the first target point in the actual brightness curve. Alternatively, the horizontal coordinate of the second target point in the coordinate space where the standard gamma curve is located may be larger than the horizontal coordinate of the first target point in the coordinate space where the standard gamma curve is located, then the curve after the second target point in the standard gamma curve needs to be stretched to connect the curve after the second target point in the standard gamma curve to the curve before the first target point in the actual brightness curve. A specific method for scaling and connecting the curve after the second target point in the standard gamma curve with the first target point as the connection point to the curve before the first target point in the actual brightness curve to obtain a reference gamma curve includes:

[0079] B1. Determine the input video signal coordinate value of a point in the reference gamma curve corresponding to the standard gamma curve after the second target point according to the coordinates of the first target point and the coordinates of the second target point;

[0080] B2. determining the brightness coordinate value of the point in the reference gamma curve corresponding to the standard gamma curve in the curve after the second target point according to the input video signal coordinate value of the point in the reference gamma curve corresponding to the standard gamma curve in the curve after the second target point and the standard gamma curve;

[0081] B3. Determine a reference gamma curve based on the input video signal coordinate value and brightness coordinate value of a point in the curve of the reference gamma curve corresponding to the standard gamma curve after the second target point and the coordinates of a point in the curve before the first target point in the actual brightness curve.

[0082] Assuming that the coordinates of the first target point are (a1, b1) and the coordinates of the second target point are (a2, b2), when determining the coordinate values ​​of the input video signal, the method shown in the following formula can be used to determine:

[0083] x2=a2 / 255+(1-a2 / 255)*(x / 255-a1 / 255) / (1-a1 / 255),

[0084] Among them, x2 is the input video signal coordinate value of the point in the reference gamma curve corresponding to the standard gamma curve after the second target point, x is the input video signal coordinate value of the point in the standard gamma curve corresponding to x2, and 255 is the maximum input brightness of the LED display.

[0085] After determining the input video signal coordinate value, the corresponding brightness coordinate value can be determined according to the expression corresponding to the standard gamma curve, which can be specifically:

[0086] y2=(x2)^N,

[0087] Wherein, y2 is the brightness coordinate value of the point in the reference gamma curve corresponding to the standard gamma curve after the second target point, x2 is the grayscale coordinate value of the point in the reference gamma curve corresponding to the standard gamma curve after the second target point, and N is the gamma constant.

[0088] Therefore, the coordinates of the points in the reference gamma curve except the part of the curve before the first target point in the actual brightness curve can be determined by the above method, wherein the horizontal coordinate of the coordinates of the points is the input video signal coordinate value, and the vertical coordinate is the brightness coordinate value. Therefore, the curve can be constructed according to the coordinates of the points in the reference gamma curve (including the coordinates of the points in the curve after scaling and the coordinates of the points in the curve before the first target point in the actual brightness curve), thereby obtaining the reference gamma curve.

[0089] After the above processing, the slope at the first target point can be guaranteed, so that the reference gamma curve has a smooth transition and brightness jumps are avoided, thereby improving the accuracy of the LED display when displaying images according to the gamma brightness curve.

[0090] In a possible implementation, when determining the gamma brightness curve of an LED display screen, due to the inflection point in the actual brightness curve of the LED display screen, the curves before and after the inflection point will have brightness jumps, which will cause the LED display screen to have color jumps when displaying images or videos with the actual brightness curve. Therefore, if the actual brightness curve is to be adjusted to finally obtain a suitable gamma brightness curve, the inflection point needs to be determined first. A method for determining a first target point from the actual brightness curve of an LED display screen includes:

[0091] C1. Determine a first reference point, where the first reference point is any point in the actual brightness curve;

[0092] C2, obtaining a second brightness value of a second reference point immediately after the first reference point in the actual brightness curve, and obtaining a third brightness value of a third reference point immediately after the second reference point in the actual brightness curve;

[0093] C3. If the second brightness value and the third brightness value are both smaller than the first brightness value of the first reference point, the first reference point is determined to be the first target point.

[0094] The first reference point is any point selected in the actual brightness curve, but the point should satisfy that there are at least two points behind it. Since the input video signal value is a discrete value (a value between 0-255) in the actual brightness curve, the horizontal coordinate of the first reference point is any one of the discrete values, and there are at least two points after the point. For example, if the horizontal coordinate of the first reference point is 23, the horizontal coordinate of the second reference point immediately after the first reference point is 24, and the horizontal coordinate of the third reference point immediately after the second reference point is 25.

[0095] Since the first reference point is determined, the first brightness value corresponding to the first reference point can be determined from the actual brightness curve, the second brightness value corresponding to the second reference point can be determined from the actual brightness curve, and the third brightness value corresponding to the third reference point can be determined from the actual brightness curve.

[0096] When the second brightness value and the third brightness value are both smaller than the first brightness value of the first reference point, the first reference point can be determined as the first target point. Of course, the method here is only an example, and there are other ways to determine whether the first reference point is the first target point. For example, it is also possible to determine whether the brightness values ​​of multiple points immediately after the third reference point are smaller than the first brightness value.

[0097] The above method can accurately determine the first target point, thereby improving the accuracy of subsequent determination of the gamma brightness curve.

[0098] In a possible implementation, after determining the first target point and before performing subsequent processing, abnormal point identification may be performed on the actual brightness curve to improve the accuracy of subsequent processing, which may be specifically:

[0099] D1, determining a fourth reference point from the curve after the first target point in the actual brightness curve, the brightness value of the fourth reference point being the same as the brightness value of the first target point;

[0100] D2, adjusting the brightness value of the point between the first target point and the fourth reference point in the actual brightness curve to the brightness value of the first target point, so as to obtain an adjusted actual brightness curve;

[0101] D3. Determine an abnormal point set from the adjusted actual brightness curve, where an abnormal point in the abnormal point set is a point whose brightness value is lower than the brightness value of the previous point.

[0102] Before determining the outlier set, since there is an actual outlier misjudgment area after the first target point, this area itself is part of the outlier set. At this time, it needs to be processed separately to improve the accuracy of subsequent outlier set determination.

[0103] By adjusting the brightness value of the point between the first target point and the fourth reference point in the actual brightness curve to the brightness value of the first target point to obtain the adjusted actual brightness curve, the interference of the point between the first target point and the fourth reference point in the subsequent determination of the abnormal set can be avoided, so as to improve the accuracy of the subsequent determination of the abnormal point set.

[0104] Since the actual brightness curve has an increase in input signal value, its corresponding brightness value will also increase, so according to the above fact, the point with a lower brightness value than the previous point can be determined as an abnormal point in the abnormal point set. Of course, the abnormal points in the abnormal point set also include points between the first target point and the fourth reference point. Therefore, after determining the abnormal point set, the actual brightness curve can be corrected for abnormalities, etc., to improve the accuracy of the subsequent determination of the gamma brightness curve.

[0105] In a possible implementation, after determining the outlier point set, the actual brightness curve may be corrected according to the outlier point set, as follows:

[0106] E1. Determine the corrected brightness value of the outlier point in the outlier point set according to the interpolation method;

[0107] E2. Correcting the actual brightness curve according to the corrected brightness values ​​of the outliers in the outlier set to obtain a corrected actual brightness curve.

[0108] When the interpolation method is used to determine the corrected brightness value of the abnormal point, a difference operation is performed based on the brightness value of the previous point and the brightness value of the next point of the abnormal point to obtain the corrected brightness value.

[0109] The brightness value corresponding to the abnormal point in the actual brightness curve can be replaced with the corrected brightness value to obtain the corrected actual brightness curve. After obtaining the corrected actual brightness curve, the subsequent gamma brightness curve of the LED display can be determined, so that the gamma brightness curve can be determined more accurately, thereby improving the display effect of the LED display when displaying through the gamma brightness curve.

[0110] In a possible implementation, it is also necessary to determine the slope of the actual brightness curve at the first target point for subsequent confirmation of the second target point. The method for determining the slope of the actual brightness curve at the first target point can be summarized as follows:

[0111] F1, obtaining the slope of the actual brightness curve at K adjacent points before the first target point;

[0112] F2. Determine the average of the slopes of the actual brightness curve at the K adjacent points before the first target point as the slope of the actual brightness curve at the first target point.

[0113] Wherein, K is a positive integer. The K points are adjacent points. For example, if the horizontal coordinate of the first target point is 23, the K points may be points with horizontal coordinates of 22, 21, 20, 19, 18, etc. K may be a preset value, such as 3, 4, 5, etc.

[0114] The slope of the actual brightness curve at the K adjacent points before the first target point can be obtained through a general slope calculation method, and the average of the slopes can be determined. When calculating the slope, the actual brightness table corresponding to the actual brightness curve can be looked up to obtain the coordinate values ​​of the K points and the relevant slope calculation parameters, so that the slope calculation parameters can be quickly determined to improve the efficiency of the slope calculation. Of course, the mapping relationship between the input video signal represented by the actual brightness curve and the actual brightness can also be used to determine the slope calculation parameters, so as to calculate the slope of the actual brightness curve at the above K points.

[0115] It should be noted that, in each of the above-mentioned embodiments, there is not necessarily a certain order between the above-mentioned steps. A person skilled in the art can understand, based on the description of the embodiments of the present application, that in different embodiments, the above-mentioned steps may have different execution orders, that is, they may be executed in parallel or interchangeably.

[0116] See also Figure 3 , Figure 3 The following is a schematic diagram of the circuit structure of an electronic device provided in an embodiment of the present application. Figure 3 As shown, the electronic device 300 includes one or more processors 301, a memory 302 and a communication interface 303. The processor 301 is in communication connection with the memory 302 and the communication interface 303.

[0117] The memory 302 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the method for establishing a Bluetooth connection in the embodiment of the present application. The processor 303 executes the function of the gamma brightness curve acquisition method provided in the above method embodiment by running the non-volatile software programs, instructions and modules stored in the memory 302.

[0118] The memory 302 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory 302 may optionally include a memory remotely arranged relative to the processor 301, and these remote memories may be connected to the processor 301 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0119] The program instructions / modules are stored in the memory 302 , and when executed by the one or more processors 301 , the gamma brightness curve acquisition method in any of the above method embodiments is executed.

[0120] The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by one or more processors, for example Figure 3 A processor 301 in the embodiment may enable the one or more processors to execute the gamma brightness curve acquisition method in any of the above method embodiments.

[0121] An embodiment of the present application also provides a chip, which includes at least one processor and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the gamma brightness curve acquisition method in any of the above method embodiments.

[0122] An embodiment of the present application also provides a computer program product, which includes a computer program stored on a non-volatile computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by an electronic device, the electronic device executes any one of the gamma brightness curve acquisition methods.

[0123] The above described device or equipment embodiments are merely illustrative, wherein the unit modules described as separate components may or may not be physically separated, and the components displayed as module units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network module units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0124] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a 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 device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0125] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Under the concept of the present application, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other changes in different aspects of the present application as described above, which are not provided in detail for the sake of simplicity. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features can be replaced by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for obtaining a gamma brightness curve, characterized in that: The method comprises: Determine a first target point from an actual brightness curve of the LED display screen, wherein the first target point is a dividing point between low grayscale and high grayscale; Determine a second target point corresponding to the first target point from a standard gamma curve of the LED display screen, wherein a slope of the standard gamma curve at the second target point is the same as a slope of the actual brightness curve at the first target point; Scaling and connecting the curve after the second target point in the standard gamma curve to the curve before the first target point in the actual brightness curve with the first target point as a connection point, so as to obtain a reference gamma curve; A gamma brightness curve of the LED display screen is determined according to the actual brightness curve and the reference gamma curve.

2. The method according to claim 1, characterized in that Determining the gamma brightness curve of the LED display screen according to the actual brightness curve and the reference gamma curve includes: determining, from the actual brightness curve, an input video signal value corresponding to a brightness value in the reference gamma curve; A curve is constructed according to the brightness value in the reference gamma curve and the input video signal value in the actual brightness curve corresponding to the brightness value in the reference gamma curve to obtain the gamma brightness curve of the LED display screen.

3. The method according to claim 2, characterized in that The step of scaling and connecting the curve after the second target point in the standard gamma curve to the curve before the first target point in the actual brightness curve with the first target point as a connection point, so as to obtain a reference gamma curve, comprises: Determining, according to the coordinates of the first target point and the coordinates of the second target point, a grayscale coordinate value of a point in the reference gamma curve corresponding to a point in the curve of the standard gamma curve after the second target point; Determining a brightness coordinate value of a point in the reference gamma curve corresponding to a point in the curve of the standard gamma curve after the second target point according to a grayscale coordinate value of a point in the reference gamma curve corresponding to a point in the curve of the standard gamma curve after the second target point and the standard gamma curve; The reference gamma curve is determined by the grayscale coordinate value and brightness coordinate value of a point in the reference gamma curve corresponding to the standard gamma curve after the second target point and the coordinates of a point in the actual brightness curve before the first target point.

4. The method according to any one of claims 1 to 3, characterized in that: Determining the first target point from the actual brightness curve of the LED display screen includes: Determine a first reference point, where the first reference point is any point in the actual brightness curve; Acquire a second brightness value of a second reference point immediately after the first reference point in the actual brightness curve, and acquire a third brightness value of a third reference point immediately after the second reference point in the actual brightness curve; If the second brightness value and the third brightness value are both smaller than the first brightness value of the first reference point, the first reference point is determined to be the first target point.

5. The method according to claim 4, characterized in that After determining the first target point from the actual brightness curve of the LED display screen, the method further includes: Determine a fourth reference point from a curve after the first target point in the actual brightness curve, wherein a brightness value of the fourth reference point is the same as a brightness value of the first target point; Adjusting the brightness value of a point between the first target point and the fourth reference point in the actual brightness curve to the brightness value of the first target point to obtain an adjusted actual brightness curve; An outlier point set is determined from the adjusted actual brightness curve, where an outlier point in the outlier point set is a point whose brightness value is lower than that of a previous point.

6. The method according to claim 5, characterized in that The method further comprises: Determine the corrected brightness value of the outlier point in the outlier point set according to the interpolation method; The actual brightness curve is corrected according to the corrected brightness values ​​of the outliers in the outlier set to obtain a corrected actual brightness curve.

7. The method according to claim 5 or 6, characterized in that: The method further comprises: Acquire the slope of the actual brightness curve at the first target point; The obtaining the slope of the actual brightness curve at the first target point includes: Obtaining the slope of the actual brightness curve at K points adjacent to the first target point; The average value of the slopes of the actual brightness curve at K adjacent points before the first target point is determined as the slope of the actual brightness curve at the first target point.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 7.

9. A chip, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the gamma brightness curve acquisition method according to any one of claims 1 to 7.

10. An electronic device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the gamma brightness curve acquisition method according to any one of claims 1 to 7.