Data processing method and device, computer device and storage medium

By performing multiple brightness corrections on the OLED screen, based on the position of sub-pixels and adjacent brightness values, the problem of uneven brightness in OLED screens was solved, improving the accuracy of brightness data and display uniformity.

CN118197211BActive Publication Date: 2025-11-25GLENFLY TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410251593.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-05
Publication Date
2025-11-25
Estimated Expiration
2044-03-05

AI Technical Summary

Technical Problem

During the manufacturing process of OLED screens, there is a problem of brightness non-uniformity (Mura). In existing Demura methods, the accuracy of brightness data affects the accuracy of compensation data, making it difficult to effectively eliminate brightness non-uniformity.

Method used

By taking pictures of the OLED screen to obtain the desired brightness value and the test brightness value, a first correction update is performed, followed by a second correction update based on the sub-pixel position type and the brightness value of adjacent sub-pixels, thereby improving the accuracy of the brightness data.

Benefits of technology

It improves the accuracy of the input data for the Demura algorithm, enhances the brightness uniformity correction effect, and improves the display quality of OLED screens.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118197211B_ABST
    Figure CN118197211B_ABST
Patent Text Reader

Abstract

The application relates to a data processing method and device, computer equipment and a storage medium. The method comprises the following steps: performing first correction updating on the test brightness of each sub-pixel according to the expected brightness value of a target screen body, to obtain the first corrected brightness value of each sub-pixel; acquiring the position information of each sub-pixel, determining the pixel position type of each sub-pixel according to the position information; performing second correction updating on the first corrected brightness value of each sub-pixel according to the pixel position type of each sub-pixel and the first corrected brightness value of the first reference sub-pixel located at the first preset adjacent position of each sub-pixel, to obtain the second corrected brightness value of each sub-pixel. The test brightness data and position of each sub-pixel are judged, the test brightness value of each sub-pixel is corrected at least once, the accuracy of the input data of the Demura algorithm is improved, and the accuracy of the output result of the Demura algorithm is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to a data processing method, apparatus, computer equipment, storage medium, and computer program product. Background Technology

[0002] OLEDs are high-brightness, high-efficiency self-emissive devices with characteristics such as high contrast, ultra-wide viewing angle, low power consumption, good shock resistance, thinness, and the ability to be made into curved panels. Despite their widespread use in many display fields, OLED screen manufacturing processes and the inherent electroluminescent actuation mechanism result in uneven brightness, a common defect in organic electroluminescent devices, also known as Mura. The process of eliminating this uneven brightness is called Demura.

[0003] In existing demolasm, the demolasm can be eliminated through the following steps: First, the panel is illuminated with a driving circuit to display several images (usually grayscale images). Second, these images are captured using a high-resolution, high-precision CCD camera, and brightness data is collected. Third, the brightness data is processed and calculated according to a corresponding compensation algorithm to generate corresponding compensation data. Finally, the compensation data is burned into non-volatile memory, the display panel's brightness is compensated, and the images are re-captured to confirm that the demolasm has been eliminated. Therefore, the accuracy of the collected brightness data affects the accuracy of the generated compensation data. Summary of the Invention

[0004] Therefore, it is necessary to provide an accurate data processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product to address the aforementioned technical problems.

[0005] Firstly, this application provides a data processing method. The method includes:

[0006] Based on the image obtained by taking a picture of the target screen, the desired brightness value of the target screen and the test brightness values ​​of multiple sub-pixels in the target screen are obtained.

[0007] The test brightness of each sub-pixel is first corrected and updated based on the expected brightness value to obtain the first corrected brightness value of each sub-pixel.

[0008] Obtain the position information of each sub-pixel, and determine the pixel position type of each sub-pixel based on the position information;

[0009] Based on the pixel position type of each sub-pixel and the first corrected brightness value of the first reference sub-pixel located at the first preset adjacent position of each sub-pixel, the first corrected brightness value of each sub-pixel is corrected and updated a second time to obtain the second corrected brightness value of each sub-pixel.

[0010] In one embodiment, the test brightness of each sub-pixel is first corrected and updated based on the desired brightness value to obtain a first corrected brightness value for each sub-pixel, including:

[0011] If the first difference between the test brightness value and the expected brightness value of a sub-pixel satisfies the first preset condition, a second reference sub-pixel located at a second preset adjacent position of the corresponding sub-pixel is determined.

[0012] Based on the test brightness value of the second reference sub-pixel, determine the first corrected brightness value of the corresponding sub-pixel;

[0013] If the first difference between the test brightness value and the expected brightness value of a sub-pixel does not meet the first preset condition, the test brightness value of the corresponding sub-pixel is used as the first corrected brightness value.

[0014] In one embodiment, the location information includes row and column parameters of the sub-pixel in the image; accordingly, determining the pixel location type of each sub-pixel based on the location information includes:

[0015] If a sub-pixel satisfies the second preset condition in its row parameter or the third preset condition in its column parameter, the pixel position type of the corresponding sub-pixel is determined to be the first type indicating that the sub-pixel is a boundary region sub-pixel.

[0016] If the row parameter of a sub-pixel does not meet the second preset condition and the column parameter does not meet the third preset condition, obtain the test brightness value of the third reference sub-pixel located at the third preset position of the corresponding sub-pixel in the image.

[0017] When the test brightness value of the third reference sub-pixel is a preset brightness value, the pixel position type of the corresponding sub-pixel is determined to be the second type indicating that the sub-pixel is a corner region sub-pixel;

[0018] For the remaining sub-pixels among multiple sub-pixels, excluding those with pixel position types of type 1 and type 2, determine that the pixel position type of the remaining sub-pixels is type 3.

[0019] In one embodiment, based on the pixel position type of each sub-pixel and the first corrected brightness value of a first reference sub-pixel located at a first preset adjacent position of each sub-pixel, a second correction update is performed on the first corrected brightness value of each sub-pixel to obtain a second corrected brightness value for each sub-pixel, including:

[0020] For any sub-pixel among multiple sub-pixels, if the pixel position type of any sub-pixel is of the first type or the second type, obtain the first corrected brightness value of at least two first reference sub-pixels located at the first preset adjacent position of any sub-pixel;

[0021] The maximum value among the first corrected luminance values ​​of at least two first reference sub-pixels is used as the second corrected luminance value of any sub-pixel.

[0022] In one embodiment, based on the pixel position type of each sub-pixel and the first corrected brightness value of a first reference sub-pixel located at a first preset adjacent position of each sub-pixel, a second correction update is performed on the reference brightness value of each sub-pixel to obtain a second corrected brightness value for each sub-pixel, including:

[0023] For any sub-pixel among multiple sub-pixels, if the pixel position type of any sub-pixel is the third type, obtain the first corrected brightness value of at least two first reference sub-pixels located at the first preset adjacent position of any sub-pixel;

[0024] Based on the first corrected luminance value of each first reference sub-pixel, determine the luminance gain value of each first reference sub-pixel relative to any sub-pixel;

[0025] Based on the luminance gain value, determine the second corrected luminance value for any sub-pixel.

[0026] In one embodiment, the brightness gain value includes a neighborhood brightness gain value; correspondingly, determining the brightness gain value of each first reference sub-pixel relative to any sub-pixel based on the first corrected brightness value of each first reference sub-pixel includes:

[0027] Calculate the second difference between the first corrected luminance value of each first reference sub-pixel and the first corrected luminance value of any sub-pixel, and use it as the neighborhood luminance gain value of each first reference sub-pixel relative to any sub-pixel.

[0028] In one embodiment, the brightness gain value includes a global brightness gain value; correspondingly, determining the brightness gain value of each first reference sub-pixel relative to any sub-pixel based on the first corrected brightness value of each first reference sub-pixel includes:

[0029] Calculate the third difference between the first corrected luminance value and the desired luminance value for each first reference sub-pixel, and use it as the global luminance gain value of each first reference sub-pixel relative to any other sub-pixel.

[0030] In one embodiment, the brightness gain value includes a neighborhood brightness gain value and a global brightness gain value; accordingly, determining a second corrected brightness value for any sub-pixel based on the brightness gain value includes:

[0031] A first corrected brightness value for any sub-pixel is determined based on the neighborhood brightness gain value of each first reference sub-pixel relative to any sub-pixel.

[0032] A second corrected brightness value for any sub-pixel is determined based on the global brightness gain value of each first reference sub-pixel relative to any sub-pixel.

[0033] A second corrected brightness value is determined for any sub-pixel based on the first corrected brightness value and the second corrected brightness value.

[0034] Secondly, this application also provides a data processing apparatus. The apparatus includes:

[0035] The data acquisition module is used to obtain the desired brightness value of the target screen and the test brightness value of multiple sub-pixels in the target screen based on the image obtained by taking a picture of the target screen.

[0036] The first correction module is used to perform the first correction update on the test brightness of each sub-pixel based on the expected brightness value, so as to obtain the first corrected brightness value of each sub-pixel.

[0037] The position determination module is used to obtain the position information of each sub-pixel and determine the pixel position type of each sub-pixel based on the position information.

[0038] The second correction module is used to perform a second correction update on the first correction brightness value of each sub-pixel based on the pixel position type of each sub-pixel and the first correction brightness value of the first reference sub-pixel located at the first preset adjacent position of each sub-pixel, so as to obtain the second correction brightness value of each sub-pixel.

[0039] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0040] Based on the image obtained by taking a picture of the target screen, the desired brightness value of the target screen and the test brightness values ​​of multiple sub-pixels in the target screen are obtained.

[0041] The test brightness of each sub-pixel is first corrected and updated based on the expected brightness value to obtain the first corrected brightness value of each sub-pixel.

[0042] Obtain the position information of each sub-pixel, and determine the pixel position type of each sub-pixel based on the position information;

[0043] Based on the pixel position type of each sub-pixel and the first corrected brightness value of the first reference sub-pixel located at the first preset adjacent position of each sub-pixel, the first corrected brightness value of each sub-pixel is corrected and updated a second time to obtain the second corrected brightness value of each sub-pixel.

[0044] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0045] Based on the image obtained by taking a picture of the target screen, the desired brightness value of the target screen and the test brightness values ​​of multiple sub-pixels in the target screen are obtained.

[0046] The test brightness of each sub-pixel is first corrected and updated based on the expected brightness value to obtain the first corrected brightness value of each sub-pixel.

[0047] Obtain the position information of each sub-pixel, and determine the pixel position type of each sub-pixel based on the position information;

[0048] Based on the pixel position type of each sub-pixel and the first corrected brightness value of the first reference sub-pixel located at the first preset adjacent position of each sub-pixel, the first corrected brightness value of each sub-pixel is corrected and updated a second time to obtain the second corrected brightness value of each sub-pixel.

[0049] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0050] Based on the image obtained by taking a picture of the target screen, the desired brightness value of the target screen and the test brightness values ​​of multiple sub-pixels in the target screen are obtained.

[0051] The test brightness of each sub-pixel is first corrected and updated based on the expected brightness value to obtain the first corrected brightness value of each sub-pixel.

[0052] Obtain the position information of each sub-pixel, and determine the pixel position type of each sub-pixel based on the position information;

[0053] Based on the pixel position type of each sub-pixel and the first corrected brightness value of the first reference sub-pixel located at the first preset adjacent position of each sub-pixel, the first corrected brightness value of each sub-pixel is corrected and updated a second time to obtain the second corrected brightness value of each sub-pixel.

[0054] The aforementioned data processing method, apparatus, computer equipment, storage medium, and computer program product acquire, based on images obtained by photographing the target screen, the desired brightness value of the target screen and the test brightness values ​​of multiple sub-pixels in the target screen; perform a first correction update on the test brightness of each sub-pixel based on the desired brightness value to obtain a first corrected brightness value for each sub-pixel; acquire the position information of each sub-pixel and determine the pixel position type of each sub-pixel based on the position information; and perform a second correction update on the first corrected brightness value of each sub-pixel based on the pixel position type of each sub-pixel and the first corrected brightness value of a first reference sub-pixel located at a first preset adjacent position of each sub-pixel to obtain a second corrected brightness value for each sub-pixel. By using test brightness data collected by photographing the screen with a camera and the position of each sub-pixel in the screen, the test brightness value of each sub-pixel is corrected at least once, improving the accuracy of the input data of the Demura algorithm, thereby enhancing the accuracy of the output results of the Demura algorithm. Attached Figure Description

[0055] Figure 1 This is a diagram illustrating the application environment of a data processing method in one embodiment.

[0056] Figure 2 This is a flowchart illustrating a data processing method in one embodiment;

[0057] Figure 3 This is a schematic diagram showing the position of the target screen in an image in one embodiment;

[0058] Figure 4 This is a schematic diagram illustrating the positional relationship between a sub-pixel and its adjacent sub-pixels within a 3x3 region in one embodiment.

[0059] Figure 5 This is a flowchart illustrating the data processing method in another embodiment;

[0060] Figure 6 This is a schematic diagram of the sub-pixel positions in the corner region of one embodiment;

[0061] Figure 7 This is a flowchart illustrating the data processing method in yet another embodiment;

[0062] Figure 8 This is a schematic diagram of the brightness values ​​of a sub-pixel and its neighboring sub-pixels within a 3*3 region in one embodiment;

[0063] Figure 9 This is a schematic diagram illustrating the correspondence between sub-pixels and their corresponding weight values ​​in one embodiment.

[0064] Figure 10 This is a structural block diagram of a data processing device in one embodiment;

[0065] Figure 11 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0066] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0067] OLEDs are high-brightness, high-efficiency self-emissive devices with characteristics such as high contrast, ultra-wide viewing angle, low power consumption, good shock resistance, thinness, and the ability to be made into curved panels. Despite their widespread use in many display fields, OLED screen manufacturing processes and the inherent electroluminescent actuation mechanism result in uneven brightness, a common defect in organic electroluminescent devices, also known as Mura. The process of eliminating this uneven brightness is called Demura.

[0068] In existing demolasm, the demolasm can be eliminated through the following steps: First, the panel is illuminated with a driving circuit to display several images (usually grayscale images). Second, these images are captured using a high-resolution, high-precision CCD camera, and brightness data is collected. Third, the brightness data is processed and calculated according to a corresponding compensation algorithm to generate corresponding compensation data. Finally, the compensation data is burned into non-volatile memory, the display panel's brightness is compensated, and the images are re-captured to confirm that the demolasm has been eliminated. Therefore, the accuracy of the collected brightness data affects the accuracy of the generated compensation data.

[0069] To address the aforementioned problems, this application provides a data processing method that processes brightness data acquired by a camera to obtain more accurate brightness data for each sub-pixel in the target screen. The data processing method provided in this application can be applied to applications such as... Figure 1 The application environment shown is as follows. The OLED module product 101, the imaging device 102, and the display module illumination and debugging device (pattern generator, PG) 103 are located in a darkroom environment. The computer 104 is connected to both the PG device 103 and the imaging device 102. The computer 104 controls the display of the OLED module product 101 through its connection to the PG device 103. The imaging device 102 then captures display data from the OLED module product 101 by taking pictures and sends it to the computer 104. The computer 104 processes the data and generates a Demura compensation file, which is then burned into the DDIC of the OLED module product 101. The imaging device 102 can be a high-resolution, high-precision CCD camera.

[0070] In one embodiment, such as Figure 2As shown, a data processing method is provided, which can be applied to... Figure 1 Taking computer 104 as an example, the explanation includes the following steps:

[0071] Step 202: Based on the image obtained by taking a picture of the target screen, obtain the expected brightness value of the target screen and the test brightness value of multiple sub-pixels in the target screen;

[0072] First, it should be noted that when this embodiment is applied in the aforementioned environment, a series of corrections need to be performed relative to the shooting device 102 to avoid uneven brightness data collected due to shooting device and other environmental factors. For example, flat field correction, black level correction, and exposure time correction are performed. Therefore, in this embodiment, "the image obtained by taking a picture of the target screen" refers to the image of the target screen displaying a preset screen, collected under conditions unaffected by shooting device and other environmental factors.

[0073] The test brightness value of a subpixel refers to the brightness value of each subpixel extracted by image processing of an image of a preset screen displayed on the target screen acquired by the imaging device. Theoretically, after acquiring the image captured by the imaging device, the computer 104 will extract the test brightness value of each subpixel on the target screen. In this embodiment, the multiple subpixels in the target screen can be all subpixels of the target screen, or only some subpixels. It is understood that when the imaging device takes a picture of the display screen, the brightness of each subpixel in the acquired image is not only related to the light emission of the subpixel itself, but also affected by the shooting environment, such as the light emission of adjacent subpixels. Therefore, when correcting the test brightness value of each subpixel, it is usually necessary to refer to the test brightness values ​​of other subpixels in the target screen; that is, the method provided in this embodiment needs to be completed after acquiring the test brightness values ​​of multiple subpixels. Preferably, the test brightness value of each subpixel in the target screen is acquired.

[0074] Step 204: Perform the first correction update on the test brightness of each sub-pixel based on the expected brightness value to obtain the first corrected brightness value of each sub-pixel.

[0075] The desired brightness value refers to the brightness that the imaging device aims to achieve when illuminating the target screen before capturing an image of the preset scene. The first calibration corrects the test brightness value of each sub-pixel using the desired brightness value. For example, it compares the test brightness value of each sub-pixel with the desired brightness value. If a sub-pixel's test brightness value is greater than or less than the desired brightness value, it indicates an anomaly in the sub-pixel's test brightness value, requiring correction. This first calibration updates the test brightness value of each sub-pixel across multiple sub-pixels, resulting in the first corrected brightness value for each sub-pixel.

[0076] Specifically, sub-pixels with abnormal test brightness values ​​can be corrected using the desired brightness value. For example, the brightness value of the sub-pixel can be directly assigned the desired brightness value, or a new brightness value can be calculated based on the desired brightness value and assigned to the sub-pixel. Alternatively, a first corrected brightness value for the sub-pixel can be determined using the sub-pixels at its adjacent positions.

[0077] Step 206: Obtain the position information of each sub-pixel, and determine the pixel position type of each sub-pixel based on the position information;

[0078] The location information refers to the row and / or column position of the sub-pixel in the image captured by the imaging device. Since the imaging device performs manual position adjustments and flat field corrections before capturing the image, the sub-pixels in the boundary region of the target screen are precisely on the image boundary, such as... Figure 3 As shown, the image area is region A, and the display area of ​​the target screen is region B. After defining the row and column directions of the image, the position information of each sub-pixel in the image can be obtained.

[0079] Pixel position type refers to the type of position of a sub-pixel within the target screen, used to distinguish sub-pixels at different locations within the target screen. Based on position information, the position of each sub-pixel within the target screen can be quickly and easily determined.

[0080] Step 208: Based on the pixel position type of each sub-pixel and the first corrected brightness value of the first reference sub-pixel located at the first preset adjacent position of each sub-pixel, perform a second correction update on the first corrected brightness value of each sub-pixel to obtain the second corrected brightness value of each sub-pixel.

[0081] The first preset adjacent position is a position adjacent to each sub-pixel, used to correct the brightness value of each sub-pixel. It is understood that, based on the existing target screen structure design, it can be determined that each sub-pixel has 8 adjacent sub-pixels, such as... Figure 4 As shown, the neighboring sub-pixels of sub-pixel b include sub-pixel a to the left, sub-pixel c to the right, sub-pixel e above, sub-pixel h below, sub-pixel d at the top left, sub-pixel g at the bottom left, sub-pixel f at the top right, and sub-pixel j at the bottom right. The first preset adjacent position is at least one of the following: left, right, top, bottom, top left, bottom left, top right, and bottom right. Correspondingly, the first reference sub-pixel is at least one of sub-pixels a, c, e, h, d, g, f, and j.

[0082] It should be noted that the setting of the first preset adjacent position is related to the method of the second correction update. The first preset adjacent position is set based on the reference sub-pixels required for the second correction of the first corrected brightness value of each sub-pixel. For example, when performing the second correction of the first corrected brightness value of each sub-pixel, it is only necessary to refer to... Figure 4 The first corrected brightness values ​​of neutron pixels a, c, e, and h are then set as the first preset adjacent positions corresponding to the correction method as left, right, top, and bottom.

[0083] Specifically, based on the pixel position type of each sub-pixel, the first corrected brightness value of the first reference sub-pixel at the corresponding first preset adjacent position is obtained, and the first corrected brightness value of each sub-pixel is updated a second time. When there is only one first reference sub-pixel, the first corrected brightness value of the first reference sub-pixel can be directly assigned to the sub-pixel, or a new brightness value can be obtained by performing a certain set calculation on the first corrected brightness value of the first reference sub-pixel and the first corrected brightness value of the sub-pixel, which is then used as the second corrected brightness value of the sub-pixel. When there are multiple first reference sub-pixels, the maximum value or the median value among the first corrected brightness values ​​of the multiple first reference sub-pixels can be assigned to the sub-pixel, or the second corrected pixel value of the sub-pixel can be calculated based on the first corrected brightness values ​​of the multiple first reference sub-pixels.

[0084] When performing a second correction update on multiple sub-pixels, each sub-pixel can be traversed in a preset order, and each sub-pixel can be corrected sequentially. It should be noted that if the first reference sub-pixel of the currently corrected sub-pixel has already undergone a second correction update, the second corrected brightness value of the currently corrected sub-pixel can be determined using the second corrected brightness value of the first reference sub-pixel.

[0085] In the method provided in the above embodiments, based on an image obtained by photographing the target screen, the desired brightness value of the target screen and the test brightness values ​​of multiple sub-pixels in the target screen are obtained; the test brightness of each sub-pixel is first corrected and updated based on the desired brightness value to obtain a first corrected brightness value for each sub-pixel; the position information of each sub-pixel is obtained, and the pixel position type of each sub-pixel is determined based on the position information; the first corrected brightness value of each sub-pixel is secondly corrected and updated based on the pixel position type of each sub-pixel and the first corrected brightness value of a first reference sub-pixel located at a first preset adjacent position of each sub-pixel to obtain a second corrected brightness value for each sub-pixel. By using the test brightness data collected by photographing the screen with a camera and the position of each sub-pixel in the screen, the test brightness value of each sub-pixel is corrected at least once, improving the accuracy of the input data of the Demura algorithm, thereby enhancing the accuracy of the output results of the Demura algorithm.

[0086] In one embodiment, such as Figure 5 As shown, the test brightness of each sub-pixel is first corrected and updated based on the expected brightness value to obtain the first corrected brightness value of each sub-pixel, including:

[0087] Step 502: If the first difference between the test brightness value and the expected brightness value of a sub-pixel satisfies the first preset condition, determine the second reference sub-pixel located at the second preset adjacent position of the corresponding sub-pixel.

[0088] Step 504: Determine the first corrected brightness value of the corresponding sub-pixel based on the test brightness value of the second reference sub-pixel;

[0089] Step 506: If the first difference between the test brightness value and the expected brightness value of a sub-pixel does not meet the first preset condition, the test brightness value of the corresponding sub-pixel is used as the first corrected brightness value.

[0090] The first preset condition is used to measure the difference between the test brightness value and the expected brightness value of a sub-pixel. For example, the first preset condition is that it is greater than 20% of the expected brightness value. If there is a first difference between the test brightness value and the expected brightness value of a sub-pixel that is greater than 20% of the expected brightness value, it means that the test brightness value of the sub-pixel is too dark, which may be due to data errors caused by environmental factors. In this case, the sub-pixel is identified as a dark spot and needs to be corrected for the first time.

[0091] The second preset adjacent position refers to one or more of the adjacent positions of a sub-pixel. The second preset adjacent position may be the same as or different from the first preset adjacent position. In one embodiment, the second preset adjacent position is the eight adjacent directions of the sub-pixel. Correspondingly, the second reference sub-pixel is the eight sub-pixels surrounding the sub-pixel. The maximum value among the test brightness values ​​of the eight second reference sub-pixels can be assigned to the sub-pixel as the first corrected brightness value of the sub-pixel.

[0092] When the first difference between the test brightness value and the expected brightness value of the sub-pixel does not meet the first preset condition, such as being greater than 20% of the expected brightness value, it means that the test brightness value of the sub-pixel does not need to be corrected for the first time. At this time, the test brightness value of the sub-pixel is directly used as its first corrected brightness value.

[0093] In the method provided in the above embodiments, sub-pixels with abnormal brightness are selected from multiple sub-pixels by means of the expected brightness value, and then they are initially corrected. This avoids the situation where the abnormal test brightness value of some sub-pixels affects the result of subsequent correction, thereby improving the accuracy of the data processing result.

[0094] In one embodiment, the location information includes row and column parameters of the sub-pixel in the image; accordingly, determining the pixel location type of each sub-pixel based on the location information includes:

[0095] If a sub-pixel satisfies the second preset condition in its row parameter or the third preset condition in its column parameter, the pixel position type of the corresponding sub-pixel is determined to be the first type indicating that the sub-pixel is a boundary region sub-pixel.

[0096] If the row parameter of a sub-pixel does not meet the second preset condition and the column parameter does not meet the third preset condition, obtain the test brightness value of the third reference sub-pixel located at the third preset position of the corresponding sub-pixel in the image.

[0097] When the test brightness value of the third reference sub-pixel is a preset brightness value, the pixel position type of the corresponding sub-pixel is determined to be the second type indicating that the sub-pixel is a corner region sub-pixel;

[0098] For the remaining sub-pixels among multiple sub-pixels, excluding those with pixel position types of type 1 and type 2, determine that the pixel position type of the remaining sub-pixels is type 3.

[0099] Although the shooting equipment has been flattened, the distance between the sub-pixels in the boundary area and the shooting equipment is greater than the distance between the center area of ​​the target screen and the camera. This results in the shooting equipment receiving less light from the sub-pixels in the boundary area than from the center area. At the same time, the light emission of the sub-pixels in the boundary area is greatly affected by the light scattering in the darkroom.

[0100] Therefore, by using the row or column parameters of each sub-pixel, it is determined whether the sub-pixel is a boundary region sub-pixel. Specifically, if the row parameter satisfies a second preset condition or the column parameter satisfies a third preset condition, the pixel position type of the corresponding sub-pixel is determined to be the first type indicating that the sub-pixel is a boundary region sub-pixel. For example, the row parameter b_row and column parameter b_col of the sub-pixel in the image are obtained. If b_col equals 0 or b_col equals img_w-1 (maximum number of columns in the image), or b_row equals 0 or b_row equals img_h-1 (maximum number of rows in the image), then the sub-pixel is identified as a boundary region sub-pixel, and its pixel position type is the first type.

[0101] Similarly, in practical applications, end users have certain requirements for the shape of the screen, necessitating the processing of the screen's edges and corners. The trimmed boundaries are arranged irregularly, such as... Figure 6As shown, pixels in the black area are cropped, and the white area represents the target screen. The photosensitive element of the imaging device is less sensitive to light emitted by sub-pixels in the corner areas than to those in other areas, resulting in a significant difference between the test brightness values ​​of the corner sub-pixels and those in the non-corner areas. By analyzing the position of this sub-pixel in the image, the test brightness value of a third reference sub-pixel located at a third preset position in the image is obtained. For example, the test brightness value of the left or right neighboring sub-pixel is used. If the test brightness value of the left or right neighboring sub-pixel is 0 or close to 0, the sub-pixel is determined to be a corner sub-pixel.

[0102] After determining the corner and boundary sub-pixels, the sub-pixels of the target screen, excluding the corner and boundary sub-pixels, are defined as internal region sub-pixels, and their pixel position type is the third type.

[0103] In the method provided in the above embodiments, the sub-pixels in the target screen are clearly divided into three categories by using location information and the test brightness values ​​of adjacent sub-pixels, and the pixel position type of each category is determined so that a suitable second correction method can be selected according to different pixel position types.

[0104] In one embodiment, such as Figure 7 As shown, based on the pixel position type of each sub-pixel and the first corrected brightness value of the first reference sub-pixel located at the first preset adjacent position of each sub-pixel, the reference brightness value of each sub-pixel is corrected and updated a second time to obtain the second corrected brightness value of each sub-pixel, including:

[0105] Step 702: For any sub-pixel among multiple sub-pixels, if the pixel position type of any sub-pixel is the third type, obtain the first corrected brightness value of at least two first reference sub-pixels located at the first preset adjacent position of any sub-pixel.

[0106] Step 704: Determine the brightness gain value of each first reference sub-pixel relative to any sub-pixel based on the first corrected brightness value of each first reference sub-pixel.

[0107] Step 706: Determine the second corrected brightness value for any sub-pixel based on the brightness gain value.

[0108] Most Demura algorithms require acquiring brightness data at multiple gray levels for sub-pixels, commonly including gray levels such as 32, 64, 96, 128, 160, and 192. The correct display brightness is obtained based on the brightness variation relationships acquired at different gray levels, and a specific brightness correction algorithm is then applied. Before Demura compensation, the emission of any sub-pixel is affected by the light scattering of adjacent sub-pixels. After Demura compensation, the emission of any sub-pixel is again affected by the compensation amount of adjacent sub-pixels. Therefore, the first corrected brightness values ​​of at least two first reference sub-pixels located at the first preset adjacent positions of any sub-pixel are acquired. A second correction update is then performed on any sub-pixel using the brightness gain value of each first reference sub-pixel relative to any sub-pixel, resulting in a second corrected brightness value.

[0109] The brightness gain value includes the neighborhood brightness gain value and the global brightness gain value. Accordingly, when the brightness gain value is the neighborhood brightness gain value, a second difference between the first corrected brightness value of each first reference sub-pixel and the first corrected brightness value of any sub-pixel is calculated, which is used as the neighborhood brightness gain value of each first reference sub-pixel relative to any sub-pixel.

[0110] like Figure 4 The display area shown has a corresponding first brightness correction value as follows: Figure 8 As shown, then:

[0111] (1) Obtain the neighborhood brightness gain value of the first reference sub-pixel relative to any sub-pixel:

[0112] Lumi_d_out = lumi_d - lumi_b;

[0113] Lumi_e_out = lumi_e - lumi_b;

[0114] Lumi_f_out = lumi_f - lumi_b;

[0115] Lumi_a_out = lumi_a - lumi_b;

[0116] Lumi_b_out = lumi_b - lumi_b = 0;

[0117] Lumi_c_out = lumi_c - lumi_b;

[0118] Lumi_g_out = lumi_g - lumi_b;

[0119] Lumi_h_out = lumi_h - lumi_b;

[0120] Lumi_j_out = lumi_j - lumi_b;

[0121] (2) Determine the second corrected luminance value of any sub-pixel based on the superposition of the neighboring luminance gain values:

[0122] lumi_b_local = lumi_b + (Lumi_d_out * weight 1 + Lumi_e_out * weight 2 + Lumi_f_out * weight 3 + Lumi_a_out * weight 4 + Lumi_b_out * weight 5 + Lumi_c_out * weight 6 + Lumi_g_out * weight 7 + Lumi_h_out * weight 8 + Lumi_j_out * weight 9);

[0123] Among them, weights 1 to 9 are the preset gain weights corresponding to sub-pixels a to j, such as Figure 9 As shown, the weights can be mean weight, Gaussian weight, or sort weight. When using sort weight, the neighborhood brightness gain values ​​of sub-pixels a~j need to be re-sorted from smallest to largest before use.

[0124] In the method provided in the above embodiments, a brightness error weighting coefficient matrix is ​​used to superimpose the gain of neighboring pixels onto the brightness of the center pixel. For sub-pixels with excessively low brightness in a region, their emission is affected by the brightness of 3x3 adjacent brighter sub-pixels; conversely, for sub-pixels with excessively high brightness in a region, their emission is affected by the brightness of 3x3 adjacent darker sub-pixels. Uneven regional brightness is precisely the result of this mutual influence of regional sub-pixel brightness errors. By employing mean weighting, Gaussian weighting, sorting weighting, etc., the magnitude of adjacent pixel errors can be reduced, which, from the human eye's perspective, enhances the uniformity of the screen's visual effect. Simultaneously, reducing the error brightness improves the accuracy of the brightness data, a crucial prerequisite for the brightness data correction of the Demura algorithm in subsequent steps.

[0125] Accordingly, when the brightness gain value is the global brightness gain value, the third difference between the first corrected brightness value and the desired brightness value of each first reference sub-pixel is calculated as the global brightness gain value of each first reference sub-pixel relative to any sub-pixel.

[0126] like Figure 4 The display area shown has a corresponding first brightness correction value as follows: Figure 8 As shown, then:

[0127] (1) Obtain the global luminance gain value of the first reference sub-pixel relative to any sub-pixel, and set the desired luminance value to lumi_target:

[0128] Lumi_d_out=lumi_target-lumi_d;

[0129] Lumi_e_out=lumi_target-lumi_e;

[0130] Lumi_f_out=lumi_target-lumi_f;

[0131] Lumi_a_out=lumi_target-lumi_a;

[0132] Lumi_b_out=lumi_target-lumi_b;

[0133] Lumi_c_out=lumi_target-lumi_c;

[0134] Lumi_g_out=lumi_target-lumi_g;

[0135] Lumi_h_out=lumi_target-lumi_h;

[0136] Lumi_j_out=lumi_target-lumi_j;

[0137] (2) Determine the second corrected luminance value of any sub-pixel based on the global luminance gain value:

[0138] lumi_b_global = lumi_target - (Lumi_d_out * weight d + Lumi_e_out * weight e + Lumi_f_out * weight f + Lumi_a_out * weight a + Lumi_b_out * weight b + Lumi_c_out * weight c + Lumi_g_out * weight g + Lumi_h_out * weight h + Lumi_j_out * weight j);

[0139] Among them, the weights a to j can be one of the mean weight, Gaussian weight, or ranking weight.

[0140] In the method provided in the above embodiments, different weight coefficients have different degrees of processing on the global brightness gain value. They can be used according to the severity of Mura. If the global brightness gain value is large, sorting filter weight value is used. If the global brightness gain value is small, mean weight coefficient and Gaussian weight coefficient can be used.

[0141] In one embodiment, the brightness gain value includes a neighborhood brightness gain value and a global brightness gain value; accordingly, determining a second corrected brightness value for any sub-pixel based on the brightness gain value includes:

[0142] A first corrected brightness value for any sub-pixel is determined based on the neighborhood brightness gain value of each first reference sub-pixel relative to any sub-pixel.

[0143] A second corrected brightness value for any sub-pixel is determined based on the global brightness gain value of each first reference sub-pixel relative to any sub-pixel.

[0144] A second corrected brightness value is determined for any sub-pixel based on the first corrected brightness value and the second corrected brightness value.

[0145] Taking into account both the neighborhood luminance gain and the global luminance gain, a first corrected luminance value (lumi_b_local) and a second corrected luminance value (lumi_b_global) are calculated for any sub-pixel based on both values. The second corrected luminance value for any sub-pixel is then determined using these two values. Specifically, the second corrected luminance value for any sub-pixel can be determined by selecting an appropriate weight ratio based on the specific panel characteristics and production line process.

[0146] lumi_b=lumi_b_local*weight+lumi_b_global*(1-weight).

[0147] The method provided in the above embodiments comprehensively considers the neighborhood brightness gain value and the global brightness gain value, which can better adjust the Demura algorithm according to the specific panel characteristics and production line process, making the algorithm more flexible.

[0148] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0149] Based on the same inventive concept, this application also provides a data processing apparatus for implementing the data processing method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more data processing apparatus embodiments provided below can be found in the limitations of the data processing method described above, and will not be repeated here.

[0150] In one embodiment, such as Figure 10 As shown, a data processing device is provided, including: a data acquisition module 1001, a first correction module 1002, a position determination module 1003, and a second correction module 1004, wherein:

[0151] The data acquisition module 1001 is used to acquire the desired brightness value of the target screen and the test brightness value of multiple sub-pixels in the target screen based on the image obtained by taking a picture of the target screen.

[0152] The first correction module 1002 is used to perform a first correction update on the test brightness of each sub-pixel based on the expected brightness value, so as to obtain the first corrected brightness value of each sub-pixel.

[0153] The position determination module 1003 is used to obtain the position information of each sub-pixel and determine the pixel position type of each sub-pixel based on the position information.

[0154] The second correction module 1004 is used to perform a second correction update on the first correction brightness value of each sub-pixel based on the pixel position type of each sub-pixel and the first correction brightness value of the first reference sub-pixel located at the first preset adjacent position of each sub-pixel, so as to obtain the second correction brightness value of each sub-pixel.

[0155] In one embodiment, the first correction module 1002 is further configured to:

[0156] If the first difference between the test brightness value and the expected brightness value of a sub-pixel satisfies the first preset condition, a second reference sub-pixel located at a second preset adjacent position of the corresponding sub-pixel is determined.

[0157] Based on the test brightness value of the second reference sub-pixel, determine the first corrected brightness value of the corresponding sub-pixel;

[0158] If the first difference between the test brightness value and the expected brightness value of a sub-pixel does not meet the first preset condition, the test brightness value of the corresponding sub-pixel is used as the first corrected brightness value.

[0159] In one embodiment, the location determination module 1003 is further configured to:

[0160] If a sub-pixel satisfies the second preset condition in its row parameter or the third preset condition in its column parameter, the pixel position type of the corresponding sub-pixel is determined to be the first type indicating that the sub-pixel is a boundary region sub-pixel.

[0161] If the row parameter of a sub-pixel does not meet the second preset condition and the column parameter does not meet the third preset condition, obtain the test brightness value of the third reference sub-pixel located at the third preset position of the corresponding sub-pixel in the image.

[0162] When the test brightness value of the third reference sub-pixel is a preset brightness value, the pixel position type of the corresponding sub-pixel is determined to be the second type indicating that the sub-pixel is a corner region sub-pixel;

[0163] For the remaining sub-pixels among multiple sub-pixels, excluding those with pixel position types of type 1 and type 2, determine that the pixel position type of the remaining sub-pixels is type 3.

[0164] In one embodiment, the second correction module 1004 is further configured to:

[0165] For any sub-pixel among multiple sub-pixels, if the pixel position type of any sub-pixel is of the first type or the second type, obtain the first corrected brightness value of at least two first reference sub-pixels located at the first preset adjacent position of any sub-pixel;

[0166] The maximum value among the first corrected luminance values ​​of at least two first reference sub-pixels is used as the second corrected luminance value of any sub-pixel.

[0167] In one embodiment, the second correction module 1004 is further configured to:

[0168] For any sub-pixel among multiple sub-pixels, if the pixel position type of any sub-pixel is the third type, obtain the first corrected brightness value of at least two first reference sub-pixels located at the first preset adjacent position of any sub-pixel;

[0169] Based on the first corrected luminance value of each first reference sub-pixel, determine the luminance gain value of each first reference sub-pixel relative to any sub-pixel;

[0170] Based on the luminance gain value, determine the second corrected luminance value for any sub-pixel.

[0171] In one embodiment, the second correction module 1004 is further configured to:

[0172] Calculate the second difference between the first corrected luminance value of each first reference sub-pixel and the first corrected luminance value of any sub-pixel, and use it as the neighborhood luminance gain value of each first reference sub-pixel relative to any sub-pixel.

[0173] In one embodiment, the second correction module 1004 is further configured to:

[0174] Calculate the third difference between the first corrected luminance value and the desired luminance value for each first reference sub-pixel, and use it as the global luminance gain value of each first reference sub-pixel relative to any other sub-pixel.

[0175] In one embodiment, the second correction module 1004 is further configured to:

[0176] A first corrected brightness value for any sub-pixel is determined based on the neighborhood brightness gain value of each first reference sub-pixel relative to any sub-pixel.

[0177] A second corrected brightness value for any sub-pixel is determined based on the global brightness gain value of each first reference sub-pixel relative to any sub-pixel.

[0178] A second corrected brightness value is determined for any sub-pixel based on the first corrected brightness value and the second corrected brightness value.

[0179] Each module in the aforementioned data processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.

[0180] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 11 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores luminance data. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements a data processing method.

[0181] Those skilled in the art will understand that Figure 11 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0182] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0183] Based on the image obtained by taking a picture of the target screen, the desired brightness value of the target screen and the test brightness values ​​of multiple sub-pixels in the target screen are obtained.

[0184] The test brightness of each sub-pixel is first corrected and updated based on the expected brightness value to obtain the first corrected brightness value of each sub-pixel.

[0185] Obtain the position information of each sub-pixel, and determine the pixel position type of each sub-pixel based on the position information;

[0186] Based on the pixel position type of each sub-pixel and the first corrected brightness value of the first reference sub-pixel located at the first preset adjacent position of each sub-pixel, the first corrected brightness value of each sub-pixel is corrected and updated a second time to obtain the second corrected brightness value of each sub-pixel.

[0187] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0188] If the first difference between the test brightness value and the expected brightness value of a sub-pixel satisfies the first preset condition, a second reference sub-pixel located at a second preset adjacent position of the corresponding sub-pixel is determined.

[0189] Based on the test brightness value of the second reference sub-pixel, determine the first corrected brightness value of the corresponding sub-pixel;

[0190] If the first difference between the test brightness value and the expected brightness value of a sub-pixel does not meet the first preset condition, the test brightness value of the corresponding sub-pixel is used as the first corrected brightness value.

[0191] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0192] If a sub-pixel satisfies the second preset condition in its row parameter or the third preset condition in its column parameter, the pixel position type of the corresponding sub-pixel is determined to be the first type indicating that the sub-pixel is a boundary region sub-pixel.

[0193] If the row parameter of a sub-pixel does not meet the second preset condition and the column parameter does not meet the third preset condition, obtain the test brightness value of the third reference sub-pixel located at the third preset position of the corresponding sub-pixel in the image.

[0194] When the test brightness value of the third reference sub-pixel is a preset brightness value, the pixel position type of the corresponding sub-pixel is determined to be the second type indicating that the sub-pixel is a corner region sub-pixel;

[0195] For the remaining sub-pixels among multiple sub-pixels, excluding those with pixel position types of type 1 and type 2, determine that the pixel position type of the remaining sub-pixels is type 3.

[0196] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0197] For any sub-pixel among multiple sub-pixels, if the pixel position type of any sub-pixel is of the first type or the second type, obtain the first corrected brightness value of at least two first reference sub-pixels located at the first preset adjacent position of any sub-pixel;

[0198] The maximum value among the first corrected luminance values ​​of at least two first reference sub-pixels is used as the second corrected luminance value of any sub-pixel.

[0199] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0200] For any sub-pixel among multiple sub-pixels, if the pixel position type of any sub-pixel is the third type, obtain the first corrected brightness value of at least two first reference sub-pixels located at the first preset adjacent position of any sub-pixel;

[0201] Based on the first corrected luminance value of each first reference sub-pixel, determine the luminance gain value of each first reference sub-pixel relative to any sub-pixel;

[0202] Based on the luminance gain value, determine the second corrected luminance value for any sub-pixel.

[0203] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0204] Calculate the second difference between the first corrected luminance value of each first reference sub-pixel and the first corrected luminance value of any sub-pixel, and use it as the neighborhood luminance gain value of each first reference sub-pixel relative to any sub-pixel.

[0205] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0206] Calculate the third difference between the first corrected luminance value and the desired luminance value for each first reference sub-pixel, and use it as the global luminance gain value of each first reference sub-pixel relative to any other sub-pixel.

[0207] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0208] A first corrected brightness value for any sub-pixel is determined based on the neighborhood brightness gain value of each first reference sub-pixel relative to any sub-pixel.

[0209] A second corrected brightness value for any sub-pixel is determined based on the global brightness gain value of each first reference sub-pixel relative to any sub-pixel.

[0210] A second corrected brightness value is determined for any sub-pixel based on the first corrected brightness value and the second corrected brightness value.

[0211] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0212] Based on the image obtained by taking a picture of the target screen, the desired brightness value of the target screen and the test brightness values ​​of multiple sub-pixels in the target screen are obtained.

[0213] The test brightness of each sub-pixel is first corrected and updated based on the expected brightness value to obtain the first corrected brightness value of each sub-pixel.

[0214] Obtain the position information of each sub-pixel, and determine the pixel position type of each sub-pixel based on the position information;

[0215] Based on the pixel position type of each sub-pixel and the first corrected brightness value of the first reference sub-pixel located at the first preset adjacent position of each sub-pixel, the first corrected brightness value of each sub-pixel is corrected and updated a second time to obtain the second corrected brightness value of each sub-pixel.

[0216] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0217] If the first difference between the test brightness value and the expected brightness value of a sub-pixel satisfies the first preset condition, a second reference sub-pixel located at a second preset adjacent position of the corresponding sub-pixel is determined.

[0218] Based on the test brightness value of the second reference sub-pixel, determine the first corrected brightness value of the corresponding sub-pixel;

[0219] If the first difference between the test brightness value and the expected brightness value of a sub-pixel does not meet the first preset condition, the test brightness value of the corresponding sub-pixel is used as the first corrected brightness value.

[0220] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0221] If a sub-pixel satisfies the second preset condition in its row parameter or the third preset condition in its column parameter, the pixel position type of the corresponding sub-pixel is determined to be the first type indicating that the sub-pixel is a boundary region sub-pixel.

[0222] If the row parameter of a sub-pixel does not meet the second preset condition and the column parameter does not meet the third preset condition, obtain the test brightness value of the third reference sub-pixel located at the third preset position of the corresponding sub-pixel in the image.

[0223] When the test brightness value of the third reference sub-pixel is a preset brightness value, the pixel position type of the corresponding sub-pixel is determined to be the second type indicating that the sub-pixel is a corner region sub-pixel;

[0224] For the remaining sub-pixels among multiple sub-pixels, excluding those with pixel position types of type 1 and type 2, determine that the pixel position type of the remaining sub-pixels is type 3.

[0225] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0226] For any sub-pixel among multiple sub-pixels, if the pixel position type of any sub-pixel is of the first type or the second type, obtain the first corrected brightness value of at least two first reference sub-pixels located at the first preset adjacent position of any sub-pixel;

[0227] The maximum value among the first corrected luminance values ​​of at least two first reference sub-pixels is used as the second corrected luminance value of any sub-pixel.

[0228] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0229] For any sub-pixel among multiple sub-pixels, if the pixel position type of any sub-pixel is the third type, obtain the first corrected brightness value of at least two first reference sub-pixels located at the first preset adjacent position of any sub-pixel;

[0230] Based on the first corrected luminance value of each first reference sub-pixel, determine the luminance gain value of each first reference sub-pixel relative to any sub-pixel;

[0231] Based on the luminance gain value, determine the second corrected luminance value for any sub-pixel.

[0232] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0233] Calculate the second difference between the first corrected luminance value of each first reference sub-pixel and the first corrected luminance value of any sub-pixel, and use it as the neighborhood luminance gain value of each first reference sub-pixel relative to any sub-pixel.

[0234] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0235] Calculate the third difference between the first corrected luminance value and the desired luminance value for each first reference sub-pixel, and use it as the global luminance gain value of each first reference sub-pixel relative to any other sub-pixel.

[0236] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0237] A first corrected brightness value for any sub-pixel is determined based on the neighborhood brightness gain value of each first reference sub-pixel relative to any sub-pixel.

[0238] A second corrected brightness value for any sub-pixel is determined based on the global brightness gain value of each first reference sub-pixel relative to any sub-pixel.

[0239] A second corrected brightness value is determined for any sub-pixel based on the first corrected brightness value and the second corrected brightness value.

[0240] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0241] Based on the image obtained by taking a picture of the target screen, the desired brightness value of the target screen and the test brightness values ​​of multiple sub-pixels in the target screen are obtained.

[0242] The test brightness of each sub-pixel is first corrected and updated based on the expected brightness value to obtain the first corrected brightness value of each sub-pixel.

[0243] Obtain the position information of each sub-pixel, and determine the pixel position type of each sub-pixel based on the position information;

[0244] Based on the pixel position type of each sub-pixel and the first corrected brightness value of the first reference sub-pixel located at the first preset adjacent position of each sub-pixel, the first corrected brightness value of each sub-pixel is corrected and updated a second time to obtain the second corrected brightness value of each sub-pixel.

[0245] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0246] If the first difference between the test brightness value and the expected brightness value of a sub-pixel satisfies the first preset condition, a second reference sub-pixel located at a second preset adjacent position of the corresponding sub-pixel is determined.

[0247] Based on the test brightness value of the second reference sub-pixel, determine the first corrected brightness value of the corresponding sub-pixel;

[0248] If the first difference between the test brightness value and the expected brightness value of a sub-pixel does not meet the first preset condition, the test brightness value of the corresponding sub-pixel is used as the first corrected brightness value.

[0249] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0250] If a sub-pixel satisfies the second preset condition in its row parameter or the third preset condition in its column parameter, the pixel position type of the corresponding sub-pixel is determined to be the first type indicating that the sub-pixel is a boundary region sub-pixel.

[0251] If the row parameter of a sub-pixel does not meet the second preset condition and the column parameter does not meet the third preset condition, obtain the test brightness value of the third reference sub-pixel located at the third preset position of the corresponding sub-pixel in the image.

[0252] When the test brightness value of the third reference sub-pixel is a preset brightness value, the pixel position type of the corresponding sub-pixel is determined to be the second type indicating that the sub-pixel is a corner region sub-pixel;

[0253] For the remaining sub-pixels among multiple sub-pixels, excluding those with pixel position types of type 1 and type 2, determine that the pixel position type of the remaining sub-pixels is type 3.

[0254] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0255] For any sub-pixel among multiple sub-pixels, if the pixel position type of any sub-pixel is of the first type or the second type, obtain the first corrected brightness value of at least two first reference sub-pixels located at the first preset adjacent position of any sub-pixel;

[0256] The maximum value among the first corrected luminance values ​​of at least two first reference sub-pixels is used as the second corrected luminance value of any sub-pixel.

[0257] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0258] For any sub-pixel among multiple sub-pixels, if the pixel position type of any sub-pixel is the third type, obtain the first corrected brightness value of at least two first reference sub-pixels located at the first preset adjacent position of any sub-pixel;

[0259] Based on the first corrected luminance value of each first reference sub-pixel, determine the luminance gain value of each first reference sub-pixel relative to any sub-pixel;

[0260] Based on the luminance gain value, determine the second corrected luminance value for any sub-pixel.

[0261] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0262] Calculate the second difference between the first corrected luminance value of each first reference sub-pixel and the first corrected luminance value of any sub-pixel, and use it as the neighborhood luminance gain value of each first reference sub-pixel relative to any sub-pixel.

[0263] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0264] Calculate the third difference between the first corrected luminance value and the desired luminance value for each first reference sub-pixel, and use it as the global luminance gain value of each first reference sub-pixel relative to any other sub-pixel.

[0265] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0266] A first corrected brightness value for any sub-pixel is determined based on the neighborhood brightness gain value of each first reference sub-pixel relative to any sub-pixel.

[0267] A second corrected brightness value for any sub-pixel is determined based on the global brightness gain value of each first reference sub-pixel relative to any sub-pixel.

[0268] A second corrected brightness value is determined for any sub-pixel based on the first corrected brightness value and the second corrected brightness value.

[0269] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0270] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0271] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A data processing method, characterized in that, The method includes: Based on the image obtained by taking a picture of the target screen, the desired brightness value of the target screen and the test brightness values ​​of multiple sub-pixels in the target screen are obtained. The test brightness of each sub-pixel is first corrected and updated based on the expected brightness value to obtain the first corrected brightness value of each sub-pixel; The position information of each sub-pixel is obtained, and the pixel position type of each sub-pixel is determined based on the position information; the pixel position type includes a first type indicating that the sub-pixel is a boundary region sub-pixel, a second type indicating that the sub-pixel is a corner region sub-pixel, and a third type other than the first type and the second type; Based on the pixel position type of each sub-pixel and the first corrected brightness value of the first reference sub-pixel located at the first preset adjacent position of each sub-pixel, the first corrected brightness value of each sub-pixel is corrected and updated a second time to obtain the second corrected brightness value of each sub-pixel.

2. The method according to claim 1, characterized in that, The first correction update of the test brightness of each sub-pixel based on the expected brightness value, to obtain the first corrected brightness value of each sub-pixel, includes: If the first difference between the test brightness value of a sub-pixel and the desired brightness value satisfies the first preset condition, a second reference sub-pixel located at a second preset adjacent position of the corresponding sub-pixel is determined. Based on the test brightness value of the second reference sub-pixel, determine the first corrected brightness value of the corresponding sub-pixel; If the first difference between the test brightness value of a sub-pixel and the desired brightness value does not meet the first preset condition, the test brightness value of the corresponding sub-pixel is used as the first corrected brightness value.

3. The method according to claim 1, characterized in that, The location information includes the row and column parameters of the sub-pixel in the image; correspondingly, determining the pixel position type of each sub-pixel based on the location information includes: If a sub-pixel satisfies the second preset condition or the column parameter satisfies the third preset condition, the pixel position type of the corresponding sub-pixel is determined to be the first type indicating that the sub-pixel is a boundary region sub-pixel. If the row parameter of a sub-pixel does not meet the second preset condition and the column parameter does not meet the third preset condition, the test brightness value of the third reference sub-pixel located at the third preset position of the corresponding sub-pixel in the image is obtained. When the test brightness value of the third reference sub-pixel is a preset brightness value, the pixel position type of the corresponding sub-pixel is determined to be the second type indicating that the sub-pixel is a corner region sub-pixel; For the remaining sub-pixels among the plurality of sub-pixels, excluding those with pixel position types of the first type and the second type, the pixel position type of the remaining sub-pixels is determined to be the third type.

4. The method according to claim 3, characterized in that, The step of performing a second correction update on the first corrected brightness value of each sub-pixel based on the pixel position type of each sub-pixel and the first corrected brightness value of the first reference sub-pixel located at the first preset adjacent position of each sub-pixel, to obtain the second corrected brightness value of each sub-pixel, includes: For any one of the plurality of sub-pixels, if the pixel position type of any one sub-pixel is the first type or the second type, obtain the first corrected brightness value of at least two first reference sub-pixels located at the first preset adjacent position of any one sub-pixel; The maximum value among the first corrected luminance values ​​of the at least two first reference sub-pixels is taken as the second corrected luminance value of any sub-pixel.

5. The method according to claim 3, characterized in that, The step of performing a second correction update on the reference brightness value of each sub-pixel based on the pixel position type of each sub-pixel and the first corrected brightness value of the first reference sub-pixel located at the first preset adjacent position of each sub-pixel, to obtain the second corrected brightness value of each sub-pixel, includes: For any one of the plurality of sub-pixels, if the pixel position type of any one sub-pixel is the third type, obtain the first corrected brightness value of at least two first reference sub-pixels located at the first preset adjacent position of any one sub-pixel; Based on the first corrected luminance value of each first reference sub-pixel, determine the luminance gain value of each first reference sub-pixel relative to any one of the sub-pixels; Based on the brightness gain value, a second corrected brightness value is determined for any sub-pixel.

6. The method according to claim 5, characterized in that, The brightness gain value includes the neighborhood brightness gain value; correspondingly, determining the brightness gain value of each first reference sub-pixel relative to any one of the first reference sub-pixels based on the first corrected brightness value of each first reference sub-pixel includes: Calculate the second difference between the first corrected luminance value of each first reference sub-pixel and the first corrected luminance value of any sub-pixel, and use it as the neighborhood luminance gain value of each first reference sub-pixel relative to any sub-pixel.

7. The method according to claim 5, characterized in that, The brightness gain value includes the global brightness gain value; Accordingly, determining the brightness gain value of each first reference sub-pixel relative to any one of the first reference sub-pixels based on the first corrected brightness value of each first reference sub-pixel includes: Calculate the third difference between the first corrected luminance value and the desired luminance value for each first reference sub-pixel, and use it as the global luminance gain value of each first reference sub-pixel relative to any of the sub-pixels.

8. The method according to claim 5, characterized in that, The brightness gain value includes a neighborhood brightness gain value and a global brightness gain value; correspondingly, determining the second corrected brightness value of any sub-pixel based on the brightness gain value includes: A first corrected brightness value for any sub-pixel is determined based on the neighborhood brightness gain value of each first reference sub-pixel relative to any sub-pixel. A second corrected brightness value for any sub-pixel is determined based on the global brightness gain value of each first reference sub-pixel relative to any sub-pixel. A second corrected brightness value is determined for any sub-pixel based on the first corrected brightness value and the second corrected brightness value.

9. A data processing apparatus, characterized in that, The device includes: The data acquisition module is used to acquire the desired brightness value of the target screen and the test brightness value of multiple sub-pixels in the target screen based on the image obtained by taking a picture of the target screen. The first correction module is used to perform a first correction update on the test brightness of each sub-pixel based on the expected brightness value, so as to obtain the first corrected brightness value of each sub-pixel. The position determination module is used to acquire the position information of each sub-pixel and determine the pixel position type of each sub-pixel based on the position information; the pixel position type includes a first type indicating that the sub-pixel is a boundary region sub-pixel, a second type indicating that the sub-pixel is a corner region sub-pixel, and a third type other than the first type and the second type; The second correction module is used to perform a second correction update on the first correction brightness value of each sub-pixel based on the pixel position type of each sub-pixel and the first correction brightness value of the first reference sub-pixel located at the first preset adjacent position of each sub-pixel, so as to obtain the second correction brightness value of each sub-pixel.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 8.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Method and device for improving uneven display of display screen

    CN111009207A

  • Pixel point compensation data storage method and pixel point compensation method

    CN113658536A