CN114489537A - Screen configuration method and device of display screen, storage medium and processor - Google Patents

Screen configuration method and device of display screen, storage medium and processor Download PDF

Info

Publication number
CN114489537A
CN114489537A CN202111509157.3A CN202111509157A CN114489537A CN 114489537 A CN114489537 A CN 114489537A CN 202111509157 A CN202111509157 A CN 202111509157A CN 114489537 A CN114489537 A CN 114489537A
Authority
CN
China
Prior art keywords
coordinates
lamp
signal source
display screen
box body
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111509157.3A
Other languages
Chinese (zh)
Inventor
何国经
毛茜
韦桂锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Novastar Electronic Technology Co Ltd
Original Assignee
Xian Novastar Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN202111509157.3A priority Critical patent/CN114489537A/en
Publication of CN114489537A publication Critical patent/CN114489537A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1446Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display display composed of modules, e.g. video walls
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a screen configuration method and device of a display screen, a storage medium and a processor. Wherein, the method comprises the following steps: carrying out 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 shape of the target signal source image is rectangular; matching the plurality of virtual boxes with the three-dimensional model to obtain the three-dimensional model after screen matching, wherein the plurality of virtual boxes correspond to the plurality of boxes of the display screen one to one; and mapping the target signal source image to the three-dimensional model after screen matching, wherein the target signal source image is displayed by a plurality of boxes. The invention solves the technical problems that the screen configuration complexity of the three-dimensional display screen is high and the screen body effect is not easy to present.

Description

Screen configuration method and device of display screen, storage medium and processor
Technical Field
The invention relates to the field of display control of LED display screens, in particular to a screen configuration method and device of a display screen, a storage medium and a processor.
Background
At present, an LED display screen is a rectangular display screen formed by splicing regular box bodies, and a screen matching scheme for the LED display screen is very mature. However, for 3D stereoscopic display screens, such as spherical and cylindrical display screens, since the display screens are special-shaped display screens formed by splicing irregular boxes, the display screens can be correctly displayed on the stereoscopic display screen body only through special operations and image processing, and for such a display screen body, there is a problem of screen configuration complexity.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a screen configuration method and device of a display screen, a storage medium and a processor, and at least solves the technical problems that the screen configuration complexity of a three-dimensional display screen is high and the screen body effect is not easy to present.
According to an aspect of an embodiment of the present invention, there is provided a screen matching method for a display screen, the method including: carrying out 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 shape of the target signal source image is rectangular; matching the plurality of virtual boxes with the three-dimensional model to obtain the three-dimensional model after screen matching, wherein the plurality of virtual boxes correspond to the plurality of boxes of the display screen one to one; and mapping the target signal source image to the three-dimensional model after screen matching, wherein the target signal source image is displayed by a plurality of boxes.
Optionally, each box body comprises at least one lamp panel, and the physical arrangement of the lamp points on the lamp panels presents a circular arc shape, wherein the mapping of the target signal source image to the three-dimensional model after screen matching comprises: calculating absolute coordinates of each box body, wherein the absolute coordinates are used for representing coordinates of a display image corresponding to the lamp points in the box body relative to the box body; dividing a target signal source image based on the absolute coordinates of each box body to obtain a signal source image of each box body; and mapping the signal source image of each box body to each virtual box body.
Optionally, after calculating the absolute coordinates of each box, the method further comprises: obtaining topological parameters of the display screen based on the absolute coordinates of each box body; and sending the topology parameters to each box body.
Optionally, after mapping the target signal source image onto the screened three-dimensional model, the method further includes: acquiring equipment information of a display screen, wherein the equipment information at least comprises: device name and network address; acquiring the connection information of each box body, wherein the connection information is used for representing the connection relation between each box body and other box bodies, and the connection information at least comprises: the connection sequence number and the port number generate a screen configuration image based on the topology parameter, the device information, and the connection information.
Optionally, generating the screen configuration image based on the topology parameter, the device information, and the connection information includes: generating a topological graph based on the topological parameters; and marking the equipment information and the connection information in the topological graph to generate a screen matching image.
Optionally, calculating the absolute coordinates of each bin comprises: acquiring code table information and a reference point of the lamp panel, wherein the code table information is used for representing arrangement information of lamp points on the lamp panel, and the reference point is used for representing the position relation of a circular arc-shaped rotation center relative to a target signal source image; calculating relative coordinates of the lamp panel based on the code table information and the reference points, wherein the relative coordinates of the lamp panel are used for representing the position relation of a display image corresponding to the lamp points on the lamp panel relative to the original point of the source image of the target signal; and calculating the absolute coordinates of each box body based on the relative coordinates of at least one lamp panel contained in each box body.
Optionally, in a case that the display screen is in a fan shape or a circular ring shape and is used for displaying a partial image in the source image of the target signal, calculating the relative coordinates of the lamp panel based on the code table information and the reference point includes: calculating relative coordinates of a target lamp panel based on target code list information and a target reference point of the target lamp panel, wherein the target lamp panel is any one of the sub-screens of each layer; and rotating the relative coordinates of the target lamp panel by taking the target reference point as an original point, and calculating to obtain the relative coordinates of other lamp panels in each layer of the sub-screen.
Optionally, based on the target code table information and the target reference point of the target lamp panel, calculating the relative coordinate of the target lamp panel includes: calculating coordinates of a reference point on a target radian row in the target lamp panel based on the target code table information and a target reference point, wherein the reference point is a middle point on the target radian row, and the target radian row is any one radian row in the target lamp panel; rotating the coordinates of the reference points by taking the target reference points as the original points, and calculating to obtain the relative coordinates of each lamp point on the target radian row; and calculating the relative coordinates of the target lamp panel based on the relative coordinates of all lamp points on all radian rows in the target lamp panel.
Optionally, based on the target code table information and the target reference point, calculating coordinates of the reference point on the target radian row in the target lamp panel includes: calculating the depth of a target radian row based on the target code table information, wherein the depth is used for representing the distance between the target radian row and a target reference point; the coordinates of the reference points are calculated based on the depth of the target radian row and the coordinates of the target reference points.
Optionally, the step of rotating the coordinates of the reference point by using the target reference point as an origin, and calculating the relative coordinates of each lamp point on the target arc row includes: calculating the number of lamp points on a target radian line based on the target code table information; under the condition that the number is even, the coordinates of the reference points are rotated anticlockwise and clockwise by taking the target reference points as the original points, and the relative coordinates of each lamp point are obtained through calculation; under the condition that the number of the lamp points is odd, the coordinates of the target lamp point positioned at the central position on the target radian line are calculated based on the coordinates of the reference points, the coordinates of the target lamp point are rotated anticlockwise and clockwise by taking the target reference point as an original point, and the relative coordinates of other lamp points on the target radian line are calculated.
Optionally, before calculating the absolute coordinates of each box based on the relative coordinates of at least one lamp panel included in each box, the method further includes: coordinate correction is carried out on the relative coordinate of the lamp panel, and the corrected coordinate of the lamp panel is obtained through calculation; performing precision processing on the corrected coordinates of the lamp panel, and calculating to obtain the processed coordinates of the lamp panel; and calculating the absolute coordinates of each box body based on the processed coordinates of at least one lamp panel contained in each box body.
Optionally, coordinate correction is performed on the relative coordinate of the lamp panel, and the calculation of the corrected coordinate of the lamp panel includes: generating information of a first rectangular frame corresponding to the lamp panel, wherein the first rectangular frame is tangent to the lamp panel; calculating a plurality of correction values based on the information of the first rectangular frame, wherein the difference value between the plurality of correction values is a preset value; and calculating the corrected coordinates of each lamp point in the lamp panel based on the correction values, wherein the difference value between the corrected coordinates of each lamp point and the relative coordinates of each lamp point is smaller than a preset value.
Optionally, calculating the absolute coordinates of each box based on the processed coordinates of at least one lamp panel included in each box comprises: calculating relative coordinates of each box body based on the processed coordinates of at least one lamp panel contained 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; and 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.
Optionally, when the display screen is in a shape between two meridians of a spherical surface, and the display screen is configured to display a target signal source image, where, when the display screen displays all images in the signal source images, and when a maximum width of the display screen in the direction of the latitudes is the same as a width of the target signal source image, calculating the relative coordinate of the lamp panel based on the code table information and the reference point includes: acquiring first position information and first size information of a display image of the lamp panel; based on the first position information, the first size information, the code table information and the reference point, the relative coordinate of the lamp panel is calculated.
Optionally, based on the first position information, the first size information, the code table information, and the reference point, calculating the relative coordinate of the lamp panel includes: calculating a first number of pixel points on a target line and a first coordinate of each pixel point in a display image of the lamp panel based on the first position information and the first size information; calculating a second number of light points on a target row in the lamp panel based on the code table information and the reference point; calculating a second coordinate of each lamp point on the target row based on the first number, the second number and the first coordinate of each pixel point; and calculating to obtain the relative coordinates of the lamp panel based on the second coordinates of all the lamp points in the lamp panel.
Optionally, calculating the second coordinate of each light point on the target row based on the first number, the second number, and the first coordinate of each pixel point includes: under the condition that the first number and the second number are even numbers, calculating a second coordinate of each lamp point based on the first coordinate of each pixel point; under the condition that the first number is an odd number and the second number is an even number, deleting the pixel points at the middle position on the target row, and calculating the second coordinate of each lamp point based on the first coordinates of other pixel points; under the condition that the first number is even number and the second number is odd number, calculating the second coordinate of the lamp point at the middle position on the target line based on the first coordinates of the two pixel points at the middle position on the target line, and calculating the second coordinates of other lamp points on the target line based on the first coordinates of other pixel points on the target line; under the condition that the first number and the second number are both odd numbers, the second coordinates of the lamp points at the middle position on the target row are calculated based on the first coordinates of the pixel points at the middle position on the target row, and the second coordinates of other lamp points on the target row are calculated based on the first coordinates of other pixel points on the target row.
Optionally, calculating the absolute coordinates of each box based on the relative coordinates of at least one lamp panel included in each box comprises: calculating the relative coordinates of each box body based on the processed coordinates of at least one lamp panel contained in each box body; generating second position information and second size information of a display image of each box; absolute coordinates of each box are calculated based on the second position information, the second size information, and the relative coordinates.
According to another aspect of the embodiments of the present invention, there is also provided a screen matching apparatus for a display screen, the apparatus including: the modeling module is used for carrying out three-dimensional modeling on the display screen to obtain a three-dimensional model of the display screen; the acquisition module is used for acquiring a target signal source image, wherein the target signal source image is rectangular in shape; the matching module is used for matching the plurality of virtual boxes with the three-dimensional model to obtain the three-dimensional model after screen matching, wherein the plurality of virtual boxes correspond to the plurality of boxes of the display screen one by one; and the mapping module is used for mapping the target signal source image to the three-dimensional model after screen matching, wherein the target signal source image is displayed by the plurality of boxes.
According to another aspect of the embodiments of the present invention, a computer-readable storage medium is further provided, where the computer-readable storage medium includes a stored program, and when the program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the method for configuring the display screen in the foregoing embodiments.
According to another aspect of the embodiments of the present invention, there is also provided a processor, where the processor is configured to execute a program, where the program executes the method for configuring the display screen in the foregoing embodiments.
In the embodiment of the invention, the display screen is subjected to three-dimensional modeling to obtain a three-dimensional model of the display screen; matching the plurality of virtual boxes with the three-dimensional model to obtain a three-dimensional model after screen matching; and mapping the acquired target signal source image to the three-dimensional model after screen matching. It is easy to notice that, through carrying out three-dimensional modeling on the display screen, a target signal source image is mapped onto a plurality of boxes in the display screen by utilizing a specific algorithm, wherein the position of a virtual box can be manually adjusted, the technical effect of visualization in the screen matching process is realized, and then the technical problems that the screen matching complexity of the three-dimensional display screen is high and the screen body effect is not easy to present are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of an unconventional shaped LED display screen according to the prior art;
FIG. 2 is a flowchart of a method for configuring a display screen according to an embodiment of the present invention;
FIG. 3 is a flowchart of an alternative method for matching a shaped display according to an embodiment of the present invention;
FIG. 4 is a flow diagram of an alternative screen configuration scheme derivation method according to an embodiment of the present invention;
FIG. 5 is a schematic view of an alternative display for a shaped LED display screen in the shape of a sector or a ring according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating an alternative case where the arc row lamp number is even according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating an alternative case where the number of arc row lamps is odd, according to an embodiment of the present invention;
FIG. 8 is a flow chart of an alternative coordinate correction algorithm according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of a rotary combining scheme according to the prior art;
FIG. 10 is a schematic diagram of an alternative optimized rotation combining scheme in accordance with embodiments of the present invention;
FIG. 11 is a flow chart of an alternative display method for a shaped display screen in the shape of a sector or a ring in accordance with an embodiment of the present invention;
FIG. 12 is a schematic view of an alternative display of a shaped LED display in the form of watermelon peel, according to an embodiment of the present invention;
FIG. 13 is a schematic diagram of an alternative image compression display scenario in accordance with an embodiment of the present invention;
FIG. 14 is a flow chart of an alternative method of displaying a shaped display screen shaped as a watermelon peel in accordance with an embodiment of the present invention;
fig. 15 is a schematic diagram of a screen matching device of a display screen according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with an embodiment of the present invention, there is provided a method for screen matching of a display screen, it should be noted that the steps shown in the flowchart of the figure may be executed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that shown.
In the embodiment of the present invention, a special-shaped display screen is taken as an example for explanation, where the special-shaped display screen is composed of at least one layer of sub-screens, each layer of sub-screen is composed of at least one box body, each box body is composed of at least one lamp panel with the same shape and size, and the physical arrangement of the lamp points on the lamp panels is arc-shaped. Optionally, the light points of each lamp panel may be arranged in a manner as shown in fig. 1, and at this time, the light points on the lamp panel and the pixel points on the rectangular signal source image are not point-to-point.
In an optional embodiment, the special-shaped display screen can be composed of a plurality of fan-shaped lamp panels, the fan-shaped lamp panels can be spliced into a larger fan shape or a larger circular ring shape to obtain the fan-shaped or circular ring-shaped special-shaped display screen, the fan-shaped lamp panels can also be spliced into a watermelon peel shape, namely, the shape of the spherical shape after being split along the longitude line is not limited to the shape.
Fig. 2 is a flowchart of a screen matching method for a display screen according to an embodiment of the present invention, and as shown in fig. 2, the method includes the following steps:
and S202, carrying out three-dimensional modeling on the display screen to obtain a three-dimensional model of the display screen.
The three-dimensional modeling in the above steps can be performed by using the existing three-dimensional modeling software, such as, but not limited to, MODO12, blend, Rhinocero, Maya.
And opening an interface of the three-dimensional modeling software in the steps, and constructing a three-dimensional model by inputting parameters of the special-shaped display screen.
And step S204, acquiring a target signal source image, wherein the shape of the target signal source image is rectangular.
The target signal source in the above steps may be an external signal source or an internal signal source, where the internal signal source refers to a signal source that outputs a test picture or a custom image to the outside to replace a video source under the condition that there is no video source. The target signal source image may be a picture to be displayed, an image frame in a video, but is not limited thereto.
And S204, matching the plurality of virtual boxes with the three-dimensional model to obtain the three-dimensional model after screen matching, wherein the plurality of virtual boxes correspond to the plurality of boxes of the display screen one by one.
In the above steps, on the three-dimensional model drawn on the three-dimensional modeling software, a virtual model of each box body in the display screen is constructed to obtain the virtual box body, and then the user drags all the virtual box bodies to the three-dimensional model according to the screen matching requirements of a plurality of box bodies in the display screen, so as to achieve the purpose of matching the plurality of virtual box bodies with the three-dimensional model, thereby obtaining the three-dimensional model after screen matching.
And step S206, mapping the target signal source image to the three-dimensional model after screen matching, wherein the target signal source image is displayed by a plurality of boxes.
In the above steps, the rectangular signal source image correspondingly displayed by each box body in the special-shaped display screen can be determined by calculating the absolute coordinates of the box bodies, and the corresponding rectangular signal source image is mapped to the three-dimensional model after screen matching through a specific algorithm for drawing. The specific implementation scheme is as described later.
In the embodiment of the invention, the display screen is subjected to three-dimensional modeling to obtain a three-dimensional model of the display screen; matching the plurality of virtual boxes with the three-dimensional model to obtain a three-dimensional model after screen matching; and mapping the acquired target signal source image to the three-dimensional model after screen matching. It is easy to notice that, through carrying out three-dimensional modeling on the display screen, a target signal source image is mapped onto a plurality of boxes in the display screen by utilizing a specific algorithm, wherein the position of a virtual box can be manually adjusted, the technical effect of visualization in the screen matching process is realized, and then the technical problems that the screen matching complexity of the three-dimensional display screen is high and the screen body effect is not easy to present are solved.
Optionally, each box body comprises at least one lamp panel, and the physical arrangement of the lamp points on the lamp panels presents a circular arc shape, wherein the mapping of the target signal source image to the three-dimensional model after screen matching comprises: calculating absolute coordinates of each box body, wherein the absolute coordinates are used for representing the coordinates of a display image corresponding to the lamp points in the box body relative to the box body; dividing a target signal source image based on the absolute coordinates of each box body to obtain a signal source image of each box body; and mapping the signal source image of each box body to each virtual box body.
In the above steps, the absolute coordinates of each box body forming the special-shaped display screen are calculated, the rectangular signal source image is segmented according to the absolute coordinates of the box bodies to obtain the rectangular signal source image correspondingly displayed by each box body, and then the segmented rectangular signal source image is mapped to the corresponding virtual box body.
Optionally, after calculating the absolute coordinates of each box, the method further comprises: obtaining topological parameters of the display screen based on the absolute coordinates of each box body; and sending the topology parameters to each box body.
In the above steps, the topological parameters of the special-shaped display screen are obtained according to the absolute coordinates of the boxes in the special-shaped display screen, that is, the position relationship among the boxes included in the special-shaped display screen is obtained, and the topological parameters are sent to each box.
Optionally, after mapping the target signal source image onto the screened three-dimensional model, the method further comprises: acquiring equipment information of a display screen, wherein the equipment information at least comprises: device name and network address; acquiring the connection information of each box body, wherein the connection information is used for representing the connection relation between each box body and other box bodies, and the connection information at least comprises: a connection sequence number and a port number; and generating a screen configuration image based on the topology parameters, the equipment information and the connection information.
In the above steps, the device information of all the devices to be used, including the device name and the IP address of each device, can be determined according to the screen configuration requirement of the special-shaped display screen, and the connection serial number and the network port connected between different boxes can be acquired, so as to generate a screen configuration image, which intuitively displays the position relationship and the connection relationship between different boxes, thereby facilitating the actual screen configuration process.
Optionally, generating the screen configuration image based on the topology parameter, the device information, and the connection information includes: generating a topological graph based on the topological parameters; and marking the equipment information and the connection information in the topological graph to generate a screen matching image.
In the above steps, a topological graph can be generated according to the position relationship of each box in the special-shaped display screen, and the device information and the connection information of each box can be marked in the topological graph to generate a screen matching image.
In an optional embodiment, a screen configuration method is provided, where the process is shown in fig. 3, a three-dimensional canvas may be first constructed by combining QT and OpenGL, where the three-dimensional canvas may refer to a three-dimensional region for constructing a three-dimensional graphics model, for example, a QT application may be used, the application may construct the three-dimensional canvas by using an OpenGL command, then a user inputs parameters of a special-shaped display screen in an interface, and the application may construct the three-dimensional graphics model by using the input parameters of the special-shaped display screen body and display the three-dimensional graphics model for the user to view. A user can drag and drop a virtual model corresponding to the box loaded by the equipment onto the three-dimensional model for screen matching operation according to the screen matching requirement of the actual display screen, and the coordinates of the box are calculated. And combining the topological parameters of the special-shaped display screen body according to the coordinates and the topological information of the box body and then transmitting the combined topological parameters to display screen control system equipment, wherein the equipment comprises sending equipment and receiving equipment, such as a two-in-one video processor, an LED screen module receiving card and the like. And meanwhile, acquiring a built-in source monitoring image according to the coordinates of the box body, namely, acquiring an image which is used for outputting a test picture or a self-defined image outwards under the condition that no video source exists to replace the image of the video source, dividing a video monitoring source image according to the position of the box body, and mapping the divided rectangular signal source image onto the box body through an algorithm for drawing.
In an optional embodiment, after obtaining the screen matching scheme, the screen matching scheme needs to be derived, and a flow of deriving the screen matching scheme is shown in fig. 4. And then acquiring the name and the IP address of each device, drawing device information according to the device name information and the IP address information, and storing the picture. And simultaneously, acquiring topological parameters of the special-shaped display screen body, drawing a topological plane diagram according to the shape of the special-shaped display screen box body, drawing a box body connection serial number and a net port number on the box body, and storing the picture.
Optionally, calculating the absolute coordinates of each bin comprises: acquiring code table information and a reference point of the lamp panel, wherein the code table information is used for representing arrangement information of lamp points on the lamp panel, and the reference point is used for representing the position relation of a circular arc-shaped rotation center relative to a target signal source image; calculating relative coordinates of the lamp panel based on the code table information and the reference points, wherein the relative coordinates are used for representing the position relation of a display image corresponding to the lamp points on the lamp panel relative to the original point of the source image of the target signal; and calculating the absolute coordinates of each box body based on the relative coordinates of at least one lamp panel contained in each box body.
The code table information in the above steps may be a row column snapshot point information table of the lamp panel, which records which lamp points actually exist or do not exist in the whole lamp panel, and also includes information such as data group, channel number, scanning number, and the like.
Because the lamp point physics on the lamp plate is arranged and is arc, and arc has a centre of a circle, also, every lamp plate all corresponds there is a centre of a circle, and the position of this centre of a circle has decided the position of lamp plate, consequently, can confirm the position of every lamp point in the lamp plate through the position of this centre of a circle. In the above steps, a coordinate system may be established on the signal source image, and the lower left corner or the upper right corner of the signal source image may be used as a coordinate origin, but is not limited thereto, and then the coordinates of the reference point in the signal source image are calculated according to the position of the display image corresponding to the lamp panel relative to the signal source image. For example, a coordinate system is established by taking the lower left corner of the signal source image as the origin of coordinates, the display image corresponding to the lamp panel is located at the lower left corner, the reference point is located at the upper left side of the signal source image coordinate system, the transverse distance from the origin of coordinates is x, the longitudinal distance of coordinates is y, and the coordinates of the reference point are (x, y).
The signal source image in the above steps may be a picture to be displayed, an image frame in a video, but is not limited thereto.
After the lamp panels are manufactured, the positions of all radian rows in the lamp panels are fixed relative to the reference points, therefore, in the steps, the relative coordinates of each lamp panel can be determined by using the code table information of the lamp panels according to the acquired reference points corresponding to the lamp panels, and the relative coordinates of any one lamp panel can be obtained through rotation calculation of the lamp panel according to a certain angle in sequence, so that the calculated amount is reduced.
In the above steps, a coordinate system may be established in the box body, coordinate conversion may be performed according to the obtained relative coordinates of the lamp panels, absolute coordinates of the lamp panels may be obtained through calculation, and then absolute coordinates of the box body may be obtained through calculation, or the relative coordinates of the box body may be directly calculated according to the relative coordinates of all the lamp panels included in each box body, and then the absolute coordinates of the box body may be obtained through calculation through coordinate conversion.
Optionally, in a case that the display screen is in a fan shape or a circular ring shape and is used for displaying a partial image in the source image of the target signal, calculating the relative coordinates of the lamp panel based on the code table information and the reference point includes: calculating relative coordinates of a target lamp panel based on target code list information and a target reference point of the target lamp panel, wherein the target lamp panel is any one of the sub-screens of each layer; and rotating the relative coordinates of the target lamp panel by taking the target reference point as an original point, and calculating to obtain the relative coordinates of other lamp panels in each layer of the sub-screen.
The special-shaped display screen in the above step is in a fan shape or a circular ring shape, and as shown in fig. 5, the special-shaped display screen displays a partial image in a rectangular signal source image.
The target lamp plate in the above steps can be any lamp plate on any box body on the special-shaped display screen.
In the fan-shaped or annular special-shaped display screen, the plurality of fan-shaped lamp panels are spliced together, and the relative coordinates of different fan-shaped lamp panels have an incidence relation, so that the relative coordinates of the lamp panel can be calculated according to the code table information and the reference point corresponding to one lamp panel (namely, the target lamp panel) in the steps, and then the relative coordinates of the lamp panel are rotated by taking the reference point corresponding to the lamp panel as an original point, so that the relative coordinates of other lamp panels are calculated.
Optionally, based on the target code table information and the target reference point of the target lamp panel, calculating the relative coordinate of the target lamp panel includes: calculating coordinates of a reference point on a target radian row in the target lamp panel based on the target code table information and a target reference point, wherein the reference point is a middle point on the target radian row, and the target radian row is any one radian row in the target lamp panel; rotating the coordinates of the reference points by taking the target reference points as the original points, and calculating to obtain the relative coordinates of each lamp point on the target radian row; and calculating the relative coordinates of the target lamp panel based on the relative coordinates of all lamp points on all radian rows in the target lamp panel.
For the light points on the same radian row, the difference between the relative coordinates is that the corresponding angles are different, so that in the above steps, the midpoint coordinate on the current radian row of the lamp panel, i.e. the coordinate of the reference point, can be calculated according to the reference point and the code table information corresponding to the target lamp panel, the coordinate of the reference point is taken as the origin point, the coordinate of the reference point is rotated, and the relative coordinate of each light point on the radian row is calculated. And performing the processing on other radian rows on the lamp panel to obtain the relative coordinates of each lamp point on the other radian rows, wherein the relative coordinates of each radian row of lamp points are the relative coordinates of the lamp panel.
Optionally, based on the target code table information and the target reference point, calculating coordinates of a reference point on a target radian row in the target lamp panel includes: calculating the depth of a target radian row based on the target code table information, wherein the depth is used for representing the distance between the target radian row and a target reference point; the coordinates of the reference points are calculated based on the depth of the target radian row and the coordinates of the target reference points.
After the lamp plate is manufactured, the position of each radian row in the lamp plate relative to the reference point and the corresponding fan-shaped angle are fixed, so that the distance between each radian row and the reference point can be directly calculated according to the code table information of the lamp plate to serve as the depth of each radian row. And determining the coordinates of the reference point according to the depth of the radian row and the coordinates of the reference point. For example, if the reference point is (x, Y), and the Y depth of the arc row corresponding to the lamp panel is d, the reference point coordinate corresponding to the arc row is (x, Y + d).
Optionally, the step of rotating the coordinates of the reference point by using the target reference point as an origin, and the step of calculating the relative coordinates of each lamp point on the target arc row includes: calculating the number of lamp points on a target radian line based on the target code table information; under the condition that the number is even, the coordinates of the reference points are rotated anticlockwise and clockwise by taking the target reference points as the original points, and the relative coordinates of each lamp point are obtained through calculation; under the condition that the number of the lamp points is odd, the coordinates of the target lamp point positioned at the central position on the target radian line are calculated based on the coordinates of the reference points, the coordinates of the target lamp point are rotated anticlockwise and clockwise by taking the target reference point as an original point, and the relative coordinates of other lamp points on the target radian line are calculated.
In the above step, each radian row in each lamp panel may be processed in the same manner, and the specific processing flow is as follows: firstly, inquiring the code table information of the lamp panel, and calculating the number of lamp points on a target radian line. And under the condition that the number of the lamp points is even, the coordinates of the reference point are rotated anticlockwise and clockwise by taking the reference point as an origin, and the relative coordinates of each lamp point are obtained through calculation. For example, as shown in fig. 6, where P is a reference point, P 'is a reference point, d is a Y depth of a radian row corresponding to the lamp panel, and θ is a sector angle corresponding to the sector lamp panel, if the reference point is P (x, Y), the coordinate of the reference point P' point is (x, Y + d), the example radian row is 6 lamp points, and the 6 lamp points are sequentially calculated by clockwise rotating the P 'point by 5 θ/12, 3 θ/12, θ/12, counterclockwise rotating the P' point by θ/12, 3 θ/12, and 5 θ/12. And under the condition that the number of the lamp points is odd, taking the coordinates of the lamp points positioned at the central position of the radian row as the coordinates of the reference point, taking the reference point as an original point, carrying out anticlockwise rotation and clockwise rotation on the coordinates of the reference point, and calculating to obtain the relative coordinates of other lamp points on the radian row. For example, as shown in fig. 7, where P is a reference point, P ' is a reference point, d is a Y depth of a radian row corresponding to the lamp panel, and θ is a sector angle corresponding to the sector lamp panel, if the reference point is P (x, Y), the coordinate of the reference point P ' is (x, Y + d), the example radian row is 5 lamp points, where the coordinate of P ' is the coordinate of a middle lamp point, and the remaining 4 lamp points are calculated by clockwise rotating the P ' point by 4 θ/10, 2 θ/10, counterclockwise rotating the P ' point by 2 θ/10, and 4 θ/10.
Optionally, before calculating the absolute coordinates of each box based on the relative coordinates of at least one lamp panel included in each box, the method further includes: coordinate correction is carried out on the relative coordinates of the lamp panel, and the corrected coordinates of the lamp panel are obtained through calculation; performing precision processing on the corrected coordinates of the lamp panel, and calculating to obtain the processed coordinates of the lamp panel; and calculating the absolute coordinates of each box body based on the processed coordinates of at least one lamp panel contained in each box body.
In the above steps, the relative coordinates of each lamp panel in the light box may be corrected according to a coordinate correction algorithm, the corrected coordinates are obtained through calculation, the corrected coordinates are subjected to precision processing, the floating point type coordinates are converted into integer coordinates, the processed coordinates are obtained through calculation, the processed coordinates of all the lamp panels in the box body are subjected to combination processing to obtain the relative coordinates of the box body, and finally the absolute coordinates of the box body are obtained through coordinate conversion.
Optionally, coordinate correction is performed on the relative coordinate of the lamp panel, and the calculation of the corrected coordinate of the lamp panel includes: generating information of a first rectangular frame corresponding to the lamp panel, wherein the first rectangular frame is tangent to the lamp panel; calculating a plurality of correction values based on the information of the first rectangular frame, wherein the difference value between the plurality of correction values is a preset value; and calculating the corrected coordinates of each lamp point in the lamp panel based on the correction values, wherein the difference value between the corrected coordinates of each lamp point and the relative coordinates of each lamp point is smaller than a preset value.
The information of the first rectangular frame in the above steps may be circumscribed rectangle information of the fan-shaped lamp panel, and the correction value may be a pixel correction value.
In an alternative embodiment, the whole coordinate correction process is shown in fig. 8: inputting relative coordinates (floating point type) of a fan-shaped lamp panel to be corrected; then inputting pixel correction values v _ x and v _ y in the x and y directions, and calculating circumscribed rectangle information of the fan-shaped lamp panel; respectively taking y 'as yMin-yMax of the circumscribed rectangle, increasing the value from yMin to yMax by 1, obtaining a point Pij which is offset from the y-axis direction to be y' on each radian row on the lamp panel and has a difference smaller than a correction value v _ y, and correcting the y coordinate of the point to be y 'if | pij.y-y' | < v _ y; and respectively taking x 'as xMin-xMax of the circumscribed rectangle, gradually increasing the value from xMin to xMax by 1, obtaining a point Pij which is offset from the direction of the x axis by x' on each radian row on the lamp panel and has a difference smaller than a correction value v _ x, and correcting the x coordinate of the point to be x 'if | pij.x-x' | < v _ x, wherein 0< v _ x <1, and 0< v _ y < 1.
Optionally, calculating the absolute coordinates of each box based on the processed coordinates of at least one lamp panel included in each box comprises: calculating the relative coordinates of each box body based on the processed coordinates of at least one lamp panel contained 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; and 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.
In the above step, for each box body, the relative coordinates of the box body can be obtained through calculation according to the processed relative coordinates of all the lamp panels in the box body.
The information of the second rectangular frame in the above steps may be obtained by using the prior art, such as Python opencv minarea extract (a method of generating a minimum circumscribed rectangle), but is not limited thereto, and the detailed implementation process is not repeated here. And performing coordinate conversion calculation to obtain the absolute coordinates of the box body according to the relative coordinates of the box body and the information of the corresponding second rectangular frame.
As shown in fig. 9, in the related art, since the relative coordinates are floating point type data, and the absolute coordinates obtained by final calculation are integer type data, any lamp panel may be used as a reference lamp panel, the floating point type relative coordinates of the reference lamp panel are converted into integer type relative coordinates actually corresponding to the rectangular signal source after coordinate correction and precision processing, and then the relative coordinates of other lamp panels (i.e., the target lamp panel 1 to the target lamp panel N) are obtained by rotating the lamp panel, and after coordinate correction and precision processing, integer type relative coordinates of other lamp panels may be obtained, and finally, combination processing is performed to calculate the integer type relative coordinates of the box body included in the irregular display screen. However, the floating point type is converted into the integer type which is actually needed by the precision processing module, so that the problem of secondary precision loss of other target lamp panels exists in the scheme, the actual display effect is poor, and the image skew and dislocation are serious.
In an optional embodiment, as shown in fig. 10, the floating point type relative coordinates of the reference lamp panel may be directly rotated to obtain the relative coordinates of the other lamp panels (i.e., the target lamp panel 1 to the target lamp panel N), and after coordinate correction and precision processing, the floating point type relative coordinates are converted into integer coordinates, and finally, combined processing is performed to obtain the relative coordinates of the box body. For other target lamp panels, the problem of secondary precision loss cannot exist due to the fact that precision processing is only performed once, and the actual display effect is correct and the images are clear.
In the following, a preferred embodiment of the present invention will be described in detail with reference to fig. 11, where the special-shaped display screen is in a fan shape or a circular ring shape and needs to display a fan-shaped or circular partial image corresponding to the rectangular signal source, where the fan-shaped or circular ring-shaped display screen is composed of multiple layers of fan-shaped or circular ring-shaped sub-screens, each sub-screen is composed of one or more fan-shaped boxes, and each fan-shaped box is composed of one or more fan-shaped lamp panels with the same size and shape. The following processing can be performed for the fan-shaped or circular arc-shaped sub-screen: traversing all layers of fan-shaped or circular sub-screens; processing the display condition of the corresponding layer of sub-screen; the final result is obtained. As shown in fig. 10, the processing method for processing the corresponding layer sub-screen includes: loading lamp point code table information of a single fan-shaped lamp panel; setting a rotation reference point (relative coordinate), namely a Y depth reference point; and calculating the relative coordinates of the rectangular signal source corresponding to each lamp point according to the code table and the rotation center reference point and aiming at the radian row under each Y depth. After all the Y depths are calculated, source relative coordinate information of the whole fan-shaped lamp panel is obtained, and the fan-shaped lamp panel is used as an initial lamp panel; carrying out coordinate correction on the source relative coordinate information of the lamp panel obtained in the step; meanwhile, on the basis of obtaining source-relative-coordinate information which is not subjected to coordinate correction, rotating the center reference point to obtain source-relative-coordinate information of lamp panels in other fan-shaped boxes, and performing coordinate correction; for all the fan-shaped boxes, combining source relative coordinates of each corrected lamp panel in the fan-shaped boxes, and outputting the source relative coordinates of each fan-shaped box; calculating circumscribed rectangle information corresponding to each fan-shaped box body; calculating source absolute coordinates corresponding to the lamp points in the fan-shaped box body according to the circumscribed rectangle information and the relative coordinates of the source of the fan-shaped box body; carrying out signal source slice setting (complex screen matching) according to the circumscribed rectangle information; converting the absolute coordinates of the fan-shaped box body source into routing table information; and (3) setting information (a complex screen is matched with a screen) of a signal source slice, the width and the height of a receiving card, the width and the height of a lamp panel and routing table information are issued to receiving card hardware.
Optionally, when the display screen is in a shape between two meridians of a spherical surface and is configured to display a source image of a target signal, and a maximum width of the display screen in a direction of a weft is the same as a width of the image of the target signal source, calculating the relative coordinate of the lamp panel based on the code table information and the reference point includes: acquiring first position information and first size information of a display image of the lamp panel; based on the first position information, the first size information, the code table information and the reference point, the relative coordinate of the lamp panel is calculated.
In an alternative embodiment, the shape of the special-shaped display screen may be a watermelon peel shape (e.g., a part of a spherical screen body), as shown in fig. 12, the special-shaped display screen displays the whole rectangular signal source image, wherein the black curve in the watermelon peel-shaped special-shaped display screen indicates the latitude line where the largest lamp points are located, and the largest total number of lamp points in the latitude line direction of the watermelon peel display screen is the same as the width of the video source.
In the above step, partial images displayed by the lamp panel in the signal source images can be determined according to the position of the lamp panel in the whole special-shaped display screen, so that first position information of the image in the whole signal source image and first size information of the image are determined, and finally, the relative coordinates of the lamp panel are calculated according to the first position information and the first size information of the display image corresponding to the lamp panel, the code list information of the lamp panel and the reference point.
Optionally, based on the first position information, the first size information, the code table information, and the reference point, calculating the relative coordinate of the lamp panel includes: calculating a first number of pixel points on a target line and a first coordinate of each pixel point in a display image of the lamp panel based on the first position information and the first size information; calculating a second number of light points on a target row in the lamp panel based on the code table information and the reference point; calculating a second coordinate of each lamp point on the target row based on the first number, the second number and the first coordinate of each pixel point; and calculating to obtain the relative coordinates of the lamp panel based on the second coordinates of all the lamp points in the lamp panel.
In the above steps, according to the acquired position information and size information of the lamp panel, the number of pixel points on any line in the display image (the signal source image corresponding to the lamp panel) of the lamp panel and the coordinates of each pixel point are calculated. And calculating the number of the lamp points on the lamp plate in the row corresponding to the radian according to the code table information and the reference points of the lamp plate, and calculating the coordinates of each lamp point on the row on the lamp plate according to the number of the pixel points on the row, the number of the lamp points and the coordinates of each pixel point. The coordinates of all lamp points on the lamp panel are the relative coordinates of the lamp panel.
Optionally, calculating the second coordinate of each light point on the target row based on the first number, the second number, and the first coordinate of each pixel point includes: under the condition that the first number and the second number are even numbers, calculating a second coordinate of each lamp point based on the first coordinate of each pixel point; under the condition that the first number is an odd number and the second number is an even number, deleting the pixel points at the middle position on the target row, and calculating the second coordinate of each lamp point based on the first coordinates of other pixel points; under the condition that the first number is even number and the second number is odd number, calculating the second coordinate of the lamp point at the middle position on the target line based on the first coordinates of the two pixel points at the middle position on the target line, and calculating the second coordinates of other lamp points on the target line based on the first coordinates of other pixel points on the target line; under the condition that the first number and the second number are both odd numbers, the second coordinates of the lamp points at the middle position on the target row are calculated based on the first coordinates of the pixel points at the middle position on the target row, and the second coordinates of other lamp points on the target row are calculated based on the first coordinates of other pixel points on the target row.
In an optional embodiment, the coordinates of the light points on the lamp panel may be determined by using different algorithms according to the number of the pixel points in any row on the lamp panel and the parity of the number of the light points. For example, as shown in fig. 13, the source region image needs to be mapped onto a fan-shaped lamp panel. Each subunit is a row of pixel points of the source rectangular region corresponding to a radian row of the fan-shaped lamp panel, namely, the left line and the right line in the figure correspond to each other.
The algorithm flow is as follows:
the number of one line of pixel points of a rectangular signal source image is n, and the number of one radian line of pixel points of a fan-shaped lamp panel is m.
1. If m is an even number and n is an even number:
dividing m into a left part and a right part in half, wherein for m/2 lamp points of the left half branch, corresponding coordinate information is obtained based on n/2 pixel point coordinate information; and aiming at m/2 lamp points of the right half branch, acquiring corresponding coordinate information based on n/2 pixel point coordinate information. And integrating the coordinate information of the lamp points of the left half branch and the coordinate information of the lamp points of the right half branch to obtain the coordinate information corresponding to the m lamp points.
2. If m is even and n is odd:
removing the middle point of n, and converting n into an even number; and acquiring coordinate information corresponding to the m lamp points based on the coordinate information of the remaining n-1 pixel points.
3. If m is odd and n is even:
the middle point of m and the middle two points of n correspond to each other and are divided into a left branch, a middle branch and a right branch, wherein for left branch (m-1)/2 lamp points, corresponding coordinate information can be obtained based on left (n-2)/2 pixel point coordinate information; aiming at 1 lamp point of the middle branch, the corresponding coordinate information can be obtained based on the coordinate information of the middle 2 pixel points of n; for the right branch (m-1)/2 lamp points, the corresponding coordinate information can be obtained based on the right (n-2)/2 pixel point coordinate information. And integrating the coordinate information of the lamp point of the left branch, the coordinate information of the lamp point of the middle branch and the coordinate information of the lamp point of the right branch to obtain the coordinate information corresponding to the m lamp points.
4. If m is odd and n is odd:
the middle point of m and the middle point of n correspond to each other and are divided into a left branch, a middle branch and a right branch, wherein for left branch (m-1)/2 lamp points, corresponding coordinate information can be obtained based on left (n-1)/2 pixel point coordinate information; aiming at 1 lamp point of the middle branch, acquiring middle point coordinates of which the corresponding coordinate information is n; for the right branch (m-1)/2 lamp points, the corresponding coordinate information can be obtained based on the right (n-1)/2 pixel point coordinate information. And integrating the coordinate information of the lamp point of the left branch, the coordinate information of the lamp point of the middle branch and the coordinate information of the lamp point of the right branch to obtain the coordinate information corresponding to the m lamp points.
The steps can be repeatedly executed until the coordinate information corresponding to all m lamp points is obtained.
Optionally, calculating the absolute coordinates of each box based on the relative coordinates of at least one lamp panel included in each box comprises: calculating the relative coordinates of each box body based on the processed coordinates of at least one lamp panel contained in each box body; generating second position information and second size information of a display image of each box; absolute coordinates of each box are calculated based on the second position information, the second size information, and the relative coordinates.
The coordinates after the processing in the above steps can be obtained by correcting the coordinates of the lamp panel relative to the coordinates.
In the above step, for each box body, the relative coordinates of the box body can be obtained through calculation according to the processed relative coordinates of all the lamp panels in the box body.
In the above step, a partial image displayed by the box in the signal source image can be determined according to the position of the box in the whole special-shaped display screen, so that second position information of the image in the whole signal source image and second size information of the image are determined, and finally, the absolute coordinates of the box are calculated according to the second position information, the second size information and the relative coordinates of the display image corresponding to the box.
In the following, a preferred embodiment of the present invention will be described in detail with reference to fig. 14, in which the shaped display screen is in the shape of a watermelon peel and is required to display a whole rectangular signal source image (in which the maximum total number of light points in the latitudinal direction of the watermelon peel is the same as the width of the signal source), wherein the shaped screen is composed of a plurality of layers of fan-shaped sub-screens, each fan-shaped sub-screen is composed of one or more fan-shaped boxes, and each fan-shaped box is composed of one or more fan-shaped light panels with the same size and shape. The following processing can be performed for the fan-shaped sub-screen: traversing all layers of fan-shaped sub-screens; processing the display condition of the corresponding layer of sub-screen; the final result is obtained. As shown in fig. 13, the processing method for processing the corresponding layer sub-screen includes: loading lamp point code table information of a single fan-shaped lamp panel of a corresponding layer; setting a Y depth reference point (relative coordinates); acquiring the position and size of a rectangular signal source image corresponding to a single fan-shaped lamp panel; and calculating the relative coordinates of the rectangular signal source corresponding to each lamp point according to the position and the size of the rectangular signal source image corresponding to the obtained fan-shaped lamp panel and the actual lamp point condition on the code table aiming at the radian row under each Y depth. After all the Y depths are calculated, obtaining the relative coordinate information of the corresponding source of the whole fan-shaped lamp panel; carrying out coordinate correction; continuing to process other fan-shaped lamp panels according to the steps until all the fan-shaped lamp panels are processed; for all the fan-shaped boxes, combining the source relative coordinates of each lamp panel in the fan-shaped boxes, and outputting the source relative coordinates of each fan-shaped box; acquiring the position and the size of a rectangular signal source image corresponding to each fan-shaped box body; calculating source absolute coordinates corresponding to the lamp points in the fan-shaped box body according to the position of a rectangular signal source corresponding to the fan-shaped box body and the source relative coordinates of the fan-shaped box body; according to the position and the size of a rectangular signal source corresponding to the fan-shaped box body, signal source slice setting (complex screen matching) is carried out; converting source absolute coordinates corresponding to a lamp point in the fan-shaped box body into routing table information; and (3) setting information (a complex screen is matched with a screen) of the signal source slice, the width and the height of the receiving card, the width and the height of the lamp panel and routing table information are issued to receiving card hardware.
According to the embodiment of the present invention, a screen configuration device of a display screen is further provided, where the device may be a screen configuration method for executing a display screen in the foregoing embodiment, and a specific implementation scheme and an application scenario are the same as those in the foregoing embodiment, and are not described herein again.
Fig. 15 is a schematic diagram of a screen matching apparatus for a display screen according to an embodiment of the present invention, as shown in fig. 14, the apparatus includes:
the modeling module 1502 is configured to perform three-dimensional modeling on the display screen to obtain a three-dimensional model of the display screen.
An obtaining module 1504, configured to obtain a target signal source image, where the target signal source image is rectangular in shape.
The matching module 1506 is configured to match the multiple virtual boxes with the three-dimensional model to obtain the three-dimensional model after screen matching, where the multiple virtual boxes correspond to the multiple boxes of the display screen one to one.
A mapping module 1508, configured to map a target signal source image onto the screened three-dimensional model, wherein the target signal source image is displayed by the plurality of boxes.
Optionally, the mapping module comprises: the coordinate calculation unit is used for calculating absolute coordinates of each box body, wherein the absolute coordinates are used for representing the coordinates of the display image corresponding to the lamp points in the box body relative to the box body; the segmentation unit is used for segmenting a target signal source image based on the absolute coordinates of each box body to obtain a signal source image of each box body; and the mapping unit is used for mapping the signal source image of each box body to each box body.
Optionally, the device is further configured to obtain a topological parameter of the display screen based on the absolute coordinate of each box; and sending the topology parameters to each box body.
Optionally, the apparatus is further configured to obtain device information of the display screen, where the device information at least includes: device name and network address; acquiring the connection information of each box body, wherein the connection information is used for representing the connection relation between each box body and other box bodies, and the connection information at least comprises: the connection sequence number and the port number generate a screen configuration image based on the topology parameter, the device information, and the connection information.
Optionally, the apparatus is further configured to generate a topological graph based on the topological parameter; and marking the equipment information and the connection information in the topological graph to generate a screen matching image.
Optionally, the coordinate determination unit includes: the acquisition subunit is used for acquiring code table information and a reference point of the lamp panel, wherein the code table information is used for representing arrangement information of lamp points on the lamp panel, and the reference point is used for representing the position relation of an arc-shaped rotation center relative to a target signal source image; the relative coordinate calculating subunit is used for calculating the relative coordinate of the lamp panel based on the code table information and the reference point, wherein the relative coordinate is used for representing the coordinate of the display image corresponding to the lamp point on the lamp panel relative to the origin of the target signal source image; and the absolute coordinate calculation subunit is used for calculating the absolute coordinate of each box body based on the relative coordinate of at least one lamp panel contained in each box body.
Optionally, under the condition that the display screen is in a fan-shaped or circular ring shape and is used for displaying partial images in the source image of the target signal, the relative coordinate calculation subunit is further used for calculating the relative coordinates of the target lamp panel based on the target code table information and the target reference point of the target lamp panel, wherein the target lamp panel is any one of the lamp panels in each layer of the sub-screens; and rotating the relative coordinates of the target lamp panel by taking the target reference point as an original point, and calculating to obtain the relative coordinates of other lamp panels in each layer of the sub-screen.
Optionally, the relative coordinate calculation subunit is further configured to calculate coordinates of a reference point on a target radian row in the target lamp panel based on the target code table information and the target reference point, where the reference point is a middle point on the target radian row, and the target radian row is any one radian row in the target lamp panel; rotating the coordinates of the reference points by taking the target reference points as the original points, and calculating to obtain the relative coordinates of each lamp point on the target radian row; and calculating the relative coordinates of the target lamp panel based on the relative coordinates of all lamp points on all radian rows in the target lamp panel.
Optionally, the relative coordinate calculation subunit is further configured to calculate a depth of the target radian row based on the target code table information, where the depth is used to represent a distance between the target radian row and the target reference point; the coordinates of the reference points are calculated based on the depth of the target radian row and the coordinates of the target reference points.
Optionally, the relative coordinate calculation subunit is further configured to calculate the number of light points on the target radian row based on the target code table information; under the condition that the number is even, the coordinates of the reference points are rotated anticlockwise and clockwise by taking the target reference points as the original points, and the relative coordinates of each lamp point are obtained through calculation; under the condition that the number of the lamp points is odd, the coordinates of the target lamp point positioned at the central position on the target radian line are calculated based on the coordinates of the reference points, the coordinates of the target lamp point are rotated anticlockwise and clockwise by taking the target reference point as an original point, and the relative coordinates of other lamp points on the target radian line are calculated.
Optionally, the coordinate calculation unit is further configured to perform coordinate correction on the relative coordinate of the lamp panel, and calculate a corrected coordinate of the lamp panel; performing precision processing on the corrected coordinates of the lamp panel, and calculating to obtain the processed coordinates of the lamp panel; and calculating the absolute coordinates of each box body based on the processed coordinates of at least one lamp panel contained in each box body.
Optionally, the coordinate calculation unit is further configured to generate information of a first rectangular frame corresponding to the lamp panel, where the first rectangular frame is tangent to the lamp panel; calculating a plurality of correction values based on the information of the first rectangular frame, wherein the difference value between the plurality of correction values is a preset value; and calculating the corrected coordinates of each lamp point in the lamp panel based on the correction values, wherein the difference value between the corrected coordinates of each lamp point and the relative coordinates of each lamp point is smaller than a preset value.
Optionally, the absolute coordinate calculation subunit is further configured to calculate a relative coordinate of each box based on the processed coordinate of the at least one lamp panel included in each box; generating information of a second rectangular frame corresponding to each box body, wherein the second rectangular frame is tangent to each box body; and 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.
Optionally, the relative coordinate determination subunit is further configured to obtain first position information and first size information of the display image of the lamp panel, where the shape of the display screen is a shape between two meridians of a spherical surface, and the display screen is configured to display a source image of the target signal, and a maximum width of the display screen in the weft direction is the same as a width of the image of the target signal source; based on the first position information, the first size information, the code table information and the reference point, the relative coordinate of the lamp panel is calculated.
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 pixel points on a target line and a first coordinate of each pixel point in a display image of the lamp panel; calculating a second number of light points on a target row in the lamp panel based on the code table information and the reference point; calculating a second coordinate of each lamp point on the target row based on the first number, the second number and the first coordinate of each pixel point; and calculating to obtain the relative coordinates of the lamp panel based on the second coordinates of all the lamp points in the lamp panel.
Optionally, the relative coordinate calculation subunit is further configured to calculate, when the first number and the second number are both even numbers, a second coordinate of each light point based on the first coordinate of each pixel point; under the condition that the first number is an odd number and the second number is an even number, deleting the pixel points at the middle position on the target row, and calculating the second coordinate of each lamp point based on the first coordinates of other pixel points; under the condition that the first number is even number and the second number is odd number, calculating the second coordinate of the lamp point at the middle position on the target line based on the first coordinates of the two pixel points at the middle position on the target line, and calculating the second coordinates of other lamp points on the target line based on the first coordinates of other pixel points on the target line; under the condition that the first number and the second number are both odd numbers, the second coordinates of the lamp points at the middle position on the target row are calculated based on the first coordinates of the pixel points at the middle position on the target row, and the second coordinates of other lamp points on the target row are calculated based on the first coordinates of other pixel points on the target row.
Optionally, the absolute coordinate calculation subunit is further configured to calculate a relative coordinate of each box based on the processed coordinate of the at least one lamp panel included in each box; generating second position information and second size information of a display image of each box; absolute coordinates of each box are calculated based on the second position information, the second size information, and the relative coordinates.
According to the embodiment of the invention, a storage medium is further provided, and the computer-readable storage medium includes a stored program, wherein when the program runs, the device where the computer-readable storage medium is located is controlled to execute the screen matching method of the display screen in the above embodiment.
According to the embodiment of the invention, the invention further provides a processor, wherein the processor is used for running the program, and the screen matching method of the display screen in the embodiment is executed when the program runs.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or may not be executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is substantially or partly contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A screen matching method of a display screen is characterized by comprising the following steps:
carrying out 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 shape of the target signal source image is rectangular;
matching a plurality of virtual boxes with the three-dimensional model to obtain the three-dimensional model after screen matching, wherein the virtual boxes correspond to the boxes of the display screen one by one;
and mapping the target signal source image to the three-dimensional model after screen matching, wherein the target signal source image is displayed by the plurality of boxes.
2. The method of claim 1, wherein each box includes at least one lamp panel, the physical arrangement of the light points on the lamp panels being in the shape of a circular arc, wherein mapping the target signal source image onto the screened three-dimensional model comprises:
calculating absolute coordinates of each box body, wherein the absolute coordinates are used for representing coordinates of a display image corresponding to the lamp points in the box body relative to the box body;
based on the absolute coordinates of each box body, segmenting the target signal source image to obtain the signal source image of each box body;
and mapping the signal source image of each box body to each virtual box body.
3. The method of claim 2, wherein after calculating the absolute coordinates of each bin, the method further comprises:
obtaining the topological parameters of the display screen based on the absolute coordinates of each box body;
and sending the topology parameters to each box body.
4. The method of claim 3, wherein after mapping the target signal source image onto the screened three-dimensional model, the method further comprises:
acquiring the equipment information of the display screen, wherein the equipment information at least comprises: device name and network address;
acquiring connection information of each box body, wherein the connection information is used for representing the connection relation between each box body and other box bodies, and the connection information at least comprises: a connection sequence number and a port number;
and generating a screen configuration image based on the topology parameters, the equipment information and the connection information.
5. The method of claim 4, wherein generating a screen-fitted image based on the topology parameters, the device information, and the connection information comprises:
generating a topological graph based on the topological parameters;
and marking the equipment information and the connection information in the topological graph to generate the screen matching image.
6. The method of claim 2, wherein calculating absolute coordinates of each bin comprises:
acquiring code table information and a reference point of the lamp panel, wherein the code table information is used for representing arrangement information of lamp points on the lamp panel, and the reference point is used for representing the position relation of the circular arc-shaped rotation center relative to the target signal source image;
calculating relative coordinates of the lamp panel based on the code table information and the reference points, wherein the relative coordinates of the lamp panel are used for representing the position relation of a display image corresponding to the lamp points on the lamp panel relative to the original point of the target signal source image;
and calculating the absolute coordinates of each box body based on the relative coordinates of at least one lamp panel contained in each box body.
7. The method according to claim 6, characterized in that the display screen is in the shape of a sector or a circular ring and is used for displaying all or part of the signal source images, wherein the maximum width of the display screen in the weft direction is the same as the width of the signal source image when the display screen displays all of the signal source images.
8. A screen matching device of a display screen is characterized by comprising:
the modeling module is used for carrying out three-dimensional modeling on the display screen to obtain a three-dimensional model of the display screen;
the acquisition module is used for acquiring a target signal source image, wherein the target signal source image is rectangular in shape;
the matching module is used for matching the plurality of virtual boxes with the three-dimensional model to obtain the three-dimensional model after screen matching, wherein the plurality of virtual boxes correspond to the plurality of boxes of the display screen one to one;
and the mapping module is used for mapping the target signal source image to the three-dimensional model after screen matching, wherein the target signal source image is displayed by the plurality of boxes.
9. A computer-readable storage medium, comprising a stored program, wherein when the program runs, the computer-readable storage medium controls a device to execute the method for configuring a display screen according to any one of claims 1 to 7.
10. A processor, characterized in that the processor is configured to run a program, wherein the program is configured to execute the screen matching method of the display screen according to any one of claims 1 to 7 when running.
CN202111509157.3A 2021-12-10 2021-12-10 Screen configuration method and device of display screen, storage medium and processor Pending CN114489537A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111509157.3A CN114489537A (en) 2021-12-10 2021-12-10 Screen configuration method and device of display screen, storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111509157.3A CN114489537A (en) 2021-12-10 2021-12-10 Screen configuration method and device of display screen, storage medium and processor

Publications (1)

Publication Number Publication Date
CN114489537A true CN114489537A (en) 2022-05-13

Family

ID=81492246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111509157.3A Pending CN114489537A (en) 2021-12-10 2021-12-10 Screen configuration method and device of display screen, storage medium and processor

Country Status (1)

Country Link
CN (1) CN114489537A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114927090A (en) * 2022-05-30 2022-08-19 卡莱特云科技股份有限公司 Method, device and system for sorting light points in special-shaped LED display screen
CN116433769A (en) * 2023-04-21 2023-07-14 北京优酷科技有限公司 Space calibration method, device, electronic equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114927090A (en) * 2022-05-30 2022-08-19 卡莱特云科技股份有限公司 Method, device and system for sorting light points in special-shaped LED display screen
CN114927090B (en) * 2022-05-30 2023-11-28 卡莱特云科技股份有限公司 Method, device and system for ordering lamp points in special-shaped LED display screen
CN116433769A (en) * 2023-04-21 2023-07-14 北京优酷科技有限公司 Space calibration method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11410320B2 (en) Image processing method, apparatus, and storage medium
US10373362B2 (en) Systems and methods for adaptive stitching of digital images
CN114489537A (en) Screen configuration method and device of display screen, storage medium and processor
US10460459B2 (en) Stitching frames into a panoramic frame
CN105488775A (en) Six-camera around looking-based cylindrical panoramic generation device and method
CN106604003B (en) Method and system for realizing curved-surface curtain projection through short-focus projection
CN114168099A (en) Display method and device of special-shaped display screen, storage medium and processor
CN103327217B (en) A kind of method for processing video frequency and device
CA2700879A1 (en) Geospatial modeling system providing user-selectable building shape options and related methods
US20190364207A1 (en) Device for providing realistic media image
CN106797458A (en) The virtual change of real object
CN110009722A (en) Three-dimensional rebuilding method and device
CN108648264A (en) Underwater scene method for reconstructing based on exercise recovery and storage medium
EP3435670A1 (en) Apparatus and method for generating a tiled three-dimensional image representation of a scene
CN107958481A (en) A kind of three-dimensional rebuilding method and device
CN112435206B (en) Method for reconstructing three-dimensional information of object by using depth camera
CN114419028A (en) Transmission line insulator defect duplication removing method and device integrating space multiple visual angles
CN108629742B (en) True ortho image shadow detection and compensation method, device and storage medium
CN107958489B (en) Curved surface reconstruction method and device
US20180213215A1 (en) Method and device for displaying a three-dimensional scene on display surface having an arbitrary non-planar shape
CN117058384B (en) Method and system for semantic segmentation of three-dimensional point cloud
CN114648458A (en) Fisheye image correction method and device, electronic equipment and storage medium
JP4554231B2 (en) Distortion parameter generation method, video generation method, distortion parameter generation apparatus, and video generation apparatus
WO2024002064A1 (en) Method and apparatus for constructing three-dimensional model, and electronic device and storage medium
CN114612641A (en) Material migration method and device and data processing method

Legal Events

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