Bright and dark line correction method and device, equipment and storage medium

By obtaining the distance and adjustment unit information of the sub-pixel display screen, determining the target correction function value and gap adjustment coefficient, and adjusting the display brightness, the problem of light and dark lines after splicing of the sub-pixel display screen is solved, achieving a better display effect.

CN120236501APending Publication Date: 2025-07-01XIAN NOVASTAR TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311863799.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

In the prior art, the light and dark lines problems caused by gaps after splicing of sub-pixel display screens cannot be effectively corrected, and the existing real pixel adjustment method is not applicable.

Method used

By obtaining the distance between the adjustment unit on the side of the gap and the gap in the sub-pixel display screen, the distance between the same row of sub-pixels, and the total number of adjustment units, the target correction function value and the gap adjustment coefficient are determined, and the display brightness of the adjustment unit is adjusted to correct the light and dark lines.

Benefits of technology

The light and dark line correction of the sub-pixel display screen is realized, which improves the consistency and detailed performance of the display, and avoids the color cast problem in the gap after splicing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120236501A_ABST
    Figure CN120236501A_ABST
Patent Text Reader

Abstract

The invention provides a bright and dark line correction method and device, equipment and a storage medium. A first distance between an adjusting unit on one side of a gap in a sub-pixel display screen and the gap, a second distance between two adjacent sub-pixels in the same row of sub-pixels, a third distance between target sub-pixels on the two sides of the gap and the total number of the adjusting units on the two sides of the gap are obtained, and each adjusting unit at least comprises two sub-pixels. The target sub-pixels are sub-pixels which are located in the same row and are closest to the gap, determining a target correction function value based on the first distance and the total number of the adjusting units, determining a gap adjusting coefficient of the adjusting units based on the target correction function value, the second distance and the third distance, and adjusting the display brightness of the adjusting units based on the gap adjusting coefficient. In this way, the bright and dark line correction of the sub-pixel display screen can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of display screens, and particularly relates to a method, device, equipment and storage medium for bright and dark line correction. Background Art

[0002] LED display screens are applied to various fields due to their advantages such as low cost, low power consumption, high visibility, and free assembly. Since LED screens are often used in splicing scenarios, gaps will be generated after splicing. Therefore, it is necessary to determine a gap adjustment coefficient to adjust the screen. In related technologies, a method of real pixel adjustment is provided. By determining the distance between real pixels (actual pixels) and the gap, the seam repair coefficient is calculated, and the display brightness of the real pixels on both sides of the gap is adjusted through the seam repair coefficient. However, since the sub-pixels in a sub-pixel display screen are different from real pixels, the method of real pixel adjustment is not applicable to the adjustment of sub-pixel display screens. Summary of the Invention

[0003] In view of the above problems, this application provides a method, device, equipment and storage medium for bright and dark line correction, which can correct the bright and dark lines of a sub-pixel display screen.

[0004] An embodiment of this application provides a method for bright and dark line correction, including:

[0005] Obtain a first distance between an adjustment unit on one side of a gap in a sub-pixel display screen and the gap, a second distance between two adjacent sub-pixels in the same row of sub-pixels, a third distance between target sub-pixels on both sides of the gap, and the total number of adjustment units on both sides of the gap, where the adjustment unit includes at least two sub-pixels, and the target sub-pixels are the sub-pixels in the same row and closest to the gap;

[0006] Determine a target correction function value based on the first distance and the total number of adjustment units;

[0007] Determine a gap adjustment coefficient of the adjustment unit based on the target correction function value, the second distance, and the third distance;

[0008] Adjust the display brightness of the adjustment unit based on the gap adjustment coefficient to adjust the sub-pixel display screen.

[0009] In some embodiments, the determining the gap adjustment coefficient of the adjustment unit based on the target correction function value, the second distance, and the third distance includes:

[0010] Divide the third distance by the second distance to obtain a first calculated value;

[0011] Subtract 1 from the first calculated value to obtain a second calculated value;

[0012] Add the correction value to the second calculated value to obtain a third calculated value;

[0013] Multiply the third calculated value by a target correction function value to obtain a fourth calculated value;

[0014] Add 1 to the fourth calculated value to obtain the gap adjustment coefficient of the adjustment unit.

[0015] In some embodiments, determining the target correction function value based on the first distance and the total number of adjustment units includes:

[0016] Obtain a pre-established correspondence table, where each set of correspondences in the correspondence table includes: the correspondence between distance, the total number of adjustment units, and the correction function value, where the distance is used to represent the distance between the adjustment unit and the gap;

[0017] Match the first distance, the total number of adjustment units with the distance and the total number of adjustment units in each set of correspondences to obtain a matching result;

[0018] Determine a target correspondence based on the matching result;

[0019] Determine the correction function value in the target correspondence as the target correction function value.

[0020] In some embodiments, the matching the first distance, the total number of adjustment units with the distance and the total number of adjustment units in each set of correspondences includes:

[0021] Calculate the similarity between the first distance, the total number of adjustment units and the distance, the total number of adjustment units in each set of correspondences;

[0022] Perform matching based on the similarity.

[0023] In some embodiments, the correspondence table includes: a first correspondence and a second correspondence. The adjustment units corresponding to the distance in the first correspondence are on one side of the gap, and the adjustment units corresponding to the distance in the second correspondence are on the other side of the gap. The sum of all correction function values corresponding to the first correspondence is equal to 0.5, and the sum of all correction function values corresponding to the second correspondence is equal to 0.5. In the case where the distance in the target first correspondence is equal to the distance in the target second correspondence, the correction function value corresponding to the target first correspondence is equal to the correction function value corresponding to the target second correspondence.

[0024] In some embodiments, obtaining a first distance between an adjustment unit on one side of a gap in the sub-pixel display screen and the gap, a second distance between two adjacent sub-pixels in the same row of sub-pixels, a third distance between target sub-pixels on both sides of the gap, and a total number of adjustment units on both sides of the gap, where the adjustment unit includes at least: two sub-pixels, and the target sub-pixel is the sub-pixel in the same row and closest to the gap, including:

[0025] Collecting image information of the sub-pixel display screen;

[0026] Identifying sub-pixels and gaps in the sub-pixel display screen based on the image information;

[0027] Dividing on both sides of the gap with at least two sub-pixels as one adjustment unit to obtain a division result;

[0028] Determining the number of adjustment units on both sides of the gap based on the division result, where the number of adjustment units on both sides of the gap is the same;

[0029] Determining the total number of adjustment units on both sides of the gap based on the number of adjustment units on both sides of the gap;

[0030] Determining the first distance, the second distance, and the third distance based on the adjustment unit and the gap.

[0031] An embodiment of the present application provides a bright and dark line correction device, including:

[0032] A first acquisition module, configured to acquire a first distance between an adjustment unit on one side of a gap in the sub-pixel display screen and the gap, a second distance between two adjacent sub-pixels in the same row of sub-pixels, a third distance between target sub-pixels on both sides of the gap, and a total number of adjustment units on both sides of the gap, where the target sub-pixel is the sub-pixel in the same row and closest to the gap;

[0033] A first determination module, configured to determine a target correction function value based on the first distance and the total number of adjustment units;

[0034] A second determination module, configured to determine a gap adjustment coefficient of the adjustment unit based on the target correction function value, the second distance, and the third distance;

[0035] An adjustment module, configured to adjust the display brightness of the adjustment unit based on the gap adjustment coefficient to adjust the sub-pixel display screen.

[0036] An embodiment of the present application provides an electronic device, including a memory and a processor. A computer program is stored on the memory. When the computer program is executed by the processor, the bright and dark line correction method described in any one of the above is executed.

[0037] An embodiment of the present application provides a sub-pixel display screen, including: the electronic device described above

[0038] An embodiment of the present application provides a computer-readable storage medium. The computer program stored on the computer-readable storage medium can be executed by one or more processors and can be used to implement the bright and dark line correction method described above.

[0039] A bright and dark line correction method, device, equipment and storage medium provided by the present application. By obtaining the first distance between the adjustment unit on one side of the gap and the gap in the sub-pixel display screen, the second distance between two adjacent sub-pixels in the same row of sub-pixels, the third distance between the target sub-pixels on both sides of the gap, and the total number of adjustment units on both sides of the gap. Wherein, the adjustment unit at least includes: two sub-pixels, and the target sub-pixel is the sub-pixel in the same row and closest to the gap. Determine the target correction function value based on the first distance and the total number of adjustment units, determine the gap adjustment coefficient of the adjustment unit based on the target correction function value, the second distance and the third distance, and adjust the display brightness of the adjustment unit based on the gap adjustment coefficient to adjust the sub-pixel display screen. In this way, the bright and dark lines of the sub-pixel display screen can be corrected. Description of the Drawings

[0040] In the following, the present application will be described in more detail based on the embodiments and with reference to the drawings.

[0041] Figure 1 Shows a schematic structural diagram of a real pixel in the related art;

[0042] Figure 2 Shows a schematic structural diagram of a 4-lamp sub-pixel screen body;

[0043] Figure 3 Is a schematic display diagram after adjustment using real pixels provided by an embodiment of the present application;

[0044] Figure 4 Is a schematic implementation flowchart of a bright and dark line correction method provided by an embodiment of the present application;

[0045] Figure 5 Shows a structural example of a sub-pixel display screen provided by an embodiment of the present application;

[0046] Figure 6 Is a schematic structural diagram of a bright and dark line correction device provided by an embodiment of the present application;

[0047] Figure 7 It is a schematic diagram of the composition structure of the electronic device provided by the embodiment of the present application.

[0048] In the accompanying drawings, the same components are denoted by the same reference numerals, and the drawings are not drawn to actual scale. Detailed implementation manners

[0049] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be construed as limitations on the present application. All other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of the present application.

[0050] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments. However, it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.

[0051] If similar descriptions such as "first / second / third" appear in the application documents, the following explanation is added. In the following description, the terms "first / second / third" only distinguish similar objects and do not represent a specific order for the objects. It can be understood that "first / second / third" can be interchanged with a specific order or sequence when permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0052] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0053] Figure 1 It shows a schematic diagram of the structure of a real pixel in the related art. As Figure 1 shown, in an LED display screen, a real pixel is usually composed of three sub-pixels: red1, green2, and blue3. Each sub-pixel can emit light independently, and the combination of the three produces different colors and brightness. Generally, the seam repair coefficient is calculated according to the actual distance. At this time, since the RGB of the actual pixel is aggregated together, generally the same seam adjustment coefficient is used for RGB.

[0054] In the related art, for the seam adjustment method of actual pixels, the seam repair coefficient of pixel seams can be obtained through the following methods:

[0055] The examples are as follows. Continue to refer to Figure 1, the actual resolution is 4 * 8, the number of sub - pixels and light points is 4 * 8 * 3. The distance between normal light points is D0, and due to the influence of the splicing gap, the distance between some light points becomes D1.

[0056] The general formula for gap brightness adjustment is as follows:

[0057]

[0058] Among them, is the basic calculation method, is a correction value based on the basic calculation method, mainly considering the errors in the data collected by the camera. f(D1) will directly act on the real pixels on both sides of the gap, representing the seam - repairing coefficient.

[0059] Generally speaking, when adjusting real pixels, 1 row / 1 column of real pixels on both sides of the gap will be adjusted. This adjustment method is not applicable to sub - pixel gap adjustment, mainly because sub - pixel display involves a smaller display unit of pixels, that is, sub - pixels. The change in the judgment of the gap distance between sub - pixels is completely different from that of real pixels.

[0060] Figure 2 Fig. shows a schematic structural diagram of a 4 - light - point sub - pixel screen body. The sub - pixels include: three types of sub - pixels, namely red 4, green 5, and blue 6. As an assumption, if the above - mentioned real - pixel adjustment method is adopted and 1 row or 1 column of pixels is directly adjusted, there will be a color - deviation problem when people view the gap.

[0061] Figure 3 This is a display schematic diagram after real - pixel adjustment provided by an embodiment of the present application. As Figure 3 shown, the adjustment coefficients of regions 7 and 8 are calculated using formula (1). Due to different sub - pixels, when people view the gap, the left - hand light board will be bluish - green and the right - hand light board will be yellowish.

[0062] In the related art, the method of using real - pixel adjustment for sub - pixel screen body gap adjustment has a poor adjustment effect. That is, the method of using real - pixel adjustment is not applicable to the adjustment of sub - pixel displays.

[0063] Based on the problems existing in the related art, an embodiment of the present application provides a bright - dark line correction method. The execution subject of the method can be an electronic device, and the electronic device can be a mobile terminal, a computer, a sub - pixel display screen, etc. In some embodiments, the electronic device can be a controller of a mobile terminal, a computer, or a sub - pixel display screen.

[0064] The function realized by the bright - dark line correction method provided by an embodiment of the present application can be achieved by the processor of the electronic device calling program code, where the program code can be stored in a computer storage medium.

[0065] An embodiment of the present application provides a bright and dark line correction method. Figure 4 As shown in the schematic flowchart of the implementation of a bright and dark line correction method provided by an embodiment of the present application, Figure 4 as shown, the bright and dark line correction method includes:

[0066] Step S1, obtain the first distance between the adjustment unit on one side of the gap and the gap in the sub-pixel display screen, the second distance between two adjacent sub-pixels in the same row of sub-pixels, the third distance between the target sub-pixels on both sides of the gap, and the total number of adjustment units on both sides of the gap, where the adjustment unit includes at least: two sub-pixels, and the target sub-pixel is the sub-pixel in the same row and closest to the gap.

[0067] In an embodiment of the present application, the adjustment unit includes at least two sub-pixels, that is, the adjustment unit includes more than two sub-pixels. As an example, the adjustment unit includes at least a red sub-pixel and a green sub-pixel, or includes a red sub-pixel and a blue sub-pixel.

[0068] In an embodiment of the present application, step S1 may specifically include the following steps:

[0069] Determine the arrangement mode of the sub-pixel display screen. As an example, the sub-pixel arrangement modes include RGB, BGR, etc. Determining the arrangement mode helps to determine the position of the gap. As an example, the gap usually appears between adjacent sub-pixels, and the position of the gap can be determined by visual observation or tools such as magnifying glasses.

[0070] Determine the adjustment unit and the target sub-pixel on one side of the gap: According to the gap position and the sub-pixel arrangement mode, determine the adjustment unit and the target sub-pixel on one side of the gap. For example, if it is an RGB arrangement mode, the adjustment unit on one side of the gap may be a red sub-pixel, and the target sub-pixel is the sub-pixel closest to the gap.

[0071] Measure the distance: Use appropriate measurement tools to measure the first distance between the adjustment unit and the gap, the second distance between two adjacent sub-pixels in the same row of sub-pixels, and the third distance between the target sub-pixels on both sides of the gap.

[0072] Count the total number of adjustment units: Determine the total number of adjustment units on both sides of the gap to ensure that the adjustment unit includes at least two sub-pixels.

[0073] Figure 5 shows a structural example of a sub-pixel display screen according to an embodiment of the present application. As shown in Figure 5 as shown, the dotted box is an adjustment unit, and the second distance between two adjacent sub-pixels in the same row of sub-pixels can be referred to Figure 5Understand the distance marked by D0 shown in the figure. The third distance between the target sub-pixels on both sides of the gap can be referred to Figure 5 and understood as the distance marked by D1 shown in the figure.

[0074] In the embodiments of the present application, the parameters obtained above will be used in the subsequent bright and dark line correction process.

[0075] Step S2: Determine the target correction function value based on the first distance and the total number of adjustment units.

[0076] In the embodiments of the present application, the target correction function can be used to represent the degree of brightness correction required at a specific distance.

[0077] In the embodiments of the present application, the target correction function value can be calculated by inputting the first distance and the total number of adjustment units into the target correction function. Here, the target correction function can be a mathematical function used to calculate the target correction value for bright and dark line correction based on the first distance and the total number of adjustment units. It should be noted that the present application does not limit the specific function form, and the specific function form can be determined according to actual needs and system requirements.

[0078] In the embodiments of the present application, step S2 may specifically include the following steps:

[0079] Determine the form of the target correction function, and calculate the target correction function value according to the first distance and the total number of adjustment units. Use the determined target correction function, take the first distance and the total number of adjustment units as inputs, and calculate the corresponding target correction function value.

[0080] The calculation of the target correction function can be determined according to specific algorithms and requirements. For example, a linear function, an exponential function, or other suitable function forms can be used.

[0081] In the embodiments of the present application, through the above steps, the target correction function value for bright and dark line correction can be determined based on the first distance and the total number of adjustment units. Here, the target correction function value will be used in the subsequent brightness adjustment and bright and dark line correction processes.

[0082] Step S3: Determine the gap adjustment coefficient of the adjustment unit based on the target correction function value, the second distance, and the third distance.

[0083] In the embodiments of the present application, the gap adjustment coefficient represents the brightness adjustment ratio of the adjustment unit at a specific distance. Here, the correction coefficient of the adjustment unit calculated according to the target correction function value, the second distance, and the third distance is the gap adjustment coefficient.

[0084] In the embodiments of the present application, step S3 may specifically include the following steps:

[0085] In some embodiments, step S3 of determining the gap adjustment coefficient of the adjustment unit based on the target correction function value, the second distance, and the third distance can be implemented through the following steps:

[0086] Step S31: Divide the third distance by the second distance to obtain a first calculated value.

[0087] In this step, divide the third distance by the second distance to obtain a first calculated value. The formula is expressed as: First calculated value = Third distance / Second distance.

[0088] Exemplarily, the first calculated value can be expressed as:

[0089] In this step, through this calculation, a first calculated value can be obtained for the bright and dark line correction process in subsequent steps. It should be noted that the calculation process needs to ensure the consistency of distance units.

[0090] Step S32: Subtract 1 from the first calculated value to obtain a second calculated value.

[0091] In this step, subtract 1 from the first calculated value to obtain a second calculated value. The formula is expressed as: Second calculated value = First calculated value - 1.

[0092] In the embodiments of the present application, the second calculated value can be expressed as:

[0093] In this step, through this calculation, a second calculated value can be obtained for the bright and dark line correction process in subsequent steps. The purpose of this calculation is to convert the difference between the first calculated value and 1 into the second calculated value for subsequent correction and adjustment.

[0094] Step S33: Add the correction value to the second calculated value to obtain a third calculated value.

[0095] In this step, add the correction value to the second calculated value to obtain a third calculated value. The formula is expressed as: Third calculated value = Second calculated value + correction value.

[0096] In the embodiments of the present application, the third calculated value can be expressed as: where, is the correction value.

[0097] In this step, through this calculation, a third calculated value can be obtained for the bright and dark line correction process in subsequent steps. The correction value can be a fixed offset or a value dynamically calculated according to specific requirements and algorithms. The purpose of this calculation is to adjust the third calculated value based on the second calculated value and the correction value for subsequent bright and dark line correction.

[0098] Step S34: Multiply the third calculated value by the target correction function value to obtain a fourth calculated value.

[0099] In this step, multiply the third calculated value by the target correction function value to obtain a fourth calculated value. The formula is expressed as: Fourth calculated value = Third calculated value * Target correction function value.

[0100] In the embodiments of the present application, the fourth calculated value can be expressed as: where f(d, num) is the target correction function value.

[0101] In this step, through this calculation, a fourth calculated value can be obtained for use in the subsequent bright and dark line correction process. The target correction function value is determined according to the goals and requirements of the bright and dark line correction. It can be a fixed value or a dynamic value calculated according to a specific algorithm. The purpose of this calculation is to adjust the third calculated value according to the target correction function for use in the subsequent bright and dark line correction.

[0102] Step S35: Add 1 to the fourth calculated value to obtain the gap adjustment coefficient of the adjustment unit.

[0103] In this step, add 1 to the fourth calculated value to obtain the gap adjustment coefficient of the adjustment unit. The formula is expressed as: Gap adjustment coefficient of the adjustment unit = Fourth calculated value + 1.

[0104] In the embodiments of the present application, the gap adjustment coefficient can be expressed as:

[0105] where

[0106] f(d) is a function of the position distance d of the current adjustment unit from the gap. f(num) is a function of the number num of adjustment units in the current adjustment strategy. is the correction value. f(D1, d, num) is the gap adjustment coefficient.

[0107] In this step, through this calculation, the final gap adjustment coefficient of the adjustment unit can be obtained. This coefficient is used to adjust and correct the gap adjustment in the bright and dark line correction process to achieve the desired bright and dark line effect. The purpose of adding 1 to the fourth calculated value is to ensure that the gap adjustment coefficient of the adjustment unit is always positive to ensure the accuracy and stability of the correction process.

[0108] In these embodiments, through the above steps, the gap adjustment coefficient of the adjustment unit can be calculated based on the target correction function value, the second distance, and the third distance. These calculation steps can be adjusted and optimized according to actual needs and system requirements to ensure obtaining an accurate gap adjustment coefficient to achieve bright and dark line correction.

[0109] Step S4, adjust the display brightness of the adjustment unit based on the gap adjustment coefficient to adjust the sub-pixel display screen.

[0110] In the embodiments of the present application, the method for adjusting the display brightness of the adjustment unit can be determined according to specific requirements and system requirements. As an example, it can be achieved by changing the driving current, adjusting the pixel voltage, or applying a specific correction algorithm.

[0111] In the embodiments of the present application, through the above steps, the display brightness of the adjustment unit is adjusted according to the gap adjustment coefficient, so as to perform bright-dark line correction on the sub-pixel display screen. In this way, the effect of correcting the bright-dark line can be achieved by adjusting the display brightness of the adjustment unit.

[0112] According to the bright-dark line correction method provided by the embodiments of the present application, by obtaining the first distance between the adjustment unit on one side of the gap and the gap in the sub-pixel display screen, the second distance between two adjacent sub-pixels in the same row of sub-pixels, the third distance between the target sub-pixels on both sides of the gap, and the total number of adjustment units on both sides of the gap, where the adjustment unit at least includes: two sub-pixels, and the target sub-pixel is the sub-pixel in the same row and closest to the gap, determining the target correction function value based on the first distance and the total number of adjustment units, determining the gap adjustment coefficient of the adjustment unit based on the target correction function value, the second distance, and the third distance, and adjusting the display brightness of the adjustment unit based on the gap adjustment coefficient to adjust the sub-pixel display screen. In this way, the bright-dark line of the sub-pixel display screen can be corrected.

[0113] According to the present application, the target correction function value and the gap adjustment coefficient can be determined according to different distances and the number of adjustment units, so as to realize the bright-dark line correction of the sub-pixel display screen. This method can improve the display consistency and detail performance. For example, when adjusting the brightness of sub-pixels, it is necessary to ensure that the overall spliced image is visually continuous without breaks, presenting continuous and consistent image content. This may involve non-uniform brightness adjustment of the sub-pixels on both sides of the gap.

[0114] In some embodiments, step S2, determining the target correction function value based on the first distance and the total number of adjustment units, includes:

[0115] Step S21, obtain the pre-established correspondence table, and each group of correspondences in the correspondence table includes: the correspondence between the distance, the total number of adjustment units, and the correction function value, where the distance is used to represent the distance between the adjustment unit and the gap.

[0116] Table 1 is a schematic table of a correspondence table provided by the embodiments of the present application. As shown in Table 1:

[0117]

[0118] In this step, the correspondence table is pre-established based on experimental data, and each set of correspondences describes the distance between the adjustment unit and the slit. The purpose of the correspondence table is to correspond different distances and the total number of adjustment units to appropriate correction function values to achieve the effect of adjusting the bright and dark lines according to the actual situation.

[0119] In this step, through the records in the correspondence table, appropriate distances and the total number of adjustment units can be matched according to the actual situation to obtain the corresponding correction function values for the bright and dark line correction process in the subsequent steps.

[0120] In some embodiments, the correspondence table includes: a first correspondence and a second correspondence. The adjustment units corresponding to the distances in the first correspondence are on one side of the slit, and the adjustment units corresponding to the distances in the second correspondence are on the other side of the slit. The sum of all the correction function values corresponding to the first correspondence is equal to 0.5, and the sum of all the correction function values corresponding to the second correspondence is equal to 0.5. In the case where the distance in the target first correspondence is equal to the distance in the target second correspondence, the correction function value corresponding to the target first correspondence is equal to that of the target second correspondence. It should be noted that the slit is located between adjacent sub-pixels being spliced, and one side and the other side of the slit belong to the opposite sides of the slit, and the corresponding adjustment units are located on two adjacent sub-pixels.

[0121] Step S22: Match the first distance and the total number of adjustment units with the distances and the total number of adjustment units in each set of correspondences to obtain a matching result.

[0122] In this step, through the matching, a matching result can be obtained, that is, the correspondence that best matches the first distance and the total number of adjustment units is found.

[0123] In this step, step S22 specifically may include the following steps:

[0124] Obtain the first distance and the total number of adjustment units.

[0125] Traverse each record in the correspondence table.

[0126] For each record, compare the distance and the total number of adjustment units therein with the first distance and the total number of adjustment units. As an example, if a matching distance and total number of adjustment units are found, that is, the distance and the total number of adjustment units in the record are exactly the same as the first distance and the total number of adjustment units, then the matching is successful. If multiple matching records are found, the closest one or other specified selection strategies can be selected. If no matching record is found, other strategies may need to be adopted or default values may be used.

[0127] The matching result is the record that matches the first distance and the total number of adjustment units, and this record contains the corresponding correction function value. The matching result will be used in the subsequent bright and dark line correction process to determine the target correction function value.

[0128] Step S23, determine the target correspondence based on the matching result.

[0129] In this step, the matching result is the record that matches the first distance and the total number of adjustment units found in step S22, where the record contains the corresponding correction function value.

[0130] Based on the matching result, the target correspondence can be determined, that is, determine the correction function value corresponding to the distance between the adjustment unit and the slit.

[0131] Based on the determination of the target correspondence, it can be ensured that during the bright and dark line correction process, the appropriate correction function value is selected according to the actual situation to achieve the desired bright and dark line effect.

[0132] Step S24, determine the correction function value in the target correspondence as the target correction function value.

[0133] In this step, the target correspondence is determined based on the matching result in step S23, which contains the distance between the adjustment unit and the slit and the corresponding correction function value.

[0134] Determining the correction function value in the target correspondence as the target correction function value means using this correction function value as the target value in the correction process. This target value will be used in the subsequent bright and dark line correction process to adjust the bright and dark line effect.

[0135] In this step, by determining the correction function value in the target correspondence as the target correction function value, it can be ensured that the correct target value is used in the correction process to achieve accurate and stable bright and dark line correction.

[0136] In these embodiments, according to the pre-established correspondence table, by matching and determining the correspondence, the appropriate correction function value can be obtained to achieve the target effect of bright and dark line correction.

[0137] In some embodiments, in step S22, matching the first distance, the total number of adjustment units with the distance and the total number of adjustment units in each group of correspondences includes:

[0138] Step S221, calculate the similarity between the first distance, the total number of adjustment units and the distance, the total number of adjustment units in each group of correspondences.

[0139] In this step, the similarity is used to measure the similarity between the first distance, the total number of adjustment units, and the distance and the total number of adjustment units in each group of corresponding relationships. The similarity calculation method can be, for example, Euclidean distance, cosine similarity, etc. Based on the similarity calculation, it is beneficial to find the most matching combination according to the actual situation for bright and dark line correction.

[0140] Step S222, perform matching based on the similarity.

[0141] In this step, according to the calculated similarity value, a matching process is carried out to find the most matching combination. In this way, the appropriate correction function value can be determined for subsequent calculation of the gap adjustment coefficient.

[0142] In this step, by calculating the similarity, the first distance and the total number of adjustment units can be matched with the distance and the total number of adjustment units in each group of corresponding relationships. The goal of the matching is to find the corresponding relationship with the highest similarity to the first distance and the total number of adjustment units.

[0143] In these embodiments, through these two steps, the similarity between the first distance and the total number of adjustment units and the distance and the total number of adjustment units in each group of corresponding relationships can be calculated, and matching is performed based on the similarity. The matching result will be used in the subsequent bright and dark line correction process to determine the target corresponding relationship and the target correction function value. In this way, it can be ensured that the appropriate corresponding relationship and correction function value are selected according to the actual situation to achieve an accurate bright and dark line correction effect.

[0144] In some embodiments, in step S1, obtain the first distance between the adjustment unit on one side of the gap and the gap in the sub-pixel display screen, the second distance between two adjacent sub-pixels in the same row of sub-pixels, the third distance between the target sub-pixels on both sides of the gap, and the total number of adjustment units on both sides of the gap, where the adjustment unit includes at least: two sub-pixels, and the target sub-pixel is the sub-pixel in the same row and closest to the gap, including:

[0145] Step S11, collect the image information of the sub-pixel display screen.

[0146] In this step, the image information of the sub-pixel display screen can be obtained through a corresponding sensor or device for subsequent analysis and processing. As an example, the image information of the sub-pixel display screen can be obtained through a camera, a scanner, or other image acquisition devices. The collected image information will include details such as sub-pixels and gaps on the sub-pixel display screen for subsequent processing and analysis.

[0147] In this step, the collected image information will be used for operations such as identifying sub-pixels and gaps, dividing adjustment units, and determining the distance and number between the adjustment unit and the gap.

[0148] Step S12: Identify sub-pixels and gaps in the sub-pixel display based on the image information.

[0149] In this step, image processing and computer vision techniques can be used to identify sub-pixels and gaps in the sub-pixel display.

[0150] In this step, step S12 includes the following sub-steps:

[0151] Preprocessing: Preprocess the collected image, including operations such as denoising, enhancing contrast, and edge detection, to better identify sub-pixels and gaps.

[0152] Feature extraction: Use image processing algorithms to extract features in the image, such as color, shape, texture, etc., to distinguish sub-pixels and gaps.

[0153] Segmentation: Use image segmentation techniques to segment sub-pixels and gaps in the image for subsequent identification and analysis.

[0154] Detection and recognition: Use computer vision algorithms to detect and recognize sub-pixels and gaps in the image, and different brightness, contrast, and angle situations may need to be considered.

[0155] Through the above steps, the operation of identifying sub-pixels and gaps in the sub-pixel display based on the image information can be achieved, providing a necessary data basis for subsequent analysis and processing.

[0156] Step S13: Divide on both sides of the gap with at least two sub-pixels as one adjustment unit to obtain a division result.

[0157] In this step, step S13 may include the following steps:

[0158] Sub-pixel grouping: Group the identified sub-pixels according to the specified grouping method to ensure that each adjustment unit contains at least two sub-pixels.

[0159] Division on both sides of the gap: According to the structure and layout of the sub-pixel display, divide the grouped sub-pixels on both sides of the gap to ensure that each adjustment unit is located on one side of the gap.

[0160] Obtain the division result: Record the position of each adjustment unit and the sub-pixels it contains to obtain the division result for subsequent processing and analysis.

[0161] In this step, through the above steps, it is possible to divide on both sides of the gap with at least two sub-pixels as one adjustment unit and obtain the division result. The result of this step will provide the necessary data basis for the subsequent determination of the number of adjustment units and distance calculation. This step divides the sub-pixels in the sub-pixel display screen into adjustment units for subsequent calculation of the first distance, second distance, and third distance.

[0162] Step S14, determine the number of adjustment units on both sides of the gap based on the division result, where the number of adjustment units on both sides of the gap is the same.

[0163] In this step, determine the number of adjustment units on both sides of the gap according to the division result to ensure that the number of adjustment units on both sides of the gap is the same.

[0164] In this step, step S14 may include the following steps:

[0165] Count adjustment units: According to the division result, count the number of adjustment units included on both sides of the gap.

[0166] Adjustment unit matching: Ensure that the number of adjustment units on both sides of the gap is the same. If differences are found, it may be necessary to adjust the division result or perform additional processing to match the number of adjustment units.

[0167] Determine the number: Finally, determine the number of adjustment units on both sides of the gap and record it for subsequent use.

[0168] In this step, through the above steps, it is possible to determine the number of adjustment units on both sides of the gap based on the division result and ensure that they are the same. The result of this step will provide the necessary data basis for the subsequent distance calculation and adjustment unit analysis.

[0169] Step S15, determine the total number of adjustment units on both sides of the gap based on the number of adjustment units on both sides of the gap.

[0170] In this step, it is necessary to determine the total number of adjustment units on both sides of the gap based on the number of adjustment units on both sides of the gap. This step can be completed through a simple addition operation, that is, adding the number of adjustment units on both sides of the gap to determine the total number of adjustment units on both sides of the gap.

[0171] In this step, step S15 specifically includes the following steps:

[0172] Obtain the number of adjustment units on both sides of the gap.

[0173] Add the number of adjustment units on both sides of the gap to obtain the total number of adjustment units on both sides of the gap.

[0174] Record the total number of adjustment units on both sides of the gap for subsequent use.

[0175] In this step, through the above steps, the total number of adjustment units on both sides of the gap can be determined based on the number of adjustment units on both sides of the gap. The result of this step will provide the necessary data basis for subsequent distance calculation and adjustment unit analysis.

[0176] Step S16, determine the first distance, the second distance, and the third distance based on the adjustment unit and the gap.

[0177] In this step, according to the positional relationship between the adjustment unit and the gap, determine the first distance, the second distance, and the third distance, providing the necessary parameters for subsequent bright and dark line correction.

[0178] In this step, step S16 specifically includes the following steps:

[0179] First distance: The first distance usually refers to the distance between adjacent adjustment units and can be determined by measuring the width of the adjustment unit.

[0180] Second distance: The second distance usually refers to the width of the gap between adjacent adjustment units and can also be determined by measurement.

[0181] Third distance: The third distance usually refers to the distance between three adjacent adjustment units, including two adjustment units and the gap between them, and can also be determined by measurement.

[0182] Record the measurement results: Record the measured first distance, second distance, and third distance for subsequent use.

[0183] In this step, through the above steps, the first distance, the second distance, and the third distance can be determined based on the adjustment unit and the gap. The determination of these distances will help analyze and process the structure and layout of the sub-pixel display screen subsequently.

[0184] In these embodiments, the above steps help to obtain the distance and number information between the adjustment unit on one side of the gap and the gap in the sub-pixel display screen, providing the necessary data basis for the subsequent steps of the bright and dark line correction method.

[0185] Compare the adjustment coefficient determined by using the bright and dark line correction method provided in the embodiments of the present application with the adjustment coefficient determined by using the real pixel adjustment method. Table 2 is a comparison schematic table of an adjustment coefficient provided in the embodiments of the present application, where the position takes the first row color in the 4-light sub-pixel screen body in the above embodiments as an example, such as Figure 2 as shown

[0186]

[0187] Judging from the data, the brightness adjustment of this solution is more delicate, and the visual effect on the human eye is better. In terms of color cast, since the RGGB sub-pixels on both sides will be adjusted, the color effect will also be more consistent.

[0188] Based on the foregoing embodiments, an embodiment of the present application provides a bright and dark line correction device. Each module included in the device and each unit included in each module can be implemented by a processor in a computer device; of course, it can also be implemented by specific logic circuits. During implementation, the processor can be a central processing unit (CPU, Central Processing Unit), a microprocessor (MPU, Microprocessor Unit), a digital signal processor (DSP, Digital Signal Processing), or a field programmable gate array (FPGA, Field Programmable Gate Array), etc.

[0189] An embodiment of the present application provides a bright and dark line correction device. Figure 6 FIG. is a schematic structural diagram of a bright and dark line correction device provided by an embodiment of the present application. As Figure 6 shown, the bright and dark line correction device 600 includes:

[0190] A first acquisition module 601, configured to acquire a first distance between an adjustment unit on one side of a gap and the gap in a sub-pixel display screen, a second distance between two adjacent sub-pixels in the same row of sub-pixels, a third distance between target sub-pixels on both sides of the gap, and a total number of adjustment units on both sides of the gap, where the target sub-pixel is the sub-pixel that is in the same row and is closest to the gap;

[0191] A first determination module 602, configured to determine a target correction function value based on the first distance and the total number of adjustment units;

[0192] A second determination module 603, configured to determine a gap adjustment coefficient of the adjustment unit based on the target correction function value, the second distance, and the third distance;

[0193] An adjustment module 604, configured to adjust the display brightness of the adjustment unit based on the gap adjustment coefficient to adjust the sub-pixel display screen.

[0194] In some embodiments, the second determination module includes:

[0195] A first calculation unit, configured to divide the third distance by the second distance to obtain a first calculation value;

[0196] A second calculation unit, configured to subtract 1 from the first calculation value to obtain a second calculation value;

[0197] A third calculation unit, configured to add a correction value to the second calculated value to obtain a third calculated value;

[0198] A fourth calculation unit, configured to multiply the third calculated value by a target correction function value to obtain a fourth calculated value;

[0199] A fifth calculation unit, configured to add 1 to the fourth calculated value to obtain a gap adjustment coefficient of the adjustment unit.

[0200] In some embodiments, the first determination module includes:

[0201] A first acquisition unit, configured to acquire a pre-established correspondence table, where each group of correspondences in the correspondence table includes: the correspondence between distance, the total number of adjustment units, and the correction function value, where the distance is used to represent the distance between the adjustment unit and the gap;

[0202] A matching unit, configured to match the first distance, the total number of adjustment units with the distance and the total number of adjustment units in each group of correspondences to obtain a matching result;

[0203] A first determination unit, configured to determine a target correspondence based on the matching result;

[0204] A second determination unit, configured to determine the correction function value in the target correspondence as the target correction function value.

[0205] In some embodiments, the matching unit includes:

[0206] A sixth calculation subunit, configured to calculate the similarity between the first distance, the total number of adjustment units and the distance, the total number of adjustment units in each group of correspondences;

[0207] A matching subunit, configured to perform matching based on the similarity.

[0208] In some embodiments, the correspondence table includes: a first correspondence and a second correspondence. The adjustment units corresponding to the distance in the first correspondence are on one side of the gap, and the adjustment units corresponding to the distance in the second correspondence are on the other side of the gap. The sum of all correction function values corresponding to the first correspondence is equal to 0.5, and the sum of all correction function values corresponding to the second correspondence is equal to 0.5. When the distance in the target first correspondence is equal to the distance in the target second correspondence, the correction function value corresponding to the target first correspondence is equal to the correction function value corresponding to the target second correspondence.

[0209] In some embodiments, the first acquisition module includes:

[0210] An acquisition unit for acquiring image information of the sub-pixel display screen;

[0211] An identification unit for identifying sub-pixels and gaps in the sub-pixel display screen based on the image information;

[0212] A division unit for dividing on both sides of the gap with at least two sub-pixels as one adjustment unit to obtain a division result;

[0213] A third determination unit for determining the number of adjustment units on both sides of the gap based on the division result, wherein the number of adjustment units on both sides of the gap is the same;

[0214] A fourth determination unit for determining the total number of adjustment units on both sides of the gap based on the number of adjustment units on both sides of the gap;

[0215] A fifth determination unit for determining the first distance, the second distance, and the third distance based on the adjustment unit and the gap.

[0216] It should be noted that in the embodiments of the present application, if the above bright and dark line correction method is implemented in the form of software function modules and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present application essentially or the part that contributes to the prior art can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods of the various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read Only Memory), magnetic disks, or optical discs that can store program codes. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.

[0217] Correspondingly, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, characterized in that when the computer program is executed by a processor, the steps in the bright and dark line correction method provided in the above embodiments are implemented.

[0218] An embodiment of the present application provides an electronic device. Figure 7 It is a schematic diagram of the composition structure of the electronic device provided in the embodiment of the present application, as Figure 7As shown, the electronic device 700 includes: a processor 701, at least one communication bus 5702, a user interface 703, at least one external communication interface 704, and a memory 705. Among them, the communication bus 702 is configured to implement connection communication between these components. Among them, the user interface 703 may include a display screen, and the external communication interface 704 may include a standard wired interface and a wireless interface. The processor 701 is configured to execute a program of the bright and dark line correction method stored in the memory to implement the steps in the bright and dark line correction method provided in the above embodiments.

[0219] It should be noted here that: the descriptions of the above storage medium and device embodiments are similar to those of the above method embodiments and have beneficial effects similar to those of the method embodiments. For the technical details not disclosed in the storage medium and device embodiments of the present application, please refer to the descriptions of the method embodiments of the present application for understanding.

[0220] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the appearances of "in one embodiment" or "in an embodiment" throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that in various embodiments of the present application, the order numbers of the above processes do not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The serial numbers of the embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.

[0221] It should be noted that in this article, the term "comprising", "including" or any other variant thereof is intended to cover a non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the presence of additional identical elements in the process, method, article or device including the element.

[0222] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the various components controlled or discussed can be through some interfaces. The indirect coupling or communication connection of devices or units can be electrical, mechanical, or other forms.

[0223] The units described above as separate components may or may not be physically separated. The components controlled as units may or may not be physical units. They can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0224] In addition, each functional unit in the embodiments of the present application can be all integrated in a processing unit, or each unit can be separately used as a unit, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware, or in the form of a combination of hardware and software functional units.

[0225] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above method embodiments. The foregoing storage medium includes various media that can store program codes, such as removable storage devices, read-only memories (ROMs), magnetic disks, or optical discs.

[0226] Alternatively, if the above-mentioned integrated units of the present application are implemented in the form of software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present application essentially or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a controller to execute all or part of the methods of the various embodiments of the present application. The foregoing storage medium includes various media that can store program codes, such as removable storage devices, ROMs, magnetic disks, or optical discs.

[0227] As described above, it is only the implementation manner of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed by this application can easily think of changes or substitutions, which should all be covered within the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims

1. A bright and dark line correction method, characterized in that Including: Obtain the first distance between the adjustment unit on one side of the gap and the gap in the sub-pixel display screen, the second distance between two adjacent sub-pixels in the same row of sub-pixels, the third distance between the target sub-pixels on both sides of the gap, and the total number of adjustment units on both sides of the gap. Wherein, the adjustment unit at least includes: two sub-pixels, and the target sub-pixel is the sub-pixel in the same row and closest to the gap; Determine the target correction function value based on the first distance and the total number of adjustment units; Determine the gap adjustment coefficient of the adjustment unit based on the target correction function value, the second distance, and the third distance; Adjust the display brightness of the adjustment unit based on the gap adjustment coefficient to adjust the sub-pixel display screen.

2. The method according to claim 1, wherein The determining the gap adjustment coefficient of the adjustment unit based on the target correction function value, the second distance, and the third distance includes: Dividing the third distance by the second distance to obtain a first calculation value; Subtracting 1 from the first calculation value to obtain a second calculation value; Adding a correction value to the second calculation value to obtain a third calculation value; Multiplying the third calculation value by the target correction function value to obtain a fourth calculation value; Adding 1 to the fourth calculation value to obtain the gap adjustment coefficient of the adjustment unit.

3. The method according to claim 1, characterized in that, The determining the target correction function value based on the first distance and the total number of adjustment units includes: Obtain a pre-established correspondence table. Each group of correspondences in the correspondence table includes: the correspondence between the distance, the total number of adjustment units, and the correction function value. Wherein, the distance is used to represent the distance between the adjustment unit and the gap; Match the first distance, the total number of adjustment units with the distance and the total number of adjustment units in each group of correspondences to obtain a matching result; Determine the target correspondence based on the matching result; Determine the correction function value in the target correspondence as the target correction function value.

4. The method according to claim 3, characterized in that, The matching the first distance, the total number of adjustment units with the distance and the total number of adjustment units in each group of correspondences includes: Calculate the similarity between the first distance, the total number of adjustment units and the distance, the total number of adjustment units in each group of correspondences; Perform matching based on the similarity.

5. The method according to claim 3, characterized in that, The correspondence table includes: a first correspondence and a second correspondence. The adjustment units corresponding to the distance in the first correspondence are on one side of the gap, and the adjustment units corresponding to the distance in the second correspondence are on the other side of the gap. The sum of all correction function values corresponding to the first correspondence is equal to 0.5, and the sum of all correction function values corresponding to the second correspondence is equal to 0.

5. When the distance in the target first correspondence is equal to the distance in the target second correspondence, the correction function value corresponding to the target first correspondence is equal to the correction function value corresponding to the target second correspondence.

6. The method according to claim 1, wherein Obtaining a first distance between an adjustment unit on one side of a gap in the sub-pixel display screen and the gap, a second distance between two adjacent sub-pixels in the same row of sub-pixels, a third distance between target sub-pixels on both sides of the gap, and the total number of adjustment units on both sides of the gap, where the adjustment unit includes at least: two sub-pixels, and the target sub-pixels are the sub-pixels in the same row and closest to the gap, including: Collecting image information of the sub-pixel display screen; Identifying sub-pixels and gaps in the sub-pixel display screen based on the image information; Dividing on both sides of the gap with at least two sub-pixels as one adjustment unit to obtain a division result; Determining the number of adjustment units on both sides of the gap based on the division result, where the number of adjustment units on both sides of the gap is the same; Determining the total number of adjustment units on both sides of the gap based on the number of adjustment units on both sides of the gap; Determining the first distance, the second distance, and the third distance based on the adjustment unit and the gap.

7. A bright and dark line correction device, characterized in that, Including: A first acquisition module for obtaining a first distance between an adjustment unit on one side of a gap in the sub-pixel display screen and the gap, a second distance between two adjacent sub-pixels in the same row of sub-pixels, a third distance between target sub-pixels on both sides of the gap, and the total number of adjustment units on both sides of the gap, where the target sub-pixels are the sub-pixels in the same row and closest to the gap; A first determination module for determining a target correction function value based on the first distance and the total number of adjustment units; A second determination module for determining a gap adjustment coefficient of the adjustment unit based on the target correction function value, the second distance, and the third distance; An adjustment module for adjusting the display brightness of the adjustment unit based on the gap adjustment coefficient to adjust the sub-pixel display screen.

8. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the bright and dark line correction method according to any one of claims 1 to 6.

9. A sub-pixel display screen, characterized in that, Including: The electronic device according to claim 8.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the bright and dark line correction method according to any one of claims 1 to 6.