Method and device for correcting display defects of liquid crystal screen
By acquiring different grayscale images to calculate pixel compensation values and compensating, the problem of LCD/LED liquid crystal screen display defects is solved, the screen display quality is improved and the calculation and storage cost is reduced.
Patent Information
- Application Number
- CN202211085370.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-06
- Publication Date
- 2025-08-12
- Estimated Expiration
- 2042-09-06
AI Technical Summary
In the prior art, LCD/LED liquid crystal screens have pixel spot display defects, such as spots or ripple, when displayed at low grayscale, resulting in a reduced yield and an increase in cost. The existing correction methods are not suitable for ASIC implementation, with large calculation volume and high storage requirements.
By acquiring two different grayscale images, calculating pixel compensation values and compensating, the screen display image is acquired using high-precision image acquisition equipment, combined with three-dimensional downsampling and linear interpolation algorithm, it is stored in Flash memory and loaded into SRAM, and the calculation efficiency of the ASIC circuit is optimized.
It realizes efficient correction of LCD screen display defects in ASIC, reduces computing costs and storage needs, and improves screen display quality.
Smart Images

Figure CN115620682B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of screen production and manufacturing, and in particular to a method and device for correcting display defects of liquid crystal screens. Background Art
[0002] In the related art, during the production process of liquid crystal screens such as LCD / LED, a certain number of pixel display defects will inevitably occur due to factors such as process. Taking an LCD screen with an 8-bit display depth as an example, when displaying a pure color image at a low grayscale (grayscale value less than 100), some edge coordinate points of the screen will have obvious spots or ripples and other mura. These defects will reduce the yield of the screen, thereby greatly increasing production costs and reducing industrial benefits. This manufacturing defect has different characteristics for different batches and different products, so a universal method cannot be used to correct the defect. However, once this defect occurs, it is fixed at a specific location on the screen, and the defect characteristics will not change. Therefore, it has the characteristics of differentiation between different products and individual stabilization. Existing correction methods are not suitable for ASIC implementation and the cost is too high.
[0003] Because different grayscale values correspond to different defect effects, different compensation values need to be obtained for pixels of different grayscales. However, in ASIC implementation, all grayscale compensation values are calculated separately, which results in a huge amount of data calculation and storage of the original data source, making it unsuitable for ASIC implementation.
[0004] Currently, no effective solution has been proposed for the technical problem of correcting defects in liquid crystal display screens such as LCD / LED in related technologies. Summary of the Invention
[0005] The main purpose of the present invention is to provide a method and device for correcting display defects of liquid crystal screens to solve the technical problems of correcting defects of liquid crystal display screens such as LCD / LED in the related art.
[0006] To achieve the above objectives, according to one aspect of the present invention, a method for correcting display defects on a liquid crystal display screen is provided. The method comprises: acquiring two different grayscale images, wherein the grayscale images are images displayed in a preset area when a target screen receives a preset grayscale value, and the preset grayscale values corresponding to the two different grayscale images are different; determining pixel compensation values for target pixels corresponding to the two grayscale images, respectively, wherein the pixel compensation value is the difference between a target grayscale value and a display grayscale value of the target pixel, and the target grayscale value corresponds to the preset grayscale value; determining a target pixel compensation value for the target pixel corresponding to the target preset grayscale value based on the pixel compensation values and the target preset grayscale value of the target pixel corresponding to the two grayscale images; and compensating the grayscale value of the target pixel corresponding to the target preset grayscale value using the target pixel compensation value.
[0007] Furthermore, before acquiring two different grayscale images, the method further includes: dividing the target screen into a plurality of rectangular areas of equal area, and determining any one of the plurality of rectangular areas of equal area as a preset area.
[0008] Furthermore, the two different grayscale images are a first grayscale image and a second grayscale image, and obtaining the two different grayscale images includes: when the target screen receives a first preset grayscale value, capturing the image displayed in the preset area through a high-precision image acquisition device, and determining the captured image as the first grayscale image; when the target screen receives a second preset grayscale value, capturing the image displayed in the preset area through a high-precision image acquisition device, and determining the captured image as the second grayscale image.
[0009] Furthermore, the pixel compensation values of the target pixel points corresponding to the two grayscale images are determined respectively, including: determining the four vertices corresponding to the grayscale images, and determining the four display grayscale values corresponding to the four vertices; subtracting the four display grayscale values from the target pixel values respectively, and determining the four difference values as the four pixel compensation values corresponding to the four vertices; obtaining the four coordinate information corresponding to the four vertices; and determining the pixel compensation value of the target pixel point based on the four pixel compensation values and the four coordinate information.
[0010] Furthermore, after respectively subtracting the four display grayscale values from the target pixel values and determining the four difference values as four pixel compensation values corresponding to the four vertices, the method also includes: three-dimensionally downsampling the target data in the form of fixed-point complement and storing it in a preset Flash memory, wherein the target data is the four pixel compensation values and the preset grayscale value; reading the target data from the preset Flash memory and loading the target data into a preset SRAM memory.
[0011] Furthermore, the grayscale image includes a first vertex, a second vertex, a third vertex, and a fourth vertex. The pixel compensation value of the target pixel point is determined based on the four pixel compensation values and the four coordinate information, including: determining a first area corresponding to the first sub-region based on the coordinate information of the first vertex and the coordinate information of the target pixel point; determining a second area corresponding to the second sub-region based on the coordinate information of the second vertex and the coordinate information of the target pixel point; determining a third area corresponding to the third sub-region based on the coordinate information of the third vertex and the coordinate information of the target pixel point; determining a fourth area corresponding to the fourth sub-region based on the coordinate information of the fourth vertex and the coordinate information of the target pixel point, and the sum of the first area, the second area, the third area, and the fourth area is the area corresponding to the preset area; and calculating the pixel compensation value through Formula 1, Formula 1 is: Among them, C0 is the pixel compensation value, S1 is the first area, S2 is the second area, S3 is the third area, S4 is the fourth area, Q11 is the pixel compensation value corresponding to the first vertex, Q21 is the pixel compensation value corresponding to the second vertex, Q12 is the pixel compensation value of the third vertex, and Q22 is the pixel compensation value corresponding to the fourth vertex.
[0012] Furthermore, based on the pixel compensation values of the target pixel points corresponding to the two grayscale images and the target preset grayscale values, the target pixel compensation value of the target pixel point corresponding to the target preset grayscale value is determined, including: obtaining two preset grayscale values corresponding to the two grayscale images; calculating a preset slope based on the two preset grayscale values; and determining the target pixel compensation value based on the two pixel compensation values corresponding to the two target pixel points, the target preset grayscale value and the preset slope.
[0013] Furthermore, calculating the preset slope according to the two preset grayscale values includes: calculating the preset slope according to the two preset grayscale values using Formula 2, where Formula 2 is: Gray(x) is the smaller of the two preset grayscale values, Gray(x+1) is the larger of the two preset grayscale values, and n is the number of shifts.
[0014] Furthermore, a target pixel compensation value of a target pixel point corresponding to the target preset grayscale value is determined based on the pixel compensation value of the target pixel point corresponding to the two grayscale images and the target preset grayscale value, including: determining the target pixel compensation value by formula three, formula three is: C3=[C1×(C0-Gray(C3))+C0×(Gray(C3)-C1)]×slope, wherein C3 is the target pixel compensation value, C0 is a first pixel compensation value, the first pixel compensation value is a pixel compensation value corresponding to the target pixel point corresponding to the first grayscale image, the preset grayscale value corresponding to the first grayscale image is the larger of the two preset grayscale values, C1 is a second pixel compensation value, the second pixel compensation value is a pixel compensation value corresponding to the target pixel point corresponding to the second grayscale image, the preset grayscale value corresponding to the second grayscale image is the smaller of the two preset grayscale values, Gray(C3) is the target preset grayscale value, and slope is a preset slope.
[0015] To achieve the above-mentioned objective, according to another aspect of the present invention, a device for correcting display defects of a liquid crystal screen is provided. The device comprises: an acquisition unit for acquiring two different grayscale images, wherein the grayscale image is an image displayed in a preset area when a target screen receives a preset grayscale value, and the preset grayscale values corresponding to the two different grayscale images are different; a first determination unit for respectively determining pixel compensation values for target pixels corresponding to the two grayscale images, wherein the pixel compensation value is the difference between a target grayscale value and a display grayscale value of the target pixel, and the target grayscale value is the grayscale value corresponding to the preset grayscale value; a second determination unit for determining a target pixel compensation value for the target pixel corresponding to the target preset grayscale value based on the pixel compensation values and the target preset grayscale value of the target pixel corresponding to the two grayscale images; and a compensation unit for compensating the grayscale value of the target pixel corresponding to the target preset grayscale value using the target pixel compensation value.
[0016] The present invention adopts the following steps: obtaining two different grayscale images, wherein the grayscale image is an image displayed in a preset area when a target screen receives a preset grayscale value, and the preset grayscale values corresponding to the two different grayscale images are different; determining pixel compensation values for target pixels corresponding to the two grayscale images, respectively, wherein the pixel compensation value is the difference between the target grayscale value and the display grayscale value of the target pixel, and the target grayscale value is the grayscale value corresponding to the preset grayscale value; determining a target pixel compensation value for the target pixel corresponding to the target preset grayscale value based on the pixel compensation values and the target preset grayscale value of the target pixel corresponding to the two grayscale images; compensating the grayscale value of the target pixel corresponding to the target preset grayscale value using the target pixel compensation value, thereby solving the technical problem of correcting defects in liquid crystal display screens such as LCDs / LEDs in the related art, thereby achieving the effect of making the defective liquid crystal display screen display correctly. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings, which constitute part of the present invention, are provided to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are provided to explain the present invention and do not constitute an undue limitation of the present invention. In the accompanying drawings:
[0018] Figure 1 is a flow chart of a method for correcting display defects of a liquid crystal screen provided in an embodiment of the present invention;
[0019] Figure 2 A schematic diagram of calculating a target pixel compensation value based on a vertex compensation value and a fixed-point coordinate in the present invention;
[0020] Figure 3 A schematic diagram of the linear relationship between preset grayscale values in the present invention;
[0021] Figure 4 A schematic diagram of calculating the pixel compensation value of a target pixel point in the present invention; and
[0022] Figure 5 Schematic diagram of a device for correcting display defects of a liquid crystal screen provided according to an embodiment of the present invention. DETAILED DESCRIPTION
[0023] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments of the present invention can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0024] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions 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 embodiments described 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 making creative efforts should fall within the scope of protection of the present invention.
[0025] It should be noted that the terms "first," "second," and the like in the specification and claims of the present invention and the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a particular order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate for the embodiments of the present invention described herein. In addition, the terms "including," "having," and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to these processes, methods, products, or apparatuses.
[0026] For ease of description, some nouns or terms involved in the embodiments of the present invention are explained below:
[0027] Mura: Various defects caused by uneven display brightness;
[0028] ASIC: Application-Specific Integrated Circuit, which can be built into a chip.
[0029] According to an embodiment of the present invention, a method for correcting display defects of a liquid crystal screen is provided.
[0030] Figure 1 FIG. 1 is a flow chart of a method for correcting display defects of a liquid crystal screen according to an embodiment of the present invention. Figure 1 As shown, the invention includes the following steps:
[0031] Step S101, obtaining two different grayscale images, wherein the grayscale image is an image displayed in a preset area when the target screen receives a preset grayscale value, and the preset grayscale values corresponding to the two different grayscale images are different;
[0032] Step S103, respectively determining pixel compensation values of target pixels corresponding to the two grayscale images, wherein the pixel compensation value is the difference between the target grayscale value and the display grayscale value of the target pixel, and the target grayscale value corresponds to the preset grayscale value;
[0033] As mentioned above, the target screen in this application is a screen with display defects. For example, the grayscale value corresponding to the preset grayscale value received by the target screen is 100, and the display grayscale value displayed by a pixel point in the target screen is 120, then the pixel compensation value required for the pixel point is -20.
[0034] Step S105 , determining a target pixel compensation value of a target pixel corresponding to the target preset grayscale value based on the pixel compensation value of the target pixel corresponding to the two grayscale images and the target preset grayscale value;
[0035] Step S107 , compensating the grayscale value of the target pixel corresponding to the target preset grayscale value by using the target pixel compensation value.
[0036] In this application, the pixel compensation values corresponding to the pixel points at the same position in the two grayscale images are determined to determine the target pixel compensation value corresponding to the target pixel point when the target screen receives any preset grayscale value (i.e., the target grayscale value) other than two different preset grayscale values.
[0037] As described above, this solution can correct the steady-state mura generated by most LCD screen manufacturing processes. It utilizes a special design to adapt it to ASIC implementation, leveraging parallel computing to improve efficiency and reduce operating frequency and dynamic power consumption. This method has been tested using Matlab modeling and simulation, FPGA experimental testing, and ASIC chip-level verification. The compensation effect achieved by the ASIC is within ±1% of the theoretical algorithm error for 8-bit data. This method can also compensate for RGB pixel information separately, or for grayscale values separately. Each compensation method uses the same method but different compensation data.
[0038] In an optional embodiment, before acquiring two different grayscale images, the method further includes: dividing the target screen into a plurality of equal-area rectangular areas, and determining any one of the plurality of equal-area rectangular areas as a preset area.
[0039] As described above, based on different storage unit requirements, the screen is divided into 4x4, 8x8, 4x16, or other equal-area rectangular areas. This method is not limited by the size of the divisions; smaller division units result in smaller errors, but this also occupies more storage units and results in a higher storage cost. It should be noted that the default preset area in this application is the screen area with display defects.
[0040] In an optional embodiment, the two different grayscale images are a first grayscale image and a second grayscale image, and obtaining the two different grayscale images includes: when the target screen receives a first preset grayscale value, capturing an image displayed in a preset area through a high-precision image acquisition device, and determining the captured image as the first grayscale image; when the target screen receives a second preset grayscale value, capturing an image displayed in the preset area through a high-precision image acquisition device, and determining the captured image as the second grayscale image.
[0041] As mentioned above, the high-precision image acquisition device includes but is not limited to a camera, a video camera and other image acquisition devices, the purpose of which is to acquire the grayscale value displayed by each pixel on the screen, so as to calculate the difference that needs to be compensated.
[0042] In an optional embodiment, pixel compensation values of target pixel points corresponding to two grayscale images are determined respectively, including: determining four vertices corresponding to the grayscale images, and determining four display grayscale values corresponding to the four vertices; subtracting the four display grayscale values from the target pixel values respectively, and determining the four differences as four pixel compensation values corresponding to the four vertices; obtaining four coordinate information corresponding to the four vertices; and determining the pixel compensation value of the target pixel point based on the four pixel compensation values and the four coordinate information.
[0043] In an optional embodiment, after respectively subtracting the four display grayscale values from the target pixel values and determining the four difference values as four pixel compensation values corresponding to the four vertices, the method further includes: three-dimensionally downsampling the target data in the form of fixed-point complement and storing it in a preset Flash memory, wherein the target data is the four pixel compensation values and the preset grayscale value; reading the target data from the preset Flash memory and loading the target data into a preset SRAM memory.
[0044] As mentioned above, all data is stored in the Flash memory as fixed-point two's complement. For example, 12-bit fixed-point two's complement can be used, with the lower two bits representing the decimal place; this method is not limited to the number of decimal places or two's complement bits. The ASIC compensation value calculation requires a compensation value for each frame of data. Since the current Flash memory read rate is relatively low and cannot meet the requirements of real-time video transmission, the compensation value in the Flash memory needs to be loaded into the internal SRAM memory for use.
[0045] It should be noted that this method is not limited to a specific loading method, but it is recommended to use the DMA method to increase the speed.
[0046] This method uses downsampling of raw data and 3D interpolation to simplify the calculation of large amounts of compensation data. The original data is collected, and 3D downsampling minimizes data storage. The compensation values are reproduced using a 3D interpolation algorithm, minimizing the introduction of errors.
[0047] In an optional embodiment, the grayscale image includes a first vertex, a second vertex, a third vertex, and a fourth vertex, and the pixel compensation value of the target pixel point is determined based on the four pixel compensation values and the four coordinate information, including: determining a first area corresponding to the first sub-region based on the coordinate information of the first vertex and the coordinate information of the target pixel point; determining a second area corresponding to the second sub-region based on the coordinate information of the second vertex and the coordinate information of the target pixel point; determining a third area corresponding to the third sub-region based on the coordinate information of the third vertex and the coordinate information of the target pixel point; determining a fourth area corresponding to the fourth sub-region based on the coordinate information of the fourth vertex and the coordinate information of the target pixel point, and the sum of the first area, the second area, the third area, and the fourth area is the area corresponding to the preset area; and calculating the pixel compensation value through Formula 1, Formula 1 is: Among them, C0 is the pixel compensation value, S1 is the first area, S2 is the second area, S3 is the third area, S4 is the fourth area, Q11 is the pixel compensation value corresponding to the first vertex, Q21 is the pixel compensation value corresponding to the second vertex, Q12 is the pixel compensation value of the third vertex, and Q22 is the pixel compensation value corresponding to the fourth vertex.
[0048] The above-mentioned places, such as Figure 2 As shown, Figure 2 Schematic diagram of calculating target pixel compensation value based on vertex compensation value and fixed point coordinates in the present invention. Areas such as S1 and S2 can be calculated by the horizontal and vertical coordinates of each point. Figure 2 In the figure, C0 is the pixel compensation value, S1 is the first area, S2 is the second area, S3 is the third area, S4 is the fourth area, Q11 is the pixel compensation value corresponding to the first vertex, Q21 is the pixel compensation value corresponding to the second vertex, Q12 is the pixel compensation value of the third vertex, and Q22 is the pixel compensation value corresponding to the fourth vertex.
[0049] In an optional embodiment, based on the pixel compensation values of the target pixel points corresponding to the target preset grayscale values and the target preset grayscale values of the target pixel points corresponding to the two grayscale images, the target pixel compensation value of the target pixel point corresponding to the target preset grayscale value is determined, including: obtaining two preset grayscale values corresponding to the two grayscale images; calculating a preset slope based on the two preset grayscale values; and determining the target pixel compensation value based on the two pixel compensation values corresponding to the two target pixel points, the target preset grayscale value, and the preset slope.
[0050] In an optional embodiment, calculating the preset slope according to the two preset grayscale values includes: calculating the preset slope according to the two preset grayscale values using Formula 2, where Formula 2 is: Gray(x) is the smaller of the two preset grayscale values, Gray(x+1) is the larger of the two preset grayscale values, and n is the number of shifts.
[0051] In the related art, the target pixel compensation value is obtained through an interpolation algorithm. However, since this linear interpolation calculation requires division, the overhead in the ASIC circuit is relatively large. Therefore, this method proposes a method using a configurable slope to implement linear interpolation calculation.
[0052] In this application, the grayscale values sampled are fixed, so the slope value of two adjacent grayscales is a fixed value. The slope value can be generated by register configuration, but in order to better adapt to hardware calculations, this solution optimizes the slope calculation method to obtain the above formula. Figure 3 , Figure 3 is a schematic diagram of the linear relationship between grayscale values in the present invention, Figure 3 In the figure, Grayscale Plane1, Grayscale Plane2, and Grayscale Plane3 are three grayscale images, where C0 is the pixel compensation value of the target pixel corresponding to Grayscale Plane3, C1 is the pixel compensation value of the target pixel corresponding to Grayscale Plane2, and y is the pixel compensation value of the target pixel corresponding to any grayscale image between Grayscale Plane2 and Grayscale Plane3.
[0053] In an optional embodiment, determining a target pixel compensation value of a target pixel point corresponding to a target preset grayscale value based on the pixel compensation values of the target pixel points corresponding to the two grayscale images and the target preset grayscale value includes: determining the target pixel compensation value by formula three, formula three is: C3=[C1×(C0-Gray(C3))+C0×(Gray(C3)-C1)]×slope, wherein C3 is the target pixel compensation value, C0 is a first pixel compensation value, the first pixel compensation value is a pixel compensation value corresponding to the target pixel point corresponding to the first grayscale image, the preset grayscale value corresponding to the first grayscale image is a larger one of two preset grayscale values, C1 is a second pixel compensation value, the second pixel compensation value is a pixel compensation value corresponding to the target pixel point corresponding to the second grayscale image, the preset grayscale value corresponding to the second grayscale image is a smaller one of the two preset grayscale values, Gray(C3) is the target preset grayscale value, and slope is a preset slope.
[0054] As mentioned above, an additional division by 2 is required when finally calculating y n Then the hardware calculates the value. This division operation can be realized by shifting n bits. Through shift calculation, the compensation value of the corresponding pixel point under other grayscale values can be calculated and output. Figure 4 , Figure 4 Schematic diagram of calculating the pixel compensation value of the target pixel point in the present invention, Figure 4 Where Plane(x) is the first grayscale image, Plane(x+1) is the second grayscale image, C0 is the pixel compensation value, Q11 is the pixel compensation value corresponding to the first vertex, Q21 is the pixel compensation value corresponding to the second vertex, Q12 is the pixel compensation value corresponding to the third vertex, Q22 is the pixel compensation value corresponding to the fourth vertex, and y corresponds to C3 in Formula 3.
[0055] It should be noted that the previous linear interpolation calculation made the calculation cost of the ASIC circuit too high and inefficient. This solution uses the configuration slope method to improve the calculation efficiency of the ASIC circuit and reduce the pressure of circuit calculation. Therefore, such configuration and calculation method can greatly simplify the hardware logic and still achieve the calculation effect.
[0056] An embodiment of the present invention provides a method for correcting display defects on liquid crystal screens. The method comprises obtaining two different grayscale images, wherein the grayscale images are images displayed in a preset area when a target screen receives a preset grayscale value, and the preset grayscale values corresponding to the two different grayscale images are different; determining pixel compensation values for target pixels corresponding to the two grayscale images, wherein the pixel compensation value is the difference between a target grayscale value and a display grayscale value of the target pixel, and the target grayscale value corresponds to the preset grayscale value; determining a target pixel compensation value for the target pixel corresponding to the target preset grayscale value based on the pixel compensation values and the target preset grayscale value of the target pixel corresponding to the two grayscale images; and compensating the grayscale value of the target pixel corresponding to the target preset grayscale value using the target pixel compensation value. This method solves the technical problem of correcting defects on liquid crystal display screens such as LCDs and LEDs in the related art, thereby achieving the effect of making a defective liquid crystal display screen display correctly.
[0057] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0058] An embodiment of the present invention also provides a device for correcting display defects on a liquid crystal display screen. It should be noted that the device for correcting display defects on a liquid crystal display screen provided in an embodiment of the present invention can be used to perform the method for correcting display defects on a liquid crystal display screen provided in an embodiment of the present invention. The following describes the device for correcting display defects on a liquid crystal display screen provided in an embodiment of the present invention.
[0059] Figure 5 FIG is a schematic diagram of a device for correcting display defects of a liquid crystal screen according to an embodiment of the present invention. Figure 5 As shown, the device includes: an acquisition unit 501, used to acquire two different grayscale images, wherein the grayscale image is an image displayed in a preset area when the target screen receives a preset grayscale value, and the preset grayscale values corresponding to the two different grayscale images are different; a first determination unit 503, used to respectively determine the pixel compensation values of the target pixel points corresponding to the two grayscale images, wherein the pixel compensation value is the difference between the target grayscale value and the display grayscale value of the target pixel point, and the target grayscale value corresponds to the preset grayscale value; a second determination unit 505, used to determine the target pixel compensation value of the target pixel point corresponding to the target preset grayscale value based on the pixel compensation value and the target preset grayscale value of the target pixel point corresponding to the two grayscale images; a compensation unit 507, used to compensate the grayscale value of the target pixel point corresponding to the target preset grayscale value by the target pixel compensation value.
[0060] In an optional embodiment, before acquiring two different grayscale images, the acquisition unit 501 further includes: a first determination subunit, configured to divide the target screen into a plurality of equal-area rectangular areas, and determine any one of the plurality of equal-area rectangular areas as a preset area.
[0061] In an optional embodiment, the two different grayscale images are a first grayscale image and a second grayscale image, and the acquisition unit 501 includes: a second determination subunit, used to capture the image displayed in the preset area through the high-precision image acquisition device when the target screen receives the first preset grayscale value, and determine the captured image as the first grayscale image; a third determination subunit, used to capture the image displayed in the preset area through the high-precision image acquisition device when the target screen receives the second preset grayscale value, and determine the captured image as the second grayscale image.
[0062] In an optional embodiment, the first determination unit 503 includes: a fourth determination subunit, used to determine the four vertices corresponding to the grayscale image, and determine the four display grayscale values corresponding to the four vertices; a fifth determination subunit, used to respectively subtract the four display grayscale values from the target pixel value, and determine the four difference values as four pixel compensation values corresponding to the four vertices; a first acquisition subunit, used to acquire four coordinate information corresponding to the four vertices; and a sixth determination subunit, used to determine the pixel compensation value of the target pixel point based on the four pixel compensation values and the four coordinate information.
[0063] In an optional embodiment, after subtracting the four display grayscale values from the target pixel values respectively and determining the four difference values as four pixel compensation values corresponding to the four vertices, the fifth determination subunit also includes: a storage module for three-dimensionally down-sampling the target data in the form of fixed-point complement and storing it in a preset Flash memory, wherein the target data is four pixel compensation values and a preset grayscale value; a loading module for reading the target data from the preset Flash memory and loading the target data into a preset SRAM memory.
[0064] In an optional embodiment, the grayscale image includes a first vertex, a second vertex, a third vertex and a fourth vertex, and the sixth determination subunit includes: a first determination module, used to determine a first area corresponding to the first sub-region based on the coordinate information of the first vertex and the coordinate information of the target pixel point; a second determination module, used to determine a second area corresponding to the second sub-region based on the coordinate information of the second vertex and the coordinate information of the target pixel point; a third determination module, used to determine a third area corresponding to the third sub-region based on the coordinate information of the third vertex and the coordinate information of the target pixel point; a fourth determination module, used to determine a fourth area corresponding to the fourth sub-region based on the coordinate information of the fourth vertex and the coordinate information of the target pixel point, and the sum of the first area, the second area, the third area and the fourth area is the area corresponding to the preset area; and a first calculation module, used to calculate the pixel compensation value by formula 1, where formula 1 is:
[0065] Among them, C0 is the pixel compensation value, S1 is the first area, S2 is the second area, S3 is the third area, S4 is the fourth area, Q11 is the pixel compensation value corresponding to the first vertex, Q21 is the pixel compensation value corresponding to the second vertex, Q12 is the pixel compensation value of the third vertex, and Q22 is the pixel compensation value corresponding to the fourth vertex.
[0066] In an optional embodiment, the second determination unit 505 includes: a second acquisition subunit, used to obtain two preset grayscale values corresponding to two grayscale images; a calculation subunit, used to calculate a preset slope based on the two preset grayscale values; and a seventh determination subunit, used to determine the target pixel compensation value based on the two pixel compensation values corresponding to the two target pixel points, the target preset grayscale value and the preset slope.
[0067] In an optional embodiment, the calculation subunit includes: a second calculation module, configured to calculate a preset slope according to two preset grayscale values using Formula 2, where Formula 2 is: Gray(x) is the smaller of the two preset grayscale values, Gray(x+1) is the larger of the two preset grayscale values, and n is the number of shifts.
[0068] In an optional embodiment, the seventh determination subunit includes: a fifth determination module, used to determine the target pixel compensation value through Formula 3, Formula 3 is: C3 = [C1×(C0-Gray(C3))+C0×(Gray(C3)-C1)]×slope, wherein C3 is the target pixel compensation value, C0 is the first pixel compensation value, the first pixel compensation value is the pixel compensation value corresponding to the target pixel point corresponding to the first grayscale image, the preset grayscale value corresponding to the first grayscale image is the larger of two preset grayscale values, C1 is the second pixel compensation value, the second pixel compensation value is the pixel compensation value corresponding to the target pixel point corresponding to the second grayscale image, the preset grayscale value corresponding to the second grayscale image is the smaller of the two preset grayscale values, Gray(C3) is the target preset grayscale value, and slope is the preset slope.
[0069] An embodiment of the present invention provides an apparatus for correcting display defects of a liquid crystal screen. The apparatus comprises an acquisition unit 501 for acquiring two different grayscale images, wherein the grayscale image is an image displayed in a preset area when a target screen receives a preset grayscale value, and the preset grayscale values corresponding to the two different grayscale images are different. A first determination unit 503 is configured to respectively determine pixel compensation values for target pixels corresponding to the two grayscale images, wherein the pixel compensation value is the difference between a target grayscale value and a display grayscale value of the target pixel, and the target grayscale value corresponds to the preset grayscale value. A second determination unit 505 is configured to determine a target pixel compensation value for the target pixel corresponding to the target preset grayscale value based on the pixel compensation values and the target preset grayscale value of the target pixel corresponding to the two grayscale images. A compensation unit 507 is configured to compensate the grayscale value of the target pixel corresponding to the target preset grayscale value using the target pixel compensation value. This solves the technical problem of correcting defects in liquid crystal display screens such as LCDs / LEDs in the related art, thereby achieving the effect of enabling a defective liquid crystal display screen to display correctly.
[0070] The device for correcting display defects of a liquid crystal screen includes a processor and a memory. The above-mentioned unit acquisition unit 501 and the like are stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.
[0071] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be configured, and adjusting kernel parameters solves the technical problem of correcting defects in LCD / LED displays.
[0072] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0073] An embodiment of the present invention provides a storage medium storing a program, which implements the method for correcting display defects of a liquid crystal screen when executed by a processor.
[0074] An embodiment of the present invention provides a processor, which is used to run a program, wherein the program executes the method for correcting display defects of a liquid crystal screen when running.
[0075] An embodiment of the present invention provides a device, which includes a processor, a memory, and a program stored in the memory and capable of running on the processor. When the processor executes the program, the following steps are implemented: obtaining two different grayscale images, wherein the grayscale image is an image displayed in a preset area when a target screen receives a preset grayscale value, and the preset grayscale values corresponding to the two different grayscale images are different; respectively determining pixel compensation values of target pixel points corresponding to the two grayscale images, wherein the pixel compensation value is the difference between a target grayscale value and a display grayscale value of the target pixel point, and the target grayscale value is a grayscale value corresponding to the preset grayscale value; determining a target pixel compensation value of a target pixel point corresponding to the target preset grayscale value based on the pixel compensation values and the target preset grayscale value of the target pixel points corresponding to the two grayscale images; and compensating the grayscale value of the target pixel point corresponding to the target preset grayscale value by the target pixel compensation value.
[0076] Furthermore, before acquiring two different grayscale images, the method further includes: dividing the target screen into a plurality of rectangular areas of equal area, and determining any one of the plurality of rectangular areas of equal area as a preset area.
[0077] Furthermore, the two different grayscale images are a first grayscale image and a second grayscale image, and obtaining the two different grayscale images includes: when the target screen receives a first preset grayscale value, capturing the image displayed in the preset area through a high-precision image acquisition device, and determining the captured image as the first grayscale image; when the target screen receives a second preset grayscale value, capturing the image displayed in the preset area through a high-precision image acquisition device, and determining the captured image as the second grayscale image.
[0078] Furthermore, the pixel compensation values of the target pixel points corresponding to the two grayscale images are determined respectively, including: determining the four vertices corresponding to the grayscale images, and determining the four display grayscale values corresponding to the four vertices; subtracting the four display grayscale values from the target pixel values respectively, and determining the four difference values as the four pixel compensation values corresponding to the four vertices; obtaining the four coordinate information corresponding to the four vertices; and determining the pixel compensation value of the target pixel point based on the four pixel compensation values and the four coordinate information.
[0079] Furthermore, after respectively subtracting the four display grayscale values from the target pixel values and determining the four difference values as four pixel compensation values corresponding to the four vertices, the method also includes: three-dimensionally downsampling the target data in the form of fixed-point complement and storing it in a preset Flash memory, wherein the target data is the four pixel compensation values and the preset grayscale value; reading the target data from the preset Flash memory and loading the target data into a preset SRAM memory.
[0080] Furthermore, the grayscale image includes a first vertex, a second vertex, a third vertex, and a fourth vertex. The pixel compensation value of the target pixel point is determined based on the four pixel compensation values and the four coordinate information, including: determining a first area corresponding to the first sub-region based on the coordinate information of the first vertex and the coordinate information of the target pixel point; determining a second area corresponding to the second sub-region based on the coordinate information of the second vertex and the coordinate information of the target pixel point; determining a third area corresponding to the third sub-region based on the coordinate information of the third vertex and the coordinate information of the target pixel point; determining a fourth area corresponding to the fourth sub-region based on the coordinate information of the fourth vertex and the coordinate information of the target pixel point, and the sum of the first area, the second area, the third area, and the fourth area is the area corresponding to the preset area; and calculating the pixel compensation value through Formula 1, Formula 1 is: Among them, C0 is the pixel compensation value, S1 is the first area, S2 is the second area, S3 is the third area, S4 is the fourth area, Q11 is the pixel compensation value corresponding to the first vertex, Q21 is the pixel compensation value corresponding to the second vertex, Q12 is the pixel compensation value of the third vertex, and Q22 is the pixel compensation value corresponding to the fourth vertex.
[0081] Furthermore, based on the pixel compensation values of the target pixel points corresponding to the two grayscale images and the target preset grayscale values, the target pixel compensation value of the target pixel point corresponding to the target preset grayscale value is determined, including: obtaining two preset grayscale values corresponding to the two grayscale images; calculating a preset slope based on the two preset grayscale values; and determining the target pixel compensation value based on the two pixel compensation values corresponding to the two target pixel points, the target preset grayscale value and the preset slope.
[0082] Furthermore, calculating the preset slope according to the two preset grayscale values includes: calculating the preset slope according to the two preset grayscale values using Formula 2, where Formula 2 is: Gray(x) is the smaller of the two preset grayscale values, Gray(x+1) is the larger of the two preset grayscale values, and n is the number of shifts.
[0083] Furthermore, a target pixel compensation value of a target pixel point corresponding to the target preset grayscale value is determined based on the pixel compensation value of the target pixel point corresponding to the two grayscale images and the target preset grayscale value, including: determining the target pixel compensation value by formula three, formula three is: C3=[C1×(C0-Gray(C3))+C0×(Gray(C3)-C1)]×slope, wherein C3 is the target pixel compensation value, C0 is a first pixel compensation value, the first pixel compensation value is a pixel compensation value corresponding to the target pixel point corresponding to the first grayscale image, the preset grayscale value corresponding to the first grayscale image is the larger of the two preset grayscale values, C1 is a second pixel compensation value, the second pixel compensation value is a pixel compensation value corresponding to the target pixel point corresponding to the second grayscale image, the preset grayscale value corresponding to the second grayscale image is the smaller of the two preset grayscale values, Gray(C3) is the target preset grayscale value, and slope is a preset slope.
[0084] The devices in this article can be servers, PCs, PADs, mobile phones, etc.
[0085] The present invention also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program initialized with the following method steps: obtaining two different grayscale images, wherein the grayscale image is an image displayed in a preset area when the target screen receives a preset grayscale value, and the preset grayscale values corresponding to the two different grayscale images are different; respectively determining pixel compensation values of target pixel points corresponding to the two grayscale images, wherein the pixel compensation value is the difference between the target grayscale value and the display grayscale value of the target pixel point, and the target grayscale value is the grayscale value corresponding to the preset grayscale value; determining the target pixel compensation value of the target pixel point corresponding to the target preset grayscale value based on the pixel compensation value and the target preset grayscale value of the target pixel point corresponding to the two grayscale images; and compensating the grayscale value of the target pixel point corresponding to the target preset grayscale value by the target pixel compensation value.
[0086] Furthermore, before acquiring two different grayscale images, the method further includes: dividing the target screen into a plurality of rectangular areas of equal area, and determining any one of the plurality of rectangular areas of equal area as a preset area.
[0087] Furthermore, the two different grayscale images are a first grayscale image and a second grayscale image, and obtaining the two different grayscale images includes: when the target screen receives a first preset grayscale value, capturing the image displayed in the preset area through a high-precision image acquisition device, and determining the captured image as the first grayscale image; when the target screen receives a second preset grayscale value, capturing the image displayed in the preset area through a high-precision image acquisition device, and determining the captured image as the second grayscale image.
[0088] Furthermore, the pixel compensation values of the target pixel points corresponding to the two grayscale images are determined respectively, including: determining the four vertices corresponding to the grayscale images, and determining the four display grayscale values corresponding to the four vertices; subtracting the four display grayscale values from the target pixel values respectively, and determining the four difference values as the four pixel compensation values corresponding to the four vertices; obtaining the four coordinate information corresponding to the four vertices; and determining the pixel compensation value of the target pixel point based on the four pixel compensation values and the four coordinate information.
[0089] Furthermore, after respectively subtracting the four display grayscale values from the target pixel values and determining the four difference values as four pixel compensation values corresponding to the four vertices, the method also includes: three-dimensionally downsampling the target data in the form of fixed-point complement and storing it in a preset Flash memory, wherein the target data is the four pixel compensation values and the preset grayscale value; reading the target data from the preset Flash memory and loading the target data into a preset SRAM memory.
[0090] Furthermore, the grayscale image includes a first vertex, a second vertex, a third vertex, and a fourth vertex. The pixel compensation value of the target pixel point is determined based on the four pixel compensation values and the four coordinate information, including: determining a first area corresponding to the first sub-region based on the coordinate information of the first vertex and the coordinate information of the target pixel point; determining a second area corresponding to the second sub-region based on the coordinate information of the second vertex and the coordinate information of the target pixel point; determining a third area corresponding to the third sub-region based on the coordinate information of the third vertex and the coordinate information of the target pixel point; determining a fourth area corresponding to the fourth sub-region based on the coordinate information of the fourth vertex and the coordinate information of the target pixel point, and the sum of the first area, the second area, the third area, and the fourth area is the area corresponding to the preset area; and calculating the pixel compensation value through Formula 1, Formula 1 is: Among them, C0 is the pixel compensation value, S1 is the first area, S2 is the second area, S3 is the third area, S4 is the fourth area, Q11 is the pixel compensation value corresponding to the first vertex, Q21 is the pixel compensation value corresponding to the second vertex, Q12 is the pixel compensation value of the third vertex, and Q22 is the pixel compensation value corresponding to the fourth vertex.
[0091] Furthermore, based on the pixel compensation values of the target pixel points corresponding to the two grayscale images and the target preset grayscale values, the target pixel compensation value of the target pixel point corresponding to the target preset grayscale value is determined, including: obtaining two preset grayscale values corresponding to the two grayscale images; calculating a preset slope based on the two preset grayscale values; and determining the target pixel compensation value based on the two pixel compensation values corresponding to the two target pixel points, the target preset grayscale value and the preset slope.
[0092] Furthermore, calculating the preset slope according to the two preset grayscale values includes: calculating the preset slope according to the two preset grayscale values using Formula 2, where Formula 2 is: Gray(x) is the smaller of the two preset grayscale values, Gray(x+1) is the larger of the two preset grayscale values, and n is the number of shifts.
[0093] Furthermore, a target pixel compensation value of a target pixel point corresponding to the target preset grayscale value is determined based on the pixel compensation value of the target pixel point corresponding to the two grayscale images and the target preset grayscale value, including: determining the target pixel compensation value by formula three, formula three is: C3=[C1×(C0-Gray(C3))+C0×(Gray(C3)-C1)]×slope, wherein C3 is the target pixel compensation value, C0 is a first pixel compensation value, the first pixel compensation value is a pixel compensation value corresponding to the target pixel point corresponding to the first grayscale image, the preset grayscale value corresponding to the first grayscale image is the larger of the two preset grayscale values, C1 is a second pixel compensation value, the second pixel compensation value is a pixel compensation value corresponding to the target pixel point corresponding to the second grayscale image, the preset grayscale value corresponding to the second grayscale image is the smaller of the two preset grayscale values, Gray(C3) is the target preset grayscale value, and slope is a preset slope.
[0094] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0095] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0096] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0097] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0098] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0099] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0100] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0101] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0102] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0103] The above are merely embodiments of the present invention and are not intended to limit the present invention. It will be apparent to those skilled in the art that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are intended to be included within the scope of the claims of the present invention.
Claims
1. A method for correcting display defects of a liquid crystal screen, characterized in that: include: Acquire two different grayscale images, wherein the grayscale images are images displayed in a preset area when the target screen receives a preset grayscale value, and the preset grayscale values corresponding to the two different grayscale images are different; Determining pixel compensation values of target pixels corresponding to the two grayscale images respectively, wherein the pixel compensation value is the difference between the target grayscale value and the display grayscale value of the target pixel, and the target grayscale value corresponds to the preset grayscale value; Determining a target pixel compensation value of a target pixel point corresponding to the target preset grayscale value based on the pixel compensation value of the target pixel point corresponding to the two grayscale images and the target preset grayscale value; Compensating the grayscale value of the target pixel point corresponding to the target preset grayscale value by using the target pixel compensation value; Determining a target pixel compensation value of a target pixel point corresponding to a target preset grayscale value based on the pixel compensation values of the target pixel points corresponding to the two grayscale images and the target preset grayscale value includes: obtaining two preset grayscale values corresponding to the two grayscale images; calculating a preset slope based on the two preset grayscale values; and determining the target pixel compensation value based on the two pixel compensation values corresponding to the two target pixel points, the target preset grayscale value, and the preset slope.
2. The method according to claim 1, characterized in that Before acquiring two different grayscale images, the method further includes: The target screen is divided into a plurality of rectangular areas of equal area, and any one of the plurality of rectangular areas of equal area is determined as the preset area.
3. The method according to claim 1, characterized in that The two different grayscale images are a first grayscale image and a second grayscale image, and obtaining the two different grayscale images includes: When the target screen receives the first preset grayscale value, capturing the image displayed in the preset area by a high-precision image capturing device, and determining the captured image as the first grayscale image; In a case where the target screen receives the second preset grayscale value, the image displayed in the preset area is captured by the high-precision image capture device, and the captured image is determined as the second grayscale image.
4. The method according to claim 1, wherein Determining pixel compensation values of target pixels corresponding to the two grayscale images respectively includes: Determining four vertices corresponding to the grayscale image, and determining four display grayscale values corresponding to the four vertices; Subtracting the four display grayscale values from the target pixel value respectively, and determining the four difference values as four pixel compensation values corresponding to the four vertices; Obtain four coordinate information corresponding to the four vertices; The pixel compensation value of the target pixel point is determined according to the four pixel compensation values and the four coordinate information.
5. The method according to claim 4, characterized in that After respectively subtracting the four display grayscale values from the target pixel value and determining the four difference values as four pixel compensation values corresponding to the four vertices, the method further includes: Performing three-dimensional downsampling on the target data in a fixed-point complement form and storing the data in a preset Flash memory, wherein the target data is the four pixel compensation values and the preset grayscale value; The target data is read from the preset Flash memory and loaded into a preset SRAM memory.
6. The method according to claim 4, characterized in that The grayscale image includes a first vertex, a second vertex, a third vertex, and a fourth vertex. Determining the pixel compensation value of the target pixel point according to the four pixel compensation values and the four coordinate information includes: Determining a first area corresponding to the first sub-region according to the coordinate information of the first vertex and the coordinate information of the target pixel; Determining a second area corresponding to the second sub-region based on the coordinate information of the second vertex and the coordinate information of the target pixel; Determining a third area corresponding to the third sub-region based on the coordinate information of the third vertex and the coordinate information of the target pixel; Determining a fourth area corresponding to the fourth sub-region based on the coordinate information of the fourth vertex and the coordinate information of the target pixel, where the sum of the first area, the second area, the third area, and the fourth area is the area corresponding to the preset area; The pixel compensation value is calculated using Formula 1, which is: Among them, C0 is the pixel compensation value, S1 is the first area, S2 is the second area, S3 is the third area, S4 is the fourth area, Q11 is the pixel compensation value corresponding to the first vertex, Q21 is the pixel compensation value corresponding to the second vertex, Q12 is the pixel compensation value of the third vertex, and Q22 is the pixel compensation value corresponding to the fourth vertex.
7. The method according to claim 1, characterized in that Calculating a preset slope according to the two preset grayscale values includes: According to the two preset grayscale values, the preset slope is calculated by formula 2, which is: Gray(x) is the smaller of the two preset grayscale values, Gray(x+1) is the larger of the two preset grayscale values, and n is the number of shifts.
8. The method according to claim 1, characterized in that Determining a target pixel compensation value of a target pixel corresponding to the target preset grayscale value based on the pixel compensation value of the target pixel corresponding to the two grayscale images and the target preset grayscale value includes: The target pixel compensation value is determined by Formula 3, which is: C3=[C1×(C0-Gray(C3))+C0×(Gray(C3)-C1)]×slope, where C3 is the target pixel compensation value, C0 is a first pixel compensation value, the first pixel compensation value is a pixel compensation value corresponding to the target pixel point corresponding to the first grayscale image, the preset grayscale value corresponding to the first grayscale image is the larger of the two preset grayscale values, C1 is a second pixel compensation value, the second pixel compensation value is a pixel compensation value corresponding to the target pixel point corresponding to the second grayscale image, the preset grayscale value corresponding to the second grayscale image is the smaller of the two preset grayscale values, Gray(C3) is the target preset grayscale value, and slope is the preset slope.
9. A device for correcting display defects of a liquid crystal screen, characterized in that: include: an acquiring unit, configured to acquire two different grayscale images, wherein the grayscale images are images displayed in a preset area when the target screen receives a preset grayscale value, and the preset grayscale values corresponding to the two different grayscale images are different; a first determining unit, configured to respectively determine pixel compensation values of target pixels corresponding to the two grayscale images, wherein the pixel compensation value is a difference between a target grayscale value and a display grayscale value of the target pixel, and the target grayscale value corresponds to the preset grayscale value; a second determining unit, configured to determine a target pixel compensation value of a target pixel point corresponding to the target preset grayscale value based on the pixel compensation values of the target pixel points corresponding to the two grayscale images and the target preset grayscale value; a compensation unit, configured to compensate the grayscale value of a target pixel point corresponding to the target preset grayscale value by using the target pixel compensation value; The second determination unit includes: a second acquisition subunit, used to obtain two preset grayscale values corresponding to the two grayscale images; a calculation subunit, used to calculate a preset slope based on the two preset grayscale values; a seventh determination subunit, used to determine the target pixel compensation value based on the two pixel compensation values corresponding to the two target pixel points, the target preset grayscale value and the preset slope.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 8.
11. A processor, characterized in that: The processor is configured to run a program, wherein the program executes the method according to any one of claims 1 to 8 when running.
Citation Information
Patent Citations
Mura compensation method and mura compensation system
CN109119035A
Compensation method and compensation device of display panel
CN112542142A