Sub-pixel positioning method, device and system of display panel and storage medium
By acquiring the image data of the display screen and calculating the coordinates of other sub-pixels using the relative relationship of sub-pixels, the problem of uneven brightness of sub-pixels in the OLED display panel is solved, and the efficiency and accuracy of De-Mura compensation are improved.
Patent Information
- Application Number
- CN202510090095.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-21
- Publication Date
- 2025-02-28
AI Technical Summary
In the production process of OLED display panels, due to the complex process process, the brightness of each RGB sub-pixel is uneven, affecting the picture quality and visual experience of the display panel. The traditional De-Mura compensation method is inefficient, resulting in extended production cycles and increased costs.
By acquiring the image data of the display screen, including solid color images and white images, determining the coordinates of the target subpixels, and using the relative relationship of the subpixels to calculate the coordinates of other subpixels, reducing the complexity and time of data acquisition.
It significantly shortens the positioning time of the De-Mura process, improves the overall efficiency of the compensation process, reduces error accumulation, improves the accuracy of sub-pixel positions, and is suitable for display screens with different sub-pixel arrangement methods.
Smart Images

Figure CN119541393A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to a sub-pixel positioning method, device, system and storage medium for a display panel. Background Art
[0002] In the production process of OLED (organic light-emitting diode) display panels, due to the complex process technology, especially in the evaporation stage, it is difficult to ensure the uniformity of each pixel, which usually leads to problems such as uneven brightness or color difference in the panel display. In particular, due to differences in the process, the luminous brightness of each RGB sub-pixel often varies greatly under the same external conditions, which will affect the overall picture quality of the display panel, resulting in a poor visual experience of the final product and difficulty in meeting the shipping standards. Therefore, De-Mura compensation is usually required in the production process of display panels to correct brightness and color unevenness to ensure that the product meets the display standards.
[0003] The traditional De-Mura compensation method collects the brightness information of each RGB sub-pixel on the panel separately to identify and analyze areas with uneven brightness. This process usually includes measuring the brightness of each RGB sub-pixel, analyzing the brightness difference, generating a compensation model, and correcting the brightness of the sub-pixels one by one. Although this method can achieve the correction effect, because the brightness information of the RGB sub-pixels must be collected separately, it leads to a large amount of data processing and a long compensation time, which becomes a bottleneck restricting the panel production efficiency.
[0004] As the resolution and production scale of OLED displays continue to increase, the efficiency of the traditional De-Mura process has become increasingly apparent, especially because it takes a lot of time to collect and process sub-pixel brightness, which has prolonged the production cycle, increased production costs, and affected market competitiveness. In addition, collecting RGB sub-pixel brightness one by one also places higher requirements on equipment and measurement accuracy, increasing the complexity of the system. Summary of the invention
[0005] In order to solve the above technical problems, the present application provides a sub-pixel positioning method, device, system and storage medium for a display panel.
[0006] The technical solution provided in this application is described below: A first aspect of the present application provides a sub-pixel positioning method for a display panel, comprising: Acquire image data of a display screen, the image data comprising at least one pure color image and one white image, the pure color image being an image captured when a single sub-pixel on the display screen is lit, and the white image being an image captured when all sub-pixels on the display screen are lit; Determine the coordinates of at least one target sub-pixel on the white image based on the pure color image; Determine the relative relationship between the sub-pixels according to the arrangement relationship of the sub-pixels on the display screen; Based on the relative relationship, the coordinates of the other sub-pixels on the white image are determined according to the coordinates of the target sub-pixel.
[0007] Optionally, determining the relative relationship between the sub-pixels according to the arrangement relationship of the sub-pixels on the display screen includes: Determine a repetition unit of the sub-pixels on the display screen according to an arrangement relationship of the sub-pixels on the display screen, wherein the repetition unit includes all types of sub-pixels; The vertical distance and the horizontal distance between other sub-pixels in the same repeating unit and the target sub-pixel are determined.
[0008] Optionally, based on the relative relationship, determining the coordinates of the other sub-pixels on the white image according to the coordinates of the target sub-pixel includes: Constructing a coordinate conversion formula based on the vertical distance and the horizontal distance; For any repeating unit, the coordinates of the target sub-pixel are input into the coordinate conversion formula to obtain the coordinates of other sub-pixels in the repeating unit.
[0009] Optionally, in the repeating unit, the ratio of each sub-pixel is consistent with the ratio of each sub-pixel of the entire display panel.
[0010] Optionally, the determining, based on the relative relationship and according to the coordinates of the target sub-pixel, the coordinates of the other sub-pixels on the white image includes: According to a preset division rule, the white image is divided into a plurality of sub-areas; Determining, in the subregion, a target repeating unit located at the center of the region; Determine other repeating units in the sub-region based on the diffusion of the target repeating unit to the periphery; Starting from the target repeating unit, the coordinates of other sub-pixels of each repeating unit in the sub-region are converted from the inside to the outside.
[0011] Optionally, acquiring image data of a display screen includes: Get the pure color images corresponding to all single sub-pixels; According to the grayscale value of the sub-pixel in the pure color image, a target pure color image is determined among the pure color images corresponding to all the single sub-pixels.
[0012] Optionally, among the other sub-pixels, the coordinate transformation formula of the first sub-pixel is as follows: ; or ; Among the other sub-pixels, the coordinate transformation formula of the second sub-pixel is as follows: ; Among them, X represents the horizontal coordinate of the target sub-pixel, Y represents the vertical coordinate of the target sub-pixel, dx represents the horizontal distance between two adjacent sub-pixel groups in the pure color picture, dy represents the vertical distance between two adjacent sub-pixel groups in the pure color picture, k1 and k2 are preset constants, and k1 and k2 are calculated by the ratio between each sub-pixel.
[0013] Optionally, among the other sub-pixels, the coordinate transformation formula of the first sub-pixel is as follows: ; or ; Among the other sub-pixels, the coordinate transformation formula of the second sub-pixel is as follows: ; Wherein, X represents the abscissa of the target sub-pixel, Y represents the ordinate of the target sub-pixel, dx represents the preset horizontal offset of the sub-pixel, and dy represents the preset vertical offset of the sub-pixel.
[0014] A second aspect of the present application provides a sub-pixel positioning device for a display panel, the device comprising: an image acquisition unit, configured to acquire image data of a display screen, wherein the image data includes at least one pure color image and one white image, wherein the pure color image is an image captured when a single sub-pixel on the display screen is lit, and the white image is an image captured when all sub-pixels on the display screen are lit; a coordinate determining unit, configured to determine the coordinates of at least one target sub-pixel on the white image based on the pure color image; A relative relationship determination unit, used to determine the relative relationship between sub-pixels according to the arrangement relationship of the sub-pixels on the display screen; A coordinate conversion unit is used to determine the coordinates of the other sub-pixels on the white image according to the coordinates of the target sub-pixel based on the relative relationship.
[0015] A third aspect of the present application provides a sub-pixel positioning system for a display panel, the device comprising: Processor, memory, input-output unit, and bus; The processor is connected to the memory, the input and output unit, and the bus; The memory stores a program, and the processor calls the program to execute the first aspect and any optional method in the first aspect.
[0016] A fourth aspect of the present application provides a computer-readable storage medium, on which a program is stored. When the program is executed on a computer, the program executes the first aspect and any optional method in the first aspect.
[0017] It can be seen from the above technical solutions that this application has the following advantages: 1. The method of the present application only needs to collect at least one pure color image and one white image, locate the coordinates of a single target sub-pixel through the pure color image, and then use the relative relationship of the sub-pixels to infer the coordinates of other sub-pixels, thereby reducing the complexity and time of data collection.
[0018] 2. Since there is no need to collect and separate sub-pixel data one by one, this method can significantly shorten the positioning time of the De-Mura process and improve the overall efficiency of the compensation process. This has a direct effect on improving the production efficiency of display panels and helps to alleviate the time bottleneck of De-Mura compensation.
[0019] 3. By using the relative relationship of sub-pixels and inferring the coordinates of other sub-pixels based on a single target sub-pixel, the error accumulation caused by multiple acquisitions can be reduced. Only the target sub-pixel needs to be accurately positioned, and the coordinates of the remaining sub-pixels are calculated based on the relative relationship, thereby improving the accuracy of the sub-pixel position.
[0020] 4. The core of this method is to perform relative positioning based on the arrangement relationship of sub-pixels. Therefore, it can be applied to display screens with different sub-pixel arrangements and has high versatility. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solution in the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0022] Figure 1 A schematic diagram of a flow chart of an embodiment of a sub-pixel positioning method for a display panel provided in the present application; Figure 2 A schematic diagram of an embodiment of a flow chart of determining coordinates of other sub-pixels based on a repeating unit in a sub-pixel positioning method of a display panel provided in the present application; Figure 3 A schematic diagram of an embodiment of a flow chart of determining a target pure color image in a sub-pixel positioning method of a display panel provided in the present application; Figure 4A schematic diagram of the structure of an embodiment of a sub-pixel positioning system of a display panel provided in this application; Figure 5 A schematic structural diagram of an embodiment of a sub-pixel positioning device for a display panel provided in this application; Figure 6 This is an example diagram of each sub-pixel being lit in a white image in this application; Figure 7 This is an example diagram of each sub-pixel being lit in a pure color image in this application; Figure 8 For this application Figure 7 Example of each sub-pixel of the corresponding white image being lit; Fig. 9 This is an example diagram of determining the relative relationship according to the arrangement of sub-pixels in this application. DETAILED DESCRIPTION
[0023] It should be noted that the sub-pixel positioning method of the display panel provided in the present application can be applied to a terminal, a system, or a server. For example, the terminal can be a smart phone or a computer, a tablet computer, a smart TV, a smart watch, a portable computer terminal, or a fixed terminal such as a desktop computer. For the convenience of explanation, the present application takes the terminal as the execution subject for example.
[0024] See also Figure 1 The present application first provides an embodiment of a sub-pixel positioning method for a display panel, the embodiment comprising: S101, acquiring image data of a display screen, the image data comprising at least one pure color image and one white image, the pure color image being an image captured when a single sub-pixel on the display screen is lit, and the white image being an image captured when all sub-pixels on the display screen are lit; See also Figures 6 to 8 In this embodiment, the image data of the display screen is first collected, including at least one pure color image and one white image, for subsequent sub-pixel positioning. In this step, a single sub-pixel (such as R, G or B) is selected to light up the display screen, and only the sub-pixels of one color channel are activated to capture the image. This pure color image can clearly capture the sub-pixel position of the target color and provide a reference image for subsequent coordinate positioning. Then all sub-pixels are lit and a white image is captured. This image contains the brightness information of all sub-pixels on the display screen, which is used to extract and locate the overall sub-pixel position.
[0025] In practice, when taking white images, one should ensure that all bright masses are clearly visible and can be clearly segmented, e.g. Figure 6 shown.
[0026] Of course, in practice, two different single sub-pixel pure color images may also be collected for positioning.
[0027] In this step, in order to accurately locate each sub-pixel, you first need to capture two different single sub-pixel activation images. For example, first light up the red sub-pixel (R), capture an image to obtain the first pure color image; if you need to capture the next single sub-pixel pure color image, light up the green sub-pixel (G), capture an image to obtain the second pure color image.
[0028] In each pure color image, only one sub-pixel of a color channel is activated, and the sub-pixels of other colors (such as G and B or R and B) are turned off. Therefore, only one sub-pixel of a color forms a brightness point in each pure color image.
[0029] In this step, when capturing white images and pure color images, the relative positions of the camera and the display screen should be the same to ensure that the two images are at the same shooting position. In this way, the positions of the target sub-pixels on the two images can be kept consistent.
[0030] Figure 7 shows an example of a solid color image. Figure 7 In the image, each bright cluster is a lit sub-pixel.
[0031] Figure 8 Shows a Figure 7 Example of the corresponding white image, Figure 8 In the image, all pixels are lit, and all bright clusters are clearly visible and clearly separated without adhesion to each other.
[0032] In this step, some preprocessing operations can also be performed on the acquired images, such as: Grayscale: Convert the image into grayscale to reduce color information and facilitate subsequent image analysis.
[0033] Denoising: Remove noise from the image through filtering and other technologies to prevent noise from affecting the positioning accuracy of sub-pixels.
[0034] Threshold processing: Set a threshold value based on the brightness value to separate the target sub-pixel from the background. The threshold setting can be based on the brightness range of the target sub-pixel. In a pure color image, the brightness of the target sub-pixel will be significantly higher than the surrounding area.
[0035] In the processed image, an edge detection algorithm (such as Canny edge detection) can be used to identify the edges of bright spots in the image, which helps to locate the position of the sub-pixel more accurately.
[0036] For a target sub-pixel (e.g., a red sub-pixel), the point with the maximum brightness can be used as the preliminary position of the target sub-pixel. Because in a pure color image, only one color channel is lit, so the point with the maximum brightness of the color channel is the position of the sub-pixel.
[0037] It is worth noting that in some cases, such as when faced with some complex pixel arrangements, the collected pure color image may not be just a single channel. In a complex arrangement structure, the sub-pixel coordinates of two known channels can be used to utilize their relative relationship to more accurately infer the sub-pixel position of the third channel, thereby reducing the error that may be caused by single-channel positioning.
[0038] Some displays may have local offsets or alignment anomalies during the manufacturing process, making it difficult for a single-channel image to accurately locate all sub-pixels. By using two-channel pure color images, these anomalies can be cross-verified and compensated to improve the overall reliability of the coordinates.
[0039] S102, determining the coordinates of at least one target sub-pixel on the white image based on the pure color image; The coordinates of a target sub-pixel (such as a red sub-pixel) are selected from the pure color image to locate the corresponding brightness area in the white image. The coordinates of the target sub-pixel are identified in the white image using an image processing algorithm. Since the target sub-pixel is lit independently in the pure color image, the corresponding coordinates can be accurately extracted in the white image through brightness and color differences. The coordinates of the target sub-pixel serve as a reference point to provide reference coordinates for the subsequent calculation of other sub-pixels.
[0040] In the implementation step S102 , the coordinates of a target sub-pixel (eg, a red sub-pixel) are extracted from the pure color image, and the coordinates are used to locate the sub-pixels in the corresponding brightness area in the white image.
[0041] The target sub-pixel coordinates extracted from the pure color image are used as reference points. Next, the area corresponding to the target sub-pixel is identified in the white image by image matching. The white image contains the brightness information of all sub-pixels, so the target sub-pixel will show its corresponding brightness area in the white image.
[0042] Although there are multiple sub-pixels emitting light in a white image, since each sub-pixel has a different color, the position of the target sub-pixel can be accurately located based on color differences (such as the brightness difference between red, green, and blue sub-pixels) and brightness information. For example, the target sub-pixel (such as a red sub-pixel) will show a clear red brightness area in a white image. Based on this brightness area, we can extract the coordinates of the target sub-pixel through a color recognition algorithm.
[0043] In order to avoid the large amount of calculation for full-image matching, the target sub-pixel area can be scanned locally in the white image, and the target sub-pixel coordinates can be combined with the preliminary estimation to accurately locate the target sub-pixel. This can also improve processing efficiency. Once the target sub-pixel is accurately located in the white image, the obtained coordinates are used as a reference point. These coordinates can be used to locate the positions of other sub-pixels later.
[0044] S103, determining a relative relationship between sub-pixels according to an arrangement relationship of the sub-pixels on the display screen; In this step, you first need to determine the sub-pixel arrangement used on the display panel. Possible arrangements are: RGB linear arrangement: red, green, and blue sub-pixels are arranged horizontally or vertically.
[0045] Pentile arrangement: In some OLED panels, sub-pixels are arranged in a Pentile arrangement, that is, sub-pixels of different colors have different layouts within a repeating unit. Specifically, the red and blue sub-pixels may be arranged at larger intervals, while the green sub-pixels may have a different layout from the other sub-pixels.
[0046] In actual operation, the image of the panel can be obtained through a microscope or other high-resolution shooting equipment, the arrangement of the sub-pixels can be directly observed, the arrangement type of the sub-pixels can be identified, and then the offset can be measured.
[0047] See also Fig. 9 , then determine the offset between sub-pixels (dx, dy): Horizontal offset (dx): Horizontal offset refers to the distance between a sub-pixel and its adjacent sub-pixel of the same type in the horizontal direction. For example, the horizontal distance between a red sub-pixel and its adjacent red sub-pixel (can be in pixels).
[0048] Vertical offset (dy): The vertical offset refers to the distance between a sub-pixel and its adjacent sub-pixel of the same type in the vertical direction. Similarly, for example, the vertical distance between a red sub-pixel and its adjacent red sub-pixel.
[0049] The position of each color sub-pixel can be determined by analyzing the image of the panel obtained through a microscope or other high-resolution shooting equipment, and the horizontal and vertical distances between adjacent sub-pixels can be directly measured. Alternatively, the offset between each color sub-pixel can be directly calculated through the sub-pixel arrangement image obtained under a microscope.
[0050] Assume that in a panel with RGB linear arrangement, the position of a red sub-pixel is (x1, y1), and the position of another adjacent red sub-pixel is (x2, y2), then: Horizontal offset: dx=x2−x1, which represents the horizontal distance between red sub-pixels.
[0051] Vertical offset: dy=y2−y1, which represents the vertical distance between red sub-pixels.
[0052] In the Pentile arrangement, complex offsets between different sub-pixels can be calculated based on the actual arrangement. For example, the green sub-pixel may be in a different relative position between red and blue, so an additional offset is needed to describe it.
[0053] In some arrangements, the horizontal offsets and vertical offsets between all sub-pixels of the same type are uniform, so once the offset of one type of sub-pixel is identified, the coordinates of all sub-pixels can be calculated based on the offset.
[0054] In an optional embodiment, once the relative position relationship between sub-pixels (such as dx, dy) is determined, a relative coordinate model can be constructed. This model describes the relative coordinate positions of sub-pixels of different colors in the display panel. Through this model, the position of each sub-pixel can be calculated, thereby providing a mathematical basis for subsequent sub-pixel positioning.
[0055] Here is a method to build a relative coordinate model: Determine the smallest repeating unit of a subpixel (can be a group of subpixels in RGB or Pentile).
[0056] For each repeating unit, the sub-pixel offset in the horizontal and vertical directions can be calculated. For example: If a minimum repeating unit contains a red sub-pixel, a green sub-pixel and a blue sub-pixel, and their relative positions are: R:(0,0)R: (0, 0)R:(0,0) G:(dx,0) B:(0,dy) According to the above relative coordinates, a sub-pixel distribution model on the entire display panel can be obtained. Through this model, the relative positions of all other sub-pixels can be determined.
[0057] In a specific embodiment, among the other sub-pixels, the coordinate transformation formula of the first sub-pixel is as follows: ; or ; Among the other sub-pixels, the coordinate transformation formula of the second sub-pixel is as follows: ; Among them, X represents the horizontal coordinate of the target sub-pixel, Y represents the vertical coordinate of the target sub-pixel, dx represents the horizontal distance between two adjacent sub-pixel groups in the pure color picture, dy represents the vertical distance between two adjacent sub-pixel groups in the pure color picture, k1 and k2 are preset constants, and k1 and k2 are calculated by the ratio between each sub-pixel.
[0058] Specifically, the values of k1 and k2 are related to the ratio between each sub-pixel. For example, when R:G:B=1:1:1, k1=k2=1 / 3. For another example, when R:G:B=1:2:1, k1=1 / 2*k2=1 / 6.
[0059] S104 . Based on the relative relationship, determine the coordinates of the other sub-pixels on the white image according to the coordinates of the target sub-pixel.
[0060] In step S104, the coordinates of other sub-pixels in the white image are calculated by combining the coordinates of the target sub-pixel and the relative relationship model.
[0061] Assume that the coordinates (xr, yr) of a target sub-pixel (eg, a red sub-pixel) have been determined in step S102.
[0062] According to the relative relationship established in step S103, the offset values of dx and dy can be used to infer the coordinates of other sub-pixels in the same repeating unit from the target sub-pixel. For example: If the offset of the green sub-pixel is (dx, 0), the coordinates of the green sub-pixel are (xr+dx, yr).
[0063] If the offset of the blue sub-pixel is (0, dy), the coordinates of the blue sub-pixel are (xr, yr+dy).
[0064] This relative offset calculation is applied to each repeating unit, gradually expanding until the entire display area is covered.
[0065] In a possible implementation, since the camera lens usually introduces certain distortion when shooting, especially in the edge area of the image, this will affect the accurate positioning of the sub-pixel. In order to reduce the influence of the distortion on the coordinates, a gradual correction method from the center of the image to the edge can be adopted.
[0066] In another case, based on the camera parameters (such as focal length, distortion coefficient), the radial correction formula can be used to correct the coordinates of each sub-pixel as follows: xcorrected=x×(1+k1r2+k2r4+…); ycorrected=y×(1+k1r2+k2r4+… ); Among them, r is the distance from the center of the image to the target sub-pixel, and k1 and k2 are the radial distortion coefficients of the camera.
[0067] The method of the present application only needs to collect at least one pure color image and one white image, locate the coordinates of a single target sub-pixel through the pure color image, and then use the relative relationship of the sub-pixels to infer the coordinates of other sub-pixels, thereby reducing the complexity and time of data collection.
[0068] Since there is no need to collect and separate sub-pixel data one by one, this method can significantly shorten the positioning time of the De-Mura process and improve the overall efficiency of the compensation process. This has a direct effect on improving the production efficiency of display panels and helps to alleviate the time bottleneck of De-Mura compensation.
[0069] By using the relative relationship of sub-pixels and inferring the coordinates of other sub-pixels based on a single target sub-pixel, the error accumulation caused by multiple acquisitions can be reduced. Only the target sub-pixel needs to be accurately located, and the coordinates of the remaining sub-pixels are calculated based on the relative relationship, thereby improving the accuracy of the sub-pixel position.
[0070] The core of this method is to perform relative positioning based on the arrangement relationship of sub-pixels. Therefore, it can be applied to display screens with different sub-pixel arrangements (such as Pentile or other sub-pixel arrangements) and has high versatility.
[0071] In an optional embodiment, the determined repeating unit is a minimum repeating unit, and the ratio of each sub-pixel is consistent with the ratio of each sub-pixel of the entire display panel.
[0072] See also Figure 2 The present application also provides a specific embodiment for determining other sub-pixels, which is described in detail below. The embodiment includes: S201, acquiring image data of a display screen, the image data comprising at least one pure color image and one white image, the pure color image being an image captured when a single sub-pixel on the display screen is lit, and the white image being an image captured when all sub-pixels on the display screen are lit; S202, determining the coordinates of at least one target sub-pixel on the white image based on the pure color image; S203, determining a relative relationship between the sub-pixels according to an arrangement relationship of the sub-pixels on the display screen; In this embodiment, steps S201 to S203 are similar to steps S101 to S103 in the aforementioned embodiment, and are not described again here.
[0073] S204, dividing the white image into a plurality of sub-regions according to a preset division rule; The purpose of this step is to divide the entire white image into multiple smaller sub-regions so that sub-pixel positioning and correction can be performed in the local area. The preset division rule can be based on a fixed-size grid (for example, each sub-region is a rectangle or square with a fixed number of pixels), or divided into different regions according to the actual sub-pixel arrangement and the structure of the display panel. In a possible implementation, the division method is to divide the image into four equal rectangles, namely the upper left, lower left, upper right and lower right.
[0074] In other cases, the image can be divided into 4x4 or 5x5 grids, each grid corresponding to a sub-region. Each sub-region after division contains a certain number of sub-pixels and repeating units. This helps to avoid the influence of edge distortion or distortion of the entire image and perform more accurate correction in the local area.
[0075] S205, determining a target repeating unit in the sub-region at the center of the region; In each sub-region, a representative target repeating unit is selected as a reference point, so as to facilitate the inference of the positions of other sub-pixels and repeating units through this unit.
[0076] The target repeating unit refers to a typical unit in each sub-region, which may be located at the center of the region. The target repeating unit may be identified by pixel value and brightness. For example, a unit with the strongest brightness or the easiest to identify in an image is selected as the reference for positioning.
[0077] In the sub-region, determine which sub-pixel repeating unit is located at the center and ensure that it can represent the regularity of the entire region. The center position of the sub-region is the most stable and least susceptible to distortion and non-uniformity.
[0078] S206, determining other repeating units in the sub-region based on the diffusion of the target repeating unit to the periphery; Once the position of the target repeating unit is determined in the center of the sub-region, the positions of other repeating units can be inferred toward the periphery based on the unit, thereby completing the determination of the sub-pixel position in the entire region.
[0079] Assuming that the coordinates of the target repeating unit are known, the positions of other repeating units around it are calculated. Since the sub-pixels of the display panel are arranged regularly, other repeating units can be inferred based on the relative positions between sub-pixels (such as the offset of dx and dy) through the known coordinates of the target repeating unit.
[0080] The diffusion calculation can be performed in a certain order, such as expanding from the center to four directions (up, down, left, and right), or expanding in a spiral manner. This expansion method ensures that all sub-pixel positions can be reasonably calculated within a certain range.
[0081] S207 , starting from the target repeating unit, transform the coordinates of other sub-pixels of each repeating unit in the sub-region from inside to outside according to the relative relationship.
[0082] By using the relative relationship between the target repeating unit and the sub-region determined in steps S205 and S206, the coordinates of the sub-pixels in each repeating unit are calculated and converted. This step ensures the accurate positioning of all sub-pixels in the white image and performs further coordinate correction.
[0083] Based on the relative relationship between the sub-pixels (such as dx and dy) determined in step S103, starting from the coordinates of the target repeating unit, the coordinates of the sub-pixels are gradually calculated toward each other repeating unit in the sub-region in a preset order. The position of each repeating unit will be adjusted based on the relative position with the target repeating unit.
[0084] Starting from the target repeating unit, coordinate transformation is gradually performed towards the peripheral units. Using the correction method from the center to the edge, the error caused by camera distortion or local distortion of the display panel can be effectively reduced.
[0085] The coordinates of each sub-pixel in each repeating unit are calculated according to its relative position in the repeating unit (such as the offset of the R, G, and B sub-pixels). For example, assuming that the position of the R sub-pixel in the target repeating unit is known, the positions of the G and B sub-pixels in the repeating unit can be calculated based on the relative relationship.
[0086] In this embodiment, it should be understood that although the coordinate transformation of each repeating unit is independent, during the imaging process, especially when shooting a white screen, the optical distortion of the camera is usually more significant in the edge area. This distortion may cause slight errors in the position of a single repeating unit. If the correction is performed in a top-to-bottom or left-to-right order, the errors in the edge area may gradually accumulate, thereby affecting the overall accuracy.
[0087] By adopting a correction method that radiates from the center outward, more accurate sub-pixel position data can be first obtained in the central area with less distortion, and then these relatively accurate reference points can be gradually extended to the edge area. This can effectively reduce the propagation of distortion errors, thereby improving the accuracy of sub-pixel positions overall. Regional processing divides the display screen into multiple independent areas for correction, avoiding the influence of camera distortion or other errors from one area to another, and further ensuring the coordinate accuracy within each area.
[0088] Referring to FIG. 3 , the present application also provides an embodiment for determining a pure color image, which is described in detail below. The embodiment includes: S301, obtaining pure color images corresponding to all single sub-pixels; In this embodiment, image data can be collected when each sub-pixel is lit separately, and it is necessary to ensure that the relative position of the camera and the display screen is always consistent during shooting. By controlling the display panel, only the sub-pixels of a single color channel (for example: red, green or blue) are activated. Only one color channel is activated at a time, so that an independent image of the sub-pixel of that color can be clearly captured. The activation method is to light up a specific color area on the display panel, while the sub-pixels of other color channels are not lit.
[0089] After a single color channel is activated, the camera captures the image on the display panel and records the specific image data of the single sub-pixel. Only one color channel is recorded at a time (i.e., only red image, green image, or blue image is recorded at a time).
[0090] In order to completely capture the pure color image of all sub-pixels, it is necessary to perform multiple independent captures of each color channel (red, green, and blue). Each captured image will be associated with the sub-pixel brightness of the corresponding color, and finally the pure color image data corresponding to all single sub-pixels will be obtained.
[0091] After completing the image acquisition of all color sub-pixels, three images (red pure color image, green pure color image, blue pure color image) will be obtained. These images are the basic data for sub-pixel coordinate positioning and subsequent compensation.
[0092] S302, determining a target pure color image from the pure color images corresponding to all the single sub-pixels according to the grayscale value of the sub-pixel in the pure color image; By analyzing the grayscale values in the pure color images, it is further determined which image in these images represents the brightness and position of a specific target sub-pixel. This is the process of locating the target sub-pixel by comparing the brightness values of different images.
[0093] In each pure color image, the grayscale value represents the brightness of different areas in the image. The higher the grayscale value, the brighter the part of the image. By analyzing the grayscale value in each pure color image, the specific position of each single sub-pixel can be identified.
[0094] Assuming that in an image (such as a pure red image), the brightness of the red sub-pixel area is higher than that of other color areas, the specific position of the sub-pixel can be determined by analyzing the grayscale value.
[0095] In this embodiment, the grayscale values are compared in order to find the image of a channel with the highest brightness, thereby facilitating the location of the sub-pixel of the pure color image.
[0096] S303, acquiring a white image of the display screen, wherein the white image is an image captured when all sub-pixels on the display screen are lit; S304, determining the coordinates of at least one target sub-pixel on the white image based on the pure color image; S305, determining a relative relationship between the sub-pixels according to an arrangement relationship of the sub-pixels on the display screen; S306 . Based on the relative relationship, determine the coordinates of the other sub-pixels on the white image according to the coordinates of the target sub-pixel.
[0097] In this embodiment, the steps not described in detail are implemented in a similar manner to the corresponding steps in the aforementioned embodiments and will not be described in detail here.
[0098] The above describes the sub-pixel positioning method of the display panel provided in the present application. Figure 4 , the sub-pixel positioning system of the display panel provided in the present application is described below, and an embodiment of the system includes: An image acquisition unit 401 is used to acquire image data of a display screen, wherein the image data includes at least one pure color image and one white image, wherein the pure color image is an image captured when a single sub-pixel on the display screen is lit, and the white image is an image captured when all sub-pixels on the display screen are lit; A coordinate determining unit 402, configured to determine the coordinates of at least one target sub-pixel on the white image based on the pure color image; A relative relationship determination unit 403, configured to determine a relative relationship between sub-pixels according to an arrangement relationship of the sub-pixels on the display screen; The coordinate conversion unit 404 is configured to determine the coordinates of the other sub-pixels on the white image according to the coordinates of the target sub-pixel based on the relative relationship.
[0099] Optionally, the relative relationship determining unit 403 is specifically configured to: Determine a repetition unit of the sub-pixels on the display screen according to an arrangement relationship of the sub-pixels on the display screen, wherein the repetition unit includes all types of sub-pixels; The vertical distance and the horizontal distance between other sub-pixels in the same repeating unit and the target sub-pixel are determined.
[0100] Optionally, the coordinate conversion unit 404 is specifically used for: Constructing a coordinate conversion formula based on the vertical distance and the horizontal distance; For any repeating unit, the coordinates of the target sub-pixel are input into the coordinate conversion formula to obtain the coordinates of other sub-pixels in the repeating unit.
[0101] Optionally, in the repeating unit, the ratio of each sub-pixel is consistent with the ratio of each sub-pixel of the entire display panel.
[0102] Optionally, the coordinate conversion unit 404 is specifically used for: According to a preset division rule, the white image is divided into a plurality of sub-areas; Determining, in the subregion, a target repeating unit located at the center of the region; Determine other repeating units in the sub-region based on the diffusion of the target repeating unit to the periphery; Starting from the target repeating unit, the coordinates of other sub-pixels of each repeating unit in the sub-region are converted from the inside to the outside.
[0103] Optionally, the image acquisition unit 401 is specifically used for: Get the pure color images corresponding to all single sub-pixels; According to the grayscale value of the sub-pixel in the pure color image, a target pure color image is determined among the pure color images corresponding to all the single sub-pixels.
[0104] Optionally, among the other sub-pixels, the coordinate transformation formula of the first sub-pixel is as follows: ; or ; Among the other sub-pixels, the coordinate transformation formula of the second sub-pixel is as follows: ; Among them, X represents the horizontal coordinate of the target sub-pixel, Y represents the vertical coordinate of the target sub-pixel, dx represents the horizontal distance between two adjacent sub-pixel groups in the pure color picture, dy represents the vertical distance between two adjacent sub-pixel groups in the pure color picture, k1 and k2 are preset constants, and k1 and k2 are calculated by the ratio between each sub-pixel.
[0105] Optionally, among the other sub-pixels, the coordinate transformation formula of the first sub-pixel is as follows: ; or ; Among the other sub-pixels, the coordinate transformation formula of the second sub-pixel is as follows: ; Wherein, X represents the abscissa of the target sub-pixel, Y represents the ordinate of the target sub-pixel, dx represents the preset horizontal offset of the sub-pixel, and dy represents the preset vertical offset of the sub-pixel.
[0106] See also Figure 5 The present application also provides a sub-pixel positioning device for a display panel, comprising: Processor 501, memory 502, input and output unit 503, bus 504; The processor 501 is connected to the memory 502, the input and output unit 503 and the bus 504; The memory 502 stores a program, and the processor 501 calls the program to execute any of the above methods.
[0107] The present application also relates to a computer-readable storage medium on which a program is stored, wherein when the program is run on a computer, the computer is caused to execute any of the above methods.
[0108] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0109] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0110] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0111] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0112] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program code.
Claims
1. A sub-pixel positioning method for a display panel, characterized in that: The method comprises: Acquire image data of a display screen, the image data comprising at least one pure color image and one white image, the pure color image being an image captured when a single sub-pixel on the display screen is lit, and the white image being an image captured when all sub-pixels on the display screen are lit; Determine the coordinates of at least one target sub-pixel on the white image based on the pure color image; Determine the relative relationship between the sub-pixels according to the arrangement relationship of the sub-pixels on the display screen; Based on the relative relationship, coordinates of other sub-pixels on the white image are determined according to the coordinates of the target sub-pixel.
2. The sub-pixel positioning method of a display panel according to claim 1, characterized in that: Determining the relative relationship between the sub-pixels according to the arrangement relationship of the sub-pixels on the display screen includes: Determine a repetition unit of the sub-pixels on the display screen according to an arrangement relationship of the sub-pixels on the display screen, wherein the repetition unit includes all types of sub-pixels; The vertical distance and the horizontal distance between other sub-pixels in the same repeating unit and the target sub-pixel are determined.
3. The sub-pixel positioning method of a display panel according to claim 2, characterized in that: Based on the relative relationship, determining the coordinates of the other sub-pixels on the white image according to the coordinates of the target sub-pixel includes: Constructing a coordinate conversion formula based on the vertical distance and the horizontal distance; For any repeating unit, the coordinates of the target sub-pixel are input into the coordinate conversion formula to obtain the coordinates of other sub-pixels in the repeating unit.
4. The sub-pixel positioning method of a display panel according to claim 2, characterized in that: In the repeating unit, the ratio of each sub-pixel is consistent with the ratio of each sub-pixel of the entire display panel.
5. The sub-pixel positioning method of a display panel according to claim 3, characterized in that: The determining, based on the relative relationship and according to the coordinates of the target sub-pixel, the coordinates of the other sub-pixels on the white image comprises: According to a preset division rule, the white image is divided into a plurality of sub-areas; Determining, in the subregion, a target repeating unit located at the center of the region; Determine other repeating units in the sub-region based on the diffusion of the target repeating unit to the periphery; Starting from the target repeating unit, the coordinates of other sub-pixels of each repeating unit in the sub-region are converted from the inside to the outside.
6. The sub-pixel positioning method of a display panel according to any one of claims 1 to 5, characterized in that: The acquiring of image data of the display screen comprises: Get the pure color images corresponding to all single sub-pixels; According to the grayscale value of the sub-pixel in the pure color image, a target pure color image is determined among the pure color images corresponding to all the single sub-pixels.
7. The sub-pixel positioning method of a display panel according to claim 3, characterized in that: Among the other sub-pixels, the coordinate transformation formula of the first sub-pixel is as follows: ; or ; Among the other sub-pixels, the coordinate transformation formula of the second sub-pixel is as follows: ; Among them, X represents the horizontal coordinate of the target sub-pixel, Y represents the vertical coordinate of the target sub-pixel, dx represents the horizontal distance between two adjacent sub-pixel groups in the pure color picture, dy represents the vertical distance between two adjacent sub-pixel groups in the pure color picture, k1 and k2 are preset constants, and k1 and k2 are calculated by the ratio between each sub-pixel.
8. The sub-pixel positioning method of a display panel according to claim 3, characterized in that: Among the other sub-pixels, the coordinate transformation formula of the first sub-pixel is as follows: ; or ; Among the other sub-pixels, the coordinate transformation formula of the second sub-pixel is as follows: ; Wherein, X represents the abscissa of the target sub-pixel, Y represents the ordinate of the target sub-pixel, dx represents the horizontal distance between two adjacent sub-pixel groups in the pure color picture, and dy represents the vertical distance between two adjacent sub-pixel groups in the pure color picture.
9. A sub-pixel positioning device for a display panel, characterized in that: The device comprises: an image acquisition unit, configured to acquire image data of a display screen, wherein the image data includes at least one pure color image and one white image, wherein the pure color image is an image captured when a single sub-pixel on the display screen is lit, and the white image is an image captured when all sub-pixels on the display screen are lit; a coordinate determining unit, configured to determine the coordinates of at least one target sub-pixel on the white image based on the pure color image; A relative relationship determination unit, used to determine the relative relationship between sub-pixels according to the arrangement relationship of the sub-pixels on the display screen; A coordinate conversion unit is used to determine the coordinates of the other sub-pixels on the white image according to the coordinates of the target sub-pixel based on the relative relationship.
10. A sub-pixel positioning system for a display panel, characterized in that: The system comprises: Processor, memory, input-output unit, and bus; The processor is connected to the memory, the input and output unit, and the bus; The memory stores a program, and the processor calls the program to execute the method according to any one of claims 1 to 8.
11. A computer-readable storage medium having a program stored thereon, wherein the program, when executed on a computer, performs the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Display screen sub-pixel positioning and brightness extraction method and device and storage medium
CN113012096A
Sub-pixel positioning method, sub-pixel positioning system and storage medium
CN113763333A
Mura repairing method of display panel
CN114495803A
Repair method, repair device and repair system of display panel, and storage medium
CN115641800A
Pixel positioning method, pixel brightness extraction method and system
CN116913197A