Screen sub-pixel brightness extraction method and device and electronic equipment

By acquiring grayscale distribution images and calculating light weighting values, the actual luminous brightness of screen sub-pixels can be accurately obtained, solving the problem of inaccurate brightness extraction in existing technologies and improving the display effect.

CN118961147APending Publication Date: 2024-11-15SHANGHAI OLEADVISION TECHONOLOGY CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410894790.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

In existing technologies, the brightness display of screen subpixels obtained by optical CCD imaging is inaccurate, causing DeMura processing to fail and affecting the display effect.

Method used

Acquire a grayscale distribution image of the target sub-pixel emitting light on the screen, determine the brightness extraction area, calculate the light intensity weighting value of adjacent sub-pixels to the brightness extraction area, and calculate the actual luminance of the target sub-pixel based on the light intensity weighting value.

Benefits of technology

It improves the accuracy of screen subpixel brightness extraction, thereby enhancing the display effect of the screen.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118961147A_ABST
    Figure CN118961147A_ABST
Patent Text Reader

Abstract

The invention discloses a screen sub-pixel brightness extraction method and apparatus, and an electronic device. The method comprises the steps of collecting a gray scale distribution image when a target sub-pixel in a screen emits light; determining a brightness extraction area corresponding to the target sub-pixel in the gray scale distribution image; calculating a light quantity weighted value of the adjacent sub-pixels to the brightness extraction area; and calculating the actual luminance of the target sub-pixel according to the light quantity weighted value. According to the screen sub-pixel brightness extraction method and device and the electronic equipment provided by the invention, the light-emitting brightness of the screen sub-pixels can be accurately obtained, and the display effect of a display screen is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display manufacturing technology, and in particular to a method, device and electronic device for extracting brightness of screen sub-pixels. Background Art

[0002] During the manufacturing process of display screens, due to the limitation of manufacturing process, some products will have uneven brightness of the screen, which is called Mura. The various spots caused by uneven display brightness will bring visual discomfort, and the products in this situation cannot meet the specifications of end customers. Therefore, Mura is currently one of the main factors limiting the production yield of displays, and the Mura calibration of displays is usually called DeMura.

[0003] In the prior art, the DeMura processing process usually requires the display brightness of the manufactured display screen to be extracted by optical extraction, that is, after the display panel is lit, the brightness signal is extracted by optical CCD shooting. However, during the shooting process, the luminous brightness of each sub-pixel in the display panel will be interfered by the adjacent sub-pixels, that is, the luminous brightness of the current sub-pixel is partly derived from the energy emitted by the current sub-pixel, and partly from the energy emitted by the adjacent sub-pixels. Therefore, the brightness display image obtained by optical CCD shooting, the luminous brightness of the sub-pixels of the display screen extracted is inaccurate. If errors occur in the display brightness extraction, it may lead to the failure of subsequent DeMura, and ultimately lead to unsatisfactory display effects of the display screen.

[0004] Therefore, it is necessary to provide an improved screen sub-pixel brightness extraction solution to overcome the above technical problems existing in the prior art. Summary of the invention

[0005] The purpose of the present application is to provide a method, device and electronic device for extracting brightness of screen sub-pixels, which can more accurately obtain the luminous brightness of screen sub-pixels.

[0006] To achieve the above objectives:

[0007] In a first aspect, an embodiment of the present application provides a method for extracting brightness of a screen sub-pixel, the method comprising:

[0008] Collect the grayscale distribution image when the target sub-pixel in the screen emits light;

[0009] Determine a brightness extraction area corresponding to the target sub-pixel in the grayscale distribution image;

[0010] Calculating the light amount weighted value of the adjacent sub-pixels to the brightness extraction area;

[0011] The actual light emitting brightness of the target sub-pixel is calculated according to the light amount weighted value.

[0012] In one embodiment, determining the brightness extraction area corresponding to the target sub-pixel in the grayscale distribution image includes:

[0013] In the grayscale distribution image, determining a first preset pixel matrix corresponding to the target sub-pixel, wherein the first preset pixel matrix includes N×N pixel grids;

[0014] Determining the centroid position of the brightness extraction area according to the grayscale values ​​corresponding to the pixel grids in the first preset pixel matrix;

[0015] The first preset pixel matrix is ​​translated according to the centroid position to obtain a brightness extraction area in the grayscale distribution image.

[0016] In one embodiment, determining the first preset pixel matrix corresponding to the target sub-pixel in the grayscale distribution image includes:

[0017] Determine the pixel grid with the largest grayscale value in the grayscale distribution image as the central pixel grid of the first preset pixel matrix;

[0018] Determine the number of rows and columns of pixel grids in the pixel matrix corresponding to the target sub-pixel in the grayscale distribution image according to the spatial sampling magnification;

[0019] The first preset pixel matrix is ​​determined in the grayscale distribution image according to the determined central pixel grid and the number of rows and columns of the pixel grid.

[0020] In one embodiment, determining the centroid position of the brightness extraction area according to the grayscale values ​​corresponding to the pixel grids in the first preset pixel matrix includes:

[0021] Establishing a plane rectangular coordinate system with the center point of the central pixel grid of the first preset pixel matrix as the origin of the coordinate system;

[0022] The position coordinates P (X, Y) of the centroid of the brightness extraction area in the plane rectangular coordinate system are calculated according to the following formula:

[0023] P(X)=(W mn+1 -W mn-1 ) / 2, P(Y)=(W m-1n -W m+1n ) / 2,

[0024] Among them, W mn is the grayscale value of the central pixel grid of the first preset pixel matrix, W mn+1 is the grayscale value of the pixel grid adjacent to the right side of the central pixel grid, Wmn-1 is the grayscale value of the left adjacent pixel grid of the central pixel grid, W m-1n is the grayscale value of the upper adjacent pixel grid of the central pixel grid, W m+1n is the grayscale value of the lower adjacent pixel grid of the central pixel grid.

[0025] In one embodiment, the calculating the light amount weighted value of the adjacent sub-pixels to the brightness extraction area includes:

[0026] According to the first preset pixel matrix, a second preset pixel matrix corresponding to the target sub-pixel in the grayscale distribution image is determined, wherein the second preset pixel matrix includes (N+2)×(N+2) pixel grids, and the central pixel grid of the second preset pixel matrix coincides with the central pixel grid of the first preset pixel matrix.

[0027] In one embodiment, the calculating of the light amount weighted value of the adjacent sub-pixels to the brightness extraction area further includes:

[0028] Calculating the area occupied by the brightness extraction region in each pixel grid of the second preset pixel matrix according to the centroid coordinates of the brightness extraction region;

[0029] The ratio of the area occupied by the brightness extraction region to the area of ​​each pixel grid in each pixel grid in the second preset pixel matrix is ​​determined as the light amount weighted value of the adjacent sub-pixel to each pixel grid.

[0030] In one embodiment, the width of each pixel grid is the grayscale value of the adjacent pixel grid on the right side of each pixel grid plus the grayscale value of the adjacent pixel grid on the left side, and the height of each pixel grid is the grayscale value of the adjacent pixel grid on the upper side of each pixel grid plus the grayscale value of the adjacent pixel grid on the lower side of each pixel grid.

[0031] In one embodiment, the calculating the actual luminous brightness of the target sub-pixel according to the light amount weighted value includes:

[0032] L=∑(D ij ×W ij );

[0033] Where L is the actual luminance of the target sub-pixel, D ij is the light amount weighted value of the pixel grid in the i-th row and j-th column in the second preset pixel matrix of the adjacent sub-pixel pair; W ij is the grayscale value corresponding to the pixel grid in the i-th row and the j-th column in the second preset pixel matrix.

[0034] In a second aspect, an embodiment of the present application provides a device for extracting brightness of a screen sub-pixel, comprising:

[0035] An image acquisition unit, used to acquire a grayscale distribution image when a target sub-pixel in the screen emits light;

[0036] A brightness extraction region acquisition unit, used to determine a brightness extraction region corresponding to the target sub-pixel in the grayscale distribution image;

[0037] The luminous brightness calculation unit is used to calculate the light amount weighted value of the adjacent sub-pixels to the brightness extraction area; and calculate the actual luminous brightness of the target sub-pixel according to the light amount weighted value.

[0038] In a third aspect, an embodiment of the present application provides an electronic device, characterized in that it includes:

[0039] at least one memory for storing a computer program;

[0040] At least one processor is used to execute the computer program stored in the memory. When the computer program stored in the memory is executed, the processor is used to execute the steps of the brightness extraction method of the screen sub-pixel as described above.

[0041] The embodiments of the present application provide a method, device and electronic device for extracting brightness of screen sub-pixels. By collecting a grayscale distribution image of a target sub-pixel in the screen when it is emitting light, the brightness extraction area corresponding to the target sub-pixel is determined in the grayscale distribution image, and the light-weighted value of the adjacent sub-pixels to the brightness extraction area is calculated. The actual luminous brightness of the target sub-pixel is calculated based on the light-weighted value, thereby improving the brightness extraction accuracy of the screen sub-pixels and improving the display effect of the display screen. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0043] Figure 1 An architectural diagram of a DeMura processing system provided in an embodiment of the present application;

[0044] Figure 2 A schematic diagram of a process for extracting brightness of a screen sub-pixel provided in an embodiment of the present application;

[0045] Figure 3 A grayscale distribution diagram of screen sub-pixels provided in an embodiment of the present application;

[0046] Figure 4 A schematic diagram of a flow chart of a method for determining a brightness extraction area provided in an embodiment of the present application;

[0047] Figure 5 A schematic diagram of the structure of a device for extracting brightness of a sub-pixel of a screen provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0049] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.

[0050] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in this article, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this article, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at the time of..." or "when..." or "in response to determination". Furthermore, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising", "including" indicate that there are described features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Thus, “A, B, or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A, B, and C.” An exception to this definition will occur only when a combination of elements, functions, steps, or operations are inherently mutually exclusive in some manner.

[0051] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are displayed in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and it can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0052] It should be noted that, in this article, step codes such as S101, S102, etc. are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence. When implementing the step, those skilled in the art may execute S102 first and then S101, etc., but these should all be within the scope of protection of this application.

[0053] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0054] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0055] It should be noted that the screen mentioned in this application refers to a screen, device, apparatus or equipment for display, and may also be referred to as a display screen, display panel, display device or display apparatus, etc. This application does not impose any restrictions on the specific model and type of the display screen.

[0056] See also Figure 1 , is a diagram of the architecture of a DeMura processing system for a display screen provided in an embodiment of the present application; wherein the DeMura processing system is used to compensate for the Mura phenomenon of the display screen. The DeMura processing system includes: a display screen, an optical measuring device (such as a CCD camera), a processor (i.e., a personal computer), and other devices.

[0057] Among them, the display screen to be tested includes a driving module and a data storage module, and the display screen to be tested is lit by the driving module; the optical measurement device is used to collect the display image of the display screen and transmit the display image to the connected processor, and the processor extracts data through the installed Demura tool software, that is, extracts the brightness data of the sub-pixels of the screen to be tested, and obtains the compensation data through the preset Mura compensation algorithm, compresses the compensation data and transmits it to the data storage module. When the Demura compensation process is performed, the driving module extracts the compensation data from the data storage module, decompresses the compensation data and superimposes it with the original display data of the input display screen to generate the compensated display data, and the driving module drives the display screen to be tested to display according to the compensated display data. The driving module and the data storage module can be components installed together with the display screen to be tested, or they can be independent modules used for testing alone.

[0058] See also Figure 2 , is a method for extracting brightness of a screen sub-pixel provided in an embodiment of the present application, and the method can be applied to the DeMura processing system in the above embodiment of the present application. The method for extracting brightness of a screen sub-pixel provided in this embodiment specifically includes the following steps:

[0059] Step S110: capturing a grayscale distribution image of a target sub-pixel in the screen when it emits light.

[0060] Specifically, during the DeMura processing, it is usually necessary to first use an optical CCD, such as a high-resolution Mono (monochrome brightness) camera, to photograph the lit display screen to be tested. According to the requirements of different display panel manufacturers, the pictures that need to be tested after the screen is lit are generally different. For example, it may be necessary to take several RGB images of 32 grayscale, 64 grayscale, 96 grayscale, 160 grayscale, 192 grayscale, and 224 grayscale. Generally, 4 to 25 CCD sub-pixels are required to collect the luminous brightness of a sub-pixel of a display. Specifically, the number of CCD sub-pixels corresponding to a screen sub-pixel in the collected grayscale distribution image can be determined based on the spatial sampling ratio. For example, Figure 3 As shown, it is a schematic diagram of grayscale distribution when the screen sub-pixel emits light, which is collected by a CCD camera in one embodiment of the present application. In the grayscale distribution schematic diagram, each pixel grid represents a CCD sub-pixel.

[0061] Step S120: determining a brightness extraction region corresponding to the target sub-pixel in the grayscale distribution image.

[0062] Specifically, since the luminous state of a sub-pixel is reflected in the form of a light cone, any sub-light is included in the light cone emitted from the singular point. In the light cone model, the receiving surface of the light cone is the pixel plane of the CCD. Therefore, the brightness collected by multiple CCD pixels is usually used to represent the luminous brightness of a screen sub-pixel. However, due to the different distances between the CCD camera and the screen to be tested during shooting, not only will the actual spatial sampling magnification change, but the amount of luminous light collected by the CCD camera will also be different. Therefore, before extracting the brightness of the target sub-pixel, it is necessary to determine a pixel area in the collected grayscale distribution image that can accurately represent the actual luminous state of the target sub-pixel, that is, the brightness extraction area corresponding to the target sub-pixel.

[0063] In one embodiment, if Figure 4 As shown, the method for determining the brightness extraction area corresponding to the target sub-pixel specifically includes the following steps:

[0064] Step S121: Determine a first preset pixel matrix corresponding to a target sub-pixel in the grayscale distribution image, wherein the first preset pixel matrix includes N×N pixel grids.

[0065] Specifically, the pixel grid with the largest grayscale value in the grayscale distribution image is determined as the central pixel grid of the first preset pixel matrix; the number of rows and columns of pixel grids in the pixel matrix corresponding to the target sub-pixel in the grayscale distribution image is determined according to the spatial sampling ratio; and the first preset pixel matrix is ​​determined in the grayscale distribution image according to the determined central pixel grid and the number of rows and columns of pixel grids.

[0066] For example, Figure 3 As shown, the pixel grid where the grayscale value is 161 can be determined as the central pixel grid of the first preset pixel matrix. Due to the different distances between the CCD camera and the screen to be tested during shooting, the actual spatial sampling magnification is usually not necessarily an integer. For example, in this embodiment, a target sub-pixel may be smaller when represented by a 3×3 pixel matrix, but a target sub-pixel may be larger when represented by a 5×5 pixel matrix. Moreover, the luminous brightness of each sub-pixel will be affected by the interference of adjacent sub-pixels. In the pixel matrix area corresponding to the target sub-pixel, the brightness of the pixel grid at the edge position is partly derived from the energy emitted by the current sub-pixel, and partly from the energy emitted by the adjacent sub-pixel. For example, Figure 3 When a 5×5 pixel matrix is ​​used to represent a target sub-pixel, although part of the brightness of the edge area pixel grids such as w11, w12, w54, and w55 may come from the brightness of adjacent sub-pixels, they cannot be completely discarded when the brightness is extracted. Therefore, in order to determine how much brightness within the 5×5 pixel matrix range actually comes from the amount of light emitted by the target sub-pixel, a 3×3 first preset pixel matrix will be first determined within the 5×5 pixel matrix range, as shown in the area indicated by the dotted line A.

[0067] Step S122: determining the centroid position of the brightness extraction area according to the grayscale values ​​corresponding to the pixel grids in the first preset pixel matrix.

[0068] In one embodiment, a plane rectangular coordinate system is established with the center point of the central pixel grid of the first preset pixel matrix as the origin of the coordinate system; the position coordinates P (X, Y) of the centroid of the brightness extraction area in the plane rectangular coordinate system are calculated according to the following formula:

[0069] P(X)=(W mn+1 -W mn-1 ) / 2, P(Y)=(W m-1n -W m+1n ) / 2;

[0070] Among them, W mn is the grayscale value of the central pixel grid of the first preset pixel matrix, W mn+1 is the grayscale value of the pixel grid adjacent to the right of the center pixel grid, W mn-1 is the grayscale value of the left adjacent pixel grid of the center pixel grid, W m-1n is the grayscale value of the upper adjacent pixel grid of the central pixel grid, W m+1n It is the grayscale value of the lower adjacent pixel grid of the center pixel grid.

[0071] For example, Figure 3Taking the 3×3 pixel matrix shown by the dotted line A as an example, taking the center point of the pixel grid where the grayscale value is 161 as the origin of the coordinate system, a plane rectangular coordinate system is established. According to the above centroid coordinate calculation formula, the centroid coordinates of the brightness extraction area corresponding to the target sub-pixel can be obtained as follows: P(X)=(143-40) / 2=51.5, P(Y)=(40-150) / 2=-55.

[0072] Step S123: translating the first preset pixel matrix according to the centroid position to obtain a brightness extraction area in the grayscale distribution image.

[0073] Specifically, according to the coordinates (51.5, -55) of the centroid P of the brightness extraction area calculated in the above embodiment, it can be known that the centroid (i.e., the geometric center of the light cone) of the brightness extraction area is offset to the lower right, so the first preset pixel matrix is ​​translated to the lower right, and the translation distance is the straight-line distance between the origin of the coordinate system and the centroid P, and the following equation can be obtained: Figure 3 The brightness extraction area is shown by the dashed line B.

[0074] Step S130: Calculate the light amount weighted value of the adjacent sub-pixels to the brightness extraction area.

[0075] In one embodiment, when calculating the weighted value of the amount of light of adjacent sub-pixels in the brightness extraction area, it is also necessary to determine the second preset pixel matrix corresponding to the target sub-pixel in the grayscale distribution image based on the first preset pixel matrix, wherein the second preset pixel matrix includes (N+2)×(N+2) pixel grids, and the central pixel grid of the second preset pixel matrix coincides with the central pixel grid of the first preset pixel matrix.

[0076] For example, Figure 3 For example, when the first preset pixel matrix is ​​a 3×3 pixel matrix as shown by the dotted line A in the figure, the second preset pixel matrix corresponding to the target sub-pixel in the grayscale distribution image is Figure 3 The central pixel grid of the 5×5 pixel matrix shown by the dotted line C coincides with the central pixel grid of the 3×3 pixel matrix shown by the dotted line A.

[0077] In one embodiment, calculating the light amount weighted value of the adjacent sub-pixels to the brightness extraction area specifically includes: calculating the area occupied by the brightness extraction area in each pixel grid of the second preset pixel matrix according to the centroid coordinates of the brightness extraction area; determining the ratio of the area occupied by the brightness extraction area in each pixel grid in the second preset pixel matrix to the area of ​​each pixel grid as the light amount weighted value of the adjacent sub-pixels to each pixel grid. When calculating the area of ​​each pixel grid, the width of each pixel grid is the grayscale value of the adjacent pixel grid on the right side of each pixel grid plus the grayscale value of the adjacent pixel grid on the left side, and the height of each pixel grid is the grayscale value of the adjacent pixel grid on the upper side of each pixel grid plus the grayscale value of the adjacent pixel grid on the lower side.

[0078] For example, Figure 3 As shown, when the coordinates of the centroid point P of the brightness extraction area are (51.5, -55), the area occupied by the pixel grids in the middle area of ​​the second preset pixel matrix (i.e., the 5×5 pixel matrix shown by the dotted line C), such as w33, w34, w43, w44, and the brightness extraction area (i.e., the area shown by the dotted line B) is the area of ​​the pixel grids w33, w34, w43, w44, so the light amount weighted value D of the adjacent sub-pixels on the pixel grids w33, w34, w43, w44 is 33 , D 34 , D 43 , D 44 are all 1; the area occupied by the brightness extraction area in the pixel grids in the outermost area of ​​the second preset pixel matrix (i.e., the 5×5 pixel matrix shown by the dotted line C), such as w11, w12, w13, w14, w15, w21, w31, w41, w51, is 0, so the light amount weighted value D of the adjacent sub-pixels on the pixel grids w11, w12, w13, w14, w15, w21, w31, w41, w51 11 , D 12 , D 13 , D 14 , D 15 , D 21 , D 31 , D 41 , D 51 are all 0; the areas occupied by the brightness extraction areas in the pixel grids where the edge of the brightness extraction area is located, such as w22, w23, w24, w25, w32, w35, w42, w45, w52, w53, w54, and w55, can be calculated based on the coordinates of point P (51.5, -55) and the width and height of the pixel grid. For example, the areas S occupied by the brightness extraction areas in the aforementioned pixel grids are respectively:

[0079] S 22 =(Width_ 22 -abs(PX))*(Height_ 22 -abs(PY)),

[0080] S 23 =(Width_ 23 )*(Height_ 23 -abs(PY)),

[0081] S 24 =(Width_ 24 )*(Height_ 24 -abs(PY)),

[0082] S25 =(abs(PX))*(Height_ 25 -abs(PY)),

[0083] S 32 =(Width_ 32 -abs(PX))*(Height_ 32 ),

[0084] S 35 =(abs(PX))*(Height_ 35 ),

[0085] S 42 =(Width_ 42 -abs(PX))*(Height_ 42 ),

[0086] S 45 =(abs(PX))*(Height_ 45 ),

[0087] S 52 =(Width_ 52 -abs(PX))*(abs(PY)),

[0088] S 53 =(Width_ 53 )*(abs(PY)),

[0089] S 54 =(Width_ 54 )*(abs(PY)),

[0090] S 55 =(abs(PX))*(abs(PY)),

[0091] Where abs() represents the calculation of absolute value, PX and PY represent the horizontal and vertical coordinate values ​​of the centroid P respectively; the width of each pixel grid is Width_ ij The grayscale value W of the adjacent pixel grid on the right of each pixel grid ij+1 Add the grayscale value W of the adjacent pixel on the left ij-1 , the height of each pixel grid Height_ ij The grayscale value W of the upper adjacent pixel grid of each pixel grid i-1j Add the grayscale value W of the lower adjacent pixel grid i+1j , the area of ​​each pixel grid is the width Width_ ij With height Height_ ijThe product of, for example: the width of the pixel grid w22 _22 =W 21 +W 23 =40+10=50, Height _22 =W 12 +W 32 =9+40=49, the area of ​​pixel w22 is 50*49, then the weighted value of the light amount of the adjacent sub-pixels on pixel w22 is: D 22 =S 22 / (50*49), for the calculation method of the light weighted value of the adjacent sub-pixel to other pixel grids, please refer to the calculation process of pixel grid w22.

[0092] Step S140: Calculate the actual light emitting brightness of the target sub-pixel according to the light quantity weighted value.

[0093] Specifically, the calculation formula for the actual luminous brightness of the target sub-pixel is: L = ∑ (D ij ×W ij ), where L is the actual luminance of the target sub-pixel, D ij is the light amount weighted value of the pixel grid in the i-th row and j-th column in the second preset pixel matrix of the adjacent sub-pixel pair; W ij is the grayscale value corresponding to the pixel grid in the i-th row and the j-th column in the second preset pixel matrix.

[0094] For example, Figure 3 As shown, the actual luminous brightness of the target sub-pixel in the above embodiment is:

[0095] L=D 11 ×W 11 +D 12 ×W 12 +D 13 ×W 13 +D 14 ×W 14 +D 15 ×W 15

[0096] +D 21 ×W 21 +D 22 ×W 22 +D 23 ×W 23 +D 24 ×W 24 +D 25 ×W 25

[0097] +D 31 ×W 31 +D 32 ×W 32 +D33 ×W 33 +D 34 ×W 34 +D 35 ×W 35

[0098] +D 41 ×W 41 +D 42 ×W 42 +D 43 ×W 43 +D 44 ×W 44 +D 45 ×W 45

[0099] +D 51 ×W 51 +D 52 ×W 52 +D 53 ×W 53 +D 54 ×W 54 +D 55 ×W 55 .

[0100] Based on the same inventive concept as the above-mentioned embodiment, the embodiment of the present application further provides a brightness extraction device for a sub-pixel of a screen; Figure 5 As shown, the brightness extraction device 200 of the screen sub-pixel includes an image acquisition unit 210, a brightness extraction area acquisition unit 220 and a luminous brightness calculation unit 230.

[0101] Among them, the image acquisition unit 210 is used to capture the grayscale distribution image when the target sub-pixel in the screen emits light; the brightness extraction area acquisition unit 220 is used to determine the brightness extraction area corresponding to the target sub-pixel in the grayscale distribution image; the luminous brightness calculation unit 230 is used to calculate the light amount weighted value of the adjacent sub-pixels to the brightness extraction area; and the actual luminous brightness of the target sub-pixel is calculated based on the light amount weighted value.

[0102] It should be noted that the detailed functional implementation of each of the above units can be found in the introduction of the aforementioned method embodiment and will not be elaborated here.

[0103] Based on the same inventive concept as the above embodiments, an embodiment of the present invention provides an electronic device, which may include: at least one memory for storing a computer program and at least one processor for executing the computer program stored in the memory. When the computer program stored in the memory is executed, the processor is used to execute the brightness extraction method of the screen sub-pixel described in the above embodiments.

[0104] In summary, the screen sub-pixel brightness extraction method, device and electronic device provided in the embodiments of the present application, by collecting the grayscale distribution image of the target sub-pixel in the screen when it is emitting light, and determining the brightness extraction area corresponding to the target sub-pixel in the grayscale distribution image, calculates the light weighted value of the adjacent sub-pixels to the brightness extraction area, and calculates the actual luminous brightness of the target sub-pixel according to the light weighted value, thereby improving the brightness extraction accuracy of the screen sub-pixels and improving the display effect of the display screen.

[0105] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described 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.

[0106] In this document, the terms "comprises," "comprising," or any other variations thereof, are intended to cover a non-exclusive inclusion of elements other than those listed and may also include additional elements not expressly listed.

[0107] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for extracting brightness of screen sub-pixels, It is characterized in that include: Collect the grayscale distribution image when the target sub-pixel in the screen emits light; Determine a brightness extraction area corresponding to the target sub-pixel in the grayscale distribution image; Calculating the light amount weighted value of the adjacent sub-pixels to the brightness extraction area; The actual light emitting brightness of the target sub-pixel is calculated according to the light amount weighted value.

2. The method for extracting brightness of a screen sub-pixel according to claim 1, It is characterized in that The determining of the brightness extraction area corresponding to the target sub-pixel in the grayscale distribution image includes: In the grayscale distribution image, determining a first preset pixel matrix corresponding to the target sub-pixel, wherein the first preset pixel matrix includes N×N pixel grids; Determining the centroid position of the brightness extraction area according to the grayscale values ​​corresponding to the pixel grids in the first preset pixel matrix; The first preset pixel matrix is ​​translated according to the centroid position to obtain a brightness extraction area in the grayscale distribution image.

3. The method for extracting brightness of a screen sub-pixel according to claim 2, It is characterized in that Determining a first preset pixel matrix corresponding to the target sub-pixel in the grayscale distribution image includes: Determine the pixel grid with the largest grayscale value in the grayscale distribution image as the central pixel grid of the first preset pixel matrix; Determine the number of rows and columns of pixel grids in the pixel matrix corresponding to the target sub-pixel in the grayscale distribution image according to the spatial sampling magnification; The first preset pixel matrix is ​​determined in the grayscale distribution image according to the determined central pixel grid and the number of rows and columns of the pixel grid.

4. The method for extracting brightness of a screen sub-pixel according to claim 3, It is characterized in that The determining the centroid position of the brightness extraction area according to the grayscale values ​​corresponding to the pixel grids in the first preset pixel matrix includes: Establishing a plane rectangular coordinate system with the center point of the center pixel grid of the first preset pixel matrix as the origin of the coordinate system; The position coordinates P (X, Y) of the centroid of the brightness extraction area in the plane rectangular coordinate system are calculated according to the following formula: P(X)=(W mn+1 -W mn-1 ) / 2,P(Y)=(W m-1n -W m+1n ) / 2, Among them, W mn is the grayscale value of the central pixel grid of the first preset pixel matrix, W mn+1 is the grayscale value of the pixel grid adjacent to the right side of the central pixel grid, W mn-1 is the grayscale value of the left adjacent pixel grid of the central pixel grid, W m-1n is the grayscale value of the upper adjacent pixel grid of the central pixel grid, W m+1n is the grayscale value of the lower adjacent pixel grid of the central pixel grid.

5. The method for extracting brightness of a screen sub-pixel according to claim 4, It is characterized in that The calculating the light amount weighted value of the adjacent sub-pixels to the brightness extraction area includes: According to the first preset pixel matrix, a second preset pixel matrix corresponding to the target sub-pixel in the grayscale distribution image is determined, wherein the second preset pixel matrix includes (N+2)×(N+2) pixel grids, and the central pixel grid of the second preset pixel matrix coincides with the central pixel grid of the first preset pixel matrix.

6. The method for extracting brightness of a screen sub-pixel according to claim 5, It is characterized in that The calculating of the light amount weighted value of the adjacent sub-pixels to the brightness extraction area further includes: Calculating the area occupied by the brightness extraction region in each pixel grid of the second preset pixel matrix according to the centroid coordinates of the brightness extraction region; The ratio of the area occupied by the brightness extraction region to the area of ​​each pixel grid in each pixel grid in the second preset pixel matrix is ​​determined as the light amount weighted value of the adjacent sub-pixel to each pixel grid.

7. The method for extracting brightness of a screen sub-pixel according to claim 6, It is characterized in that The width of each pixel grid is the grayscale value of the adjacent pixel grid on the right side of each pixel grid plus the grayscale value of the adjacent pixel grid on the left side of each pixel grid, and the height of each pixel grid is the grayscale value of the adjacent pixel grid on the top side of each pixel grid plus the grayscale value of the adjacent pixel grid on the bottom side of each pixel grid.

8. The method for extracting brightness of a screen sub-pixel according to claim 6, It is characterized in that The calculating the actual luminous brightness of the target sub-pixel according to the light amount weighted value comprises: L=∑(D ij ×W ij ); Where L is the actual luminance of the target sub-pixel, D ij is the light amount weighted value of the pixel grid in the i-th row and j-th column in the second preset pixel matrix of the adjacent sub-pixel pair; W ij is the grayscale value corresponding to the pixel grid in the i-th row and the j-th column in the second preset pixel matrix.

9. A device for extracting brightness of screen sub-pixels, It is characterized in that include: An image acquisition unit, used to acquire a grayscale distribution image when a target sub-pixel in the screen emits light; A brightness extraction region acquisition unit, used to determine a brightness extraction region corresponding to the target sub-pixel in the grayscale distribution image; A luminous brightness calculation unit, used to calculate the weighted value of the light amount of the adjacent sub-pixels to the brightness extraction area; The actual light emitting brightness of the target sub-pixel is calculated according to the light amount weighted value.

10. An electronic device, It is characterized in that include: at least one memory for storing a computer program; At least one processor is used to execute the computer program stored in the memory. When the computer program stored in the memory is executed, the processor is used to execute the steps of the screen sub-pixel brightness extraction method as described in any one of claims 1 to 8.

Citation Information

Cited By

  • Method, device and system for extracting abnormal pixels of display screen and storage medium

    CN119152794A

  • Brightness uniformity correction method, electronic equipment and storage medium

    CN122157595A

  • Brightness uniformity correction methods, electronic devices and storage media

    CN122157595B