Screen matching method and device of display screen, storage medium and processor
Patent Information
- Application Number
- CN202111509157.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-10
- Publication Date
- 2026-09-25
- Estimated Expiration
- 2041-12-10
AI Technical Summary
[0004]本发明实施例提供了一种显示屏的配屏方法、装置、存储介质和处理器,以至少解决立体显示屏配屏复杂度高且不易呈现屏体效果的技术问题
[0025]在本发明实施例中,采用对显示屏进行三维建模,得到显示屏的三维模型;将多个虚拟箱体与三维模型进行匹配,得到配屏后的三维模型;将获取到的目标信号源图像映射到配屏后的三维模型上。容易注意到的是,通过对显示屏进行三维建模,利用特定算法将目标信号源图像映射到显示屏中的多个箱体上,其中,虚拟箱体的位置可以人为调节,实现了配屏过程可视化的技术效果,进而解决了立体显示屏配屏复杂度高且不易呈现屏体效果的技术问题。
Smart Images

Figure CN114489537B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of LED display screen control, and more specifically, to a display screen matching method, apparatus, storage medium, and processor. Background Technology
[0002] Currently, LED displays are typically rectangular displays assembled from regular cabinets, and the screen matching solutions for this type of LED display are very mature. However, for 3D stereoscopic displays, such as spherical or cylindrical displays, which are irregularly shaped displays assembled from irregular cabinets, special calculations and image processing are required to correctly display the image on the stereoscopic screen. This presents a problem of screen matching complexity for such screens.
[0003] There is currently no effective solution to the above problems. Summary of the Invention
[0004] This invention provides a screen matching method, apparatus, storage medium, and processor for display screens, in order to at least solve the technical problems of high screen matching complexity and difficulty in presenting screen effects in stereoscopic display screens.
[0005] According to one aspect of the present invention, a screen matching method for a display screen is provided. The method includes: performing three-dimensional modeling on the display screen to obtain a three-dimensional model of the display screen; acquiring a target signal source image, wherein the target signal source image has a rectangular shape; matching multiple virtual boxes with the three-dimensional model to obtain a matched three-dimensional model, wherein the multiple virtual boxes correspond one-to-one with multiple boxes of the display screen; and mapping the target signal source image onto the matched three-dimensional model, wherein the target signal source image is displayed by the multiple boxes.
[0006] Optionally, each cabinet contains at least one light panel, and the physical arrangement of the light points on the light panel is in an arc shape. The process of mapping the target signal source image onto the 3D model after screen matching includes: calculating the absolute coordinates of each cabinet, wherein the absolute coordinates are used to characterize the coordinates of the display image corresponding to the light point in the cabinet relative to the cabinet; segmenting the target signal source image based on the absolute coordinates of each cabinet to obtain the signal source image of each cabinet; and mapping the signal source image of each cabinet onto each virtual cabinet.
[0007] Optionally, after calculating the absolute coordinates of each cabinet, the method further includes: obtaining the topology parameters of the display screen based on the absolute coordinates of each cabinet; and sending the topology parameters to each cabinet.
[0008] Optionally, after mapping the target signal source image onto the 3D model after screen configuration, the method further includes: obtaining device information of the display screen, wherein the device information includes at least: device name and network address; obtaining connection information of each enclosure, wherein the connection information is used to characterize the connection relationship between each enclosure and other enclosures, and the connection information includes at least: connection sequence number and port number; and generating a screen configuration image based on topology parameters, device information and connection information.
[0009] Optionally, generating a configuration image based on topology parameters, device information, and connection information includes: generating a topology map based on topology parameters; and marking device information and connection information on the topology map to generate a configuration image.
[0010] Optionally, calculating the absolute coordinates of each enclosure includes: obtaining the code table information and reference point of the light panel, wherein the code table information is used to characterize the arrangement information of the light points on the light panel, and the reference point is used to characterize the positional relationship of the rotation center of the arc relative to the target signal source image; calculating the relative coordinates of the light panel based on the code table information and the reference point, wherein the relative coordinates of the light panel are used to characterize the positional relationship of the display image corresponding to the light points on the light panel relative to the origin of the target signal source image; and calculating the absolute coordinates of each enclosure based on the relative coordinates of at least one light panel contained in each enclosure.
[0011] Optionally, when the display screen is fan-shaped or circular and is used to display a portion of the image from the target signal source image, calculating the relative coordinates of the light panel based on the code table information and reference point includes: calculating the relative coordinates of the target light panel based on the target code table information and the target reference point, wherein the target light panel is any light panel in each sub-screen layer; rotating the relative coordinates of the target light panel with the target reference point as the origin to calculate the relative coordinates of the other light panels in each sub-screen layer.
[0012] Optionally, calculating the relative coordinates of the target light board based on the target code table information and the target reference point includes: calculating the coordinates of a reference point on the target arc row in the target light board based on the target code table information and the target reference point, wherein the reference point is the midpoint of the target arc row, and the target arc row is any arc row in the target light board; rotating the coordinates of the reference point with the target reference point as the origin to calculate the relative coordinates of each light point on the target arc row; and calculating the relative coordinates of the target light board based on the relative coordinates of all light points on all arc rows in the target light board.
[0013] Optionally, calculating the coordinates of the reference point on the target arc line in the target light board based on the target code table information and the target reference point includes: calculating the depth of the target arc line based on the target code table information, wherein the depth is used to characterize the distance between the target arc line and the target reference point; and calculating the coordinates of the reference point based on the depth of the target arc line and the coordinates of the target reference point.
[0014] Optionally, rotating the coordinates of the reference point with the target reference point as the origin to calculate the relative coordinates of each light point on the target arc row includes: calculating the number of light points on the target arc row based on the target code table information; if the number is even, rotating the coordinates of the reference point counterclockwise and clockwise with the target reference point as the origin to calculate the relative coordinates of each light point; if the number is odd, calculating the coordinates of the target light point located at the center position on the target arc row based on the coordinates of the reference point, and rotating the coordinates of the target light point counterclockwise and clockwise with the target reference point as the origin to calculate the relative coordinates of other light points on the target arc row.
[0015] Optionally, before calculating the absolute coordinates of each box based on the relative coordinates of at least one light panel contained in each box, the method further includes: performing coordinate correction on the relative coordinates of the light panels to calculate the corrected coordinates of the light panels; performing precision processing on the corrected coordinates of the light panels to calculate the processed coordinates of the light panels; and calculating the absolute coordinates of each box based on the processed coordinates of at least one light panel contained in each box.
[0016] Optionally, the relative coordinates of the light panel are corrected, and the corrected coordinates of the light panel are calculated by: generating information of a first rectangular frame corresponding to the light panel, wherein the first rectangular frame is tangent to the light panel; calculating multiple correction values based on the information of the first rectangular frame, wherein the difference between the multiple correction values is a preset value; and calculating the corrected coordinates of each light point in the light panel based on the multiple correction values, wherein the difference between the corrected coordinates of each light point and the relative coordinates of each light point is less than the preset value.
[0017] Optionally, calculating the absolute coordinates of each box based on the processed coordinates of at least one light panel contained in each box includes: calculating the relative coordinates of each box based on the processed coordinates of at least one light panel contained in each box; generating information of a second rectangular frame corresponding to each box, wherein the second rectangular frame is tangent to each box; and calculating the absolute coordinates of each box based on the relative coordinates of each box and the information of the second rectangular frame corresponding to each box.
[0018] Optionally, when the shape of the display screen is the shape between two meridians of a sphere, and the display screen is used to display the target signal source image, wherein when the display screen displays all images in the signal source image, and the maximum width of the display screen in the parallel direction is the same as the width of the target signal source image, calculating the relative coordinates of the lamp board based on the code table information and the reference point includes: obtaining the first position information and the first size information of the display image of the lamp board; and calculating the relative coordinates of the lamp board based on the first position information, the first size information, the code table information, and the reference point.
[0019] Optionally, calculating the relative coordinates of the light panel based on the first position information, the first size information, the code table information, and the reference point includes: calculating the first number of pixels on the target row and the first coordinates of each pixel in the displayed image of the light panel based on the first position information and the first size information; calculating the second number of light points on the target row in the light panel based on the code table information and the reference point; calculating the second coordinates of each light point on the target row based on the first number, the second number, and the first coordinates of each pixel; and calculating the relative coordinates of the light panel based on the second coordinates of all the light points in the light panel.
[0020] Optionally, calculating the second coordinates of each light point on the target row based on the first quantity, the second quantity, and the first coordinates of each pixel includes: when both the first quantity and the second quantity are even, calculating the second coordinates of each light point based on the first coordinates of each pixel; when the first quantity is odd and the second quantity is even, deleting the pixel at the middle position on the target row, and calculating the second coordinates of each light point based on the first coordinates of the other pixels; when the first quantity is even and the second quantity is odd, calculating the second coordinates of the light point at the middle position on the target row based on the first coordinates of the two pixels at the middle position on the target row, and calculating the second coordinates of the other light points on the target row based on the first coordinates of the other pixels on the target row; when both the first quantity and the second quantity are odd, calculating the second coordinates of the light point at the middle position on the target row based on the first coordinates of the pixel at the middle position on the target row, and calculating the second coordinates of the other light points on the target row based on the first coordinates of the other pixels on the target row.
[0021] Optionally, calculating the absolute coordinates of each cabinet based on the relative coordinates of at least one light panel contained in each cabinet includes: calculating the relative coordinates of each cabinet based on the processed coordinates of at least one light panel contained in each cabinet; generating second position information and second size information of the display image of each cabinet; and calculating the absolute coordinates of each cabinet based on the second position information, the second size information, and the relative coordinates.
[0022] According to another aspect of the present invention, a screen matching device for a display screen is also provided. The device includes: a modeling module for performing three-dimensional modeling of the display screen to obtain a three-dimensional model of the display screen; an acquisition module for acquiring a target signal source image, wherein the target signal source image is rectangular in shape; a matching module for matching multiple virtual boxes with the three-dimensional model to obtain a matched three-dimensional model, wherein the multiple virtual boxes correspond one-to-one with multiple boxes of the display screen; and a mapping module for mapping the target signal source image onto the matched three-dimensional model, wherein the target signal source image is displayed by the multiple boxes.
[0023] According to another aspect of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device where the computer-readable storage medium is located to execute the screen configuration method of the display screen in the above embodiments.
[0024] According to another aspect of the present invention, a processor is also provided, which is used to run a program, wherein the program executes the display screen matching method in the above embodiments.
[0025] In this embodiment of the invention, a 3D model of the display screen is obtained by performing 3D modeling; multiple virtual boxes are matched with the 3D model to obtain a 3D model after screen matching; and the acquired target signal source image is mapped onto the 3D model after screen matching. It is noteworthy that by performing 3D modeling of the display screen and using a specific algorithm to map the target signal source image onto multiple boxes within the display screen, the positions of the virtual boxes can be manually adjusted, achieving a visual effect of the screen matching process. This solves the technical problems of high complexity and difficulty in presenting the screen effect in 3D display screen matching. Attached Figure Description
[0026] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
[0027] Figure 1 This is a schematic diagram of an unconventional, irregularly shaped LED display screen based on existing technology;
[0028] Figure 2 This is a flowchart of a display screen matching method according to an embodiment of the present invention;
[0029] Figure 3 This is a flowchart of an optional irregular-shaped display screen matching method according to an embodiment of the present invention;
[0030] Figure 4This is a flowchart of an optional screen configuration scheme export method according to an embodiment of the present invention;
[0031] Figure 5 This is a schematic diagram of an irregularly shaped LED display screen, which may have a fan-shaped or ring-shaped configuration according to an embodiment of the present invention.
[0032] Figure 6 This is a schematic diagram of an optional case where the number of arc-shaped daylight points is even according to an embodiment of the present invention;
[0033] Figure 7 This is a schematic diagram illustrating an optional case where the number of arc-shaped daylight points is odd, according to an embodiment of the present invention.
[0034] Figure 8 This is a flowchart of an optional coordinate correction algorithm according to an embodiment of the present invention;
[0035] Figure 9 This is a schematic diagram of a rotational combination scheme based on existing technology;
[0036] Figure 10 This is a schematic diagram of an optional optimized rotation combination scheme according to an embodiment of the present invention;
[0037] Figure 11 This is a flowchart of a display method for an irregularly shaped display screen, which may be fan-shaped or ring-shaped, according to an embodiment of the present invention;
[0038] Figure 12 This is a schematic diagram of an optional irregularly shaped LED display screen with the shape of a watermelon rind according to an embodiment of the present invention;
[0039] Figure 13 This is a schematic diagram of an optional image compression display according to an embodiment of the present invention;
[0040] Figure 14 This is a flowchart of a display method for an optional irregularly shaped display screen with the shape of a watermelon rind according to an embodiment of the present invention;
[0041] Figure 15 This is a schematic diagram of a screen fitting device according to an embodiment of the present invention. Detailed Implementation
[0042] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0043] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0044] According to an embodiment of the present invention, a method for configuring a display screen is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0045] The aforementioned display screen can be a regular display screen or an irregularly shaped display screen. In this embodiment of the invention, an irregularly shaped display screen is used as an example. This irregularly shaped display screen consists of at least one layer of sub-screens, each sub-screen consists of at least one cabinet, and each cabinet consists of at least one light panel of the same shape and size. The physical arrangement of the light points on the light panel is arc-shaped. Optionally, the light points of each light panel can be arranged as follows: Figure 1 The lamps are arranged as shown in the diagram. In this case, the lamp points on the lamp board are not point-to-point with the pixels on the rectangular signal source image.
[0046] In one optional embodiment, the irregularly shaped display screen can be composed of multiple fan-shaped light panels, which can be spliced together to form a larger fan or ring shape to obtain a fan-shaped or ring-shaped irregularly shaped display screen. Multiple fan-shaped light panels can also be spliced together to form a watermelon rind shape, that is, the shape after a sphere is cut along the meridian, but it is not limited to this.
[0047] Figure 2 This is a flowchart of a display screen matching method according to an embodiment of the present invention, such as... Figure 2As shown, the method includes the following steps:
[0048] Step S202: Perform 3D modeling on the display screen to obtain a 3D model of the display screen.
[0049] The above steps can be performed using existing 3D modeling software, such as MODO12, Blender, Rhinocero, and Maya, but are not limited to these.
[0050] In the steps above, you can open the interface of the 3D modeling software and build a 3D model by inputting the parameters of the irregularly shaped display screen.
[0051] Step S204: Obtain the target signal source image, wherein the target signal source image is rectangular in shape.
[0052] The target signal source in the above steps can be an external signal source or a built-in signal source. A built-in signal source refers to a signal source that outputs test images or custom images to replace a video source when no video source is available. The target signal source image can be a picture to be displayed, an image frame from a video, but is not limited to these.
[0053] Step S204: Match multiple virtual boxes with the 3D model to obtain the 3D model after screen matching, wherein the multiple virtual boxes correspond one-to-one with the multiple boxes of the display screen.
[0054] In the above steps, a virtual model of each cabinet in the display screen is constructed on the 3D model drawn on the 3D modeling software to obtain the virtual cabinets. Then, the user drags all the virtual cabinets into the 3D model according to the screen matching requirements of multiple cabinets in the display screen, so as to achieve the purpose of matching multiple virtual cabinets with the 3D model and thus obtaining the 3D model after screen matching.
[0055] Step S206: Map the target signal source image onto the three-dimensional model after screen matching, wherein the target signal source image is displayed by multiple boxes.
[0056] In the above steps, the absolute coordinates of the cabinets can be calculated to determine the rectangular signal source image displayed for each cabinet in the irregularly shaped display screen. The corresponding rectangular signal source image is then mapped onto the 3D model after screen assembly using a specific algorithm. The specific implementation scheme is described later.
[0057] In this embodiment of the invention, a 3D model of the display screen is obtained by performing 3D modeling; multiple virtual boxes are matched with the 3D model to obtain a 3D model after screen matching; and the acquired target signal source image is mapped onto the 3D model after screen matching. It is noteworthy that by performing 3D modeling of the display screen and using a specific algorithm to map the target signal source image onto multiple boxes within the display screen, the positions of the virtual boxes can be manually adjusted, achieving a visual effect of the screen matching process. This solves the technical problems of high complexity and difficulty in presenting the screen effect in 3D display screen matching.
[0058] Optionally, each cabinet contains at least one light panel, and the physical arrangement of the light points on the light panel is in an arc shape. The process of mapping the target signal source image onto the 3D model after screen matching includes: calculating the absolute coordinates of each cabinet, wherein the absolute coordinates are used to characterize the coordinates of the display image corresponding to the light point in the cabinet relative to the cabinet; segmenting the target signal source image based on the absolute coordinates of each cabinet to obtain the signal source image of each cabinet; and mapping the signal source image of each cabinet onto each virtual cabinet.
[0059] In the above steps, the absolute coordinates of each cabinet that makes up the irregular display screen are calculated, the rectangular signal source image is segmented according to the absolute coordinates of the cabinet, the rectangular signal source image corresponding to each cabinet is obtained, and then the segmented rectangular signal source is mapped onto the corresponding virtual cabinet.
[0060] Optionally, after calculating the absolute coordinates of each cabinet, the method further includes: obtaining the topology parameters of the display screen based on the absolute coordinates of each cabinet; and sending the topology parameters to each cabinet.
[0061] In the above steps, the topology parameters of the irregular display screen are obtained based on the absolute coordinates of the cabinets in the irregular display screen. That is, the positional relationship between the multiple cabinets contained in the irregular display screen is obtained, and the topology parameters are sent to each cabinet.
[0062] Optionally, after mapping the target signal source image onto the 3D model after screen configuration, the method further includes: obtaining device information of the display screen, wherein the device information includes at least: device name and network address; obtaining connection information of each enclosure, wherein the connection information is used to characterize the connection relationship between each enclosure and other enclosures, and the connection information includes at least: connection sequence number and port number; and generating a screen configuration image based on topology parameters, device information and connection information.
[0063] In the above steps, the equipment information of all the devices to be used can be determined according to the screen configuration requirements of the irregular-shaped display screen, including the device name and IP address of each device. The connection sequence number and network port between different cabinets can also be obtained, thereby generating a screen configuration image. This screen configuration image intuitively shows the positional and connection relationships between different cabinets, which facilitates the actual screen configuration process.
[0064] Optionally, generating a configuration image based on topology parameters, device information, and connection information includes: generating a topology map based on topology parameters; and marking device information and connection information on the topology map to generate a configuration image.
[0065] In the above steps, a topology map can be generated based on the positional relationship of each cabinet in the irregularly shaped display screen. The equipment information and connection information of each cabinet can be marked in the topology map to generate a matching screen image.
[0066] In an optional embodiment, a screen configuration method is provided, the process of which is as follows: Figure 3 As shown, a 3D canvas can first be constructed using QT and OpenGL. This 3D canvas refers to a 3D area for building a 3D graphics model. For example, a QT application can be used, which can use OpenGL commands to construct the 3D canvas. The user then inputs the parameters of the irregularly shaped display screen into the interface. The application software can then construct a 3D graphics model based on these parameters and display it to the user. The user can drag and drop the virtual model corresponding to the cabinet on the 3D model to perform the matching operation, calculating the cabinet coordinates, according to the actual display screen configuration requirements. Based on the cabinet coordinates and topology information, the topology parameters of the irregularly shaped display screen are combined and sent to the display control system equipment, including but not limited to sending and receiving devices such as a two-in-one video processor and an LED screen module receiver card. Simultaneously, the built-in source monitoring image is acquired based on the cabinet coordinates; that is, the test screen or a custom image output externally in the absence of a video source is acquired to replace the video source image. The video monitoring source image is segmented according to the cabinet position, and the segmented rectangular signal source image is mapped onto the cabinet using an algorithm.
[0067] In an optional embodiment, after obtaining the screen configuration scheme, it is necessary to export the screen configuration scheme. The process for exporting the screen configuration scheme is as follows: Figure 4 As shown, firstly, the device list in the device group of this screen configuration solution is obtained, and a canvas for drawing information is constructed. Then, the name and IP address of each device are obtained, and the device information is drawn based on the device name and IP address information, and the image is saved. Simultaneously, the topology parameters of the irregularly shaped display screen are obtained, and a topology plan is drawn based on the shape of the irregularly shaped display screen cabinet. The cabinet connection numbers and network port numbers are drawn on the cabinet, and the image is saved.
[0068] Optionally, calculating the absolute coordinates of each enclosure includes: acquiring the code table information and reference point of the light panel, wherein the code table information is used to characterize the arrangement information of the light points on the light panel, and the reference point is used to characterize the positional relationship of the rotation center of the arc relative to the target signal source image; calculating the relative coordinates of the light panel based on the code table information and the reference point, wherein the relative coordinates are used to characterize the positional relationship of the display image corresponding to the light points on the light panel relative to the origin of the target signal source image; and calculating the absolute coordinates of each enclosure based on the relative coordinates of at least one light panel contained in each enclosure.
[0069] The code table information in the above steps can be a row and column sampling information table of the light board, which records which light points in the entire light board actually exist or do not exist, and also includes information such as data groups, number of channels and number of scans.
[0070] Since the physical arrangement of the LEDs on the light panel is an arc, and each arc has a center, meaning each light panel corresponds to a center, the position of which determines the position of the light panel. Therefore, the position of each LED on the light panel can be determined by the position of this center. In the above steps, a coordinate system can be established on the signal source image. The lower left or upper right corner of the signal source image can be used as the origin, but it is not limited to this. Then, based on the position of the display image corresponding to the light panel relative to the signal source image, the coordinates of the reference point in the signal source image are calculated. For example, if the coordinate system is established with the lower left corner of the signal source image as the origin, and the display image corresponding to the light panel is located at the lower left corner, then the reference point is located at the upper left of the signal source image coordinate system, with a horizontal distance of x and a vertical distance of y from the origin. Therefore, the coordinates of the reference point are (x, y).
[0071] The signal source image in the above steps can be a picture or an image frame from a video that needs to be displayed, but is not limited to these.
[0072] After the light board is manufactured, the position of each arc row in the light board relative to the reference point is fixed. Therefore, in the above steps, the relative coordinates of each light board can be determined by using the code table information of the light board based on the reference point corresponding to the light board. Alternatively, the relative coordinates of any light board can be calculated and then the relative coordinates of other light boards can be obtained by rotating them sequentially according to a certain angle, thereby reducing the amount of calculation.
[0073] In the above steps, a coordinate system can be established within the box, and coordinate transformation can be performed based on the obtained relative coordinates of the light panels to calculate the absolute coordinates of the light panels, and then the absolute coordinates of the box can be calculated. Alternatively, based on the relative coordinates of all the light panels contained in each box, the relative coordinates of the box can be directly calculated, and then the absolute coordinates of the box can be calculated through coordinate transformation.
[0074] Optionally, when the display screen is fan-shaped or circular and is used to display a portion of the image from the target signal source image, calculating the relative coordinates of the light panel based on the code table information and reference point includes: calculating the relative coordinates of the target light panel based on the target code table information and the target reference point, wherein the target light panel is any light panel in each sub-screen layer; rotating the relative coordinates of the target light panel with the target reference point as the origin to calculate the relative coordinates of the other light panels in each sub-screen layer.
[0075] The irregularly shaped display screen in the above steps is fan-shaped or circular, such as... Figure 5 As shown, the irregularly shaped display screen shows a portion of the image from the rectangular signal source image.
[0076] The target light panel in the above steps can be any light panel on any cabinet of the irregularly shaped display screen.
[0077] Since multiple fan-shaped light panels are spliced together in a fan-shaped or circular irregular display screen, there is a correlation between the relative coordinates of different fan-shaped light panels. Therefore, in the above steps, the relative coordinates of a light panel can be calculated based on the code table information and reference point corresponding to a light panel (i.e., the target light panel mentioned above). Then, the relative coordinates of the light panel are rotated with the reference point corresponding to the light panel as the origin to calculate the relative coordinates of other light panels.
[0078] Optionally, calculating the relative coordinates of the target light board based on the target code table information and the target reference point includes: calculating the coordinates of a reference point on the target arc row in the target light board based on the target code table information and the target reference point, wherein the reference point is the midpoint of the target arc row, and the target arc row is any arc row in the target light board; rotating the coordinates of the reference point with the target reference point as the origin to calculate the relative coordinates of each light point on the target arc row; and calculating the relative coordinates of the target light board based on the relative coordinates of all light points on all arc rows in the target light board.
[0079] For light points on the same arc row, the difference in relative coordinates lies in the corresponding angles. Therefore, in the above steps, the coordinates of the midpoint (i.e., the reference point) on the current arc row of the light board can be calculated based on the reference point and code table information corresponding to the target light board. Using the reference point as the origin, the reference point coordinates are rotated to calculate the relative coordinates of each light point on that arc row. This process is repeated for other arc rows on the light board to obtain the relative coordinates of each light point on those other arc rows. The relative coordinates of the light points in each arc row are the relative coordinates of the entire light board.
[0080] Optionally, calculating the coordinates of the reference point on the target arc line in the target light board based on the target code table information and the target reference point includes: calculating the depth of the target arc line based on the target code table information, wherein the depth is used to characterize the distance between the target arc line and the target reference point; and calculating the coordinates of the reference point based on the depth of the target arc line and the coordinates of the target reference point.
[0081] After the light board is manufactured, the position and corresponding sector angle of each arc row relative to the reference point are fixed. Therefore, the distance between each arc row and the reference point can be directly calculated based on the light board's code table information as the depth of each arc row. The coordinates of the reference point are then determined based on the depth of the arc row and the coordinates of the reference point. For example, if the reference point is (x, y), and the Y depth of the corresponding arc row on the light board is known to be d, then the coordinates of the reference point corresponding to that arc row are (x, y+d).
[0082] Optionally, rotating the coordinates of the reference point with the target reference point as the origin to calculate the relative coordinates of each light point on the target arc row includes: calculating the number of light points on the target arc row based on the target code table information; if the number is even, rotating the coordinates of the reference point counterclockwise and clockwise with the target reference point as the origin to calculate the relative coordinates of each light point; if the number is odd, calculating the coordinates of the target light point located at the center position on the target arc row based on the coordinates of the reference point, and rotating the coordinates of the target light point counterclockwise and clockwise with the target reference point as the origin to calculate the relative coordinates of other light points on the target arc row.
[0083] In the above steps, each arc row in each light panel can be processed in the same way. The specific processing flow is as follows: First, query the code table information of the light panel to calculate the number of light points on the target arc row. If the number of light points is even, take the reference point as the origin and rotate the coordinates of the reference point counterclockwise and clockwise to calculate the relative coordinates of each light point. For example, as shown... Figure 6 As shown, P is the reference point, P' is the base point, d is the Y depth of the arc row corresponding to the light panel, and θ is the sector angle corresponding to the sector light panel. If the reference point is P(x, y), then the coordinates of the base point P' are (x, y+d). In the example, the arc row has 6 light points, which are calculated sequentially by rotating P' clockwise by 5θ / 12, 3θ / 12, θ / 12, and counterclockwise by θ / 12, 3θ / 12, 5θ / 12. When the number of light points is odd, the coordinates of the light point located at the center of the arc row are used as the base point coordinates. With the reference point as the origin, the coordinates of the base point are rotated counterclockwise and clockwise to calculate the relative coordinates of the other light points on the arc row. For example, as... Figure 7As shown, P is the reference point, P' is the base point, d is the Y depth of the arc row corresponding to the light panel, and θ is the sector angle corresponding to the sector light panel. If the reference point is P(x, y), then the coordinates of the base point P' are (x, y+d). In the example, the arc row has 5 light points, where the coordinates of P' are the coordinates of the middle light point, and the coordinates of the other 4 light points are calculated by rotating P' clockwise by 4θ / 10, 2θ / 10, and counterclockwise by 2θ / 10, 4θ / 10 respectively.
[0084] Optionally, before calculating the absolute coordinates of each box based on the relative coordinates of at least one light panel contained in each box, the method further includes: performing coordinate correction on the relative coordinates of the light panels to calculate the corrected coordinates of the light panels; performing precision processing on the corrected coordinates of the light panels to calculate the processed coordinates of the light panels; and calculating the absolute coordinates of each box based on the processed coordinates of at least one light panel contained in each box.
[0085] In the above steps, the relative coordinates of each light panel in the lightbox can be corrected according to the coordinate correction algorithm to calculate the corrected coordinates. The corrected coordinates are then processed to convert the floating-point coordinates into integer coordinates. The processed coordinates of all the light panels in the lightbox are combined to obtain the relative coordinates of the lightbox. Finally, the absolute coordinates of the lightbox are obtained through coordinate transformation.
[0086] Optionally, the relative coordinates of the light panel are corrected, and the corrected coordinates of the light panel are calculated by: generating information of a first rectangular frame corresponding to the light panel, wherein the first rectangular frame is tangent to the light panel; calculating multiple correction values based on the information of the first rectangular frame, wherein the difference between the multiple correction values is a preset value; and calculating the corrected coordinates of each light point in the light panel based on the multiple correction values, wherein the difference between the corrected coordinates of each light point and the relative coordinates of each light point is less than the preset value.
[0087] The information of the first rectangular frame in the above steps can be the information of the outer rectangle of the fan-shaped light panel, and the correction value can be the pixel correction value.
[0088] In one optional embodiment, the entire coordinate correction process is as follows: Figure 8As shown: input the relative coordinates (floating-point type) of the sector-shaped lamp panel to be corrected; then input the pixel correction values v_x and v_y in the x and y directions, and calculate the circumscribed rectangle information of the sector-shaped lamp panel; take values of y' from yMin to yMax of the circumscribed rectangle, increment by 1 from yMin to yMax, obtain the point Pij on each radian row of the lamp panel that has an offset y' in the y-axis direction and a difference less than the correction value v_y, if |pij.y-y'|<v_y, correct the y-coordinate of this point to y'; take values of x' from xMin to xMax of the circumscribed rectangle, increment by 1 from xMin to xMax, obtain the point Pij on each radian row of the lamp panel that has an offset x' in the x-axis direction and a difference less than the correction value v_x, if |pij.x-x'|<v_x, correct the x-coordinate of this point to x', wherein 0<v_x<1, 0<v_y<1.
[0089] Optionally, calculating the absolute coordinates of each box body based on the processed coordinates of at least one lamp panel included in each box body comprises: calculating the relative coordinates of each box body based on the processed coordinates of at least one lamp panel included in each box body; generating information of a second rectangular frame corresponding to each box body, wherein the second rectangular frame is tangent to each box body; calculating the absolute coordinates of each box body based on the relative coordinates of each box body and the information of the second rectangular frame corresponding to each box body.
[0090] In the above steps, for each box body, the relative coordinates of the box body can be obtained through calculation by combining the processed relative coordinates of all lamp panels in the box body.
[0091] The information of the second rectangular frame in the above steps can be obtained by using the prior art, such as Python's opencv minAreaRect (a method for generating the minimum circumscribed rectangle), but is not limited thereto, to obtain the circumscribed rectangle information corresponding to the box body, and the specific implementation process will not be repeated herein. The absolute coordinates of the box body are obtained through coordinate conversion calculation based on the relative coordinates of the box body and the information of the corresponding second rectangular frame.
[0092] As Figure 9As shown, in related technologies, since relative coordinates are floating-point data while the final calculated absolute coordinates are integer data, any light board can be used as a reference light board. The floating-point relative coordinates of the reference light board are converted into integer relative coordinates corresponding to the rectangular signal source after coordinate correction and precision processing. Then, rotation is performed to obtain the relative coordinates of other light boards (i.e., target light board 1 to target light board N). After coordinate correction and precision processing, the integer relative coordinates of the other light boards can be obtained. Finally, they are combined to calculate the integer relative coordinates of the cabinet contained in the irregularly shaped display screen. However, because the precision processing module converts the floating-point data to the required integer data, this solution suffers from "secondary precision loss" for other target light boards, resulting in poor actual display effects and severe image skew and misalignment.
[0093] In one alternative embodiment, such as Figure 10 As shown, the floating-point relative coordinates of the reference light board can be directly rotated to obtain the relative coordinates of other light boards (i.e., target light board 1 to target light board N). After coordinate correction and precision processing, the floating-point relative coordinates are converted into integer coordinates, and finally, a combination process is performed to obtain the relative coordinates of the cabinet. For other target light boards, since only one precision processing occurs, there is no problem of "secondary precision loss," and their actual display effect is correct and the image is clear.
[0094] The following is combined Figure 11 A preferred embodiment of the present invention is described in detail below. The irregularly shaped display screen is fan-shaped or annular, and needs to display the fan-shaped or annular portion of the image corresponding to the rectangular signal source. The fan-shaped or annular screen is composed of multiple layers of fan-shaped or annular sub-screens. Each sub-screen consists of one or more fan-shaped cabinets, and each fan-shaped cabinet consists of one or more fan-shaped light panels of the same size and shape. For the fan-shaped or annular sub-screens, the following processing can be performed: traverse all layers of fan-shaped or annular sub-screens; process the display status of the corresponding layer of sub-screens; and obtain the final result. The processing method for processing the corresponding layer of sub-screens is as follows: Figure 10As shown, the process includes: loading the code table information of a single sector light board; setting a rotation reference point (relative coordinates), i.e., a Y-depth reference point; and calculating the relative coordinates of the rectangular signal source corresponding to each light point for each arc row at each Y depth, based on the code table and the rotation center reference point. After calculating all Y depths, the source relative coordinate information of the entire sector light board is obtained, and this sector light board is used as the initial light board. The source relative coordinate information of the light board obtained in the above steps is corrected. At the same time, based on the source relative coordinate information without coordinate correction, the source relative coordinate information of the light boards in other sector boxes is obtained by rotating around the rotation center reference point, and then the coordinates are corrected. For all sector boxes, the source relative coordinates of each corrected light board in the sector box are combined, and the source relative coordinates of each sector box are output. The circumscribed rectangle information corresponding to each sector box is calculated. Based on the circumscribed rectangle information and the source relative coordinates of the sector box, the source absolute coordinates of the light points in the sector box are calculated. Based on the circumscribed rectangle information, the signal source slice is set (for complex screen matching). The source absolute coordinates of the sector box are converted into routing table information. The signal source slice setting information (for complex screen matching), the width and height of the receiver card, the width and height of the light board, and the routing table information are sent to the receiver card hardware.
[0095] Optionally, when the shape of the display screen is the shape between two meridians of a sphere, and the display screen is used to display the target signal source image, wherein the maximum width of the display screen in the parallel direction is the same as the width of the target signal source image, calculating the relative coordinates of the lamp board based on the code table information and the reference point includes: obtaining the first position information and the first size information of the display image of the lamp board; and calculating the relative coordinates of the lamp board based on the first position information, the first size information, the code table information, and the reference point.
[0096] In one alternative embodiment, the irregularly shaped display screen can be shaped like a watermelon rind (such as part of a spherical screen body), for example... Figure 12 As shown, the irregularly shaped display screen displays the entire rectangular signal source image. The black curve in the watermelon-skin-shaped display screen represents the latitude line where the maximum number of lights is located. The maximum total number of lights in the latitude direction of the watermelon-skin display screen is the same as the width of the video source.
[0097] In the above steps, the portion of the image displayed by the light board in the signal source image can be determined based on the position of the light board in the entire irregular display screen, thereby determining the first position information of the image in the entire signal source image and the first size information of the image. Finally, based on the first position information and first size information of the display image corresponding to the light board, the code table information of the light board and the reference point, the relative coordinates of the light board are calculated.
[0098] Optionally, calculating the relative coordinates of the light panel based on the first position information, the first size information, the code table information, and the reference point includes: calculating the first number of pixels on the target row and the first coordinates of each pixel in the displayed image of the light panel based on the first position information and the first size information; calculating the second number of light points on the target row in the light panel based on the code table information and the reference point; calculating the second coordinates of each light point on the target row based on the first number, the second number, and the first coordinates of each pixel; and calculating the relative coordinates of the light panel based on the second coordinates of all the light points in the light panel.
[0099] In the above steps, based on the obtained position and size information of the light panel, the number of pixels and the coordinates of each pixel in any row of the light panel's displayed image (the signal source image corresponding to the light panel) are calculated. Based on the light panel's code table information and reference points, the number of light points in the corresponding arc row on the light panel is calculated. Based on the number of pixels in that row, the number of light points, and the coordinates of each pixel, the coordinates of each light point in that row on the light panel are calculated. The coordinates of all light points on the light panel are the relative coordinates of the light panel.
[0100] Optionally, calculating the second coordinates of each light point on the target row based on the first quantity, the second quantity, and the first coordinates of each pixel includes: when both the first quantity and the second quantity are even, calculating the second coordinates of each light point based on the first coordinates of each pixel; when the first quantity is odd and the second quantity is even, deleting the pixel at the middle position on the target row, and calculating the second coordinates of each light point based on the first coordinates of the other pixels; when the first quantity is even and the second quantity is odd, calculating the second coordinates of the light point at the middle position on the target row based on the first coordinates of the two pixels at the middle position on the target row, and calculating the second coordinates of the other light points on the target row based on the first coordinates of the other pixels on the target row; when both the first quantity and the second quantity are odd, calculating the second coordinates of the light point at the middle position on the target row based on the first coordinates of the pixel at the middle position on the target row, and calculating the second coordinates of the other light points on the target row based on the first coordinates of the other pixels on the target row.
[0101] In one alternative embodiment, different algorithms can be used to determine the coordinates of the light points on the light board based on the number of pixels in any row and the parity of the number of light points. For example, as Figure 13 As shown, the source region image needs to be mapped onto the fan-shaped light panel. Each sub-unit represents a row of pixels in the source rectangular region, corresponding to an arc-shaped row on the fan-shaped light panel, i.e., the correspondence between the left and right lines in the figure.
[0102] The algorithm flow is as follows:
[0103] Let n be the number of pixels in a row of the rectangular signal source image, and m be the number of LEDs in a single arc of the fan-shaped light panel.
[0104] 1. If m is even and n is even:
[0105] Divide the light source m into two halves, left and right. For the left half (m / 2 light points), obtain the corresponding coordinates based on the coordinates of n / 2 pixels. For the right half (m / 2 light points), obtain the corresponding coordinates based on the coordinates of n / 2 pixels. Integrate the coordinates of the light points from the left and right halves to obtain the coordinates of the m light points.
[0106] 2. If m is even and n is odd:
[0107] Remove the midpoint of n to make n an even number; based on the coordinate information of the remaining n-1 pixels, obtain the coordinate information corresponding to the m light points.
[0108] 3. If m is odd and n is even:
[0109] The middle point of m corresponds to the two middle points of n, dividing the network into three branches: left, middle, and right. For the left branch (m-1) / 2 light points, the corresponding coordinates can be obtained based on the coordinates of the left (n-2) / 2 pixels. For the middle branch (1 light point), the corresponding coordinates can be obtained based on the coordinates of the two middle pixels of n. For the right branch (m-1) / 2 light points, the corresponding coordinates can be obtained based on the coordinates of the right (n-2) / 2 pixels. Integrating the coordinates of the light points from the left, middle, and right branches yields the coordinates of all m light points.
[0110] 4. If m is odd and n is odd:
[0111] The midpoints of m and n correspond, dividing the network into three branches: left, middle, and right. For the left branch (m-1) / 2 light points, the corresponding coordinates can be obtained based on the coordinates of the left (n-1) / 2 pixels. For the middle branch (1 light point), the corresponding coordinates are the coordinates of the midpoint of n. For the right branch (m-1) / 2 light points, the corresponding coordinates can be obtained based on the coordinates of the right (n-1) / 2 pixels. Integrating the coordinates of the light points from the left, middle, and right branches yields the coordinates of all m light points.
[0112] The above steps can be repeated until the coordinate information corresponding to all m light points is obtained.
[0113] Optionally, calculating the absolute coordinates of each cabinet based on the relative coordinates of at least one light panel contained in each cabinet includes: calculating the relative coordinates of each cabinet based on the processed coordinates of at least one light panel contained in each cabinet; generating second position information and second size information of the display image of each cabinet; and calculating the absolute coordinates of each cabinet based on the second position information, the second size information, and the relative coordinates.
[0114] The processed coordinates in the above steps can be obtained by correcting the relative coordinates of the light panel.
[0115] In the above steps, for each box, the relative coordinates of the box can be calculated by combining the processed relative coordinates of all the light panels in the box.
[0116] In the above steps, the portion of the image displayed by the cabinet in the signal source image can be determined based on the position of the cabinet in the entire irregular display screen, thereby determining the second position information of the image in the entire signal source image and the second size information of the image. Finally, the absolute coordinates of the cabinet are calculated based on the second position information, the second size information and the relative coordinates of the display image corresponding to the cabinet.
[0117] The following is combined with Figure 14 A preferred embodiment of the present invention is described in detail below. The irregularly shaped display screen is shaped like a watermelon rind and needs to display the entire rectangular signal source image (wherein, the total number of maximum LEDs in the latitudinal direction of the watermelon rind is the same as the width of the signal source). The watermelon rind-shaped screen is composed of multiple layers of fan-shaped sub-screens. Each fan-shaped sub-screen consists of one or more fan-shaped boxes, and each fan-shaped box consists of one or more fan-shaped light panels of the same size and shape. The fan-shaped sub-screens can be processed as follows: traverse all layers of fan-shaped sub-screens; process the display status of the corresponding layer of sub-screens; and obtain the final result. The processing method for processing the corresponding layer of sub-screens is as follows: Figure 13As shown, the process includes: loading the code table information of the lamp points of a single sector light panel in the corresponding layer; setting the Y depth reference point (relative coordinates); obtaining the position and size of the rectangular signal source image corresponding to a single sector light panel; and calculating the relative coordinates of the rectangular signal source corresponding to each lamp point for each arc row in the Y depth, based on the obtained position and size of the rectangular signal source image corresponding to the sector light panel and the actual lamp point situation on the code table. After calculating all Y depths, the source relative coordinate information corresponding to the entire sector light panel is obtained; coordinate correction is performed; the above steps are continued to process other sector light panels until all sector light panels are processed; for all sector boxes, the source relative coordinates of each light panel in the sector box are combined, and the source relative coordinates of each sector box are output; the position and size of the rectangular signal source image corresponding to each sector box are obtained; based on the position of the rectangular signal source corresponding to the sector box and the source relative coordinates of the sector box, the source absolute coordinates corresponding to the light points in the sector box are calculated; based on the position and size of the rectangular signal source corresponding to the sector box, the signal source slicing is set (for complex screen matching); the source absolute coordinates corresponding to the light points in the sector box are converted into routing table information; the signal source slicing setting information (for complex screen matching), receiver card width and height, light panel width and height, and routing table information are sent to the receiver card hardware.
[0118] According to an embodiment of the present invention, a screen matching device for a display screen is also provided. This device can be used to perform the screen matching method for the display screen in the above embodiments. The specific implementation scheme and application scenario are the same as those in the above embodiments, and will not be described in detail here.
[0119] Figure 15 This is a schematic diagram of a screen fitting device according to an embodiment of the present invention, such as... Figure 14 As shown, the device includes:
[0120] Modeling module 1502 is used to perform 3D modeling of the display screen to obtain a 3D model of the display screen.
[0121] The acquisition module 1504 is used to acquire the target signal source image, wherein the target signal source image is rectangular in shape.
[0122] The matching module 1506 is used to match multiple virtual boxes with the 3D model to obtain the 3D model after screen matching, wherein the multiple virtual boxes correspond one-to-one with the multiple boxes of the display screen.
[0123] The mapping module 1508 is used to map the target signal source image onto the three-dimensional model after the screen is set, wherein the target signal source image is displayed by multiple boxes.
[0124] Optionally, the mapping module includes: a coordinate calculation unit for calculating the absolute coordinates of each box, wherein the absolute coordinates are used to characterize the coordinates of the display image corresponding to the light point inside the box relative to the box; a segmentation unit for segmenting the target signal source image based on the absolute coordinates of each box to obtain the signal source image of each box; and a mapping unit for mapping the signal source image of each box onto each box.
[0125] Optionally, the device is also used to obtain the topology parameters of the display screen based on the absolute coordinates of each cabinet; and to send the topology parameters to each cabinet.
[0126] Optionally, the device is also used to acquire device information of the display screen, wherein the device information includes at least: device name and network address; acquire connection information of each cabinet, wherein the connection information is used to characterize the connection relationship between each cabinet and other cabinets, and the connection information includes at least: connection sequence number and port number; and generate a configuration image based on topology parameters, device information and connection information.
[0127] Optionally, the device is also used to generate a topology map based on topology parameters; to annotate device information and connection information in the topology map; and to generate a screen display image.
[0128] Optionally, the coordinate determination unit includes: an acquisition subunit for acquiring code table information and reference points of the light panel, wherein the code table information is used to characterize the arrangement information of the light dots on the light panel, and the reference points are used to characterize the positional relationship of the rotation center of the arc relative to the target signal source image; a relative coordinate calculation subunit for calculating the relative coordinates of the light panel based on the code table information and reference points, wherein the relative coordinates are used to characterize the coordinates of the display image corresponding to the light dots on the light panel relative to the origin of the target signal source image; and an absolute coordinate calculation subunit for calculating the absolute coordinates of each enclosure based on the relative coordinates of at least one light panel contained in each enclosure.
[0129] Optionally, when the display screen is fan-shaped or circular and is used to display a portion of the image from the target signal source image, the relative coordinate calculation subunit is also used to calculate the relative coordinates of the target light board based on the target code table information and the target reference point, wherein the target light board is any light board in each sub-screen layer; the relative coordinates of the target light board are rotated with the target reference point as the origin to calculate the relative coordinates of the other light boards in each sub-screen layer.
[0130] Optionally, the relative coordinate calculation subunit is also used to calculate the coordinates of a reference point on a target arc row in the target light board based on the target code table information and the target reference point, wherein the reference point is the midpoint of the target arc row, and the target arc row is any arc row in the target light board; rotate the coordinates of the reference point with the target reference point as the origin to calculate the relative coordinates of each light point on the target arc row; and calculate the relative coordinates of the target light board based on the relative coordinates of all light points on all arc rows in the target light board.
[0131] Optionally, the relative coordinate calculation subunit is also used to calculate the depth of the target radian line based on the target code table information, wherein the depth is used to characterize the distance between the target radian line and the target reference point; and to calculate the coordinates of the reference point based on the depth of the target radian line and the coordinates of the target reference point.
[0132] Optionally, the relative coordinate calculation subunit is also used to calculate the number of light points on the target arc row based on the target code table information; when the number is even, the coordinates of the reference point are rotated counterclockwise and clockwise with the target reference point as the origin to calculate the relative coordinates of each light point; when the number is odd, the coordinates of the target light point located at the center position on the target arc row are calculated based on the coordinates of the reference point, and the coordinates of the target light point are rotated counterclockwise and clockwise with the target reference point as the origin to calculate the relative coordinates of other light points on the target arc row.
[0133] Optionally, the coordinate calculation unit is also used to perform coordinate correction on the relative coordinates of the light panel and calculate the corrected coordinates of the light panel; to perform precision processing on the corrected coordinates of the light panel and calculate the processed coordinates of the light panel; and to calculate the absolute coordinates of each box based on the processed coordinates of at least one light panel contained in each box.
[0134] Optionally, the coordinate calculation unit is also used to generate information of a first rectangular frame corresponding to the light panel, wherein the first rectangular frame is tangent to the light panel; calculate multiple correction values based on the information of the first rectangular frame, wherein the difference between the multiple correction values is a preset value; and calculate the corrected coordinates of each light point in the light panel based on the multiple correction values, wherein the difference between the corrected coordinates of each light point and the relative coordinates of each light point is less than the preset value.
[0135] Optionally, the absolute coordinate calculation subunit is also used to calculate the relative coordinates of each box based on the processed coordinates of at least one light panel contained in each box; generate information of a second rectangular frame corresponding to each box, wherein the second rectangular frame is tangent to each box; and calculate the absolute coordinates of each box based on the relative coordinates of each box and the information of the second rectangular frame corresponding to each box.
[0136] Optionally, when the shape of the display screen is the shape between two meridians of a sphere, and the display screen is used to display the target signal source image, wherein the maximum width of the display screen in the parallel direction is the same as the width of the target signal source image, the relative coordinate determination subunit is further used to obtain the first position information and the first size information of the display image of the lamp board; and calculate the relative coordinates of the lamp board based on the first position information, the first size information, the code table information and the reference point.
[0137] Optionally, the relative coordinate calculation subunit is further configured to: calculate, based on the first position information and the first size information, a first number of pixels on the target row and a first coordinate of each pixel in the display image of the light panel; calculate, based on the code table information and the reference point, a second number of light points on the target row in the light panel; calculate, based on the first number, the second number and the first coordinate of each pixel, a second coordinate of each light point on the target row; and calculate, based on the second coordinates of all light points on the light panel, the relative coordinates of the light panel.
[0138] Optionally, the relative coordinate calculation subunit is further configured to: when both the first and second quantities are even, calculate the second coordinate of each light point based on the first coordinate of each pixel; when the first quantity is odd and the second quantity is even, delete the pixel at the middle position of the target row, and calculate the second coordinate of each light point based on the first coordinate of the other pixels; when the first quantity is even and the second quantity is odd, calculate the second coordinate of the light point at the middle position of the target row based on the first coordinates of the two pixels at the middle position of the target row, and calculate the second coordinate of the other light points in the target row based on the first coordinates of the other pixels in the target row; when both the first and second quantities are odd, calculate the second coordinate of the light point at the middle position of the target row based on the first coordinate of the pixel at the middle position of the target row, and calculate the second coordinate of the other light points in the target row based on the first coordinates of the other pixels in the target row.
[0139] Optionally, the absolute coordinate calculation subunit is also used to calculate the relative coordinates of each box based on the processed coordinates of at least one light panel contained in each box; generate second position information and second size information of the display image of each box; and calculate the absolute coordinates of each box based on the second position information, the second size information and the relative coordinates.
[0140] According to an embodiment of the present invention, a storage medium is also provided. The computer-readable storage medium includes a stored program, wherein, when the program is running, it controls the device where the computer-readable storage medium is located to execute the screen configuration method of the display screen in the above embodiment.
[0141] According to an embodiment of the present invention, a processor is also provided, which is used to run a program, wherein the program executes the display screen matching method in the above embodiments.
[0142] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0143] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0144] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0145] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0146] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0147] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for matching a display screen, characterized in that, include: The display screen is modeled in three dimensions to obtain a three-dimensional model of the display screen; Acquire a target signal source image, wherein the target signal source image is rectangular in shape; Multiple virtual boxes are matched with a 3D model to obtain a 3D model after screen matching, wherein the multiple virtual boxes correspond one-to-one with the multiple boxes of the display screen; The target signal source image is mapped onto the three-dimensional model after the screen is configured, wherein the target signal source image is displayed by the plurality of boxes; Each enclosure contains at least one light panel, the physical arrangement of the light points on the light panel being an arc shape, wherein mapping the target signal source image onto the three-dimensional model after screen configuration includes: Calculate the absolute coordinates of each cabinet, wherein the absolute coordinates are used to characterize the coordinates of the display image corresponding to the light point inside the cabinet relative to the cabinet, and the absolute coordinates of the cabinet itself in the cabinet's coordinate system; Based on the absolute coordinates of each box, the target signal source image is segmented to obtain the signal source image of each box; Map the signal source image of each box onto each virtual box; The calculation of the absolute coordinates of each box includes: Obtain the code table information and reference point of the light panel, wherein the code table information is used to characterize the arrangement information of the light points on the light panel, and the reference point is used to characterize the positional relationship of the rotation center of the arc relative to the target signal source image; Based on the code table information and the reference point, the relative coordinates of the lamp board are calculated, wherein the relative coordinates of the lamp board are used to characterize the positional relationship between the display image corresponding to the lamp point on the lamp board and the origin of the target signal source image; Based on the relative coordinates of at least one light panel contained in each enclosure, the absolute coordinates of each enclosure are calculated, and the absolute coordinates are obtained by performing coordinate transformation on the relative coordinates of at least one light panel contained in each enclosure.
2. The method according to claim 1, characterized in that, After calculating the absolute coordinates of each of the boxes, the method further includes: The topology parameters of the display screen are obtained based on the absolute coordinates of each cabinet. Send the topology parameters to each of the boxes.
3. The method according to claim 2, characterized in that, After mapping the target signal source image onto the configured 3D model, the method further includes: Obtain the device information of the display screen, wherein the device information includes at least: device name and network address; Obtain the connection information of each enclosure, wherein the connection information is used to characterize the connection relationship between each enclosure and other enclosures, and the connection information includes at least: connection sequence number and port number; A matching screen image is generated based on the topology parameters, the device information, and the connection information.
4. The method according to claim 3, characterized in that, Generating a screen display image based on the topology parameters, the device information, and the connection information includes: Based on the aforementioned topology parameters, a topology graph is generated; The device information and connection information are marked in the topology diagram to generate the configuration image.
5. The method according to claim 1, characterized in that, The display screen is fan-shaped or circular in shape, and is used to display all or part of the image in the signal source image. When the display screen displays all the images in the signal source image, the maximum width of the display screen in the parallel direction is the same as the width of the signal source image.
6. A screen fitting device for a display screen, characterized in that, include: The modeling module is used to perform three-dimensional modeling on the display screen to obtain a three-dimensional model of the display screen; An acquisition module is used to acquire an image of a target signal source, wherein the shape of the target signal source image is rectangular; The matching module is used to match multiple virtual boxes with a 3D model to obtain a 3D model after screen matching, wherein the multiple virtual boxes correspond one-to-one with the multiple boxes of the display screen; A mapping module is used to map the target signal source image onto the three-dimensional model after the screen is configured, wherein the target signal source image is displayed by the plurality of boxes; Each enclosure contains at least one light panel, and the physical arrangement of the light points on the light panel is in an arc shape. The mapping module includes: a coordinate calculation unit for calculating the absolute coordinates of each enclosure, wherein the absolute coordinates are used to characterize the coordinates of the display image corresponding to the light point in the enclosure relative to the enclosure; a segmentation unit for segmenting the target signal source image based on the absolute coordinates of each enclosure to obtain the signal source image of each enclosure; and a mapping unit for mapping the signal source image of each enclosure onto each enclosure. The coordinate determination unit includes: an acquisition subunit for acquiring code table information and reference points of the light panel, wherein the code table information is used to characterize the arrangement information of the light dots on the light panel, and the reference points are used to characterize the positional relationship of the rotation center of the arc relative to the target signal source image; a relative coordinate calculation subunit for calculating the relative coordinates of the light panel based on the code table information and reference points, wherein the relative coordinates are used to characterize the coordinates of the display image corresponding to the light dots on the light panel relative to the origin of the target signal source image; and an absolute coordinate calculation subunit for calculating the absolute coordinates of each cabinet based on the relative coordinates of at least one light panel contained in each cabinet, wherein the absolute coordinates are obtained by performing coordinate transformation on the relative coordinates of at least one light panel contained in each cabinet.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform the screen configuration method of any one of claims 1 to 5.
8. A processor, characterized in that, The processor is used to run a program, wherein the program executes the screen matching method of any one of claims 1 to 5 when it runs.
Citation Information
Patent Citations
Wiring method of LED (light-emitting diode) special-shaped screen
CN105931574A
Spliced display screen configuration method, device and system
CN112256163A
Spliced display screen image display processing method, device, system and computer readable storage medium
CN112363682A
Visual screen configuration method, device and system and computer readable medium
CN112394893A