CN112201199A - LED splicing gap bright and dark line correction method and device, storage medium and terminal - Google Patents

LED splicing gap bright and dark line correction method and device, storage medium and terminal Download PDF

Info

Publication number
CN112201199A
CN112201199A CN202011140465.9A CN202011140465A CN112201199A CN 112201199 A CN112201199 A CN 112201199A CN 202011140465 A CN202011140465 A CN 202011140465A CN 112201199 A CN112201199 A CN 112201199A
Authority
CN
China
Prior art keywords
data
correction
column
steps
correcting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011140465.9A
Other languages
Chinese (zh)
Other versions
CN112201199B (en
Inventor
郑喜凤
毛新越
陈宇
苗静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ji Hua Laboratory
Original Assignee
Ji Hua Laboratory
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ji Hua Laboratory filed Critical Ji Hua Laboratory
Priority to CN202011140465.9A priority Critical patent/CN112201199B/en
Publication of CN112201199A publication Critical patent/CN112201199A/en
Application granted granted Critical
Publication of CN112201199B publication Critical patent/CN112201199B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention discloses a method and a device for correcting bright and dark lines of an LED splicing gap, a storage medium and a terminal, wherein the splicing gap is corrected through a correction coefficient corresponding to the splicing gap, so that the phenomenon that the bright and dark lines of vision exist among display units (modules or boxes) of an LED display screen during watching caused by the splicing gap due to the processing precision, the assembling precision and the like of the display units (modules or boxes) can be quickly and accurately improved; the scheme is not influenced by the environment, the visual bright and dark lines at the joints can be corrected quickly at the same time, and the time for manually correcting the gaps of the display units (modules or boxes) is saved; the scheme adopts a Gaussian filtering method, and the quality of the gap splicing effect can be judged by calculating the number of steps of a smooth one-dimensional curve; by extracting the mean value of the pixel gray levels and calculating the correction coefficient, the acquisition error can be reduced, and the problems of over correction or under correction can be avoided.

Description

LED splicing gap bright and dark line correction method and device, storage medium and terminal
Technical Field
The invention relates to the technical field of LED display screen acquisition and correction, in particular to a method and a device for correcting bright and dark lines of an LED splicing gap, a storage medium and a terminal.
Background
An LED display screen is generally formed by splicing a plurality of display units (modules or boxes). Because display element (module or box) machining precision and equipment precision have some restrictions, the concatenation space between adjacent display element (module or box) probably with the inside pixel interval inconsistency of display element (module or box), this makes people can feel to have bright dark line in screen concatenation gap department when watching the image. When the distance between the pixels is large, the pixels are not easy to perceive, but the phenomenon is particularly obvious along with the gradual reduction of the distance between the pixels, and the display effect is seriously influenced.
Therefore, the prior art still needs to be improved and developed.
Disclosure of Invention
The invention aims to provide a method, a device, a storage medium and a terminal for correcting bright and dark lines of an LED splicing gap, and aims to solve the problem that the display effect is influenced by bright and dark lines at the splicing gap of a screen due to the fact that the splicing gap between adjacent display units of an LED display screen is inconsistent with the distance between pixels inside the display units.
The technical scheme of the invention is as follows: a method for correcting bright and dark lines of an LED splicing gap specifically comprises the following steps:
correcting the red, green and blue three primary colors of the LED display screen respectively to obtain three groups of correction coefficients;
selecting any primary color, and acquiring a gray image of bright and dark lines of a splicing gap under the primary color according to a corresponding correction coefficient;
one-dimensional Gaussian filtering is carried out on the gray level image one by one in a row unit to obtain line data smoothed by the Gaussian filtering, and each line data has a plurality of obvious steps, so that all steps in all the line data are obtained;
performing one-dimensional Gaussian filtering on the gray level image one by taking the column as a unit to obtain column data smoothed by the Gaussian filtering, wherein each column data has a plurality of obvious steps, so that all steps in all column data are obtained;
respectively extracting all the step data of each smoothed line data, and solving the correction coefficients of all the step data of each line data according to the step data;
respectively extracting all the step data of each smoothed row data, and solving the correction coefficients of all the step positions of each row data according to the step data;
and respectively correcting the correction coefficients of the pixels at the corresponding positions of the LED display screen by using the correction coefficients at all the step positions of each row of data and all the step positions of each column of data to obtain corrected correction coefficients under corresponding primary colors, thereby obtaining corrected correction coefficients under other primary colors.
The LED splicing gap bright and dark line correction method is characterized in that the red, green and blue three primary colors of the LED display screen are respectively corrected, and the red, green and blue three primary colors of the LED display screen are respectively corrected in a darkroom; or the red, green and blue three primary colors of the LED display screen are respectively corrected in a non-darkroom but stable environment.
The method for correcting the bright and dark lines of the LED splicing gap comprises the following specific steps of selecting any primary color, and obtaining a gray level image of the bright and dark lines of the splicing gap under the primary color according to a corresponding correction coefficient: after the LED display screen finishes the correction of the three primary colors, selecting any primary color, generating a correction coefficient graph by applying the correction coefficient of the corresponding primary color, and displaying the coefficient graph to realize the preview of the correction effect; and obtaining a gray image with bright and dark lines of the splicing gap through the preview image.
The LED splicing gap bright and dark line correction method is characterized in that one-dimensional Gaussian filtering is performed on the gray level image one by one in a row unit, one-dimensional Gaussian filtering is performed on the gray level image one by one in a column unit, and the one-dimensional Gaussian filtering formula is as follows:
Figure 853527DEST_PATH_IMAGE001
wherein
Figure 505088DEST_PATH_IMAGE002
Is the variance of the gaussian distribution and,
Figure 81563DEST_PATH_IMAGE003
is the standard deviation of the gaussian distribution.
The method for correcting the bright and dark lines of the LED splicing gap is characterized in that correction coefficients of all step positions of each line of data are obtained according to step position data, wherein a calculation formula of the correction coefficients is as follows:
Figure 825573DEST_PATH_IMAGE004
wherein,
Figure 436683DEST_PATH_IMAGE005
for the correction factor at one of the steps in each row of data,
Figure 727987DEST_PATH_IMAGE006
the gray value at the step in each line data;
Figure 854075DEST_PATH_IMAGE007
is prepared by reacting with
Figure 849713DEST_PATH_IMAGE006
Corresponding steps are positioned in the gray average values of a plurality of pixels in front and at the back in the same row of data;
Figure 253012DEST_PATH_IMAGE008
for each line of data
Figure 544579DEST_PATH_IMAGE008
And (4) a step.
The method for correcting the bright and dark lines of the LED splicing gap is characterized in that correction coefficients of all step positions of each column of data are obtained according to step position data, wherein a calculation formula of the correction coefficients is as follows:
Figure 892383DEST_PATH_IMAGE009
wherein,
Figure 363816DEST_PATH_IMAGE010
for the correction factor at one of the steps in each column data,
Figure 683939DEST_PATH_IMAGE011
the gray value at the step in each column data;
Figure 972838DEST_PATH_IMAGE012
is prepared by reacting with
Figure 512666DEST_PATH_IMAGE011
Corresponding steps are located in the gray level mean values of a plurality of pixels in front of and behind the same line data;
Figure 522210DEST_PATH_IMAGE013
for each column data
Figure 962419DEST_PATH_IMAGE013
And (4) a step.
The method for correcting the bright and dark lines of the LED splicing gap comprises the following steps of correcting correction coefficients of all step positions of each row of data and correction coefficients of all step positions of each column of data respectively to correction coefficients of pixels at corresponding positions of an LED display screen, wherein the specific process comprises the following steps: respectively multiplying the correction coefficient of one step of each line of data by the correction coefficient of the line pixel at the corresponding position of the LED display screen to obtain a new correction coefficient, and correcting the line pixel; and respectively multiplying the correction coefficient at one step of each column data by the correction coefficient of the column pixel at the corresponding position of the LED display screen to obtain a new correction coefficient, and correcting the column pixel.
A device adopting the method for correcting the bright and dark lines of the LED splicing gap comprises the following steps:
the correction coefficient acquisition module is used for respectively correcting the three primary colors of red, green and blue of the LED display screen to obtain three groups of correction coefficients;
the gray level image acquisition module selects any primary color and acquires a gray level image with bright and dark lines of a splicing gap under the primary color according to the corresponding correction coefficient;
the line step acquisition module is used for performing one-dimensional Gaussian filtering on the gray level image one by one in a line unit to obtain line data smoothed by the Gaussian filtering, wherein the line data has a plurality of obvious steps, namely the number of the line splicing gaps to be corrected, so that all steps in all the line data are obtained;
the row step acquisition module is used for performing one-dimensional Gaussian filtering on the gray level image one by one in a row unit to obtain row data smoothed by the Gaussian filtering, wherein the row data has a plurality of obvious steps, namely the number of the splicing gaps of the rows to be corrected, so that all the steps in all the row data are obtained;
the line correction coefficient calculation module is used for respectively extracting all the step data of each smoothed line data and calculating the correction coefficients of all the step positions of each line data according to the step data;
the column correction coefficient calculation module is used for respectively extracting all the step data of each smoothed column data and calculating the correction coefficient of all the step positions of each column data according to the step data;
and the correction coefficient correction module is used for correcting the correction coefficients at all the steps of each row of data and all the steps of each column of data respectively to the correction coefficients of the corresponding position pixels to obtain the corrected correction coefficients under the corresponding primary colors.
A terminal comprising a processor and a memory, the memory having stored therein a computer program, the processor being adapted to perform the method of any preceding claim by invoking the computer program stored in the memory.
A storage medium having stored therein a computer program which, when run on a computer, causes the computer to perform any of the methods described above.
The invention has the beneficial effects that: the invention provides a method, a device, a storage medium and a terminal for correcting bright and dark lines of an LED splicing gap, wherein the splicing gap is corrected by a correction coefficient corresponding to the splicing gap, so that the phenomenon that the bright and dark lines of vision exist among display units (modules or boxes) of an LED display screen during watching caused by the splicing gap due to the processing precision, the assembling precision and the like of the display units (modules or boxes) can be quickly and accurately improved; the scheme is not influenced by the environment, the visual bright and dark lines at the joints can be corrected quickly at the same time, and the time for manually correcting the gaps of the display units (modules or boxes) is saved; the scheme adopts a Gaussian filtering method, and the quality of the gap splicing effect can be judged by calculating the number of steps of a smooth one-dimensional curve; by extracting the mean value of the pixel gray levels and calculating the correction coefficient, the acquisition error can be reduced, and the problems of over correction or under correction can be avoided.
Drawings
FIG. 1 is a flowchart of steps of a method for correcting bright and dark lines of an LED splicing gap according to the present invention.
Fig. 2 is a coefficient map corrected in step S1 in the present invention.
FIG. 3 is a gray scale image with visually apparent bright and dark lines at the corrected patchwork in the present invention.
Fig. 4 is a schematic diagram of row data after one-dimensional gaussian filtering in units of rows in the present invention.
Fig. 5 is a schematic diagram of column data after one-dimensional gaussian filtering in units of columns according to the present invention.
Fig. 6 is a coefficient map after correction in the present invention.
FIG. 7 is a gray scale image with significantly improved dark lines at the patchwork after correction in the present invention.
Fig. 8 is a schematic view of the apparatus of the present invention.
Fig. 9 is a schematic diagram of a terminal in the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
As shown in fig. 1, a method for correcting a visual bright and dark line of a splicing gap between LED display screen display units (modules or boxes), wherein the LED display screen display units are modules or boxes, specifically comprises the following steps:
s1, correcting the three primary colors of red, green and blue of the LED display screen in a darkroom (the darkroom refers to a room with a shading device) or a non-darkroom (the non-darkroom refers to a room without a shading device) but stable environment to obtain three groups of correction coefficients; the LED display screen display unit is provided with u x v pixels, the pixels refer to lamp bead pixels, and red, green and blue are pixels.
S2, selecting any primary color during the calibration of the three primary colors of red, green, and blue of the LED display screen, automatically applying the corresponding calibration coefficient to generate a calibration coefficient map (as shown in fig. 2, the coefficient map to be processed includes three colors of red, green, and blue, and a monochromatic coefficient map needs to be extracted), and displaying the coefficient map on the screen to implement the calibration effect preview. Then, the preview image is photographed by a camera to obtain a gray image a with seam bright and dark lines, and the seam bright and dark lines are clearly visible (as shown in fig. 3). Setting the number of pixels of A as m × n, m as the number of rows and n as the number of columns; the pixels of the grayscale image a are converted to be in one-to-one correspondence with the display unit pixels u × v of the LED display screen, and the conversion between the pixels of the grayscale image a and the display unit pixels of the LED display screen is a conventional technology, which is not limited herein.
S3, performing one-dimensional gaussian filtering on the grayscale image a in a row unit to obtain m rows of data smoothed by gaussian filtering (as shown in fig. 4, C is a step, and B is a number of pixel grays before and after the step, which need to be averaged), where the one-dimensional gaussian filtering formula is shown in formula (1):
Figure 156640DEST_PATH_IMAGE001
formula (1)
Wherein
Figure 682299DEST_PATH_IMAGE002
Is the variance of the gaussian distribution and,
Figure 495534DEST_PATH_IMAGE003
is the standard deviation of the gaussian distribution.
Let the line data smoothed by Gaussian filtering be
Figure 291714DEST_PATH_IMAGE014
Figure 922416DEST_PATH_IMAGE015
Figure 341896DEST_PATH_IMAGE014
Is a smooth one-dimensional curve and has
Figure 21139DEST_PATH_IMAGE016
The number of distinct steps is such that,
Figure 232677DEST_PATH_IMAGE017
n is the number of gaps to be spliced contained in each row(the splice gap herein refers to a column splice gap),
Figure 473428DEST_PATH_IMAGE016
the value of (a) indicates the number of splicing gaps to be corrected in each row. If it is not
Figure 645783DEST_PATH_IMAGE018
The line of gaps is well spliced without correction; if it is not
Figure 659876DEST_PATH_IMAGE019
It indicates that the splicing gap of each column in the row is poor, and each splicing gap needs to be corrected.
S4, one-dimensional Gaussian filtering is carried out by taking the column as a unit (the one-dimensional Gaussian filtering formula is shown as formula (1)), and n column data which are smoothed by the Gaussian filtering are obtained
Figure 929183DEST_PATH_IMAGE020
(as shown in figure 5) of the drawings,
Figure 777053DEST_PATH_IMAGE021
Figure 499022DEST_PATH_IMAGE020
is a smooth one-dimensional curve and has
Figure 818270DEST_PATH_IMAGE022
The number of distinct steps is such that,
Figure 614187DEST_PATH_IMAGE023
. M is the number of gaps to be spliced contained in each column (where a splice gap refers to a row splice gap),
Figure 757593DEST_PATH_IMAGE022
the value of (a) indicates the number of splicing gaps to be corrected in each column. If it is not
Figure 29174DEST_PATH_IMAGE024
The gap splicing of the row is excellent without repairPositive; if it is not
Figure 355376DEST_PATH_IMAGE025
It indicates that each row gap in the column is poorly spliced and each splice gap needs to be corrected.
S5, extracting each smoothed row of data respectively
Figure 271379DEST_PATH_IMAGE026
The gray value at each step is recorded as
Figure 257789DEST_PATH_IMAGE027
(i.e. there are m x N grey values
Figure 751088DEST_PATH_IMAGE027
)。
And find the same row of data as one of the step positions
Figure 51619DEST_PATH_IMAGE026
A plurality of pixel gray level means before and after the step
Figure 150025DEST_PATH_IMAGE028
Will be
Figure 871119DEST_PATH_IMAGE027
And
Figure 54975DEST_PATH_IMAGE028
the correction coefficient of each splicing gap (column splicing gap) in each row is obtained by substituting the correction coefficient into the formula (2)
Figure 159198DEST_PATH_IMAGE029
Figure 846531DEST_PATH_IMAGE030
Formula (2)
Thus, each splice gap in each row (column splice) is determinedGap) correction factor
Figure 502640DEST_PATH_IMAGE029
S6, obtaining the correction coefficient of each splicing gap (line splicing gap) in each column
Figure 580318DEST_PATH_IMAGE031
Extracting each smoothed column data separately
Figure 329310DEST_PATH_IMAGE032
The gray value at each step is recorded as
Figure 136729DEST_PATH_IMAGE033
(i.e. there are n x M gray values
Figure 698161DEST_PATH_IMAGE033
)。
And find the data in the same column as one of the steps
Figure 528714DEST_PATH_IMAGE032
A plurality of pixel gray level means before and after the step
Figure 37055DEST_PATH_IMAGE034
Will be
Figure 262762DEST_PATH_IMAGE033
And
Figure 870461DEST_PATH_IMAGE034
the correction coefficient of each splicing gap (line splicing gap) in each line is obtained by substituting the correction coefficient into the formula (3)
Figure 250627DEST_PATH_IMAGE035
Figure 359397DEST_PATH_IMAGE036
Formula (3)
The correction factor of each splicing gap (line splicing gap) in each column is obtained
Figure 141409DEST_PATH_IMAGE031
S7, correcting the coefficient
Figure 185588DEST_PATH_IMAGE029
And
Figure 554515DEST_PATH_IMAGE031
the visual correction of the stitching slit is realized by multiplying the correction coefficients respectively, as shown in fig. 6 (fig. 6 is a corrected correction coefficient diagram) and fig. 7 (fig. 7 is a corrected real shooting effect diagram).
Will correct the coefficient
Figure 201397DEST_PATH_IMAGE029
And
Figure 775598DEST_PATH_IMAGE031
multiplying the obtained data by corresponding correction coefficients (the LED display screen display unit has u × v pixels, the A has m × n pixels, and the two pixels are converted and in one-to-one correspondence) respectively to realize visual correction of the splicing gaps, wherein the process is as follows, and correction of the primary color is performed according to the primary color selected in S2:
each will be
Figure 849733DEST_PATH_IMAGE029
Respectively multiplying the correction coefficients of the row pixels of the LED display screen display units at the corresponding positions to obtain new correction coefficients, and correcting the row pixels; each will be
Figure 938911DEST_PATH_IMAGE031
And multiplying the correction coefficients by the row pixels of the LED display screen display units at the corresponding positions respectively to obtain new correction coefficients, and correcting the row pixels.
Therefore, the primary color is corrected, the process is circulated, and the correction is performed under other two primary colors.
According to the method for correcting the visual bright and dark lines of the splicing gap between the display units (modules or boxes) of the LED display screen, the following embodiments are listed for description:
the three primary colors of red, green and blue of the LED display screen are respectively corrected in a darkroom or a non-darkroom but stable environment to obtain three groups of correction coefficients, and the display unit of the LED display screen has u x v pixels.
In the process of correcting the red, green and blue primary colors of the LED display screen, the red primary color is selected, a corresponding correction coefficient is automatically applied to generate a correction coefficient image after the correction is finished, and the correction coefficient image is displayed on the screen to realize the preview of the correction effect. And then, photographing the preview image by using a camera to obtain a gray image A with the splicing seam bright and dark lines which are clearly visible. Let a be 150 × 100 pixels, 150 be the number of rows, and 100 be the number of columns.
One-dimensional Gaussian filtering is carried out on 150 rows one by one to obtain 150
Figure 530430DEST_PATH_IMAGE037
Values, assume each
Figure 319657DEST_PATH_IMAGE037
The number of row splicing gaps to be corrected in each row is 70, namely
Figure 767955DEST_PATH_IMAGE038
=70,
Figure 547693DEST_PATH_IMAGE038
A maximum of 70 column splicing gaps to be corrected.
One-dimensional Gaussian filtering is carried out on 100 rows one by one to obtain 100
Figure 739640DEST_PATH_IMAGE039
Value of each
Figure 881908DEST_PATH_IMAGE039
Wherein the number of the line splicing gaps to be corrected is 120,
Figure 704370DEST_PATH_IMAGE040
a maximum of 120 row-splicing gaps to be corrected.
Record 150 line data
Figure 269606DEST_PATH_IMAGE037
All step data in the values (step data includes position data, gray value, etc.), recording the gray value at step
Figure 61982DEST_PATH_IMAGE041
(i.e. 150 x 70)
Figure 199702DEST_PATH_IMAGE041
) The correction coefficient of each splicing gap (column splicing gap) in each row is obtained by the formula (2)
Figure 255383DEST_PATH_IMAGE042
Figure 603187DEST_PATH_IMAGE044
Thus, 150 × 70 samples were obtained
Figure 74620DEST_PATH_IMAGE042
Record 100 columns of data
Figure 896208DEST_PATH_IMAGE039
All step data in the values (step data includes position data, gray value, etc.), recording the gray value at step
Figure 919527DEST_PATH_IMAGE045
(i.e. 100 x 120)
Figure 629994DEST_PATH_IMAGE045
) The correction coefficient of each splicing gap (line splicing gap) in each column is obtained by the formula (3)
Figure 560910DEST_PATH_IMAGE046
Figure 938802DEST_PATH_IMAGE048
Thus, obtain 100 x 120
Figure 572171DEST_PATH_IMAGE046
Will correct the coefficient
Figure 894568DEST_PATH_IMAGE042
And
Figure 707803DEST_PATH_IMAGE046
multiplying the obtained data to corresponding correction coefficients (m × n pixels, so m × n correction coefficients) respectively to realize visual correction of the splicing seam, wherein the process is as follows:
each will be
Figure 2518DEST_PATH_IMAGE042
Respectively multiplying the correction coefficients by the line pixels at the corresponding positions of the display units of the LED display screen to obtain new correction coefficients, and correcting the line pixels; each will be
Figure 367640DEST_PATH_IMAGE046
And multiplying the correction coefficients by the column pixels at the corresponding positions of the LED display screen display units respectively to obtain new correction coefficients, and correcting the column pixels.
The correction of the red primary color is realized by circulating the above process and performing the correction under the green and blue primary colors.
As shown in fig. 8, an apparatus adopting the method for correcting the visual bright and dark lines of the splicing gap between the display units (modules or boxes) of the LED display screen includes:
the correction coefficient acquisition module 101 is used for respectively correcting the three primary colors of red, green and blue of the LED display screen to obtain three groups of correction coefficients;
the gray level image obtaining module 102 selects any primary color, and obtains a gray level image with a splicing gap bright and dark line under the primary color according to a corresponding correction coefficient;
the line step obtaining module 103 performs one-dimensional gaussian filtering on the grayscale image one by one in a row unit to obtain line data smoothed by the gaussian filtering, where the line data has a plurality of obvious steps, that is, the number of the line splicing gaps to be corrected, so as to obtain all the steps in all the line data;
a column step obtaining module 104, which performs one-dimensional gaussian filtering on the gray level image one by one in a column unit to obtain column data smoothed by the gaussian filtering, where the column data has a plurality of obvious steps, that is, the number of the line splicing gaps to be corrected, so as to obtain all the steps in all the column data;
a line correction coefficient calculation module 105, which extracts all the data at the step of each smoothed line data, and calculates the correction coefficients at all the steps of each line data according to the data at the step;
a column correction coefficient calculation module 106, which extracts all the step data of each smoothed column data, and calculates the correction coefficient of all the step data of each column data according to the step data;
the correction coefficient modification module 107 is configured to modify the correction coefficients at all steps of each row of data and all steps of each column of data respectively for the correction coefficients of the corresponding position pixels, so as to obtain the modified correction coefficients under the corresponding primary colors.
Referring to fig. 9, an embodiment of the present invention further provides a terminal. As shown, the terminal 300 includes a processor 301 and a memory 302. The processor 301 is electrically connected to the memory 302. The processor 301 is a control center of the terminal 300, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by running or calling a computer program stored in the memory 302 and calling data stored in the memory 302, thereby performing overall monitoring of the terminal 300.
In this embodiment, the processor 301 in the terminal 300 loads instructions corresponding to one or more processes of the computer program into the memory 302 according to the following steps, and the processor 301 runs the computer program stored in the memory 302, so as to implement various functions: correcting the red, green and blue three primary colors of the LED display screen respectively to obtain three groups of correction coefficients; selecting any primary color, and acquiring a gray image of bright and dark lines of a splicing gap under the primary color according to a corresponding correction coefficient; performing one-dimensional Gaussian filtering on the gray level image one by one in a row unit to obtain row data smoothed by the Gaussian filtering, wherein the row data has a plurality of obvious steps, namely the number of column splicing gaps to be corrected, so that all steps in all the row data are obtained; performing one-dimensional Gaussian filtering on the gray level image one by taking columns as units to obtain line data smoothed by the Gaussian filtering, wherein the line data has a plurality of obvious steps, namely the number of line splicing gaps to be corrected, so that all steps in all the line data are obtained; respectively extracting all the step data of each smoothed line data, and solving the correction coefficients of all the step data of each line data according to the step data; respectively extracting all the step data of each smoothed row data, and solving the correction coefficients of all the step positions of each row data according to the step data; and respectively correcting the correction coefficients of the pixels at the corresponding positions by using the correction coefficients at all steps of each row of data and all steps of each column of data to obtain corrected correction coefficients under the corresponding primary colors, thereby obtaining corrected correction coefficients under other primary colors.
Memory 302 may be used to store computer programs and data. The memory 302 stores computer programs containing instructions executable in the processor. The computer program may constitute various functional modules. The processor 301 executes various functional applications and data processing by calling a computer program stored in the memory 302.
An embodiment of the present application provides a storage medium, and when being executed by a processor, the computer program performs a method in any optional implementation manner of the foregoing embodiment to implement the following functions: selecting any primary color, and acquiring a gray image of bright and dark lines of a splicing gap under the primary color according to a corresponding correction coefficient; performing one-dimensional Gaussian filtering on the gray level image one by one in a row unit to obtain row data smoothed by the Gaussian filtering, wherein the row data has a plurality of obvious steps, namely the number of column splicing gaps to be corrected, so that all steps in all the row data are obtained; performing one-dimensional Gaussian filtering on the gray level image one by taking columns as units to obtain line data smoothed by the Gaussian filtering, wherein the line data has a plurality of obvious steps, namely the number of line splicing gaps to be corrected, so that all steps in all the line data are obtained; respectively extracting all the step data of each smoothed line data, and solving the correction coefficients of all the step data of each line data according to the step data; respectively extracting all the step data of each smoothed row data, and solving the correction coefficients of all the step positions of each row data according to the step data; and respectively correcting the correction coefficients of the pixels at the corresponding positions by using the correction coefficients at all steps of each row of data and all steps of each column of data to obtain corrected correction coefficients under the corresponding primary colors, thereby obtaining corrected correction coefficients under other primary colors. The storage medium may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as a Static Random Access Memory (SRAM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), an Erasable Programmable Read-Only Memory (EPROM), a Programmable Read-Only Memory (PROM), a Read-Only Memory (ROM), a magnetic Memory, a flash Memory, a magnetic disk, or an optical disk.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A method for correcting bright and dark lines of an LED splicing gap is characterized by comprising the following steps:
correcting the red, green and blue three primary colors of the LED display screen respectively to obtain three groups of correction coefficients;
selecting any primary color, and acquiring a gray image of bright and dark lines of a splicing gap under the primary color according to a corresponding correction coefficient;
one-dimensional Gaussian filtering is carried out on the gray level image one by one in a row unit to obtain line data smoothed by the Gaussian filtering, and each line data has a plurality of obvious steps, so that all steps in all the line data are obtained;
performing one-dimensional Gaussian filtering on the gray level image one by taking the column as a unit to obtain column data smoothed by the Gaussian filtering, wherein each column data has a plurality of obvious steps, so that all steps in all column data are obtained;
respectively extracting all the step data of each smoothed line data, and solving the correction coefficients of all the step data of each line data according to the step data;
respectively extracting all the step data of each smoothed row data, and solving the correction coefficients of all the step positions of each row data according to the step data;
and respectively correcting the correction coefficients of the pixels at the corresponding positions of the LED display screen by using the correction coefficients at all the step positions of each row of data and all the step positions of each column of data to obtain corrected correction coefficients under corresponding primary colors, thereby obtaining corrected correction coefficients under other primary colors.
2. The method for correcting the bright and dark lines of the LED splicing gap according to claim 1, wherein the red, green and blue three primary colors of the LED display screen are respectively corrected, and the red, green and blue three primary colors of the LED display screen are respectively corrected in a darkroom; or the red, green and blue three primary colors of the LED display screen are respectively corrected in a non-darkroom but stable environment.
3. The method for correcting the bright and dark lines of the LED splicing gap according to claim 1, wherein any primary color is selected, and the gray level image of the bright and dark lines of the splicing gap existing in the primary color is obtained according to the corresponding correction coefficient, and the specific process is as follows: after the LED display screen finishes the correction of the three primary colors, selecting any primary color, generating a correction coefficient graph by applying the correction coefficient of the corresponding primary color, and displaying the coefficient graph to realize the preview of the correction effect; and obtaining a gray image with bright and dark lines of the splicing gap through the preview image.
4. The method for correcting the bright and dark lines of the LED splicing gap according to claim 1, wherein one-dimensional Gaussian filtering is performed on the gray level image one by one in a row unit, and one-dimensional Gaussian filtering is performed on the gray level image one by one in a column unit, wherein the one-dimensional Gaussian filtering formula is as follows:
Figure DEST_PATH_IMAGE002A
wherein
Figure DEST_PATH_IMAGE004A
Is the variance of the gaussian distribution and,
Figure DEST_PATH_IMAGE006A
is the standard deviation of the gaussian distribution.
5. The method for correcting the bright and dark lines of the LED splicing gap according to claim 1, wherein the correction coefficients at all the steps of each line of data are obtained according to the step data, and the calculation formula of the correction coefficients is as follows:
Figure DEST_PATH_IMAGE008A
wherein,
Figure DEST_PATH_IMAGE010A
for the correction factor at one of the steps in each row of data,
Figure DEST_PATH_IMAGE012AA
the gray value at the step in each line data;
Figure DEST_PATH_IMAGE014A
is prepared by reacting with
Figure DEST_PATH_IMAGE012AAA
Corresponding steps are positioned in the gray average values of a plurality of pixels in front and at the back in the same row of data;
Figure DEST_PATH_IMAGE016A
for the first row of data
Figure DEST_PATH_IMAGE016AA
And (4) a step.
6. The method for correcting the bright and dark lines of the LED splicing gap according to claim 1, wherein the correction coefficients at all the steps of each column of data are obtained according to the step data, and the calculation formula of the correction coefficients is as follows:
Figure DEST_PATH_IMAGE018
wherein,
Figure DEST_PATH_IMAGE020A
for the correction factor at one of the steps in each column data,
Figure DEST_PATH_IMAGE022A
the gray value at the step in each column data;
Figure DEST_PATH_IMAGE024AA
is prepared by reacting with
Figure DEST_PATH_IMAGE022AA
Several images with corresponding steps in the same column dataA gray level mean of the pixels;
Figure DEST_PATH_IMAGE026A
for the first in each column data
Figure DEST_PATH_IMAGE026AA
And (4) a step.
7. The method for correcting the bright and dark lines of the LED splicing gap according to claim 1, wherein correction coefficients of all steps of each row of data and correction coefficients of all steps of each column of data are used for correcting correction coefficients of pixels at corresponding positions of the LED display screen respectively, and the specific process is as follows: respectively multiplying the correction coefficient of one step of each line of data by the correction coefficient of the line pixel at the corresponding position of the LED display screen to obtain a new correction coefficient, and correcting the line pixel; and respectively multiplying the correction coefficient at one step of each column data by the correction coefficient of the column pixel at the corresponding position of the LED display screen to obtain a new correction coefficient, and correcting the column pixel.
8. An apparatus for using the method for correcting the bright and dark lines of the LED splicing gap according to any one of claims 1 to 7, comprising:
the correction coefficient acquisition module is used for respectively correcting the three primary colors of red, green and blue of the LED display screen to obtain three groups of correction coefficients;
the gray level image acquisition module selects any primary color and acquires a gray level image with bright and dark lines of a splicing gap under the primary color according to the corresponding correction coefficient;
the line step acquisition module is used for performing one-dimensional Gaussian filtering on the gray level image one by one in a line unit to obtain line data smoothed by the Gaussian filtering, wherein the line data has a plurality of obvious steps, namely the number of the line splicing gaps to be corrected, so that all steps in all the line data are obtained;
the row step acquisition module is used for performing one-dimensional Gaussian filtering on the gray level image one by one in a row unit to obtain row data smoothed by the Gaussian filtering, wherein the row data has a plurality of obvious steps, namely the number of the splicing gaps of the rows to be corrected, so that all the steps in all the row data are obtained;
the line correction coefficient calculation module is used for respectively extracting all the step data of each smoothed line data and calculating the correction coefficients of all the step positions of each line data according to the step data;
the column correction coefficient calculation module is used for respectively extracting all the step data of each smoothed column data and calculating the correction coefficient of all the step positions of each column data according to the step data;
and the correction coefficient correction module is used for correcting the correction coefficients at all the steps of each row of data and all the steps of each column of data respectively to the correction coefficients of the corresponding position pixels to obtain the corrected correction coefficients under the corresponding primary colors.
9. A terminal, characterized in that it comprises a processor and a memory, in which a computer program is stored, the processor being adapted to carry out the method of any one of claims 1 to 7 by calling the computer program stored in the memory.
10. A storage medium having stored thereon a computer program which, when run on a computer, causes the computer to perform the method of any one of claims 1 to 7.
CN202011140465.9A 2020-10-22 2020-10-22 LED splicing gap bright and dark line correction method and device, storage medium and terminal Active CN112201199B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011140465.9A CN112201199B (en) 2020-10-22 2020-10-22 LED splicing gap bright and dark line correction method and device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011140465.9A CN112201199B (en) 2020-10-22 2020-10-22 LED splicing gap bright and dark line correction method and device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN112201199A true CN112201199A (en) 2021-01-08
CN112201199B CN112201199B (en) 2022-04-01

Family

ID=74010827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011140465.9A Active CN112201199B (en) 2020-10-22 2020-10-22 LED splicing gap bright and dark line correction method and device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN112201199B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113470567A (en) * 2021-06-25 2021-10-01 西安诺瓦星云科技股份有限公司 Display screen correction method, device and system
CN114005404A (en) * 2021-12-29 2022-02-01 卡莱特云科技股份有限公司 Segmented correction method and device for processing seam repair hidden line and computer equipment
CN114241983A (en) * 2021-12-31 2022-03-25 季华实验室 Folding screen display uniformity compensation method and device, electronic equipment and storage medium
CN115831043A (en) * 2023-02-14 2023-03-21 长春希达电子技术有限公司 Bright and dark line correction device and method for virtual pixel display screen
CN116386521A (en) * 2023-05-31 2023-07-04 深圳市奥拓电子股份有限公司 Four-color display bright and dark line correction method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5668569A (en) * 1996-04-05 1997-09-16 Rainbow Displays Inc. Tiled, flat-panel displays with luminance-correcting capability
CN103778887A (en) * 2013-03-21 2014-05-07 西安电子科技大学 Method and device for correcting brightness of LED display device
CN104966493A (en) * 2015-07-31 2015-10-07 西安诺瓦电子科技有限公司 Method for compensating spliced bright and dark lines
CN106373523A (en) * 2016-11-21 2017-02-01 西安诺瓦电子科技有限公司 Splicing bright/dark line compensation method
CN107689206A (en) * 2016-08-03 2018-02-13 三星电子株式会社 Display device and its control method
CN107742511A (en) * 2017-11-08 2018-02-27 颜色空间(北京)科技有限公司 The method and display methods that module mesopic vision gap eliminates after display screen splicing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5668569A (en) * 1996-04-05 1997-09-16 Rainbow Displays Inc. Tiled, flat-panel displays with luminance-correcting capability
CN103778887A (en) * 2013-03-21 2014-05-07 西安电子科技大学 Method and device for correcting brightness of LED display device
CN104966493A (en) * 2015-07-31 2015-10-07 西安诺瓦电子科技有限公司 Method for compensating spliced bright and dark lines
CN107689206A (en) * 2016-08-03 2018-02-13 三星电子株式会社 Display device and its control method
CN106373523A (en) * 2016-11-21 2017-02-01 西安诺瓦电子科技有限公司 Splicing bright/dark line compensation method
CN107742511A (en) * 2017-11-08 2018-02-27 颜色空间(北京)科技有限公司 The method and display methods that module mesopic vision gap eliminates after display screen splicing

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113470567A (en) * 2021-06-25 2021-10-01 西安诺瓦星云科技股份有限公司 Display screen correction method, device and system
CN114005404A (en) * 2021-12-29 2022-02-01 卡莱特云科技股份有限公司 Segmented correction method and device for processing seam repair hidden line and computer equipment
CN114005404B (en) * 2021-12-29 2022-03-18 卡莱特云科技股份有限公司 Segmented correction method and device for processing seam repair hidden line and computer equipment
CN114241983A (en) * 2021-12-31 2022-03-25 季华实验室 Folding screen display uniformity compensation method and device, electronic equipment and storage medium
CN115831043A (en) * 2023-02-14 2023-03-21 长春希达电子技术有限公司 Bright and dark line correction device and method for virtual pixel display screen
CN116386521A (en) * 2023-05-31 2023-07-04 深圳市奥拓电子股份有限公司 Four-color display bright and dark line correction method and device and electronic equipment

Also Published As

Publication number Publication date
CN112201199B (en) 2022-04-01

Similar Documents

Publication Publication Date Title
CN112201199B (en) LED splicing gap bright and dark line correction method and device, storage medium and terminal
US10726776B2 (en) Pixel-by-pixel calibration method
CN111182217B (en) Image white balance processing method and device
US11050988B2 (en) Device and method for shadow correction verification parameter determination and shadow correction verification
US8208011B2 (en) Stereoscopic display apparatus
US20060228102A1 (en) Photographing apparatus and method for compensating brightness of an image
CN110322830B (en) LED screen brightness correction method and device
CN104639923A (en) Method and device for processing image data, and terminal
CN107979726B (en) Panoramic lens pairing method and panoramic lens
CN107424179A (en) A kind of image equalization method and device
CN108734651A (en) Image splicing method and image splicing device thereof
CN111586273B (en) Electronic device and image acquisition method
US8036456B2 (en) Masking a visual defect
CN109064415A (en) Image processing method, system, readable storage medium storing program for executing and terminal
US11393076B2 (en) Blurring panoramic image blurring method, terminal and computer readable storage medium
CN114241983A (en) Folding screen display uniformity compensation method and device, electronic equipment and storage medium
CN108270952B (en) Method and system for correcting image chromatic aberration of binocular camera
CN113496474A (en) Image processing method, device, all-round viewing system, automobile and storage medium
CN114359055A (en) Image splicing method and related device for multi-camera shooting screen body
CN106878628A (en) A kind of method that video-splicing is carried out by camera
CN104010134B (en) For forming the system and method with wide dynamic range
CN116051681A (en) Processing method and system for generating image data based on intelligent watch
CN112951143B (en) Display screen correction method and device
CN112601079B (en) Camera module calibration method, device, equipment and medium
CN112348751B (en) Anti-distortion method and device for near-eye display equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant