Control method and device for spliced LED screen, LED screen and storage medium

By calculating the virtual and physical coordinates, offset distance and angle of the LED module, and performing correction or splicing operations, the misalignment and angle offset problems during splicing of the LED module are solved, the display effect and user experience are improved, and the accuracy of the LED screen is achieved. Splicing.

CN119274480AActive Publication Date: 2025-01-07SHENZHEN WEIGUAN SMART DISPLAY TECH CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202411810338.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2025-01-07
Estimated Expiration
2044-12-10

AI Technical Summary

Technical Problem

The prior art cannot effectively solve the problems of misalignment and angle offset during LED module splicing, resulting in uneven light emission and deformation of display images, affecting the display effect and user experience.

Method used

By obtaining the virtual coordinates of the LED module and the relative coordinates of the display module, calculating the standard size and physical coordinates, calculating the offset distance and angle, and correcting or splicing operations based on the preset range and threshold values ​​to ensure the precise splicing of the module.

Benefits of technology

It solves the problems of luminescence unevenness and image deformation caused by LED module misalignment and angle offset, improves the display effect and user experience of the LED screen, and ensures the accuracy and consistency of splicing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119274480A_ABST
    Figure CN119274480A_ABST
Patent Text Reader

Abstract

The invention discloses a control method and device for a spliced LED screen, the LED screen and a storage medium. The method comprises the steps that virtual coordinates of an LED module, relative coordinates of a display module and the actual size of the display module are obtained; calculating according to the relative coordinates and the actual size to obtain a standard size of the display module; adjusting and coding the standard size to obtain a physical coordinate of the display module; calculating according to the physical coordinates and the virtual coordinates to obtain an offset distance and an offset angle of the display module; when the offset distance is within a preset distance range, performing correction operation; when the deviation angle is larger than a preset angle threshold value, correction operation is carried out; when the deviation angle is smaller than a preset angle threshold value, splicing operation is carried out. According to the method, the problems of uneven light emission of the whole module and deformation of a display image caused by dislocation or angle deviation of the LED module can be solved, and the user experience effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of display control technology, and in particular to a control method and device for a spliced ​​LED screen, an LED screen and a storage medium. Background Art

[0002] LED module is a large semiconductor light-emitting display device composed of multiple LED display modules and power modules. It has a wide range of applications, covering stage background advertising, screens, information display, map display, high-speed rail platform display, etc. As a pixel-level self-luminous device, LED module has the advantages of low energy consumption, high brightness, high contrast and fast response speed, so it is widely used in various display needs.

[0003] In the prior art, LED modules are formed into large display screens by splicing multiple modules. However, due to the splicing accuracy problem between modules, it is inevitable that the number of rows is incomplete, misaligned, or angled. In order to solve the problem of incomplete number of rows caused by the ratio of the module of the spliced ​​display screen to the relative coordinates, there is a technology that can effectively compensate for the empty rows and columns of the screen to improve the user's visual effect. However, this solution only addresses the display defects when the number of rows is incomplete after the standard rectangular LED modules are spliced, and does not provide an effective solution for the display defects when the LED modules are misaligned or angled.

[0004] This misalignment or angle deviation will cause uneven light emission of the entire module and deformation of the displayed image, which will seriously affect the display effect and user experience. Therefore, it is urgent to propose a new solution to solve the module misalignment and angle deviation problems when splicing LED modules, so as to improve the display effect and user satisfaction. Summary of the invention

[0005] The present invention provides a control method and device for a spliced ​​LED screen, an LED screen and a storage medium to solve the problems of uneven light emission of the entire module and deformation of the displayed image caused by misalignment or angle deviation of the LED modules, thereby improving the display effect and user experience.

[0006] In a first aspect, in order to solve the above technical problems, the present invention provides a control method for a spliced ​​LED screen, comprising: Get the virtual coordinates of the LED module, the relative coordinates of the display module and the actual size of the display module; Calculate according to the relative coordinates and the actual size to obtain the standard size of the display module; Adjusting and encoding the standard size to obtain the physical coordinates of the display module; Calculate according to the physical coordinates and the virtual coordinates to obtain an offset distance and an offset angle of the display module; When the offset distance is within a preset distance range, performing a correction operation on the display module; When the offset angle is greater than a preset angle threshold, a correction operation is performed on the display module; When the offset angle is less than a preset angle threshold, a splicing operation is performed on the display modules; or when the offset distance exceeds a preset distance range, a splicing operation is performed on the display modules.

[0007] In an optional implementation, the step of obtaining the virtual coordinates of the LED module and the relative coordinates of the display module includes: Numbering the LED modules to obtain the virtual coordinates of the LED modules corresponding to the numbers; A coordinate extraction operation is performed according to the virtual coordinates of the LED module to obtain the relative coordinates of the display module.

[0008] In an optional implementation, the calculating according to the relative coordinates and the actual size to obtain the standard size of the display module includes: Calculating a scaling ratio according to the virtual coordinates and the relative coordinates; The standard size is obtained by multiplying the scaling ratio by the actual size. The scaling ratio is the ratio of the modulus of the virtual coordinate to the relative coordinate.

[0009] In an optional implementation, the adjusting and encoding operations on the standard size to obtain the physical coordinates of the display module include: Adjusting the standard size to obtain an adjusted standard size; Performing encoding operation on the adjusted standard size to obtain the physical coordinates of the display module; The encoding operation is to directly convert each dimension into a numerical code; The adjustment operation is completed by the following formula:

[0010]

[0011]

[0012] In the formula, All are standard sizes, scale is the scaling factor, x, y, z are the adjustment factors, All are adjusted standard sizes.

[0013] In an optional implementation, the calculating according to the physical coordinates and the virtual coordinates to obtain the offset distance and the offset angle of the display module specifically includes: Performing distance calculation according to the projection spacing of the virtual coordinates on the Z axis to obtain an offset distance of the display module; Calculating the angle according to the offset angle between the projections of the physical coordinates on the Z axis to obtain the offset angle of the display module; wherein the virtual coordinates and the physical coordinates are coordinates in a pre-established xyz coordinate system; The specific calculation formula of the offset distance is:

[0014] in, is the offset distance, and They are the projections of the horizontal and vertical coordinates of the physical coordinates on the Z axis, and are the projections of the horizontal and vertical coordinates of the virtual coordinates on the Z axis respectively; The specific calculation formula of the offset angle is:

[0015] in, is the offset angle.

[0016] In an optional implementation, when the offset distance is within a preset distance range, performing a correction operation on the display module specifically includes: Respectively obtain the offset distances between the virtual coordinates and the physical coordinates of the first display module and the second display module in the X, Y, and Z axis directions; Determine whether the offset distance is within a preset distance range: When the offset distance is within a preset distance range, performing a distance correction operation; The specific calculation formula for the distance correction operation is:

[0017]

[0018]

[0019] In the formula, , , are the corrected coordinates, is the physical coordinate, are virtual coordinates, For the preset distance, is the preset threshold.

[0020] In an optional implementation, when the offset angle is greater than a preset angle threshold, performing a correction operation on the display module specifically includes: Calculating an offset angle between the first display module and the second display module; Determine whether the offset angle is greater than a preset angle threshold: When the offset angle is greater than a preset angle threshold, an angle correction operation is performed; The specific calculation formula for the angle correction operation is:

[0021]

[0022] In the formula, and are the correction angles of the first display module and the second display module respectively, and The offset angles of the first display module and the second display module are respectively, and are preset reference angles for the first display module and the second display module, respectively, is the preset angle, is the preset threshold.

[0023] In a second aspect, the present invention provides a control device for splicing LED screens, comprising: A data acquisition module is used to acquire the virtual coordinates of the LED module, the relative coordinates of the display module and the actual size of the display module; A size calculation module, used for calculating according to the relative coordinates and the actual size to obtain a standard size of the display module; A size encoding module, used for adjusting and encoding the standard size to obtain the physical coordinates of the display module; An offset calculation module, used to calculate according to the physical coordinates and the virtual coordinates to obtain an offset distance and an offset angle of the display module; An offset correction module, used to perform a correction operation on the display module when the offset distance is within a preset distance range; and to perform a correction operation on the display module when the offset angle is greater than a preset angle threshold; The splicing operation module is used to perform a splicing operation on the display module when the offset angle is less than a preset angle threshold; or to perform a splicing operation on the display module when the offset distance exceeds a preset distance range.

[0024] In a third aspect, the present invention further provides an LED screen, including a control method for implementing any one of the spliced ​​LED screens described above.

[0025] In a fourth aspect, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the control methods for the spliced ​​LED screen described above.

[0026] Compared with the prior art, the present invention has the following beneficial effects: The present invention discloses a control method for splicing LED screens, comprising obtaining virtual coordinates of LED modules, relative coordinates of display modules and actual sizes of display modules; performing calculations according to the relative coordinates and the actual sizes to obtain standard sizes of display modules; adjusting and encoding the standard sizes to obtain physical coordinates of the display modules; performing calculations according to the physical coordinates and the virtual coordinates to obtain offset distances and offset angles of the display modules; performing correction operations on the display modules when the offset distance is within a preset distance range; performing correction operations on the display modules when the offset angle is greater than a preset angle threshold; performing splicing operations on the display modules when the offset angle is less than a preset angle threshold; or performing splicing operations on the display modules when the offset distance exceeds a preset distance range.

[0027] The method is executed by a computer, first obtaining the virtual coordinates of the LED module, the relative coordinates of the display module and the actual size of the display module, calculating the standard size and encoding it to obtain the physical coordinates. Then, the offset distance and angle of the display module are calculated according to the physical coordinates and the virtual coordinates, and the offset distance and angle of the display module are compared with the preset values ​​to determine whether to perform a correction or splicing operation. The method can solve the problems of uneven light emission of the entire module and deformation of the displayed image when the LED module is misaligned or the angle is offset, ensure the accurate splicing of the LED screen, and improve the display effect and user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 It is a schematic flow chart of a control method for splicing LED screens provided by the first embodiment of the present invention; Figure 2 It is a schematic diagram of the structure of a control device for a spliced ​​LED screen provided in the second embodiment of the present invention. DETAILED DESCRIPTION

[0029] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0030] Reference Figure 1 The first embodiment of the present invention provides a control method for a spliced ​​LED screen, comprising the following steps: S11, obtaining the virtual coordinates of the LED module, the relative coordinates of the display module, and the actual size of the display module; S12, calculating according to the relative coordinates and the actual size to obtain a standard size of the display module; S13, adjusting and encoding the standard size to obtain the physical coordinates of the display module; S14, calculating according to the physical coordinates and the virtual coordinates to obtain an offset distance and an offset angle of the display module; S15, when the offset distance is within a preset distance range, performing a correction operation on the display module; S16, when the offset angle is greater than a preset angle threshold, performing a correction operation on the display module; S17, when the offset angle is less than a preset angle threshold, performing a splicing operation on the display modules; or when the offset distance exceeds a preset distance range, performing a splicing operation on the display modules.

[0031] In step S11, it is necessary to obtain the virtual coordinates of the LED module, the relative coordinates of the display module, and the actual size of the display module, including: Numbering the LED modules to obtain the virtual coordinates of the LED modules corresponding to the numbers; A coordinate extraction operation is performed according to the virtual coordinates of the LED module to obtain the relative coordinates of the display module.

[0032] It should be noted that the virtual coordinates of the LED modules can be obtained by numbering the LED modules, and each number corresponds to the virtual coordinates of each module.

[0033] The coordinate extraction operation first needs to determine the reference point. A reference point is selected in the layout of the spliced ​​screen. The reference point is the center point of the screen, and the virtual coordinates of the reference point are recorded. The actual offset of each module relative to the reference point is measured using a computer measurement program. The actual offset includes two components (ΔX, ΔY) in the horizontal and vertical directions in a two-dimensional coordinate system. According to the virtual coordinates of the reference point and the measured offset, the relative coordinates of each module are obtained through basic vector calculation.

[0034] In step S12, calculation is performed according to the relative coordinates and the actual size to obtain the standard size of the display module, including: Calculating a scaling ratio according to the virtual coordinates and the relative coordinates; The standard size is obtained by multiplying the scaling ratio by the actual size. The scaling ratio is the ratio of the modulus of the virtual coordinate to the relative coordinate.

[0035] Exemplarily, the virtual coordinates are , the relative coordinates are marked as ,in, The value range of is 1 to 100. The value range of is 1 to 100, and the modulus of the virtual coordinate and the relative coordinate can be calculated by the following formula:

[0036]

[0037] In the formula, and are the moduli of the virtual coordinates and the relative coordinates respectively.

[0038] The calculation formula of the scaling ratio is:

[0039] Formula, S is the scaling ratio.

[0040] In step S13, the standard size is adjusted and encoded to obtain the physical coordinates of the display module, including: Adjusting the standard size to obtain an adjusted standard size; Performing encoding operation on the adjusted standard size to obtain the physical coordinates of the display module; The encoding operation is to directly convert each dimension into a numerical code; The adjustment operation is completed by the following formula:

[0041]

[0042]

[0043] In the formula, All are standard sizes, scale is the scaling factor, x, y, z are the adjustment factors, All are adjusted standard sizes.

[0044] For example, the scaling factor scale ranges from 0 to 1, the adjustment factors x, y, and z range from 1 to 100, and the physical coordinates are represented as .

[0045] It should be noted that the standard size is obtained in advance by calculation, which represents the size of the display module in the reference state. The adjustment operation is completed by a specific formula, which introduces the scaling factor scale and the adjustment factors x, y, z. The scaling factor scale is a global proportional factor that uniformly scales all dimensions according to the display requirements. This factor is calculated based on the resolution of the display module to ensure that the display module has consistent visual effects on different devices. For example, if the resolution of the first display module is 1920x1080 and the resolution of the second display module is 1920x1080, the scaling factor is 1. The adjustment factors x, y, z correspond to the three spatial dimensions (X axis, Y axis and Z axis) respectively, which allow independent scaling adjustment for each dimension. These coefficients are set according to display requirements (such as viewing angle change, scaling ratio, etc.). For example, in a three-dimensional graphic display, if the display module needs to be enlarged or reduced in a certain direction, it can be achieved by adjusting the corresponding adjustment factor. The encoding operation is to convert the adjusted standard size into a numerical encoding form that is easy to process and transmit. The encoding process here adopts direct encoding, and each adjusted size value directly corresponds to a unique numerical code.

[0046] Optionally, in order to improve the efficiency of encoding, some encoding optimization techniques such as Huffman coding can also be used. Huffman coding is a variable-length encoding method based on the frequency of character occurrence, which can assign shorter codes to sizes with high frequency of occurrence, thereby reducing the overall code length. After the encoding operation is completed, verification is performed to ensure that each standard size is correctly converted into a numerical code and there are no duplications or omissions.

[0047] In step S14, the calculation is performed according to the physical coordinates and the virtual coordinates to obtain the offset distance and the offset angle of the display module, which specifically includes: Performing distance calculation according to the projection distance between the physical coordinate and the virtual coordinate on the Z axis to obtain an offset distance of the display module; Calculating the offset angle between the physical coordinate and the projection of the virtual coordinate on the Z axis to obtain the offset angle of the display module; wherein the virtual coordinates and the physical coordinates are coordinates in a pre-established xyz coordinate system; The specific calculation formula of the offset distance is:

[0048] in, is the offset distance, and They are the projections of the horizontal and vertical coordinates of the physical coordinates on the Z axis, and are the projections of the horizontal and vertical coordinates of the virtual coordinates on the Z axis respectively; The specific calculation formula of the offset angle is:

[0049] in, is the offset angle.

[0050] It should be noted that we first need to clearly understand the concepts of physical coordinates and virtual coordinates and their positions in the three-dimensional coordinate system. Physical coordinates represent the actual position of the display module in three-dimensional space, while virtual coordinates represent the target position. When calculating the offset distance and offset angle, we are actually comparing the difference between these two positions.

[0051] When calculating the offset distance, the formula is used This formula is performed on a three-dimensional plane, that is, it takes into account the projection of the horizontal and vertical coordinates of the physical coordinates on the Z axis and the projection of the horizontal and vertical coordinates of the virtual coordinates on the Z axis. When calculating the offset angle, the formula is used , this formula is a variation of the inverse tangent function that takes into account the absolute value of the coordinate difference. It is worth noting that when calculating the offset angle, a variation of the inverse tangent function, arctan2, is used instead of the simple arctan function. This is because arctan2 can handle angle calculations in all four quadrants, while the arctan function can only handle angles in the first and second quadrants. Using arctan2 ensures that the correct angle value is obtained regardless of the relative positions of the coordinate points.

[0052] Optionally, coordinate system transformation can be considered. In practical applications, coordinates need to be transformed from one coordinate system to another for calculation or comparison. For example, when calculating the offset distance and the offset angle, the translation transformation of the coordinate system can be used to obtain new coordinates, thereby simplifying the calculation and greatly reducing the memory space occupied by the calculation.

[0053] In step S15, when the offset distance is within the preset distance range, a correction operation is performed on the display module, specifically including: Respectively obtain the offset distances between the virtual coordinates and the physical coordinates of the first display module and the second display module in the X, Y, and Z axis directions; In a specific embodiment, the first display module is a component of the spliced ​​LED screen, which is one of the basic units constituting the entire LED display screen. The module contains LED pixels for display, and images or texts can be displayed by controlling the on and off of these LED pixels. During the splicing process, the first display module will be spliced ​​with other display modules (such as the second display module) to form a large LED display screen. The second display module is also a basic unit in the spliced ​​LED screen. Similar to the first display module, it also contains LED pixels for display, and can display content by controlling these pixels. When splicing, the second display module will be placed adjacent to the first display module and other display modules. In the control method, by calculating the offset angle and distance between the first display module and the second display module, and then using the position correction algorithm and the angle correction algorithm to correct their positions and angles, it is ensured that the spliced ​​LED screen can present a seamless and uniform display effect.

[0054] Determine whether the offset distance is within a preset distance range: Specifically, the preset distance range is set according to the actual application needs and the requirements for splicing accuracy. Different scenes have different distances. This range is a smaller value to ensure that the spliced ​​LED screen achieves a seamless and uniform visual effect. For example, in high-end stage displays or high-precision advertising screens, this range is set to 0-2mm or even smaller 0-1mm to ensure that the slight difference in the splicing will not affect the overall display effect. For screens in some high-rise buildings, the required accuracy is lower than that of high-end stage displays or high-precision advertising screens, and this range is set to 0-5mm or 0-7mm.

[0055] It should be noted that the setting of the preset distance range needs to meet visual consistency to ensure that the LED screen remains visually consistent after splicing, avoiding obvious color difference, uneven brightness or splicing gaps. In addition, by setting the preset distance range, it can ensure that the LED module meets the required accuracy requirements during the splicing process, thereby avoiding obvious splicing gaps or image deformation and improving the visual effect.

[0056] When the offset distance is within a preset distance range, performing a distance correction operation; Specifically, the correction operation purpose, wherein the specific calculation formula of the distance correction operation is:

[0057]

[0058]

[0059] In the formula, , , are the corrected coordinates, is the physical coordinate, are virtual coordinates, For the preset distance, is the preset threshold.

[0060] Exemplarily, by performing a correction operation using the above formula, the physical coordinates of the display module are adjusted to a position closer to the virtual coordinates, so as to reduce misalignment and angle deviation during splicing. It is a preset distance, which is set according to the actual application needs and the requirements for splicing accuracy. For example, in high-end stage displays or high-precision advertising screens, this distance is set to 1mm or even smaller 0.5mm to ensure that the slight difference in the splicing will not affect the overall display effect. For screens in some high-rise buildings, the required accuracy is lower than that of high-end stage displays or high-precision advertising screens, and this range is set to 2.5mm or 3.5mm with lower accuracy. The preset threshold is also set according to the actual application needs and the requirements for splicing accuracy. The set value is similar to the value of the preset distance range. For example, in high-end stage displays or high-precision advertising screens, this range is set to 0-2mm or even smaller 0-1mm, and the corresponding preset threshold is set to 2mm or even smaller 1mm. For screens in some high-rise buildings, the required accuracy is lower than that of high-end stage displays or high-precision advertising screens. This range is set to 0-5mm or 0-7mm, and the corresponding preset threshold is set to 5mm or even larger 7mm.

[0061] It should be noted that the formula is obtained by adding the physical coordinates to the difference between the virtual coordinates and the physical coordinates and multiplying it by a scaling factor To calculate the correction amount that needs to be adjusted. This proportional factor is determined according to the relationship between the preset distance and the preset threshold. When the preset distance is small and the preset threshold is large, the correction amount is small; when the preset distance is large and the preset threshold is small, the correction amount is correspondingly reduced. This design can ensure that the correction operation can reduce misalignment and angle deviation without excessive adjustment leading to new errors.

[0062] In step S16, when the offset angle is greater than a preset angle threshold, a correction operation is performed on the display module, specifically including: Calculating an offset angle between the first display module and the second display module; In one implementation, the offset angle between the two display modules can be calculated by image processing. First, the images of the first display module and the second display module need to be collected and image preprocessing is performed. For example, the image is preprocessed using grayscale and binarization methods, and the color image is converted into a grayscale image to reduce the amount of calculation. Grayscale can be achieved by weighted average method, maximum method or minimum method. The grayscale image is converted into a binary image, that is, the pixels on the image have only black and white colors. Binarization helps to highlight the outline and shape of the target object, and can be binarized using methods such as fixed threshold method, adaptive threshold method or Otsu threshold method. Then feature extraction is performed, and the edge detection algorithm is used to detect the edge in the image, identify the outline and shape of the target object, extract features, and perform feature description based on the detected edge or corner point to generate a feature vector. Next, the feature matching algorithm is used to match the feature vectors in the two display modules, and the matching results are screened to remove the wrong matching pairs. When matching and screening, distance ratio test, RANSAC algorithm or least squares method can be used for screening. Finally, the transformation matrix between the two module images is calculated based on the matched feature points, and the transformation matrix can be solved by the least square method. The rotation matrix part is extracted from the transformation matrix, and the offset angle between the first display module and the second display module is calculated based on the rotation matrix.

[0063] Determine whether the offset angle is greater than a preset angle threshold: When the offset angle is greater than a preset angle threshold, an angle correction operation is performed; The specific calculation formula for the angle correction operation is:

[0064]

[0065] In the formula, and are the correction angles of the first display module and the second display module respectively, and The offset angles of the first display module and the second display module are respectively, and are preset reference angles for the first display module and the second display module, respectively, is the preset angle, is the preset threshold.

[0066] Exemplarily, the preset reference angles of the first display module and the second display module are and , the setting value is the angle formed by the first display module and the second display module in the entire display module, the reference module and the horizontal distance. For example, in a display module composed of 100 LED modules, each module has a size of 1x1 meter, and the entire LED module forms a 10x10 meter display module, the corresponding plane rectangular coordinate system is established with the lower left corner. With the origin, that is, the lower left corner, as the reference module, when the position of the first display module is (3, 2) and the position of the second display module is (3, 3), the preset reference angle of the first display module is is 33.69°, and the preset reference angle of the first display module is In order to ensure the calculation error, the preset reference angle of the first display module in the calculation Expressed as arctan , the preset reference angle of the first display module Expressed as arctan .

[0067] For example, It is a preset angle, which is set according to the actual application needs and the requirements for splicing accuracy. For example, in high-end stage displays or high-precision advertising screens, this angle is set to 0.1° or even smaller 0.05° to ensure that the slight difference in the splicing will not affect the overall display effect. For screens in some high-rise buildings, the required accuracy is lower than that of high-end stage displays or high-precision advertising screens, and this range is set to 0.25° or a lower accuracy of 0.35°. It is the preset threshold value, which is also set according to the actual application needs and the requirements for splicing accuracy. The value set is similar to the value of the preset angle. According to the above correspondence, in high-end stage displays or high-precision advertising screens, this angle is set to 0.2° or even smaller 0.1°. For screens in some high-rise buildings, the required accuracy is lower than that of high-end stage displays or high-precision advertising screens. This range is set to 0.5° or a lower precision of 0.7° It should be noted that the angle correction formula introduces the correction scale factor , achieving a gradual correction of the deviation, which avoids system instability or user discomfort caused by a one-time correction that is too large. and For example, if you want the system to be more sensitive to deviations, you can reduce If you want the corrected angle to be closer to the reference angle, you can increase In addition, the formula retains the directionality of the original deviation. If the original deviation is positive, the corrected angle will be smaller than the original angle but larger than the reference angle; if the original deviation is negative, the opposite is true. Due to the existence of the correction scale factor, even if the original deviation is large, the corrected angle will not jump to the opposite side of the reference angle (i.e. the other side of 180 degrees), thus avoiding the problem of over-correction.

[0068] In step S17, when the offset angle is less than a preset angle threshold, a splicing operation is performed on the display modules; or when the offset distance exceeds a preset distance range, a splicing operation is performed on the display modules.

[0069] When the offset angle is less than a preset angle threshold, a splicing operation is performed; Specifically, the offset angle between the first display module and the second display module is obtained by calculating the angle offset. and When the absolute value of the angle difference between the two modules exceeds the threshold difference angle, the offset rotation angle of the first display module and the offset rotation angle of the second display module are obtained.

[0070] Among them, the specific calculation formula of the angle difference is:

[0071] In the formula, is the absolute value of the angle difference between the two modules.

[0072] It should be noted that the angle difference is expressed by the formula The formula is calculated to calculate the absolute value of the angle difference between the two display modules to ensure Is a non-negative number.

[0073] The calculation process of the offset rotation angle is: The rotated physical coordinates are obtained by multiplying the physical coordinates of the display module with the virtual coordinates and the rotation matrix. With the rotation of virtual coordinates ; According to the rotation of the physical coordinates With the rotation of the virtual coordinates The offset angle between the projections on the Z axis is calculated to obtain the rotation offset angle of the display module.

[0074] The rotation matrix is:

[0075] In the formula, is the x factor of the rotation matrix, is the y factor of the rotation matrix, is the z factor of the rotation matrix.

[0076] It should be noted that the rotation matrix , , It is a standard three-dimensional coordinate rotation formula, which is used to rotate a point around a specified axis by a specified angle and is widely used in computer graphics and robotics. The rotation matrix is ​​a special orthogonal matrix used to describe the transformation of an object rotating around an axis in three-dimensional space or a two-dimensional plane. In two-dimensional space, the rotation matrix can be expressed as ,in, θ Represents the rotation angle. This matrix represents the counterclockwise rotation of the vector on the two-dimensional plane around the origin θ Angle. In three-dimensional space, the rotation matrix is ​​relatively complex, but it is also based on similar principles. For a third-order square matrix, the rotation matrix is ​​constructed as follows: For the x factor of the rotation matrix , then rotate around the X axis by an angle θ to obtain the y factor of the rotation matrix , then rotate around the Y axis by an angle θ to obtain the z factor of the rotation matrix Then we rotate about the Z axis by an angle θ to obtain.

[0077] Rotate physical coordinates With the rotation of virtual coordinates It can be obtained by the following operations:

[0078]

[0079] Right now

[0080]

[0081] It should be noted that the rotation of physical coordinates With the rotation of virtual coordinates It is obtained by matrix multiplication. The rotated physical coordinates and the rotated virtual coordinates are both 1x3 matrices, which are obtained by multiplying the physical coordinates and the virtual coordinates by the x factor of the rotation matrix, the y factor of the rotation matrix, and the z factor of the rotation matrix, respectively. The physical coordinates and the virtual coordinates are both 1x3 matrices, and the x factor of the rotation matrix, the y factor of the rotation matrix, and the z factor of the rotation matrix are all 3x3 matrices.

[0082] Determine whether the rotation offset angle is greater than a preset angle threshold: When the rotation offset angle is greater than a preset angle threshold, an angle correction operation is performed; When the rotation offset angle is less than a preset angle threshold, a module splicing operation is performed.

[0083] It should be noted that when the rotation offset angle is greater than the preset angle threshold, after the angle correction operation is performed, it is determined whether the corrected angle is less than the preset angle threshold. When the corrected angle is less than the preset angle threshold, the module splicing operation is performed.

[0084] When the offset distance exceeds a preset distance range, performing a splicing operation on the display modules; It should be noted that when the offset distance exceeds the preset distance range, after the splicing operation of the display module is completed, the image has problems such as color difference, uneven brightness or splicing gaps. At this time, it is necessary to execute step S14, calculate according to the physical coordinates and the virtual coordinates, and obtain the offset distance of the display module, and then execute S15, where when the offset distance is within the preset distance range, the display module is corrected, thereby realizing the splicing correction operation and solving the problems such as color difference, uneven brightness or splicing gaps in the spliced ​​image.

[0085] The following describes the working process of the present invention using a common scenario as an example. Figure 2 , which is Figure 1 Schematic diagram of the working scenario of the method.

[0086] A multimedia display wall in a large exhibition center. This display wall is composed of multiple LED modules and needs to be precisely spliced ​​to display high-definition images and video content. The exhibition center plans to install a large multimedia display wall at the entrance to display artworks, exhibition information and interactive content. The display wall is composed of 50 LED modules, each with a size of 1x1 meter, and the entire wall forms a 5x10 meter display area. In order to ensure the continuity and clarity of the image, the splicing gap needs to be controlled within 1 mm and the angle deviation does not exceed 0.1 degrees.

[0087] First, each LED module is numbered from 1 to 50 to ensure that each module is unique and in order. After the numbering is completed, they use professional software tools to assign virtual coordinates to each module. These coordinates are based on a unified three-dimensional coordinate system to ensure that the coordinates of all modules can accurately correspond to their actual positions on the display wall. The value range of the virtual coordinates is set from 1 to 100 to facilitate subsequent calculations and adjustments.

[0088] In the layout of the spliced ​​screen, the center point of the screen is selected as the reference point and its virtual coordinates are recorded. Then, they use computer measurement and calculation tools to calculate the actual offset of each module relative to the reference point. These offsets include two components in the horizontal and vertical directions. Through mathematical operations, the virtual coordinates of the reference point and the measured offset are combined to calculate the relative coordinates of each module.

[0089] Next, the scaling ratio is calculated based on the virtual coordinates and the relative coordinates. The scaling ratio is the ratio of the virtual coordinates to the relative coordinates, which is used to adjust the actual size of the module to match the virtual size. The scale calculation is performed based on the scaling ratio and the actual size to obtain the standard size of each module. After the standard size is obtained, it is adjusted, and the adjusted standard size is converted into physical coordinates through encoding operations. The encoding operation is to directly convert each size into a numerical code, which is used for subsequent stitching and calibration processes. Based on the physical coordinates and virtual coordinates, the offset distance and offset angle of the display module are calculated by computer. The offset distance is obtained by comparing the projection distance between the physical coordinates and the virtual coordinates on the Z axis, while the offset angle is obtained by comparing the angle between the projections of the two on the Z axis.

[0090] When the computer system detects that the offset distance or angle exceeds the preset range, a correction operation is performed. For distance correction, the distance correction formula is used to calculate the corrected distance. For angle correction, the angle correction formula is used to calculate the corrected angle. These correction operations ensure that the display modules can be accurately spliced. After all correction operations are completed, the splicing operation begins. During the splicing process, it is necessary to carefully check the position of each LED module to ensure the consistency of the physical coordinates and the virtual coordinates, and that the offset distance and angle are within the preset range. Through the above steps, the multimedia display wall of the exhibition center can display content with high precision and high stability, providing visitors with a shocking visual experience.

[0091] In summary, the present invention discloses a control method for splicing LED screens, including obtaining virtual coordinates of LED modules, relative coordinates of display modules and actual sizes of display modules; calculating according to the relative coordinates and actual sizes to obtain standard sizes of display modules; adjusting and encoding the standard sizes to obtain physical coordinates of display modules; calculating according to the physical coordinates and virtual coordinates to obtain offset distance and offset angle of display modules; when the offset distance is within a preset distance range, performing a correction operation on the display module; when the offset angle is greater than a preset angle threshold, performing a correction operation on the display module; when the offset angle is less than a preset angle threshold, performing a splicing operation on the display module; or when the offset distance exceeds the preset distance range, performing a splicing operation on the display module. The method is executed by a computer, first obtaining virtual coordinates of LED modules, relative coordinates of display modules and actual sizes of display modules, calculating standard sizes and encoding to obtain physical coordinates. Then, the offset distance and angle of the display module are calculated according to the physical coordinates and virtual coordinates, and the offset distance and angle of the display module are compared with preset values ​​to determine whether to perform a correction or splicing operation. The method can solve the problems of uneven light emission of the entire module and deformation of the displayed image caused by misalignment or angle deviation of the LED module, ensure the accurate splicing of the LED screen, and improve the display effect and user experience.

[0092] Reference Figure 2 The second embodiment of the present invention provides a control device for splicing LED screens, comprising: A data acquisition module is used to acquire the virtual coordinates of the LED module, the relative coordinates of the display module and the actual size of the display module; A size calculation module, used for calculating according to the relative coordinates and the actual size to obtain a standard size of the display module; A size encoding module, used for adjusting and encoding the standard size to obtain the physical coordinates of the display module; An offset calculation module, used to calculate according to the physical coordinates and the virtual coordinates to obtain an offset distance and an offset angle of the display module; An offset correction module, used to perform a correction operation on the display module when the offset distance is within a preset distance range; and to perform a correction operation on the display module when the offset angle is greater than a preset angle threshold; The splicing operation module is used to perform a splicing operation on the display module when the offset angle is less than a preset angle threshold; or to perform a splicing operation on the display module when the offset distance exceeds a preset distance range.

[0093] It should be noted that a control device for a spliced ​​LED screen provided in an embodiment of the present invention is used to execute all process steps of a control method for a spliced ​​LED screen in the above embodiment, and the working principles and beneficial effects of the two correspond one to one, so they will not be repeated here.

[0094] An embodiment of the present invention further provides an LED screen, comprising the control device for the spliced ​​LED screen as described in the above embodiment.

[0095] The embodiment of the present invention further provides an electronic device. The electronic device includes: a processor, a memory, and a computer program stored in the memory and executable on the processor, such as a control program for splicing LED screens. When the processor executes the computer program, the steps in the above-mentioned control method for splicing LED screens are implemented, such as Figure 1 Alternatively, when the processor executes the computer program, the functions of each module / unit in the above-mentioned device embodiments are implemented, such as the data acquisition module.

[0096] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the electronic device.

[0097] The electronic device may be a computing device such as a desktop computer, a notebook, a PDA, and a smart tablet. The electronic device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the above components are merely examples of electronic devices and do not constitute a limitation on the electronic device. The electronic device may include more or fewer components than the above components, or may combine certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.

[0098] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device.

[0099] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the electronic device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0100] Wherein, if the module / unit integrated in the electronic device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0101] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.

[0102] The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.

Claims

1. A control method for splicing LED screens, characterized in that: Executed by a computer, including: Get the virtual coordinates of the LED module, the relative coordinates of the display module and the actual size of the display module; Calculate according to the relative coordinates and the actual size to obtain the standard size of the display module; Adjusting and encoding the standard size to obtain the physical coordinates of the display module; Calculate according to the physical coordinates and the virtual coordinates to obtain an offset distance and an offset angle of the display module; When the offset distance is within a preset distance range, performing a correction operation on the display module; When the offset angle is greater than a preset angle threshold, a correction operation is performed on the display module; When the offset angle is less than a preset angle threshold, a splicing operation is performed on the display modules; or when the offset distance exceeds a preset distance range, a splicing operation is performed on the display modules.

2. The control method of the spliced ​​LED screen according to claim 1, characterized in that: The step of obtaining the virtual coordinates of the LED module and the relative coordinates of the display module includes: Numbering the LED modules to obtain the virtual coordinates of the LED modules corresponding to the numbers; A coordinate extraction operation is performed according to the virtual coordinates of the LED module to obtain the relative coordinates of the display module.

3. The control method of the spliced ​​LED screen according to claim 1, characterized in that: The calculating according to the relative coordinates and the actual size to obtain the standard size of the display module includes: Calculating a scaling ratio according to the virtual coordinates and the relative coordinates; The standard size is obtained by multiplying the scaling ratio by the actual size. The scaling ratio is the ratio of the modulus of the virtual coordinate to the relative coordinate.

4. The control method of the spliced ​​LED screen according to claim 1, characterized in that: The adjusting and encoding operation of the standard size to obtain the physical coordinates of the display module includes: Adjusting the standard size to obtain an adjusted standard size; Performing encoding operation on the adjusted standard size to obtain the physical coordinates of the display module; The encoding operation is to directly convert each dimension into a numerical code; The adjustment operation is completed by the following formula: In the formula, All are standard sizes, scale is the scaling factor, x, y, z are the adjustment factors, All are adjusted standard sizes.

5. The control method of the spliced ​​LED screen according to claim 1, characterized in that: The calculating according to the physical coordinates and the virtual coordinates to obtain the offset distance and the offset angle of the display module specifically includes: Performing distance calculation according to the projection distance between the physical coordinate and the virtual coordinate on the Z axis to obtain an offset distance of the display module; Calculating the offset angle between the physical coordinate and the projection of the virtual coordinate on the Z axis to obtain the offset angle of the display module; wherein the virtual coordinates and the physical coordinates are coordinates in a pre-established xyz coordinate system; The specific calculation formula of the offset distance is: in, is the offset distance, and They are the projections of the horizontal and vertical coordinates of the physical coordinates on the Z axis, and are the projections of the horizontal and vertical coordinates of the virtual coordinates on the Z axis respectively; The specific calculation formula of the offset angle is: in, is the offset angle.

6. The control method of the spliced ​​LED screen according to claim 1, characterized in that: When the offset distance is within the preset distance range, performing a correction operation on the display module specifically includes: Respectively obtain the offset distances between the virtual coordinates and the physical coordinates of the first display module and the second display module in the X, Y, and Z axis directions; Determine whether the offset distance is within a preset distance range: When the offset distance is within a preset distance range, performing a distance correction operation; The specific calculation formula for the distance correction operation is: In the formula, , , are the corrected coordinates, is the physical coordinate, are virtual coordinates, For the preset distance, is the preset threshold.

7. The control method of the spliced ​​LED screen according to claim 1, characterized in that: When the offset angle is greater than a preset angle threshold, performing a correction operation on the display module specifically includes: Calculating an offset angle between the first display module and the second display module; Determine whether the offset angle is greater than a preset angle threshold: When the offset angle is greater than a preset angle threshold, an angle correction operation is performed; The specific calculation formula for the angle correction operation is: In the formula, and are the correction angles of the first display module and the second display module respectively, and The offset angles of the first display module and the second display module are respectively, and are preset reference angles for the first display module and the second display module, respectively, is the preset angle, is the preset threshold.

8. A control device for splicing LED screens, characterized in that: include: A data acquisition module is used to acquire the virtual coordinates of the LED module, the relative coordinates of the display module and the actual size of the display module; A size calculation module, used for calculating according to the relative coordinates and the actual size to obtain a standard size of the display module; A size encoding module, used for adjusting and encoding the standard size to obtain the physical coordinates of the display module; An offset calculation module, used to calculate according to the physical coordinates and the virtual coordinates to obtain an offset distance and an offset angle of the display module; An offset correction module, used for performing a correction operation on the display module when the offset distance is within a preset distance range; When the offset angle is greater than a preset angle threshold, a correction operation is performed on the display module; The splicing operation module is used to perform a splicing operation on the display module when the offset angle is less than a preset angle threshold; or to perform a splicing operation on the display module when the offset distance exceeds a preset distance range.

9. An LED screen, characterized in that: It comprises a control device for a spliced ​​LED screen as described in claim 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the control method of the spliced ​​LED screen according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Spliced screen group control method and device and server

    CN111258524A

  • Method and equipment for automatically adapting visual large-screen design drawing to display screen, and medium

    CN116360720A

  • Machine automatic splicing calibration system

    CN116363229A

  • Screen model creating method and device for virtual shooting system and mobile terminal

    CN117412017A

  • Mounting apparatus and assembly apparatus for display module and method of same

    KR101898706B1