CN114168099A - Display method and device of special-shaped display screen, storage medium and processor - Google Patents

Display method and device of special-shaped display screen, storage medium and processor Download PDF

Info

Publication number
CN114168099A
CN114168099A CN202111510968.5A CN202111510968A CN114168099A CN 114168099 A CN114168099 A CN 114168099A CN 202111510968 A CN202111510968 A CN 202111510968A CN 114168099 A CN114168099 A CN 114168099A
Authority
CN
China
Prior art keywords
lamp panel
lamp
coordinates
display screen
information
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
CN202111510968.5A
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 CN202111510968.5A priority Critical patent/CN114168099A/en
Publication of CN114168099A publication Critical patent/CN114168099A/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)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention discloses a display method and device of a special-shaped display screen, a storage medium and a processor. Wherein, the method comprises the following steps: 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; 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 signal source image; calculating absolute coordinates of the lamp panel based on the relative coordinates of the lamp panel, wherein the absolute coordinates of the lamp panel are used for representing the position relation of a display image corresponding to a lamp point on the lamp panel relative to an original point of the special-shaped display screen; and generating routing table information of the special-shaped display screen based on the absolute coordinates of the lamp panel. The invention solves the technical problem of low coordinate calculation precision when the special-shaped LED screen with the arc-shaped lamp points is used for displaying the rectangular signal source in the prior art.

Description

Display method and device of special-shaped 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 display method and device of a special-shaped display screen, a storage medium and a processor.
Background
The most common LED display screen is in a planar rectangular shape, and the lamp points are also in a regular row and column arrangement mode. The LED display screen corresponds to a rectangular signal source to be displayed, and due to point-to-point, pixel coordinates of the rectangular signal source corresponding to a lamp point are easy to calculate, and the problem of precision of coordinate conversion does not exist. On the basis of a conventional rectangular LED display screen, a non-rectangular special-shaped LED display screen can be formed, as shown in FIG. 1, the LED display screen is still in a rectangular regular row-column arrangement mode, only a part of light points are not arranged in the rectangular regular row-column arrangement mode, as shown in a black solid block on the right side of FIG. 1, namely, the LED display screen does not exist physically. The special-shaped LED display screen is basically consistent with a rectangular LED display screen in the point screen method.
The other type of special-shaped LED display screen has another regularity in the physical arrangement of the light points, that is, the light points are arranged according to a certain nonlinear curve, and the actual physical characteristic is not necessarily a plane, as shown in fig. 2, the physical arrangement of the light points is a sector. Because the lamp points of the display screen are physically distributed to the pixel points of the rectangular signal source and the point-to-point result is not completely achieved, the process of determining the coordinates is more complex compared with the conventional situation and the precision is lower.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a display method, a display device, a storage medium and a processor of a special-shaped display screen, which are used for at least solving the technical problem that in the related art, when a rectangular signal source is displayed, the coordinate calculation accuracy of a special-shaped LED screen with lamp points distributed in a circular arc shape is low.
According to an aspect of an embodiment of the present invention, there is provided a display method of a special-shaped display screen, where the special-shaped display screen includes at least one lamp panel, and the physical arrangement of lamp points on the lamp panel is arc-shaped, the method including: 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, the reference point is used for representing the position relation of a circular arc-shaped rotation center relative to a signal source image, and the shape of the signal source image is rectangular; 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 signal source image; calculating absolute coordinates of the lamp panel based on the relative coordinates of the lamp panel, wherein the absolute coordinates of the lamp panel are used for representing the position relation of a display image corresponding to a lamp point on the lamp panel relative to an original point of the special-shaped display screen; and generating routing table information of the special-shaped display screen based on the absolute coordinates of the lamp panel.
Optionally, the special-shaped display screen is in a fan shape or a circular ring shape, and the special-shaped display screen is used for displaying partial images in the signal source image.
Optionally, contain a plurality of lamp plates at special-shaped display screen, and under the same condition of the rotation center of a plurality of lamp plates, based on stopwatch information and reference point, calculate the relative coordinate of lamp plate and include: 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 plurality of lamp panels; and rotating the relative coordinates of the target lamp panel by taking the target reference point as an original point 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 the lamp panel based on the relative coordinates of the lamp panel, 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 absolute coordinates of the lamp panel based on the processed coordinates of the lamp panel.
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, based on the processed coordinates of the lamp panel, calculating the absolute coordinates of the lamp panel includes: calculating the relative coordinate of the special-shaped display screen based on the processed coordinate of the lamp panel; generating information of a second rectangular frame corresponding to the special-shaped display screen, wherein the second rectangular frame is tangent to the special-shaped display screen; and calculating the absolute coordinates of the lamp panel based on the relative coordinates of the special-shaped display screen and the information of the second rectangular frame corresponding to the special-shaped display screen.
Optionally, after generating information of the second rectangular frame corresponding to the special-shaped display screen, the method further includes: slicing the signal source image based on the information of the second rectangular frame to obtain slice information of the signal source image; and sending the slice information and the routing table information to the special-shaped display screen.
Optionally, the shape of the special-shaped display screen is a shape between two warps of the spherical surface, and the special-shaped display screen is used for displaying the signal source images, wherein in a case that the special-shaped display screen displays all the images in the signal source images, the maximum width of the special-shaped display screen in the weft direction is the same as the width of the signal source image.
Optionally, based on the code table information and the reference point, calculating the relative coordinate of the lamp panel 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 the relative coordinate 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, based on the relative coordinate of the lamp panel, calculating the absolute coordinate of the lamp panel includes: calculating the relative coordinate of the special-shaped display screen based on the processed coordinate of the lamp panel; acquiring second position information and second size information of a display image of the special-shaped display screen; and calculating absolute coordinates of the lamp panel based on the second position information, the second size information and the relative coordinates.
Optionally, after generating the second position information and the second size information corresponding to the special-shaped display screen, the method further includes: slicing the signal source image based on the second position information and the second size information to obtain slice information of the signal source image; and sending the slice information and the routing table information to the special-shaped display screen.
According to another aspect of the embodiments of the present invention, there is also provided a display device of a special-shaped display screen, where the special-shaped display screen includes at least one lamp panel, and the physical arrangement of the lamp points on the lamp panel is arc-shaped, and the device includes: the acquisition module 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, the reference point is used for representing the position relation of a circular arc-shaped rotation center relative to a signal source image, and the shape of the signal source image is rectangular; the relative coordinate calculation module 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 of the lamp panel is used for representing the position relation of a display image corresponding to the lamp point on the lamp panel relative to the original point of the signal source image; the absolute coordinate calculation module is used for calculating the absolute coordinate of the lamp panel based on the relative coordinate of the lamp panel, wherein the absolute coordinate of the lamp panel is used for representing the position relation of a display image corresponding to a lamp point on the lamp panel relative to the original point of the special-shaped display screen; and the generation module is used for generating routing table information of the special-shaped display screen based on the absolute coordinates of the lamp panel.
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 display method of the special-shaped 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 display method of the special-shaped display screen in the above embodiments when running.
In the embodiment of the invention, the adopted special-shaped display screen comprises at least one lamp panel, the physical arrangement of lamp points on the lamp panel is in a circular arc shape, and the display method comprises the following steps: 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, the reference point is used for representing the position relation of a circular arc-shaped rotation center relative to a signal source image, and the shape of the signal source image is rectangular; 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 signal source image; calculating absolute coordinates of the lamp panel based on the relative coordinates of the lamp panel, wherein the absolute coordinates are used for representing the position relation of a display image corresponding to a lamp point on the lamp panel relative to an original point of the special-shaped display screen; and generating routing table information of the special-shaped display screen based on the absolute coordinates of the lamp panel. It is easy to notice that, by the display method of the special-shaped display screen, the technical problem that the coordinate calculation accuracy is low when the rectangular signal source is displayed on the special-shaped LED screen with the lamp points arranged in the circular arc shape in the related art is 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 a conventional LED display screen and a dotted profiled LED display screen according to the prior art;
FIG. 2 is a schematic diagram of an unconventional shaped LED display screen according to the prior art;
FIG. 3 is a flow chart of a display method of a shaped display screen according to an embodiment of the invention;
FIG. 4 is a schematic diagram of an alternative display of a fan or ring shaped LED display screen in accordance with an embodiment of the present invention;
FIG. 5 is a diagram illustrating an alternative case where the arc row lamp number is even according to an embodiment of the present invention;
FIG. 6 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. 7 is a flow diagram of an alternative coordinate correction algorithm according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a rotary combining scheme according to the prior art;
FIG. 9 is a schematic diagram of an alternative optimized rotation combining scheme in accordance with embodiments of the present invention;
FIG. 10 is a flow chart of an alternative display method based on a shaped display screen shaped as a sector or a ring in accordance with an embodiment of the present invention;
FIG. 11 is a schematic view of an alternative display for a shaped LED display in the form of watermelon peel, according to an embodiment of the present invention;
FIG. 12 is a schematic diagram of an alternative image compression display scenario in accordance with an embodiment of the present invention;
FIG. 13 is a flow chart of an alternative method of displaying a contoured display screen shaped as a watermelon peel, in accordance with embodiments of the present invention;
fig. 14 is a schematic diagram of a display device of a special-shaped 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 display method based on a shaped 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 here.
The special-shaped display screen is composed of at least one layer of sub-screen, each layer of sub-screen is composed of at least one box body, each box body comprises at least one lamp panel, and the physical arrangement of lamp points on the lamp panels is arc-shaped. Under the condition that the special-shaped display screen comprises a plurality of lamp panels, the shapes and the sizes of the lamp panels are the same. Optionally, the light points of each lamp panel may be arranged in a manner as shown in fig. 2, 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. 3 is a display method based on a special-shaped display screen according to an embodiment of the present invention, as shown in fig. 3, the method includes the following steps:
step S302, code table information and a reference point of the lamp panel are obtained, wherein the code table information is used for representing arrangement information of lamp points on the lamp panel, the reference point is used for representing the position relation of a circular arc-shaped rotation center relative to a signal source image, and the shape of the signal source image is rectangular.
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-shaped, arc-shaped has a centre of a circle, also, every lamp plate all corresponds a centre of a circle (foretell rotation center promptly), 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.
And step S304, 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 the display image corresponding to the lamp points on the lamp panel relative to the original point of the signal source image.
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.
And S306, calculating absolute coordinates of the lamp panel based on the relative coordinates of the lamp panel, wherein the absolute 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 special-shaped display screen.
In the above steps, a coordinate system may be established in the special-shaped display screen, and the lower left corner or the upper right corner of the circumscribed rectangle of the special-shaped display screen may be used as the origin of the special-shaped display screen.
In an optional embodiment, when the special-shaped display screen is composed of at least one box body, and each box body comprises a plurality of lamp panels, coordinate conversion can be performed according to the calculated relative coordinates of the lamp panels, the absolute coordinates of the lamp panels are calculated, and then the absolute coordinates of the box body are calculated, or the relative coordinates of the box body can be directly calculated according to the relative coordinates of all the lamp panels contained in each box body, and then the absolute coordinates of the box body are calculated through coordinate conversion.
And S308, generating routing table information of the special-shaped display screen based on the absolute coordinates of the lamp panel.
In the above steps, the absolute coordinates of each lamp panel on the special-shaped display screen can be converted into routing table information of the special-shaped display screen, which can be realized by adopting a routing table information generation scheme in the related art, and the invention is not particularly limited to this.
In the embodiment of the invention, for the special-shaped display screen composed of a plurality of lamp panels with the same shape and size, the physical arrangement of the lamp points on the lamp panels is in a circular arc shape, the display method of the special-shaped display screen is realized by acquiring the code table information and the reference points of the lamp panels, calculating the relative coordinates of the lamp panels based on the code table information and the reference points, calculating the absolute coordinates of the lamp panels based on the relative coordinates of the lamp panels, and generating the routing table information of the special-shaped display screen based on the absolute coordinates of the lamp panels. It is easy to notice that, because the relative coordinate of the lamp panel is calculated based on the code table information and the reference point, and the code table information and the reference point are fixed and unchangeable, the determination accuracy of the relative coordinate of the lamp panel is higher, in addition, the absolute coordinate of the lamp panel is directly obtained by the relative coordinate conversion, the whole coordinate conversion process is simple, thereby achieving the technical effects of improving the coordinate conversion accuracy and simplifying the processing process, and solving the technical problem of lower coordinate calculation accuracy when the special-shaped LED screen with the lamp points arranged in the arc shape displays the rectangular signal source in the related technology.
Optionally, the special-shaped display screen is in a fan shape or a circular ring shape, and the special-shaped display screen is used for displaying partial images in the signal source image.
The special-shaped display screen in the above step is in a fan shape or a circular ring shape, and as shown in fig. 4, the special-shaped display screen displays a partial image in a rectangular signal source image.
Optionally, contain a plurality of lamp plates at special-shaped display screen, and under the same condition of the rotation center of a plurality of lamp plates, based on stopwatch information and reference point, calculate the relative coordinate of lamp plate and include: 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 plurality of lamp panels; 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.
The plurality of lamp panels in the above step may be all lamp panels included in each layer of sub-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 current 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 to obtain 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.
It should be noted that the special-shaped display screen only includes one lamp panel, or the special-shaped display screen includes a plurality of layers of sub-screens, and each layer of sub-screen includes one lamp panel, so that each lamp panel can calculate the relative coordinate by using the above method.
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.
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 calculating 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 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. 5, 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. 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 ' 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 the lamp panel based on the relative coordinates of the lamp panel, the method further includes: correcting the coordinates of the lamp panel relative to the coordinates of the lamp panel, and calculating the corrected coordinates 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 absolute coordinates of the lamp panel based on the processed coordinates of the lamp panel.
In the above steps, the relative coordinates of each lamp panel in the lamp box can 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 type coordinates, the processed coordinates are obtained through calculation, the processed coordinates of all the lamp panels are subjected to combined processing, the relative coordinates of the special-shaped display screen are obtained through calculation, and finally the absolute coordinates of the special-shaped display screen 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. 7: 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, based on the processed coordinates of the lamp panel, calculating the absolute coordinates of the lamp panel includes: calculating the relative coordinate of the special-shaped display screen based on the processed coordinate of the lamp panel; generating information of a second rectangular frame corresponding to the special-shaped display screen, wherein the second rectangular frame is tangent to the special-shaped display screen; and calculating the absolute coordinates of the lamp panel based on the relative coordinates of the special-shaped display screen and the information of the second rectangular frame corresponding to the special-shaped display screen.
In the above step, for the special-shaped display screen, the processed relative coordinates of all lamp panels in the special-shaped display screen can be combined, so that the relative coordinates of the special-shaped display screen can be obtained through calculation.
The information of the second rectangular frame in the above step may be obtained by using the prior art, such as Python opencv minarea extract (a method for generating a minimum circumscribed rectangle), but is not limited thereto, and the detailed implementation process is not repeated here. And performing coordinate conversion according to the relative coordinates of the special-shaped display screen and the information of the corresponding second rectangular frame, and calculating to obtain the absolute coordinates of the special-shaped display screen.
As shown in fig. 8, 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 can 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 can 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. 9, 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.
Optionally, after generating information of the second rectangular frame corresponding to the special-shaped display screen, the method further includes: slicing the signal source image based on the information of the second rectangular frame to obtain slice information of the signal source image; and sending the slice information and the routing table information to the special-shaped display screen.
In the above step, after the information of the second rectangular frame corresponding to the special-shaped display screen is generated, the signal source image may be sliced according to the information of the second rectangular frame to obtain slice information. And the absolute coordinates of the lamp panel are converted into routing table information, and the slice information and the routing table information are sent to the special-shaped display screen.
In the following, a preferred embodiment of the present invention will be described in detail with reference to fig. 10, 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 by using the rotating 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 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.
Optionally, the shape of the special-shaped display screen is a shape between two warps of the spherical surface, and the special-shaped display screen is used for displaying the signal source images, wherein the maximum width of the special-shaped display screen in the weft direction is the same as the width of the signal source image when the special-shaped display screen displays all the images in the signal source images.
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. 11, 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.
Optionally, based on the code table information and the reference point, calculating the relative coordinate of the lamp panel 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 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 the relative coordinate 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 panel in the row corresponding to the radian according to the code table information and the reference points of the lamp panel, and calculating the coordinates of each lamp point on the row on the lamp panel 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 calculated 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. 12, 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 aiming at 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:
and removing the intermediate point of n, converting n into an even number, and acquiring coordinate information corresponding to 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, based on the relative coordinate of the lamp panel, calculating the absolute coordinate of the lamp panel includes: calculating the relative coordinate of the special-shaped display screen based on the processed coordinate of the lamp panel; generating second position information and second size information of a display image of the special-shaped display screen; and calculating absolute coordinates of the lamp panel 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 after the processing of all the lamp panels in the box body can be combined, so as to calculate the relative coordinates of 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.
Optionally, after generating the second position information and the second size information corresponding to the special-shaped display screen, the method further includes: slicing the signal source image based on the second position information and the second size information to obtain slice information of the signal source image; and sending the slice information and the routing table information to the special-shaped display screen.
In the above step, after the information of the second rectangular frame corresponding to each box is generated, the signal source image may be sliced according to the information of the second rectangular frame to obtain slice information. And converting the absolute coordinates of each box body into routing table information, and sending the slice information and the routing table information to the special-shaped display screen.
In the following, a preferred embodiment of the present invention will be described in detail with reference to fig. 13, 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, there is also provided a display device of a special-shaped display screen, where the display device may be a display device that executes the display method of the special-shaped 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. 14 is a schematic view of a display device of a special-shaped display screen according to an embodiment of the present invention, where the special-shaped display screen includes at least one lamp panel, and the physical arrangement of the lamp points on the lamp panel is arc, as shown in fig. 14, the device includes:
the obtaining module 1402 is configured to obtain code table information and a reference point of the lamp panel, where the code table information is used to represent arrangement information of the lamp points on the lamp panel, the reference point is used to represent a position relationship of the arc-shaped rotation center with respect to the signal source image, and the shape of the signal source image is a rectangle.
And a relative coordinate calculation module 1404, configured to calculate a relative coordinate of the lamp panel based on the code table information and the reference point, where the relative coordinate of the lamp panel is used to represent a position relationship, relative to an origin of the signal source image, of the display image corresponding to the light point on the lamp panel.
And the absolute coordinate calculation module 1406 is configured to calculate an absolute coordinate of the lamp panel based on the relative coordinate of the lamp panel, where the absolute coordinate is used to represent a position relationship of a display image corresponding to a light point on the lamp panel with respect to an origin of the special-shaped display screen.
The generating module 1408 is configured to generate routing table information of the special-shaped display screen based on the absolute coordinates of the lamp panel.
Optionally, when the special-shaped display screen includes a plurality of lamp panels, and the rotation centers of the plurality of lamp panels are the same, the relative coordinate calculation module includes: the first calculation unit is used for calculating the relative coordinates of the target lamp panel based on the target code list information and the target reference point of the target lamp panel, wherein the target lamp panel is any one of the plurality of lamp panels; and the rotating unit is used for 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 first calculation unit comprises: the first calculating subunit is used for 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; the first rotation subunit is used for rotating the coordinates of the reference point by taking the target reference point as an origin, 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 first calculating 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 first rotation subunit is further configured to calculate, based on the target code table information, the number of light points on the target radian row; 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 calculated; 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 device is further configured to perform coordinate correction on the relative coordinate of the lamp panel before calculating the absolute coordinate of the lamp panel based 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 absolute coordinates of the lamp panel based on the processed coordinates of the lamp panel.
Optionally, the device 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 module comprises: the second calculation unit is used for calculating the relative coordinates of the special-shaped display screen based on the processed coordinates of the lamp panel; the third calculation unit is used for calculating information of a second rectangular frame corresponding to the special-shaped display screen, wherein the second rectangular frame is tangent to the special-shaped display screen; and the fourth calculating unit is used for calculating the absolute coordinates of the lamp panel based on the relative coordinates of the special-shaped display screen and the information of the second rectangular frame corresponding to the special-shaped display screen.
Optionally, the device is further configured to slice the signal source image based on the information of the second rectangular frame to obtain slice information of the signal source image; and sending the slice information and the routing table information to the special-shaped display screen.
Optionally, the relative coordinate calculation module is further configured to calculate, based on the code table information and the reference point, the relative coordinate of the lamp panel, including: acquiring first position information and second 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, the relative coordinate calculation module is further configured to calculate, based on the first position information and the first size information, a first number of pixel points on the 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 the relative coordinate of the lamp panel based on the second coordinates of all the lamp points in the lamp panel.
Optionally, the relative coordinate calculation module is further configured to calculate a second coordinate of each light point based on the first coordinate of each pixel point when the first number and the second number are both even numbers; 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 module is further configured to calculate a relative coordinate of the special-shaped display screen based on the processed coordinate of the lamp panel; generating second position information and second size information of a display image of the special-shaped display screen; and calculating absolute coordinates of the lamp panel based on the second position information, the second size information and the relative coordinates.
Optionally, the device is further configured to slice the signal source image based on the second position information and the second size information to obtain slice information of the signal source image; and sending the slice information and the routing table information to the special-shaped display screen.
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 display method of the special-shaped display screen in the above embodiment.
According to the embodiment of the invention, the processor is used for running the program, wherein the display method of the special-shaped 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 embodiments of the apparatus 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 integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection 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 may be embodied in the form of 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 execute 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. The display method of the special-shaped display screen is characterized in that the special-shaped display screen comprises at least one lamp panel, and the physical arrangement of lamp points on the lamp panel is arc-shaped, and the method comprises the following steps:
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, the reference point is used for representing the position relation of the circular arc-shaped rotation center relative to a signal source image, and the shape of the signal source image is rectangular;
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 signal source image;
calculating absolute coordinates of the lamp panel based on the relative coordinates of the lamp panel, wherein the absolute coordinates of the lamp panel are used for representing the position relation of a display image corresponding to a lamp point on the lamp panel relative to an original point of the special-shaped display screen;
and generating routing table information of the special-shaped display screen based on the absolute coordinates of the lamp panel.
2. The method according to claim 1, characterized in that the shaped display screen is shaped as a sector or a circular ring and is used for displaying all or part of the image of the signal source image, wherein the maximum width of the shaped display screen in the weft direction is the same as the width of the signal source image in case the shaped display screen displays all of the image of the signal source image.
3. The method of claim 2, wherein in a case that the irregular display screen includes a plurality of lamp panels and rotation centers of the plurality of lamp panels are the same, determining the relative coordinates of the lamp panels based on the code table information and the reference point comprises:
calculating coordinates of a reference point on a target radian row in a target lamp panel based on target code table information and a target reference point of the target lamp panel, wherein the target lamp panel is any one of the plurality of lamp panels, the reference point is a middle point on the target radian row, and the target radian row is any one of the target lamp panels;
rotating the coordinates of the reference points by taking the target reference points as the origin, and calculating to obtain the relative coordinates of each lamp point on the target radian row;
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;
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 the special-shaped display screen.
4. The method of claim 2, wherein prior to calculating absolute coordinates of the lamp panel based on the relative coordinates of the lamp panel, the method further comprises:
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 correction values is a preset value;
calculating the corrected coordinate of each light point in the lamp panel based on the correction values, wherein the difference value between the corrected coordinate of each light point and the relative coordinate of each light point is smaller than a preset value;
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 the lamp panel based on the processed coordinates of the lamp panel.
5. The method of claim 4, wherein calculating absolute coordinates of the lamp panel based on the processed coordinates of the lamp panel comprises:
calculating the relative coordinates of the special-shaped display screen based on the processed coordinates of the lamp panel;
generating information of a second rectangular frame corresponding to the special-shaped display screen, wherein the second rectangular frame is tangent to the special-shaped display screen;
determining absolute coordinates of the lamp panel based on the relative coordinates of the special-shaped display screen and information of a second rectangular frame corresponding to the special-shaped display screen;
slicing the signal source image based on the information of the second rectangular frame to generate slice information of the signal source image;
and sending the slice information and the routing table information to the special-shaped display screen.
6. The method of claim 2, wherein calculating the relative coordinates of the lamp panel based on the code table information and the reference point comprises:
acquiring first position information and first size information of a display image of the lamp panel;
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 the 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 the relative coordinates of the lamp panel based on the second coordinates of all the lamp points in the lamp panel.
7. The method of claim 2, wherein calculating absolute coordinates of the lamp panel based on the relative coordinates of the lamp panel comprises:
calculating the relative coordinates of the special-shaped display screen based on the processed coordinates of the lamp panel;
generating second position information and second size information of a display image of the special-shaped display screen;
determining absolute coordinates of the lamp panel based on the second position information, the second size information and the relative coordinates of the special-shaped display screen;
slicing the signal source image based on the second position information and the second size information to generate slice information of the signal source image;
and sending the slice information and the routing table information to the special-shaped display screen.
8. The utility model provides a display device of dysmorphism display screen, a serial communication port, dysmorphism display screen contains at least one lamp plate, the physics of lamp point on the lamp plate is arranged and is appeared arc, the device includes:
the acquisition module 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, the reference point is used for representing the position relation of the circular arc-shaped rotation center relative to a signal source image, and the shape of the signal source image is rectangular;
the relative coordinate calculation module 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 of the lamp panel is used for representing the position relation of a display image corresponding to a lamp point on the lamp panel relative to the original point of the signal source image;
the absolute coordinate calculation module is used for calculating the absolute coordinate of the lamp panel based on the relative coordinate of the lamp panel, wherein the absolute coordinate of the lamp panel is used for representing the position relation of a display image corresponding to a lamp point on the lamp panel relative to the original point of the special-shaped display screen;
and the generating module is used for generating routing table information of the special-shaped display screen based on the absolute coordinates of the lamp panel.
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 displaying the special-shaped 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 method of displaying a shaped display screen according to any one of claims 1 to 7 when running.
CN202111510968.5A 2021-12-10 2021-12-10 Display method and device of special-shaped display screen, storage medium and processor Pending CN114168099A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111510968.5A CN114168099A (en) 2021-12-10 2021-12-10 Display method and device of special-shaped display screen, storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111510968.5A CN114168099A (en) 2021-12-10 2021-12-10 Display method and device of special-shaped display screen, storage medium and processor

Publications (1)

Publication Number Publication Date
CN114168099A true CN114168099A (en) 2022-03-11

Family

ID=80485635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111510968.5A Pending CN114168099A (en) 2021-12-10 2021-12-10 Display method and device of special-shaped display screen, storage medium and processor

Country Status (1)

Country Link
CN (1) CN114168099A (en)

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
CN114974090A (en) * 2022-05-31 2022-08-30 深圳市裕铭数智装备科技有限公司 Method and system for processing pixel change wiring diagram of special-shaped LED screen
CN115995208A (en) * 2023-03-23 2023-04-21 长春希达电子技术有限公司 Lamp positioning method, correction method and device for spherical LED display screen

Cited By (5)

* 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
CN114974090A (en) * 2022-05-31 2022-08-30 深圳市裕铭数智装备科技有限公司 Method and system for processing pixel change wiring diagram of special-shaped LED screen
CN115995208A (en) * 2023-03-23 2023-04-21 长春希达电子技术有限公司 Lamp positioning method, correction method and device for spherical LED display screen
CN115995208B (en) * 2023-03-23 2023-06-16 长春希达电子技术有限公司 Lamp positioning method, correction method and device for spherical LED display screen

Similar Documents

Publication Publication Date Title
CN114168099A (en) Display method and device of special-shaped display screen, storage medium and processor
EP3413240B1 (en) Method of encoding and identifying 2d bitmap barcode
JP6699850B2 (en) Dot matrix two-dimensional code encoding and recognition method
US4343037A (en) Visual display systems of the computer generated image type
JPS62118387A (en) Efficient memory cell configuration for high grade video object generator
US20190012818A1 (en) Systems and methods for adaptive stitching of digital images
CN107924556B (en) Image generation device and image display control device
EP0736841A1 (en) Method and apparatus for image rotation
US7102637B2 (en) Method of seamless processing for merging 3D color images
CN111199518B (en) Image presentation method, device and equipment of VR equipment and computer storage medium
CN100545864C (en) Cylinder frame buffer texture re-labeling geometric correction method based on software
Fischer et al. Fast approximation of high-order Voronoi diagrams and distance transforms on the GPU
CN114489537A (en) Screen configuration method and device of display screen, storage medium and processor
US20210327093A1 (en) Image processing method of virtual reality and apparatus thereof
CN113269697B (en) Method and device for generating curved screen image
CN111192552A (en) Multi-channel LED spherical screen geometric correction method
CN113608641B (en) Method and device for adjusting display position of curved screen, intelligent sound box and storage medium
EP3300060B1 (en) Image display method and display device
CN114697623B (en) Projection plane selection and projection image correction method, device, projector and medium
CN108881881A (en) A kind of adaptive micro- pattern matrix generation method of integration imaging desktop 3D display
CN114648458A (en) Fisheye image correction method and device, electronic equipment and storage medium
CN117058384B (en) Method and system for semantic segmentation of three-dimensional point cloud
GB2061074A (en) Improved visual display systems for computer generated images
JP4554231B2 (en) Distortion parameter generation method, video generation method, distortion parameter generation apparatus, and video generation apparatus
KR20010021037A (en) Pixel number converting circuit and image display device using the same

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