CN110162285B - Distributed image cutting method and system of rotary display screen based on splicing - Google Patents

Distributed image cutting method and system of rotary display screen based on splicing Download PDF

Info

Publication number
CN110162285B
CN110162285B CN201910407949.6A CN201910407949A CN110162285B CN 110162285 B CN110162285 B CN 110162285B CN 201910407949 A CN201910407949 A CN 201910407949A CN 110162285 B CN110162285 B CN 110162285B
Authority
CN
China
Prior art keywords
circle
data
display screen
rotary display
modulus
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.)
Active
Application number
CN201910407949.6A
Other languages
Chinese (zh)
Other versions
CN110162285A (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.)
Shenzhen Xindong Electronic Technology Co ltd
Original Assignee
Shenzhen Xindong 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 Shenzhen Xindong Electronic Technology Co ltd filed Critical Shenzhen Xindong Electronic Technology Co ltd
Priority to CN201910407949.6A priority Critical patent/CN110162285B/en
Publication of CN110162285A publication Critical patent/CN110162285A/en
Application granted granted Critical
Publication of CN110162285B publication Critical patent/CN110162285B/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

Abstract

The invention discloses a distributed image cutting method and a distributed image cutting system based on a spliced rotary display screen, wherein the method comprises the following steps: generating a cutting template of the rotary display screen for splicing, wherein the cutting template comprises a white picture and template data of at least 2 circles, and the template data comprises the center coordinates, the levels and the intersected circles of each circle; sending the template data to each rotating display screen; sending the material to be displayed to each rotary display screen; acquiring the modulus data of each circle according to the template data; and performing modulus extraction on the picture of the material to be displayed through the modulus extraction data of each circle to obtain the image data of each circle. The method processes the images of the overlapped parts of the spliced rotary display screens with irregular shapes, distributes the template data to each rotary display screen for performing modulus calculation, color filling and pixel color value comparison to obtain new modulus data, removes the overlapped parts, reduces the calculated amount of the control terminal, saves the calculation time and greatly improves the efficiency.

Description

Distributed image cutting method and system based on spliced rotary display screen
Technical Field
The invention relates to the technical field of computer vision, in particular to a distributed image cutting method and a distributed image cutting system based on a spliced rotary display screen.
Background
With the rise of spliced rotary display screens, a new spliced display scheme appears. The spliced rotary display screen is a perfect circular display screen, and a larger screen can be formed by layering, overlapping and partially overlapping every two spliced rotary display screens, which is called as a spliced rotary display screen. There is the overlap portion between the rotatory display screen, and the image of the overlap portion of the rotatory display screen of concatenation can produce light interference, so the procedure need handle it when carrying out image cutting, otherwise can influence the display effect. In order to match such a display scheme, most of the markets today manually cut and optimize through image processing software or video processing software, and the method is time-consuming, labor-consuming and expensive. Meanwhile, if the spliced rotary display screen is too many, the calculation amount is multiplied.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a distributed image cutting method and system based on a spliced rotating display screen, aiming at the above-mentioned defects of the prior art, wherein light interference is generated in the images of the overlapped portions of the spliced rotating display screen.
The technical scheme adopted by the invention for solving the technical problems is as follows: according to a first aspect of the present invention, a distributed image cutting method based on a spliced rotating display screen is provided, which specifically includes the steps of:
generating a cutting template for at least 2 spliced rotary display screens, wherein the cutting template comprises a white picture and template data of at least 2 circles arranged on the white picture, the at least 2 circles are identical to the at least 2 spliced rotary display screens, and the template data comprises the center coordinates, the levels and the intersected circles of each circle;
acquiring the modulus data of each circle according to the template data;
performing modulus extraction on the picture of the material to be displayed through the modulus extraction data of each circle to obtain the image data of each circle; the material to be displayed is a picture, a video or gif.
Preferably, the obtaining module data of each circle according to the template data further includes:
and sending the modulus data to each rotary display screen.
Preferably, the generating of the cutout templates for at least 2 spliced rotating display screens further comprises the following steps:
sending the template data to each rotating display screen;
and sending the material to be displayed to each rotary display screen.
Preferably, obtaining the modulus data of each circle according to the template data includes:
s411, equally dividing the circle into L equal sectors; the angle of each fan is 360/L;
s412, dividing each sector according to the number E of the LED lamps of at least one LED fan blade of the spliced rotary display screen;
and S413, calculating pixel coordinates (xp, yp) corresponding to the mth LED lamp in the kth row, and taking the pixel coordinates as modulus data.
Preferably, the coordinates of the center of the circle are C (x0, y0), and the radii of the circle are r;
the calculation formula of the pixel coordinates (xp, yp) of the circle is:
Figure GDA0003454338220000021
Figure GDA0003454338220000031
preferably, the at least 2 circles include circle 1 and circle 2, the circle 1 and circle 2 are partially overlapped in a staggered manner, the circle 1 is an upper layer, and the circle 2 is a lower layer;
preferably, the module data of each circle is acquired according to the template data, and the method further comprises the following steps:
s421, setting the pixel value of circle 1 in the white picture to (0, 0, 0), obtaining a new picture: traversing all pixel points in the white picture, and when the distance between the pixel coordinates of the pixel points and the center of the circle 1 is less than or equal to r, setting the pixel values of the pixel points to be (0, 0, 0) to obtain a new picture;
s422, acquiring the overlapping part of the circle 2 and the circle 1: performing modulus operation on the new picture by using the modulus operation data of the circle 2 to obtain a pixel value of the circle 2, wherein the pixel value is (0, 0, 0), namely the overlapping part of the circle 1 and the circle 2;
s423, acquiring new modulus data of the circle 2: and deleting the modulus data of the overlapped part of the circle 2 to obtain new modulus data of the circle 2.
Preferably, the center coordinates of the circle 1 are C1(x10, y10), x10 is x0, and y10 is y 0; the center coordinate of circle 2 is C2(x20, y20), x20 is x0+ S, y20 is y0, and S is the distance between the center of circle 1 and the center of circle 2;
the calculation formula of the pixel coordinates (x1p, y1p) of circle 1 is:
Figure GDA0003454338220000032
Figure GDA0003454338220000033
the pixel coordinates (x2p, y2p) of circle 2 are calculated as:
Figure GDA0003454338220000034
Figure GDA0003454338220000035
preferably, the at least 2 circles include circle 1 and circle 2, the circle 1 and circle 2 are partially overlapped in a staggered manner, the circle 1 is an upper layer, and the circle 2 is a lower layer; further comprising the steps of:
s15, generating the coordinate data of circle 1 and the coordinate data of circle 2, respectively, specifically including the steps of:
s151, generating complete coordinate data (x1, y1) of circle 1 and complete coordinate data (x2, y2) of circle 2;
Figure GDA0003454338220000041
Figure GDA0003454338220000042
s152, acquiring overlapping coordinates (xc, yc) of a crossed and overlapped part of the circle 1 and the circle 2;
Figure GDA0003454338220000043
s153, the coordinates (x1, y1) of circle 1 and the coordinates (x2, y2) of circle 2 are:
Figure GDA0003454338220000044
Figure GDA0003454338220000045
preferably, the module data of each circle is acquired according to the template data, and the method further comprises the following steps:
s401, acquiring the modulus data of the circle 1 and the modulus data of the circle 2 according to the coordinate data of the circle 1 and the coordinate data of the circle 2 respectively.
According to another aspect of the present invention, there is also provided a distributed image cutting system based on spliced rotating display screens, comprising at least 2 spliced rotating display screens and a control terminal; the control terminal is in wireless communication connection with at least 2 spliced rotary display screens; each rotating display screen performs the distributed image cutting method based on the spliced rotating display screen as described above; the control terminal executes the distributed image cutting method based on the spliced rotary display screen.
The technical scheme of the distributed image cutting method and the distributed image cutting system based on the spliced rotary display screen has the following advantages or beneficial effects: the distributed image cutting method and the distributed image cutting system based on the spliced rotary display screen have the advantages that the whole screen is transparent when a black image is displayed, the transparency is higher as the black color value is closer to the black color value, and the transparency is completely transparent when the RGB color values are all 0; the method has the advantages that the images of the overlapped parts of the irregular shapes of the spliced rotary display screens are processed, the template data are distributed on each rotary display screen for modular calculation and color filling, pixel color values are compared, new modular data are obtained, the overlapped parts are removed, the calculation amount of the control terminal is reduced, the calculation time is saved, and the efficiency is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without inventive efforts, wherein:
FIG. 1 is a first flowchart of an embodiment of a distributed image segmentation method based on a tiled rotating display screen according to the present invention;
FIG. 2 is a second flowchart of an embodiment of a distributed image segmentation method based on a tiled rotating display screen according to the present invention;
FIG. 3 is a third flowchart of an embodiment of a distributed image segmentation method based on a tiled rotating display screen according to the present invention;
FIG. 4 is a schematic diagram of a rotating display screen according to an embodiment of the distributed image segmentation method for a tiled-based rotating display screen according to the present invention;
FIG. 5 is a schematic diagram of a coordinate system of an embodiment of a distributed image cutting method based on a tiled rotating display screen according to the present invention;
FIG. 6 is a schematic diagram of a mold extraction of an embodiment of a distributed image cutting method based on a spliced rotary display screen according to the invention.
Detailed Description
In order that the objects, aspects and advantages of the present invention will become more apparent, various exemplary embodiments will be described below with reference to the accompanying drawings, which form a part hereof, and in which are shown by way of illustration various exemplary embodiments in which the invention may be practiced, and in which like numerals in different drawings represent the same or similar elements, unless otherwise specified. The implementations described in the exemplary embodiments below do not represent all implementations consistent with the present disclosure. It is to be understood that they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims, and that other embodiments may be used or structural and functional modifications may be made to the embodiments set forth herein without departing from the scope and spirit of the invention. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In the description of the present invention, it is to be understood that the terms "center", "vertical", "lateral", "length", "thickness", "up-down, front-back, left-right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise" indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplicity of description, and do not indicate or imply that the elements referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and therefore, should not be taken as limiting the present invention. Furthermore, the terms "circle 1", "circle 2" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defining "circle 1", "circle 2" may explicitly or implicitly include one or more of the features. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
The first embodiment is as follows:
fig. 1 to 6 are schematic diagrams provided by embodiments of the distributed image cutting method and system based on a tiled rotating display screen according to the present invention, and for convenience of explanation, only the parts related to the embodiments of the present invention are shown.
The embodiment of the distributed image cutting method based on the spliced rotary display screen specifically comprises the following steps:
s10, generating a picture cutting template of the spliced rotary display screen (the control terminal), wherein the picture cutting template comprises a white picture and template data of at least 2 circles arranged on the white picture, the at least 2 circles are identical to the at least 2 spliced rotary display screens, and the template data comprises the center coordinates, the levels and the intersected circles of each circle.
Specifically, the template data of circle 1 is: circle center coordinates: (x0, y0), level: 1, left intersection circle: none, right intersection circle: (x0+ s, y0), level: 2, upper intersection circle: none, lower intersection circle: none, and then sends the module data to the rotary display screen 1 corresponding to circle 1. similarly, the template data of circle 2 is sent to the rotary display screen 2 corresponding to circle 2.
S20, the (control terminal) sends the template data to each of the rotating displays.
Converting the cutting template into template data, and sending the template data to a corresponding rotary display screen; the template data includes the coordinates of the center of the circle, the hierarchy, whether there is a left intersection circle, whether there is a right intersection circle, whether there is an upper intersection circle, and whether there is a lower intersection circle. More specifically, the rotating display screen is a holographic display device.
S30, sending the material to be displayed to each rotary display screen (the control terminal); the material to be displayed is a picture, a video or gif; if the material to be displayed is a picture, directly executing S40; the material to be displayed cannot be displayed on the rotary display screen without processing.
If the material to be displayed is a video or gif (if the picture automatically skips the step), the method also comprises the following steps:
and S31, each rotating display screen frames the video or gif, and the video or gif is converted into a picture.
A video framing method suitable for a holographic display device comprises the following steps:
s310, editing the video to be frame-extracted to generate an editing matrix; the edit matrix includes position coordinates, zoom size, start time T0, and deadline T1;
s320, determining frame extraction key parameters; the frame extraction key parameters comprise the display resolution, the frame time T, the frame number C and the frame extraction frame rate FPS of the holographic display device; specifically, the frame time T is calculated by a decimation frame rate FPS, and the frame time T is 1000.0 ms/FPS; the frame number C is calculated by the start time T0, the end time T1, and the frame time T, and is (T1-T0)/T.
S330, zooming the video to be frame-extracted according to the frame-extracting key parameters and acquiring original frame data;
specifically, according to the display resolution of the holographic display device, the original frame data is scaled to the resolution and then acquired, so that the frame rendering speed is increased, and the original frame data is acquired more quickly. After the original frame data is obtained, the editing matrix is applied to the frame data, and then a part of the content required to be displayed on the holographic display device is intercepted to be used as final frame data.
S340, applying the editing matrix to the original frame data, and intercepting the final frame data;
s350, judging whether frame extraction is needed to be continued according to the FPS, if so, executing S340, otherwise, executing S360;
and S360, generating a final frame sequence to be displayed.
In this embodiment, S50, determining whether frame extraction needs to be continued according to the frame extraction frame rate FPS, specifically includes the steps of:
s51, recording the time t0 after the final frame data are processed;
s52, acquiring the current time T1 in real time, and calculating the frame time T through the frame extraction frame rate;
s53, judging that T1-T0 is more than T, if yes, executing S40; if not, S60 is executed.
Specifically, the above steps are repeatedly performed until the current time T1 reaches the end of the video to be frame-extracted and the extracted frame number reaches the expected frame number C, i.e., (T > T1 and the frame number C < C).
S40, acquiring the modulus data of each circle according to the template data; the method specifically comprises the following steps:
s411, equally dividing the circle into L equal sectors; the angle of each fan is 360/L;
s412, dividing each sector according to the number E of the LED lamps of the LED fan blades of the spliced rotary display screen; specifically, the rotary display screen comprises a plurality of LED fan blades (preferably, 4 LED fan blades), and each LED fan blade comprises E LED lamps.
Preferably, the holographic display device includes at least one LED fan, for example, 1, 2, 3, 4, and the like, and preferably 4, and each LED fan is provided with a plurality of LED lamps, and the specific number is not limited herein.
And S413, calculating pixel coordinates (xp, yp) corresponding to the L-th and E-th LED lamps in the L-th row, wherein k refers to the number of sectors and is less than or equal to L, m refers to the number of the LED lamps and is less than or equal to E, and modulus data are obtained. .
As shown in fig. 4, specifically, the center coordinates of the circle are C (x0, y0), and the radius of the circle is r; the calculation formula of the pixel coordinates (xp, yp) of the circle is:
the derivation is carried out according to the theorem of the cosine and the sine,
Figure GDA0003454338220000091
the derivation is carried out according to the positive-porch theorem,
Figure GDA0003454338220000092
specifically, the modulus data of the circle 1 is obtained, the modulus of the circle 1 is obtained, the whole circle is firstly divided into sectors with L equal parts, for example, the sectors are divided into 800 equal parts, namely every 0.45 degrees/part, then, the radius r is divided according to the number of the LED lamps on the LED fan blades of the rotary display screen, and the number of the LED lamps on the LED fan blades is set as E. The coordinates of the pixels corresponding to the m-th pixel in the k-th row are calculated, as shown in fig. 4, so that the coordinates of all the pixels of the circle 1 in the original image, that is, the modulo data, can be obtained.
Specifically, the modulus data of the circle 2 is obtained, the modulus of the circle 2 is obtained, the whole circle is divided into L equal parts, namely, every 0.45 degree/part, the L equal parts are arranged into 800 equal parts, then the radius r is divided according to the number of the LED lamps on the LED fan blades of the rotary display screen, and the number of the LED lamps on the LED fan blades is set as E. The coordinates of the pixels corresponding to the mth pixel in the kth row are calculated, so that the coordinates of all the pixels of the circle 2 corresponding to the original image, that is, the modulus data, can be extracted.
And S50, performing modulus extraction on the picture of the material to be displayed through the modulus extraction data of each circle to obtain the image data of each circle. The method comprises the steps of respectively obtaining image data of a circle 1 and an image data of a circle 2, putting any one of the pictures into a coordinate system, conducting modulo on the pictures by utilizing modulo data of the circle 1 to obtain new image data with a pixel value of the circle 1, and conducting modulo on the pictures by utilizing modulo data of the circle 2 to obtain image data with a pixel value of the circle 2.
As another embodiment, the following is an example of the modulo process at the control terminal (i.e., the upper computer):
generating a map cutting template for at least 2 spliced rotary display screens, wherein the map cutting template comprises a white picture and template data of at least 2 circles arranged on the white picture, the at least 2 circles are identical to the at least 2 spliced rotary display screens, and the template data comprises the center coordinates, the levels and the intersected circles of each circle;
acquiring the modulus data of each circle according to the template data;
sending the modulus data to each rotary display screen;
each rotary display screen performs module extraction on the picture of the material to be displayed through the module extraction data of each circle to obtain the image data of each circle; the material to be displayed is a picture, a video or gif.
In the embodiment, each step of the operation is the same as that described above, and is not described herein.
In this embodiment, there are two methods for obtaining the modulus data of each circle:
the method comprises the following steps:
as shown in fig. 5, specifically, taking two spliced rotating display screens as an example, at least 2 circles include circle 1 and circle 2, and circle 1 and circle 2 are partially overlapped in a staggered manner and are represented by two regular circles; the circle 1 is an upper layer, the circle 2 is a lower layer, the radiuses of the circle 1 and the circle 2 are both r, and if r is set to be 400 pixels; establishing a two-dimensional coordinate system, wherein a unit is a pixel, a circle 1 represents the rotating display screen 1, the center coordinates of the circle 1 are C1(x10, y10), x10 is x0, y10 is y0, and the hierarchy is an upper layer (namely, a first layer) and is represented by 1; circle 2 represents the rotating display screen 2, the coordinates of the center of circle 2 are C2(x20, y20), x20 is x0+ S, and y20 is y0, the lower layer is hierarchical (i.e. the second layer, when there are multiple overlapping circles, the circle located at the lower layer is represented), and is denoted by 2. Where S is the distance between the center of circle 1 and the center of circle 2, e.g. S is 80. A white picture is prepared, the lower left corner of the white picture is at the origin of coordinates, the width and the height of the picture are 800, and the like.
Correspondingly, S40, obtaining the modulus data of each circle according to the template data, further including the steps of:
s421, setting the color value of the circle 1 in the white picture to (0, 0, 0), and obtaining a new picture (i.e. the color of the whole circle 1 is changed to black): traversing all pixel points in the white picture, when the distance between the pixel coordinates of the pixel points and the center of the circle 1 is less than or equal to r, setting the coordinates of the pixel points as (x1, y1), and deducing a formula
Figure GDA0003454338220000111
Setting the color value of the pixel point to be (0, 0, 0) to obtain a new picture; specifically, the side length of the white picture is more than 4 r.
S422, acquiring the overlapping part of the circle 2 and the circle 1: performing modulus operation on the new picture by using the modulus operation data of the circle 2 to obtain a pixel value of the circle 2, wherein the pixel value is (0, 0, 0), namely the overlapping part of the circle 1 and the circle 2;
as shown in fig. 5, since circle 1 does not have an overlap portion at the uppermost layer, it is only necessary to remove modulo data of the overlap portion with circle 1 in circle 2. Through the modulus data of the circle 2, the pixel values corresponding to all the pixels of the circle 2 in the image can be taken out; changing the color of the circle 1 in the white picture into black, performing modulo operation on the picture by using obtained modulo data of the circle 2, thereby obtaining the pixel value of the pixel point of the circle 2, wherein the black pixel value is the overlapped part of the circle 1 and the circle 2, removing the modulo data of the part, namely the part of the circle 2 to be really displayed, and generating new modulo data of the circle 2.
S423, acquiring new modulus data of the circle 2: and deleting the modulus data of the overlapped part of the circle 2 to obtain new modulus data of the circle 2.
Specifically, the center coordinates of the circle 1 are C1(x10, y10), x10 is x0, and y10 is y 0; the center coordinate of circle 2 is C2(x20, y20), x20 is x0+ S, and y20 is y0, where S is the distance between the center of circle 1 and the center of circle 2.
The calculation formula of the pixel coordinates (x1p, y1p) of circle 1 is:
Figure GDA0003454338220000121
Figure GDA0003454338220000122
the calculation formula of the pixel coordinates (x2p, y2p) of circle 2 is:
Figure GDA0003454338220000123
Figure GDA0003454338220000124
the second method comprises the following steps:
in this embodiment, the at least 2 circles include circle 1 and circle 2, the circle 1 and circle 2 are partially overlapped in a staggered manner, the circle 1 is an upper layer, and the circle 2 is a lower layer; further comprising the steps of:
s15, generating the coordinate data of circle 1 and the coordinate data of circle 2, respectively, specifically including the steps of:
s151, generating complete coordinate data (x1, y1) of circle 1 and complete coordinate data (x2, y2) of circle 2;
Figure GDA0003454338220000125
Figure GDA0003454338220000126
s152, acquiring overlapped coordinate data (xc, yc) of the crossed and overlapped part of the circle 1 and the circle 2;
Figure GDA0003454338220000127
s153, the coordinate data (x1, y1) of circle 1 and the coordinate data (x2, y2) of circle 2 are:
Figure GDA0003454338220000128
Figure GDA0003454338220000129
s40, obtaining the module data of each circle according to the template data, further comprising the steps of:
s401, modulus data of the circle 1 and modulus data of the circle 2 are respectively obtained according to the coordinate data of the circle 1 and the coordinate data of the circle 2. Namely, the modulus data of the circle 1 is obtained according to the coordinate data of the circle 1, and the modulus data of the circle 2 is obtained according to the new coordinate data of the circle 2.
According to the distributed image cutting method and system based on the spliced rotary display screen, the images of the overlapped parts of the spliced rotary display screen with irregular shapes are processed, the template data are distributed to each rotary display screen to be subjected to modulus taking calculation, color filling and pixel color value comparison, new modulus taking data are obtained, the overlapped parts are removed, the calculated amount of a control terminal (an upper computer) is reduced, the calculation time is saved, and the efficiency is greatly improved.
Example two:
the invention also provides an embodiment of a distributed image cutting system based on the spliced rotary display screens, which comprises at least 2 spliced rotary display screens and a control terminal; specifically, the control terminal is in wireless communication connection with at least 2 spliced rotary display screens; executing the method steps of the rotating display screen corresponding to the distributed image cutting method based on the spliced rotating display screen according to the first embodiment on each rotating display screen; the control terminal executes the method steps of the distributed image cutting method based on the spliced rotary display screen according to the first embodiment.
The distributed image cutting method and the distributed image cutting system based on the spliced rotary display screen have the advantages that the whole screen is transparent when a black image is displayed, the transparency is higher as the black color value is closer to the black color value, and the transparency is completely transparent when the RGB color values are all 0; the method has the advantages that the images of the overlapped parts of the irregular shapes of the spliced rotary display screens are processed, the template data are distributed on each rotary display screen for modular calculation and color filling, pixel color values are compared, new modular data are obtained, the overlapped parts are removed, the calculated amount of a control terminal (an upper computer) is reduced, the calculation time is saved, and the efficiency is greatly improved.
After reading the following description, it will be apparent to one skilled in the art that various features described herein can be implemented in a method, data processing system, or computer program product. Accordingly, these features may be embodied in less than hardware, in all software, or in a combination of hardware and software. Furthermore, the above-described features may also be embodied in the form of a computer program product stored on one or more computer-readable storage media having computer-readable program code segments or instructions embodied in the storage medium. The readable storage medium is configured to store various types of data to support operations at the device. The readable storage medium may be implemented by any type of volatile or non-volatile storage device, or combination thereof. Such as a static hard disk, a random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), an optical storage device, a magnetic storage device, a flash memory, a magnetic or optical disk, and/or combinations thereof.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the spirit and scope of the invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the invention without departing from the essential scope thereof. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.

Claims (10)

1. A distributed image cutting method based on a spliced rotary display screen is characterized by specifically comprising the following steps:
generating a map cutting template for at least 2 spliced rotating display screens, wherein the map cutting template comprises a white picture and template data of at least 2 circles arranged on the white picture, the at least 2 circles are identical to the at least 2 spliced rotating display screens, and the template data comprises the center coordinates, the levels and the intersected circles of each circle;
acquiring the modulus data of each circle according to the template data;
performing modulus extraction on the picture of the material to be displayed through the modulus extraction data of each circle to obtain the image data of each circle; the material to be displayed is a picture, a video or gif.
2. The distributed image segmentation method based on spliced rotary display screens of claim 1, wherein the module data of each circle is obtained according to the template data, and then the method further comprises the following steps:
and sending the modulus data to each rotary display screen.
3. The distributed image segmentation method based on spliced rotary display screens of claim 1, wherein the generating of the cutout templates for at least 2 spliced rotary display screens further comprises the following steps:
sending the template data to each of the rotating display screens;
and sending the material to be displayed to each rotary display screen.
4. The distributed image cutting method based on the spliced rotary display screen of claim 1, wherein the obtaining of the modulus data of each circle according to the template data comprises the following steps:
s411, dividing the circle into L equal sectors; the angle of each fan is 360/L;
s412, dividing each fan-shaped fan according to the number E of the LED lamps of at least one LED fan blade of the spliced rotary display screen;
and S413, calculating pixel coordinates (xp, yp) corresponding to the mth LED lamp in the kth row, and taking the pixel coordinates as the modulus data.
5. The distributed image cutting method based on the spliced rotary display screen of claim 4, wherein the coordinates of the center of the circle are C (x0, y0), and the radii of the circle are r;
the calculation formula of the pixel coordinates (xp, yp) of the circle is:
Figure FDA0003454338210000021
Figure FDA0003454338210000022
6. the distributed image cutting method based on the spliced rotary display screen of claim 5, wherein the at least 2 circles comprise a circle 1 and a circle 2, the circle 1 and the circle 2 are partially overlapped in a staggered manner, the circle 1 is an upper layer, and the circle 2 is a lower layer;
the module taking data of each circle is obtained according to the template data, and the method further comprises the following steps:
s421, setting the pixel value of the circle 1 in the white picture to be (0, 0, 0), and obtaining a new picture: traversing all pixel points in the white picture, and when the distance between the pixel coordinates of the pixel points and the center of the circle 1 is less than or equal to r, setting the pixel values of the pixel points to be (0, 0, 0) to obtain the new picture;
s422, acquiring the overlapping part of the circle 2 and the circle 1: performing modulus operation on the new picture by using the modulus operation data of the circle 2 to obtain a pixel value of the circle 2, wherein the pixel value is (0, 0, 0), and is an overlapping part of the circle 1 and the circle 2;
s423, acquiring new modulus data of the circle 2: and deleting the modulus data of the overlapped part of the circle 2 to obtain new modulus data of the circle 2.
7. The distributed image cutting method based on the spliced rotary display screen of claim 6, wherein the center coordinates of the circle 1 are C1(x10, y10), and the x10 is x0, and the y10 is y 0; the center coordinate of the circle 2 is C2(x20, y20), x20 is x0+ S, y20 is y0, and S is the distance between the center of the circle 1 and the center of the circle 2;
the calculation formula of the pixel coordinates (x1p, y1p) of the circle 1 is:
Figure FDA0003454338210000031
Figure FDA0003454338210000032
the calculation formula of the pixel coordinates (x2p, y2p) of the circle 2 is:
Figure FDA0003454338210000033
Figure FDA0003454338210000034
8. the distributed image cutting method based on the spliced rotary display screen of claim 7, wherein the at least 2 circles comprise a circle 1 and a circle 2, the circle 1 and the circle 2 are partially overlapped in a staggered manner, the circle 1 is an upper layer, and the circle 2 is a lower layer; further comprising the steps of:
s15, respectively generating the coordinate data of the circle 1 and the coordinate data of the circle 2; the method specifically comprises the following steps:
s151, generating complete coordinate data (x1, y1) of the circle 1 and complete coordinate data (x2, y2) of the circle 2;
Figure FDA0003454338210000035
Figure FDA0003454338210000036
s152, acquiring overlapping coordinates (xc, yc) of the crossed and overlapped part of the circle 1 and the circle 2;
Figure FDA0003454338210000037
s153, the coordinates (x1, y1) of the circle 1 and the coordinates (x2, y2) of the circle 2 are:
Figure FDA0003454338210000038
Figure FDA0003454338210000039
Figure FDA0003454338210000041
9. the method for distributed image segmentation based on tiled rotating display screens of claim 8, wherein the obtaining the modulus data of each circle according to the template data further comprises the steps of:
s401, respectively acquiring the modulus data of the circle 1 and the modulus data of the circle 2 according to the coordinate data of the circle 1 and the coordinate data of the circle 2.
10. A distributed image cutting system based on spliced rotary display screens is characterized by comprising at least 2 spliced rotary display screens and a control terminal; the control terminal is in wireless communication connection with at least 2 spliced rotary display screens;
each of the rotating display screens performing the mosaic-based rotating display screen distributed image segmentation method of any one of claims 1-9; the control terminal executes the distributed image cutting method based on the spliced rotary display screen according to any one of claims 1 to 9.
CN201910407949.6A 2019-05-16 2019-05-16 Distributed image cutting method and system of rotary display screen based on splicing Active CN110162285B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910407949.6A CN110162285B (en) 2019-05-16 2019-05-16 Distributed image cutting method and system of rotary display screen based on splicing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910407949.6A CN110162285B (en) 2019-05-16 2019-05-16 Distributed image cutting method and system of rotary display screen based on splicing

Publications (2)

Publication Number Publication Date
CN110162285A CN110162285A (en) 2019-08-23
CN110162285B true CN110162285B (en) 2022-05-24

Family

ID=67634925

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910407949.6A Active CN110162285B (en) 2019-05-16 2019-05-16 Distributed image cutting method and system of rotary display screen based on splicing

Country Status (1)

Country Link
CN (1) CN110162285B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115331587B (en) * 2022-10-14 2022-12-20 南京达斯琪数字科技有限公司 Rotary display method and system for reducing overlapped shadows

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104935840B (en) * 2015-06-10 2018-01-23 深圳市创维群欣安防科技股份有限公司 The captions rolling display methods and system of a kind of mosaic display screen
WO2018089447A1 (en) * 2016-11-10 2018-05-17 EyeVerify Inc. Verified and private portable identity
CN106897043B (en) * 2017-02-28 2021-01-15 广州偕作信息科技有限公司 Data super-high-resolution display system and display method applied to spliced screen
CN109062531B (en) * 2018-08-15 2021-08-27 京东方科技集团股份有限公司 Spliced screen, display method of spliced screen and display control device

Also Published As

Publication number Publication date
CN110162285A (en) 2019-08-23

Similar Documents

Publication Publication Date Title
CN110148137B (en) Image cutting method and system of rotary display screen based on splicing
US7835592B2 (en) Calibration technique for heads up display system
EP3882862A1 (en) Picture rendering method and apparatus, and storage medium and electronic apparatus
CN109992226A (en) Image display method and device and spliced display screen
CN109767479B (en) Dynamic boundary group sequence-based primitive filling method and system
US20120257086A1 (en) Imaging system, imaging method, and storage medium storing imaging program
CN110660354A (en) Apparatus and method for setting display driver
CN109584366B (en) Terrain rendering method, device, equipment and readable storage medium
CN110784699B (en) Projection processing method, projection processing device, projector and readable storage medium
JP2012186653A (en) Image display apparatus, method, and program
CN110162285B (en) Distributed image cutting method and system of rotary display screen based on splicing
US8929605B2 (en) Image processing method and image processing apparatus for generating vehicular image
JP2009075646A (en) Video display system and parameter generation method of same
CN103826114A (en) Stereo display method and free stereo display apparatus
CN110866869B (en) Image mosaic method and device combining Thiessen polygon and minimum spanning tree image segmentation
JP4594848B2 (en) Inscribed rectangle detection apparatus and inscribed rectangle detection program
JP2011050054A (en) Method and device for generating display mask, and computer readable storage medium
CN107833227A (en) A kind of method for drafting and its system of circular clipping region
US10909431B2 (en) Method and system for digital direct imaging, image generating method and electronic device
CN115690180A (en) Vector map registration method, registration system, electronic device and storage medium
US20220270260A1 (en) Video segmentation method and apparatus, electronic device, and computer-readable storage medium
CN107767428B (en) Drawing method and device of DICOM (digital imaging and communications in medicine) image in communication system
CN110796136A (en) Mark and image processing method and related device
TW200404266A (en) Method of analyzing and modifying a footprint
CN113923379B (en) Multi-picture synthesis method and processing terminal for self-adaptive window

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