CN113031899A - Display area processing method and device - Google Patents

Display area processing method and device Download PDF

Info

Publication number
CN113031899A
CN113031899A CN202110588107.2A CN202110588107A CN113031899A CN 113031899 A CN113031899 A CN 113031899A CN 202110588107 A CN202110588107 A CN 202110588107A CN 113031899 A CN113031899 A CN 113031899A
Authority
CN
China
Prior art keywords
display area
display
point
adsorption
points
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110588107.2A
Other languages
Chinese (zh)
Other versions
CN113031899B (en
Inventor
何志民
宁一铮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Colorlight Cloud Technology Co Ltd
Original Assignee
Colorlight Cloud 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 Colorlight Cloud Technology Co Ltd filed Critical Colorlight Cloud Technology Co Ltd
Priority to CN202110588107.2A priority Critical patent/CN113031899B/en
Publication of CN113031899A publication Critical patent/CN113031899A/en
Application granted granted Critical
Publication of CN113031899B publication Critical patent/CN113031899B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Landscapes

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

Abstract

The invention relates to a processing method and a device of a display area, which comprises the steps of setting a display area corresponding to a fan-shaped display surface of a fan-shaped LED display screen in a display interface of electronic equipment according to a preset display area setting strategy; taking a preset point in the display interface as a rotation central point, and rotationally copying the display areas to obtain N display areas; determining multiple groups of coincident points from the vertexes of each display area according to a preset coincident point determination strategy, wherein each group of coincident points comprises 2 vertexes of the display area, and the 2 vertexes of the display area are respectively arranged in different display areas; and splicing the N display areas according to the coincident points, and forming a complete display area corresponding to the fan-shaped LED display screen in a display interface of the electronic equipment. The method and the device provided by the invention can improve the copying efficiency of the display areas, enable the successfully copied display areas to be regularly arranged, and solve the problem of disordered display interface pictures of the electronic equipment.

Description

Display area processing method and device
Technical Field
The invention relates to the field of display control of fan-shaped LED display screens, in particular to a method and a device for processing a display area.
Background
At present, when using LED display screen control software control fan-shaped LED display screen (special-shaped screen) to play the program, can carry out the most primitive signal source and cut into slices the processing (creative display) after, obtain the slice picture, need set up the display area who shows the slice picture through software at last, concretely, set up the display area who corresponds according to the resolution ratio size of actual physical screen (fan-shaped LED display screen) when setting up, if under the very big condition of physical screen resolution ratio, need set up a plurality of display areas this moment, prior art common use carries out the processing of duplicating many times to the display area of one of them setting, and splice into complete display area with the display area who duplicates successfully. In the prior art, under the condition of a plurality of display areas, the processing efficiency is obviously low, the display areas which are successfully copied are not regularly arranged, and the problem of disordered slice pictures on a display interface on software is easily caused during splicing. Therefore, there is a need to find a new technical solution to solve the above problems.
Disclosure of Invention
In view of the above problem, the present invention provides a method for processing a display area, the method comprising: setting a display area corresponding to a fan-shaped display surface of a fan-shaped LED display screen in a display interface of the electronic equipment according to a preset display area setting strategy, wherein the fan-shaped LED display screen consists of N fan-shaped display surfaces with the same shape and size; taking a preset point in the display interface as a rotation central point, and rotationally copying the display areas to obtain N display areas; determining multiple groups of coincident points from the vertexes of each display area according to a preset coincident point determination strategy, wherein each group of coincident points comprises 2 vertexes of the display area, and the 2 vertexes of the display area are respectively arranged in different display areas; and splicing the N display areas according to the coincident points, and forming a complete display area corresponding to the fan-shaped LED display screen in a display interface of the electronic equipment.
Further, according to a preset display area setting strategy, a display area corresponding to a fan-shaped display surface of the fan-shaped LED display screen is set in a display interface of the electronic device, including: acquiring screen information of a fan-shaped LED display screen, wherein the screen information is the number, shape and size of fan-shaped display surfaces; the method comprises the steps of obtaining the size of a display interface of the electronic equipment, determining the scaling according to screen information and the size of the display interface of the electronic equipment, determining the shape and the size of a display area according to the scaling and the shape and the size of a fan-shaped display surface, and setting the display area in the display interface of the electronic equipment according to the shape and the size of the display area.
Further, each display area contains a plurality of display area vertexes, each display area vertex corresponds to a plurality of groups of coincident points, and the N display areas are spliced according to the coincident points, including: selecting one display area from the N display areas as an initial display area, calculating the distance between the top points of 2 display areas in each group of coincident points corresponding to the initial display area, and taking the group of coincident points with the minimum distance corresponding to the top point of each display area in the initial display area as a first adsorption point; according to the first adsorption point, splicing the initial display area and the display area corresponding to the first adsorption point to obtain a display area to be spliced, and carrying out a convex hull splicing step, wherein the convex hull splicing step comprises the following steps: calculating a convex hull of the display area to be spliced according to a preset convex hull calculation strategy, wherein the convex hull is a minimum convex polygon containing the vertexes of all the display areas in the display area to be spliced; acquiring the vertexes of the display areas on the convex hull, and calculating the distance between the vertexes of 2 display areas in each group of coincident points corresponding to the vertexes of each display area on the convex hull; taking a group of coincident points with the minimum distance corresponding to the top point of each display area on the convex hull as second adsorption points; splicing the display area to be spliced with the display area corresponding to the second adsorption point according to the second adsorption point to obtain a new display area to be spliced; and repeating the convex hull splicing step until all the N display areas are spliced.
Further, the preset convex hull calculation strategy is a Graham scanning method or a Jarvis stepping method.
Further, each display area contains a plurality of display area vertexes, each display area vertex corresponds to a plurality of groups of coincident points, and the N display areas are spliced according to the coincident points, including: establishing a polar coordinate system in a display interface, and acquiring polar angles of 2 display area vertexes in each group of coincident points; calculating the difference of polar angles of 2 display area vertexes in each group of coincident points, and taking the coincident point with the minimum difference of polar angles in the multiple groups of coincident points corresponding to each display area vertex as an adsorption point corresponding to the display area vertex; and adsorbing the vertexes of the two display areas in the adsorption points to realize the splicing of the N display areas.
Further, establishing a polar coordinate system in the display interface comprises: and establishing a polar coordinate system in the display interface by taking the rotation center point as a pole O, leading a ray from the pole O to any direction as a polar axis OX, taking the anticlockwise direction as the positive direction and taking the preset length as the unit length.
The invention also provides a processing device of the display area, which comprises a display area setting module, a rotary copying module, a coincidence point determining module and a display area adsorption module, wherein: the display area setting module is connected with the rotary copying module and used for setting a display area corresponding to a fan-shaped display surface of the fan-shaped LED display screen in a display interface of the electronic equipment according to a preset display area setting strategy, wherein the fan-shaped LED display screen consists of N fan-shaped display surfaces with the same shape and size; the rotating copying module is connected with the display area setting module and the coincidence point determining module and is used for rotating and copying the display area by taking a preset point in the display interface as a rotating central point to obtain N display areas; the coincidence point determining module is connected with the rotary copying module and the display area adsorption module and used for determining multiple groups of coincidence points from the vertexes of the display areas according to a preset coincidence point determining strategy, wherein each group of coincidence points comprises 2 vertexes of the display areas, and the 2 vertexes of the display areas are respectively arranged in different display areas; and the display area adsorption module is used for splicing the N display areas according to the coincident point to form a complete display area corresponding to the fan-shaped LED display screen in the display interface of the electronic equipment.
Further, the display area setting module includes an information obtaining unit, a scaling determining unit, and a display area generating unit, wherein: the information acquisition unit is connected with the scaling determination unit and used for acquiring screen information of the fan-shaped LED display screen, wherein the screen information is the number, the shape and the size of fan-shaped display surfaces and is also used for acquiring the size of a display interface of the electronic equipment; the display area generating unit is used for determining the shape and the size of the display area according to the scaling, the shape and the size of the fan-shaped display surface, and the display area is arranged in the display interface of the electronic equipment according to the shape and the size of the display area.
Further, every display area contains a plurality of display area summits, every display area summit corresponds multiunit coincidence point, and display area adsorption module includes first adsorption point computational element, treats that concatenation display area obtains unit and convex closure concatenation unit, wherein: the first adsorption point calculation unit is connected with the display area acquisition unit to be spliced and is used for selecting one display area from the N display areas as an initial display area, calculating the distance between the top points of 2 display areas in each group of coincident points corresponding to the initial display area, and taking the group of coincident points with the minimum distance corresponding to the top point of each display area in the initial display area as a first adsorption point; the display area to be spliced acquiring unit is connected with the first adsorption point calculating unit and the convex hull splicing unit and is used for splicing the initial display area and the display area corresponding to the first adsorption point according to the first adsorption point to obtain a display area to be spliced; the convex hull splicing unit is used for performing a convex hull splicing step, and the convex hull splicing step comprises the following steps: calculating a convex hull of the display area to be spliced according to a preset convex hull calculation strategy, wherein the convex hull is a minimum convex polygon containing the vertexes of all the display areas in the display area to be spliced; acquiring the vertexes of the display areas on the convex hull, and calculating the distance between the vertexes of 2 display areas in each group of coincident points corresponding to the vertexes of each display area on the convex hull; taking a group of coincident points with the minimum distance corresponding to the top point of each display area on the convex hull as second adsorption points; splicing the display area to be spliced with the display area corresponding to the second adsorption point according to the second adsorption point to obtain a new display area to be spliced; and repeating the convex hull splicing step until all the N display areas are spliced.
Further, each display area contains a plurality of display area vertexes, each display area vertex corresponds to a plurality of groups of coincident points, and the display area adsorption module comprises a polar angle calculation unit, an adsorption point determination unit and an adsorption unit, wherein: the polar angle calculation unit is connected with the adsorption point determination unit and used for establishing a polar coordinate system in the display interface and acquiring the polar angles of the vertexes of 2 display areas in each group of coincident points; the adsorption point determining unit is connected with the polar angle calculating unit and the adsorption unit and is used for calculating the polar angle difference of the vertexes of 2 display areas in each group of coincident points and taking the coincident point with the minimum polar angle difference in the multiple groups of coincident points corresponding to the vertexes of each display area as the adsorption point corresponding to the vertex of the display area; and the adsorption unit is used for respectively adsorbing the top points of 2 display areas in each group of adsorption points so as to realize the splicing of the N display areas.
The processing method and the processing device for the display area, provided by the invention, at least have the following beneficial effects: the duplication of the display area adopts a rotary duplication mode, a preset point in a display interface is taken as a rotary central point, any angle is rotated for duplication, compared with the translational dragging duplication, the rotary duplication is simpler and more convenient to operate on the one hand, the dragging operation is not needed during duplication, the rotary duplication can be directly rotated by taking one rotary central point as the center, can improve the operating efficiency of copying the display areas, on the other hand, the plurality of display areas are arranged around the rotating central point, the arrangement among the plurality of display areas is more regular, when a plurality of display areas are spliced, the coincident points are introduced for adsorption, so that the display areas can be regularly adsorbed and spliced according to the coincident points, the problem that the splicing of the display areas is disordered on the display interface of the electronic equipment is solved, and the problem that the slice images are disordered in the display interface is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart illustrating a method for processing a display area according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating setting a display area on a display interface of an electronic device according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a fan-shaped LED display screen divided into a plurality of display surfaces in an embodiment of the present invention;
FIG. 4 is a diagram illustrating a display area displayed in a display interface according to an embodiment of the invention;
FIG. 5 is a schematic diagram of a display interface obtained by rotating and copying a display area according to an embodiment of the present invention;
fig. 6 is a schematic flow chart illustrating splicing of N display regions according to a coincident point in an embodiment of the present invention;
fig. 7 is a schematic flow chart illustrating splicing of N display regions according to a coincident point in another embodiment of the present invention;
FIG. 8 is a diagram illustrating an exemplary structure of a display area processing device according to an embodiment of the present invention;
FIG. 9 is a schematic structural diagram of a display area setting module according to an embodiment of the invention;
FIG. 10 is a schematic structural diagram of a display area adsorption module according to an embodiment of the invention;
FIG. 11 is a schematic structural diagram of a display area adsorption module according to yet another embodiment of the present invention;
the system comprises a 1-sector LED display screen, a 101-sector display surface, a 2-display interface, a 801-display area setting module, an 802-rotation copying module, a 803-coincidence point determining module, a 804-display area adsorption module, a 8011-information acquiring unit, a 8012-scaling ratio determining unit, a 8013-display area generating unit, an 8041-first adsorption point calculating unit, an 8042-display area to be spliced acquiring unit, an 8043-convex hull splicing unit, an 8141-polar angle calculating unit, an 8142-adsorption point determining unit and an 8143-adsorption unit.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in 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.
In an embodiment of the present invention, a method for processing a display area is disclosed, which is applied to fan-shaped LED display screen display control software, and a user can control a fan-shaped LED display screen to play a program by using the fan-shaped LED display screen display control software. Specifically, the user utilizes the electronic equipment who is equipped with fan-shaped LED display screen display control software, electronic equipment is connected with the communication of sender card and receiving card respectively, a signal source (waiting to broadcast the picture) for receiving the most primitive that the sender card sent, slice the processing to this signal source, obtain slice picture (intention display), set up the display area on electronic equipment's display interface, show slice picture in electronic equipment's display area through showing control software, so that the user can obtain the broadcast effect on the fan-shaped LED display screen through observing the slice picture on electronic equipment display interface, and then make the adjustment to this broadcast effect.
When the resolution ratio (the resolution ratio of the physical screen) of the fan-shaped LED display screen is large, the larger the fan-shaped LED display screen is, the larger the picture to be played corresponding to the source signal is, after the slicing processing is performed, the more the number of the obtained slice pictures is, at this time, a plurality of display areas need to be set in the display interface of the electronic device to display the plurality of slice pictures, the plurality of display areas are spliced together, and a complete display area corresponding to the fan-shaped LED display screen can be formed, so that all the slice pictures are displayed.
Specifically, the fan-shaped LED display screen mentioned in this embodiment is a flat display screen, which refers to a flat LED display screen with a fan-shaped screen. The electronic device refers to a device with a display interface and capable of being in communication connection with a sending card and a receiving card of the fan-shaped LED display screen, such as a personal computer, a notebook computer, a tablet computer and the like.
As shown in fig. 1, the processing method of the display area includes the following steps:
step S101: and setting a display area corresponding to a fan-shaped display surface of the fan-shaped LED display screen in a display interface of the electronic equipment according to a preset display area setting strategy.
In this embodiment, the fan-shaped LED display screen (physical screen) may be equally divided into N fan-shaped display surfaces with the same shape and size according to the resolution of the fan-shaped LED display screen, where N is a positive integer, and when the resolution of the physical screen is higher, the value of N is larger.
Specifically, as shown in fig. 2, according to a preset display area setting policy, setting a display area corresponding to a fan-shaped display surface of a fan-shaped LED display screen in a display interface of an electronic device includes the following steps:
step S1011: and acquiring screen information of the fan-shaped LED display screen.
Specifically, the screen information includes the number of the fan-shaped display surfaces, the shapes and the sizes of the fan-shaped display surfaces. The screen information of the fan-shaped LED display screen can be derived from information pre-stored in a memory of the electronic equipment, or derived from a sending card sending the information stored in the flash to the electronic equipment.
Step S1012: acquiring the size of a display interface of the electronic equipment;
the size of the display interface of the electronic equipment is stored in the memory of the electronic equipment in advance.
Step S1013: and determining the scaling according to the screen information and the size of a display interface of the electronic equipment.
Specifically, a scaling ratio may be determined according to the total number of the fan-shaped display surfaces, the shape and the size of the fan-shaped display surfaces, and the size of the display interface of the electronic device, so that the display interface of the electronic device can accommodate all the fan-shaped display surfaces.
Step S1014: and determining the shape and the size of the display area according to the scaling and the shape and the size of the fan-shaped display surface, and setting a display area in a display interface of the electronic equipment according to the shape and the size of the display area.
As shown in fig. 3, the fan-shaped LED display screen 1 after being divided into equal parts includes a plurality of fan-shaped display surfaces 101. Since the shape and size of each fan-shaped display surface of the fan-shaped LED display screen in this embodiment are the same, any one of the fan-shaped display surfaces is selected, a display area corresponding to the fan-shaped display surface is set in the display interface of the electronic device, and then step S102-step S104 are performed to copy and splice the display areas, so that a complete display area capable of realizing complete display of a slice image can be obtained.
Step S102: and taking a preset point in the display interface as a rotation central point, and rotationally copying the display area to obtain N display areas.
Specifically, in this embodiment, a user may determine a preset point in the display interface as a rotation center point by combining the position of the display area on the display interface and the number of the display areas, and preferably, the rotation center point is any point on a central axis of the display area. More specifically, the total amount of the display areas is equal to the number of the fan-shaped display surfaces of the fan-shaped LED display screen.
As shown in fig. 4, is a display area ABCD corresponding to a fan-shaped display surface provided in the display interface 2 of the electronic apparatus.
As shown in fig. 5, in one implementation, a plurality of display areas obtained by rotationally copying the display area ABCD at any angle are obtained by taking a point on the central axis of the ABCD as a rotational center point. Specifically, corresponding to the number of display surfaces of the fan-shaped LED display screen in fig. 3, 4 display areas, which are ABCD, EFGH, IJKL, and MNOP, respectively, are obtained, and since one point on the central axis of ABCD is used as the rotation central point in fig. 5, the 4 display areas are all regularly arranged around the rotation central point. The above-mentioned rotational copy is only an example, and is not a limitation to the present invention, and in actual operation, the other points in the display area may be used as a center point of rotation, and may be rotated by an arbitrary angle to perform the copy.
Step S103: determining multiple groups of coincident points from the vertexes of each display area according to a preset coincident point determination strategy, wherein each group of coincident points comprises 2 vertexes of the display area, and the 2 vertexes of the display area are respectively arranged in different display areas;
specifically, when there are a plurality of display regions, the adsorption point of each display region may be a coincident point, which is a vertex on an edge where two display regions can coincide.
As shown in fig. 5, each display area has 4 vertices, two sides (AB, CD) are provided, and any one side of one display area can be overlapped and spliced with any one side of another display area, so that the overlapped points include (a, E), (a, H), (a, I), (a, L), (a, M), (a, P), (D, E), (D, H), (D, I), (D, L), (D, M), (D, P), (B, F), (B, G), (B, J), (B, K), (B, N), (B,0), (C, F), (C, G), (C, J), (C, K), (C, N), (C, O), and so on.
Step S104: and splicing the N display areas according to the coincident points, and forming a complete display area corresponding to the fan-shaped LED display screen in a display interface of the electronic equipment.
Specifically, when the coincident points are used for splicing the display regions, not all the coincident points are used, and therefore when the coincident points are actually used as the adsorption points of each display region for adsorption of the display regions, the splicing relationship between the display regions needs to be determined according to the position relationship of each display region, and which coincident points are used as the actually used coincident points for splicing.
For example, for the 4 display areas in fig. 5, the display areas ABCD, EFGH, IJKL, and MNOP may be sequentially spliced according to the position relationship of each display area, and when two display areas are spliced, in consideration of improving the splicing efficiency, the CD side and the EF side are spliced according to the arrangement order of the sides of the display areas instead of the CD side and the GH side, or the AB side and the EF side are spliced (in the latter two modes, when splicing is performed, the display areas need to be rotated to splice the two display areas together, and the steps in splicing are added).
In this embodiment, since the display area is copied by rotating by an arbitrary angle using a preset point in the display interface as a rotation center point, compared with the translational drag copy, the rotational copy is simpler and more convenient to operate on the one hand, and does not need to perform a drag operation during the copy, and only directly rotates by using one rotation center point as a center, so as to improve the operation efficiency of the display area copy, and on the other hand, since the plurality of display areas are surrounded by the rotation center point, the arrangement of the plurality of display areas is more regular, and when the display areas are spliced, the splicing is performed by using the coincident point, so that the problem of angular offset does not need to be considered during the splicing (the problem that the display areas after the copy are irregularly dispersed in the display interface during the drag copy, and the offset angle needs to be considered during the splicing), in addition, the invention introduces coincident point adsorption, so that the display area can be regularly adsorbed according to the coincident points, thereby solving the problem of disordered splicing of the display area of the display interface of the electronic equipment and further solving the problem of disordered display of the slice picture in the display interface.
In another embodiment of the present invention, each display area includes a plurality of display area vertices, each display area vertex corresponds to a plurality of groups of coincidence points, as shown in fig. 6, splicing the N display areas according to the coincidence points may include the following steps:
step S601: selecting one display area from the N display areas as an initial display area, calculating the distance between the top points of 2 display areas in each group of coincident points corresponding to the initial display area, and taking the group of coincident points with the minimum distance corresponding to the top points of each display area in the initial display area as a first adsorption point.
Specifically, in this embodiment, any one of the N display areas may be selected as the initial display area, and of course, the initial display area may also be selected according to the position of each display area in the display interface, for example, the display area at the leftmost side or the rightmost side of the display interface is selected as the initial display area. When the distances of the 2 display area vertexes in the coincident point are calculated, a rectangular coordinate system can be established in the display interface, and the distances are calculated according to the coordinates of the 2 display area vertexes.
Taking fig. 5 as an example, the coincident points corresponding to D point are (D, E), (D, H), (D, I), (D, L), (D, M), (D, P), from which a set of coincident points with the smallest distance, i.e., (D, E), is determined.
Step S602: and splicing the initial display area and the display area corresponding to the first adsorption point according to the first adsorption point to obtain a display area to be spliced.
Because 2 display area vertexes in each group of coincident points are respectively in different display areas, a display area needing to be spliced with the initial display area can be determined according to the first adsorption point, and then the 2 display area vertexes in the first adsorption point are adsorbed according to the first adsorption point, so that splicing is realized, and the display area to be spliced is obtained. In this embodiment, the two vertices closest to each other are adsorbed, so that the adsorption speed can be increased.
It should be noted that, if two display region vertices need to be adsorbed with the same display region vertex of another display region according to the adsorption point in one display region, the point which needs to be adsorbed finally is determined according to the distance, and the closest point is adsorbed. For example, in fig. 5, the first adsorption point at point D is (D, E), and the first adsorption point at point a is (a, E), and in this case, (D, E) is adsorbed because the distance between DE is smaller (for point E, (D, E) is the adsorption point).
In another implementation manner, a user may also use an electronic device to manually tile any 2 display regions to obtain display regions to be tiled, which is not limited in the present invention.
Step S603: and calculating the convex hull of the display area to be spliced according to a preset convex hull calculation strategy.
Specifically, the convex hull is a minimum convex polygon including vertices of all display areas in the display area to be tiled. More specifically, the convex hull calculation strategy may be a Graham scan method or a Jarvis step method.
Step S604: and acquiring the vertex of the display area on the convex hull, and calculating the distance between the 2 vertexes of the display area in each group of coincident points corresponding to the vertexes of the display area on the convex hull.
Specifically, the display area vertex on the convex hull refers to the vertex of the smallest convex polygon.
Step S605: and taking a group of coincident points with the minimum distance corresponding to the top point of each display area on the convex hull as second adsorption points.
Step S606: and splicing the display area to be spliced with the display area corresponding to the second adsorption point according to the second adsorption point to obtain a new display area to be spliced.
And repeating the steps S603-S606 until all the N display areas are spliced.
In this embodiment, after the display areas to be tiled are obtained, the convex hull of the display areas to be tiled is calculated, and then the distance of the coincidence points corresponding to the vertices of the display areas on the convex hull is calculated. Taking fig. 5 as an example for explanation, if the display area to be tiled is ABGH (a display area formed by splicing the display area ABCD and EFGH), and A, H, B, G, C (F) is on the convex hull after calculating the convex hull of the display area to be tiled, it is only necessary to calculate the distance of the coincident point corresponding to A, H, B, G, C (F), and it is not necessary to calculate the distances of multiple sets of coincident points corresponding to D, E. It can be understood that, when the number of the display areas is larger, the calculation amount that can be reduced by using the convex hull splicing strategy in the embodiment is larger, so that the calculation efficiency is improved.
In this embodiment, the adsorption point is determined by the calculated convex hull, so that it is not necessary to manually select from the coincident points, automatic determination of the adsorption point is realized, and the adsorption efficiency is improved.
In another embodiment of the present invention, each display area includes a plurality of display area vertices, each display area vertex corresponds to a plurality of groups of coincidence points, as shown in fig. 7, splicing the N display areas according to the coincidence points includes:
step S701: establishing a polar coordinate system in a display interface, and acquiring polar angles of 2 display area vertexes in each group of coincident points;
specifically, in this embodiment, a polar coordinate system is established by taking the rotation center point as a pole O, directing a ray from the pole O to any direction as a polar axis OX, taking the counterclockwise direction as the positive direction, and taking the preset length as the unit length, and establishing the polar coordinate system in the display interface. Specifically, the preset length may be set by the user according to the need, which is not limited in the present invention.
Step S702: the difference between the polar angles of the 2 display region vertices within each set of coincident points is calculated.
Step S703: and taking the coincident point with the minimum polar angle difference in the multiple coincident points corresponding to the top point of each display area as the adsorption point corresponding to the top point of the display area.
Step S704: and adsorbing the vertexes of the two display areas in the adsorption points to realize the splicing of the N display areas.
Specifically, in this embodiment, the polar angle refers to an included angle between a connecting line from a vertex of the display area to a pole and a polar axis, and if a difference between polar angles corresponding to two vertices of the display area in one group of coincident points is smaller, it indicates that the distance between the two vertices of the display area is the closest, that is, the distance between two display areas corresponding to the two vertices of the display area is the closer, and since the two adjacent display areas are closer when being spliced, the two adjacent display areas are spliced in sequence, and the splicing efficiency is higher, in this embodiment, a difference between polar angles of two vertices of the display area in each group of coincident points corresponding to each vertex of the display areas is determined, and the coincident point with the smallest difference between polar angles is used as an adsorption point corresponding to the vertex of the display area, so that adsorption between the two adjacent display areas can be achieved. In the embodiment, the adsorption points are determined by calculating the polar angles, manual selection from coincident points is not needed, automatic determination of the adsorption points is realized, and the adsorption efficiency is improved.
It should be noted that, if two display region vertices need to be adsorbed with the same display region vertex of another display region according to the adsorption point in one display region, the point that needs to be adsorbed finally is determined according to the difference of polar angles, and the adsorption is performed with the smallest difference of polar angles. For example, in fig. 5, the first adsorption point at point D is (D, E), and the first adsorption point at point a is (a, E), and in this case, (D, E) is adsorbed because the difference in polar angle between DE is smaller (for point E, (D, E) is the adsorption point).
The present invention further provides a processing apparatus for a display area, as shown in fig. 8, the apparatus includes a display area setting module 801, a rotation duplication module 802, a coincidence point determining module 803, and a display area adsorption module 804, wherein:
the display area setting module 801 is connected with the rotation copying module 802 and is used for setting a display area corresponding to a fan-shaped display surface of a fan-shaped LED display screen in a display interface of the electronic device according to a preset display area setting strategy, wherein the fan-shaped LED display screen is composed of N fan-shaped display surfaces with the same shape and size;
a rotation copy module 802, connected to the display area setting module 801 and the coincidence point determining module 803, for performing rotation copy on the display area by using a preset point of the display interface as a rotation center point to obtain N display areas;
a coincidence point determining module 803, connected to the rotation copying module 802 and the display region adsorption module 804, configured to determine multiple groups of coincidence points from vertices of each display region according to a preset coincidence point determining policy, where each group of coincidence points includes 2 vertices of the display region, and the 2 vertices of the display region are respectively set in different display regions;
and the display area adsorption module 804 is used for splicing the N display areas according to the coincident point to form a complete display area corresponding to the fan-shaped LED display screen in the display interface of the electronic equipment.
In still another embodiment of the present invention, as shown in fig. 9, the display area setting module 801 includes an information acquiring unit 8011, a scaling determining unit 8012 and a display area generating unit 8013, wherein:
the information acquiring unit 8011 is connected to the scaling determining unit 8012, and is configured to acquire screen information of the fan-shaped LED display screen, where the screen information is the number, shape, and size of fan-shaped display surfaces, and is further configured to acquire the size of a display interface of the electronic device;
the scaling determining unit 8012 is connected to the display area generating unit 8013, and is configured to determine a scaling according to the screen information and a size of a display interface of the electronic device;
the display area generating unit 8013 is configured to determine the shape and size of the display area according to the zoom ratio and the shape and size of the fan-shaped display surface, and set a display area in the display interface of the electronic device according to the shape and size of the display area.
In another embodiment of the present invention, each display area includes a plurality of display area vertices, each display area vertex corresponds to a plurality of sets of coincidence points, as shown in fig. 10, the display area adsorption module 804 includes a first adsorption point calculation unit 8041, a to-be-spliced display area acquisition unit 8042, and a convex hull splicing unit 8043, where:
a first adsorption point calculation unit 8041 connected to the display area to be spliced acquisition unit 8042, configured to select one display area from the N display areas as an initial display area, calculate distances between 2 display area vertexes of each group of coincidence points corresponding to the initial display area, and use a group of coincidence points having a smallest distance corresponding to each display area vertex in the initial display area as a first adsorption point;
a to-be-spliced display area acquisition unit 8042 connected to the first adsorption point calculation unit 8041 and the convex hull splicing unit 8043, and configured to splice the initial display area and the display area corresponding to the first adsorption point according to the first adsorption point, so as to obtain a to-be-spliced display area;
the convex hull splicing unit 8043 is configured to perform a convex hull splicing step, where the convex hull splicing step includes: calculating a convex hull of the display area to be spliced according to a preset convex hull calculation strategy, wherein the convex hull is a minimum convex polygon containing the vertexes of all the display areas in the display area to be spliced; acquiring the vertexes of the display areas on the convex hull, and calculating the distance between the vertexes of 2 display areas in each group of coincident points corresponding to the vertexes of each display area on the convex hull; taking a group of coincident points with the minimum distance corresponding to the top point of each display area on the convex hull as second adsorption points; splicing the display area to be spliced with the display area corresponding to the second adsorption point according to the second adsorption point to obtain a new display area to be spliced; and repeating the convex hull splicing step until all the N display areas are spliced.
In another embodiment of the present invention, each display region includes a plurality of display region vertices, each display region vertex corresponds to a plurality of sets of coincidence points, as shown in fig. 11, the display region adsorption module 804 includes a polar angle calculation unit 8141, an adsorption point determination unit 8142, and an adsorption unit 8143, where:
the polar angle calculation unit 8141 is connected with the adsorption point determination unit 8142 and is used for establishing a polar coordinate system in the display interface and acquiring the polar angles of the vertexes of 2 display areas in each group of coincident points;
an absorption point determining unit 8142 connected to the polar angle calculating unit 8141 and the absorption unit 8143, and configured to calculate a difference between polar angles of 2 display region vertices in each group of coincidence points, and use a group of coincidence points with a smallest difference between polar angles in a plurality of groups of coincidence points corresponding to each display region vertex as an absorption point corresponding to the display region vertex;
and the adsorption unit 8143 is configured to adsorb 2 display area vertices in each group of adsorption points, so as to implement splicing among the N display areas.
According to the processing method and the processing device for the display area, provided by the invention, the display area is copied by adopting a rotary copying method, the operation efficiency of copying the display area is improved, the arrangement of a plurality of display areas formed by rotary copying is more regular, the splicing difficulty is reduced, and the overlapping point adsorption is further introduced during splicing, so that the display areas can be regularly adsorbed and spliced according to the overlapping points, the problem of disordered splicing of the display areas on the display interface of the electronic equipment is solved, and the problem of disordered display of a slice picture in the display interface is further solved.
The terms and expressions used in the specification of the present invention have been set forth for illustrative purposes only and are not meant to be limiting. The terms "first" and "second" used herein in the claims and the description of the present invention are for the purpose of convenience of distinction, have no special meaning, and are not intended to limit the present invention. It will be appreciated by those skilled in the art that changes could be made to the details of the above-described embodiments without departing from the underlying principles thereof. The scope of the invention is, therefore, indicated by the appended claims, in which all terms are intended to be interpreted in their broadest reasonable sense unless otherwise indicated.

Claims (10)

1. A method for processing a display area, the method comprising:
setting a display area corresponding to a fan-shaped display surface of a fan-shaped LED display screen in a display interface of the electronic equipment according to a preset display area setting strategy, wherein the fan-shaped LED display screen consists of N fan-shaped display surfaces with the same shape and size;
taking a preset point in the display interface as a rotation central point, and rotationally copying the display area to obtain N display areas;
determining multiple groups of coincident points from the vertexes of each display area according to a preset coincident point determination strategy, wherein each group of coincident points comprises 2 vertexes of the display area, and the 2 vertexes of the display area are respectively arranged in different display areas;
and splicing the N display areas according to the coincident point, and forming a complete display area corresponding to the fan-shaped LED display screen in a display interface of the electronic equipment.
2. The method for processing the display area according to claim 1, wherein the setting a display area corresponding to a fan-shaped display surface of a fan-shaped LED display screen in a display interface of an electronic device according to a preset display area setting policy comprises:
acquiring screen information of the fan-shaped LED display screen, wherein the screen information is the number, the shape and the size of fan-shaped display surfaces;
acquiring the size of a display interface of the electronic equipment;
determining a scaling according to the screen information and the size of a display interface of the electronic equipment;
and determining the shape and the size of a display area according to the scaling and the shape and the size of the fan-shaped display surface, and setting a display area in a display interface of the electronic equipment according to the shape and the size of the display area.
3. The method for processing the display area according to claim 1, wherein each display area includes a plurality of display area vertices, each display area vertex corresponds to a plurality of sets of coincidence points, and the splicing the N display areas according to the coincidence points includes:
selecting one display area from N display areas as an initial display area, calculating the distance between the top points of 2 display areas in each group of coincident points corresponding to the initial display area, and taking the group of coincident points with the minimum distance corresponding to the top point of each display area in the initial display area as a first adsorption point;
according to the first adsorption point, splicing the initial display area and a display area corresponding to the first adsorption point to obtain a display area to be spliced, and performing a convex hull splicing step, wherein the convex hull splicing step comprises the following steps:
calculating a convex hull of the display area to be spliced according to a preset convex hull calculation strategy, wherein the convex hull is a minimum convex polygon containing all display area vertexes in the display area to be spliced;
acquiring display area vertexes on the convex hull, and calculating the distance between 2 display area vertexes in each combination of coincident points corresponding to each display area vertex on the convex hull;
taking a group of coincident points with the minimum distance corresponding to the top point of each display area on the convex hull as second adsorption points;
splicing the display area to be spliced with the display area corresponding to the second adsorption point according to the second adsorption point to obtain a new display area to be spliced;
and repeating the convex hull splicing step until all the N display areas are spliced.
4. The method for processing the display area according to claim 3, wherein the predetermined convex hull calculation strategy is Graham scanning or Jarvis stepping.
5. The method for processing the display area according to claim 1, wherein each display area includes a plurality of display area vertices, each display area vertex corresponds to a plurality of sets of coincidence points, and the splicing the N display areas according to the coincidence points includes:
establishing a polar coordinate system in the display interface, acquiring polar angles of 2 display area vertexes in each group of coincident points, and calculating the difference of the polar angles of the 2 display area vertexes in each group of coincident points;
taking the coincident point with the minimum polar angle difference in the multiple coincident points corresponding to the top point of each display area as the adsorption point corresponding to the top point of the display area;
and adsorbing the vertexes of the two display areas in the adsorption points to realize the splicing of the N display areas.
6. The method for processing the display area according to claim 5, wherein the establishing a polar coordinate system in the display interface is:
and taking the rotation center point as a pole O, leading a ray from the pole O to any direction as a polar axis OX, taking the anticlockwise direction as a positive direction, taking the preset length as a unit length, and establishing a polar coordinate system in the display interface.
7. A processing device of a display area is characterized in that the device comprises a display area setting module, a rotation copying module, a coincidence point determining module and a display area adsorption module, wherein:
the display area setting module is connected with the rotary copying module and used for setting a display area corresponding to a fan-shaped display surface of a fan-shaped LED display screen in a display interface of the electronic equipment according to a preset display area setting strategy, wherein the fan-shaped LED display screen consists of N fan-shaped display surfaces with the same shape and size;
the rotating copying module is connected with the display area setting module and the coincidence point determining module and is used for rotating and copying the display area by taking a preset point in the display interface as a rotating central point to obtain N display areas;
the coincidence point determining module is connected with the rotating copying module and the display area adsorption module and is used for determining multiple groups of coincidence points from the vertexes of each display area according to a preset coincidence point determining strategy, each group of coincidence points comprises 2 display area vertexes, and the 2 display area vertexes are respectively arranged in different display areas;
and the display area adsorption module is used for splicing the N display areas according to the coincident point, and a complete display area corresponding to the fan-shaped LED display screen is formed in the display interface of the electronic equipment.
8. The apparatus according to claim 7, wherein the display region setting module includes an information acquisition unit, a scaling determination unit, and a display region generation unit, wherein:
the information acquisition unit is connected with the scaling determination unit and is used for acquiring screen information of the fan-shaped LED display screen, wherein the screen information is the number, the shape and the size of fan-shaped display surfaces and is also used for acquiring the size of a display interface of the electronic equipment;
the scaling determining unit is connected with the display area generating unit and used for determining scaling according to the screen information and the size of the display interface of the electronic equipment;
and the display area generating unit is used for determining the shape and the size of the display area according to the scaling and the shape and the size of the fan-shaped display surface, and setting a display area in the display interface of the electronic equipment according to the shape and the size of the display area.
9. The device for processing the display area according to claim 7, wherein each display area comprises a plurality of display area vertexes, each display area vertex corresponds to a plurality of groups of coincidence points, the display area adsorption module comprises a first adsorption point calculation unit, a display area to be spliced acquisition unit, and a convex hull splicing unit, wherein:
the first adsorption point calculation unit is connected with the display area to be spliced acquisition unit and used for selecting one display area from N display areas as an initial display area, calculating the distance between the top points of 2 display areas in each group of coincident points corresponding to the initial display area, and taking the group of coincident points with the minimum distance corresponding to the top point of each display area in the initial display area as a first adsorption point;
the to-be-spliced display area acquisition unit is connected with the first adsorption point calculation unit and the convex hull splicing unit and is used for splicing the initial display area and the display area corresponding to the first adsorption point according to the first adsorption point to obtain a to-be-spliced display area;
the convex hull splicing unit is used for performing a convex hull splicing step, and the convex hull splicing step comprises the following steps: calculating a convex hull of the display area to be spliced according to a preset convex hull calculation strategy, wherein the convex hull is a minimum convex polygon containing all display area vertexes in the display area to be spliced; acquiring display area vertexes on the convex hull, and calculating the distance between 2 display area vertexes in each combination of coincident points corresponding to each display area vertex on the convex hull; taking a group of coincident points with the minimum distance corresponding to the top point of each display area on the convex hull as second adsorption points; splicing the display area to be spliced with the display area corresponding to the second adsorption point according to the second adsorption point to obtain a new display area to be spliced; and repeating the convex hull splicing step until all the N display areas are spliced.
10. The device for processing the display area according to claim 7, wherein each display area comprises a plurality of display area vertices, each display area vertex corresponds to a plurality of sets of coincidence points, the display area adsorption module comprises a polar angle calculation unit, an adsorption point determination unit, and an adsorption unit, wherein:
the polar angle calculation unit is connected with the adsorption point determination unit and used for establishing a polar coordinate system in the display interface and acquiring the polar angles of the vertexes of 2 display areas in each group of coincident points;
the adsorption point determining unit is connected with the polar angle calculating unit and the adsorption unit and is used for calculating the polar angle difference of 2 display area vertexes in each group of coincident points, and the coincident point with the minimum polar angle difference in the multiple groups of coincident points corresponding to each display area vertex is used as the adsorption point corresponding to the display area vertex;
and the adsorption unit is used for respectively adsorbing the top points of 2 display areas in each group of adsorption points so as to realize the splicing of the N display areas.
CN202110588107.2A 2021-05-28 2021-05-28 Display area processing method and device Active CN113031899B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110588107.2A CN113031899B (en) 2021-05-28 2021-05-28 Display area processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110588107.2A CN113031899B (en) 2021-05-28 2021-05-28 Display area processing method and device

Publications (2)

Publication Number Publication Date
CN113031899A true CN113031899A (en) 2021-06-25
CN113031899B CN113031899B (en) 2021-08-27

Family

ID=76455974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110588107.2A Active CN113031899B (en) 2021-05-28 2021-05-28 Display area processing method and device

Country Status (1)

Country Link
CN (1) CN113031899B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114913810A (en) * 2022-03-30 2022-08-16 卡莱特云科技股份有限公司 Sector-based slice display control method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105721791A (en) * 2016-02-02 2016-06-29 深圳市创维群欣安防科技股份有限公司 Rotating display method and system of spliced display screen
CN106201386A (en) * 2015-03-31 2016-12-07 建碁股份有限公司 Splicing type display system and splicing type display method
CN109979020A (en) * 2019-04-04 2019-07-05 广州视源电子科技股份有限公司 A kind of line segment adsorption method, device, equipment and storage medium
CN112068922A (en) * 2020-11-10 2020-12-11 卡莱特(深圳)云科技有限公司 Display control method and device of special-shaped LED display screen

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201386A (en) * 2015-03-31 2016-12-07 建碁股份有限公司 Splicing type display system and splicing type display method
CN105721791A (en) * 2016-02-02 2016-06-29 深圳市创维群欣安防科技股份有限公司 Rotating display method and system of spliced display screen
CN109979020A (en) * 2019-04-04 2019-07-05 广州视源电子科技股份有限公司 A kind of line segment adsorption method, device, equipment and storage medium
CN112068922A (en) * 2020-11-10 2020-12-11 卡莱特(深圳)云科技有限公司 Display control method and device of special-shaped LED display screen

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114913810A (en) * 2022-03-30 2022-08-16 卡莱特云科技股份有限公司 Sector-based slice display control method, device and system
CN114913810B (en) * 2022-03-30 2023-06-02 卡莱特云科技股份有限公司 Sector-based slice display control method, device and system

Also Published As

Publication number Publication date
CN113031899B (en) 2021-08-27

Similar Documents

Publication Publication Date Title
US20230116414A1 (en) Forming a larger display using multiple smaller displays
JP4890005B2 (en) Method and system to minimize the panorama camera dead zone
TWI536363B (en) tiling-display system and method thereof
US7620910B2 (en) Image display method and program with usage of numeric keys and cursor keys
US6614427B1 (en) Process for making stereoscopic images which are congruent with viewer space
US20100259599A1 (en) Display system and camera system
US20160019723A1 (en) Augmented reality system method and appartus for displaying an item image in acontextual environment
US20080218854A1 (en) Stereoscopic display device
CN113031899B (en) Display area processing method and device
US20060291717A1 (en) Method to define the 3D oblique cross-section of anatomy at a specific angle and be able to easily modify multiple angles of display simultaneously
JP2012194642A (en) Image processing device, image processing method, and image processing system
US8184906B2 (en) System and method for creating images
WO2012121665A1 (en) A method, system and apparatus for display and browsing of e-books
CN110989949A (en) Method and device for special-shaped splicing display
JP2002148711A (en) Spherical wide field angle video display device
WO2008043037A2 (en) Aspect-ratio independent, multimedia capture and editing systems and methods thereof
CN102238411A (en) Image display method for reflecting three-dimensional display
JP2011212218A (en) Image reconstruction apparatus
CN108462860A (en) A kind of method and projection arrangement for realizing projection process
JP2010072840A (en) Image display method, image display device, and operation device using the same
JP2003050655A (en) Mixed resolution display
EP0928117A3 (en) Method and apparatus for providing volumetric projection
KR101990252B1 (en) Method for producing virtual reality image, portable device in which VR photographing program for performing the same is installed, and server supplying the VR photographing program to the portable device
CN114913810B (en) Sector-based slice display control method, device and system
JPH1139507A (en) Stereoscopic image display device

Legal Events

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