CN110148137B - Image cutting method and system of rotary display screen based on splicing - Google Patents
Image cutting method and system of rotary display screen based on splicing Download PDFInfo
- Publication number
- CN110148137B CN110148137B CN201910407950.9A CN201910407950A CN110148137B CN 110148137 B CN110148137 B CN 110148137B CN 201910407950 A CN201910407950 A CN 201910407950A CN 110148137 B CN110148137 B CN 110148137B
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital 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/1446—Digital 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09F—DISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
- G09F9/00—Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements
- G09F9/30—Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements
- G09F9/302—Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements characterised by the form or geometrical disposition of the individual elements
- G09F9/3026—Video wall, i.e. stackable semiconductor matrix display modules
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09F—DISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
- G09F9/00—Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements
- G09F9/30—Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements
- G09F9/33—Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements being semiconductor devices, e.g. diodes
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Image Processing (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention discloses an image cutting method and system of a rotary display screen based on splicing, wherein the method comprises the following steps: 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 mould taking data of each circle according to the cutting template; 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. According to the 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 the irregular shapes are processed, new modulus taking data are obtained through circle modulus taking, color filling and pixel value comparison, the overlapped parts are removed, and a large amount of time and labor cost are saved.
Description
Technical Field
The invention relates to the technical field of computer vision, in particular to an image cutting method and an image cutting system of a rotary display screen based on splicing.
Background
With the rise of the rotary display screen, 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. This concatenation scheme is because the centre has the overlap section, and the image of the overlap section of the rotatory display screen of concatenation can produce light and interfere, consequently, need handle it when carrying out the image cutting, otherwise can influence the display effect. In order to match with the display scheme, most people in the market today manually cut and optimize through image processing software or video processing software, and the method is time-consuming, labor-consuming, expensive and poor in cutting effect.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide an 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, there is provided an image cutting method for a rotating display screen based on splicing, including 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 image data of each circle; the material to be displayed is a picture, a video or gif.
Preferably, obtaining the modulus data of each circle according to the template data includes:
s211, dividing the circle into L equal sectors; the angle of each fan is 360/L;
s212, 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;
s213, calculating pixel coordinates (xp, yp) corresponding to the L-th and E-th LED lamps in the L-th row as modulus data.
Preferably, the coordinates of the center 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:
preferably, the at least 2 circles include 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;
obtaining the modulus data of each circle according to the template data, and further comprising the following steps:
s221, setting the pixel value of circle 1 in the white picture to (0, 0, 0) to obtain a new picture: traversing all pixel points in the white picture, and setting the pixel value of the pixel point to be (0, 0, 0) to obtain a new picture when the distance between the pixel coordinate of the pixel point and the center of the circle 1 is less than or equal to r;
s222, 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;
s223, 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 coordinate of the center 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:
the calculation formula of the pixel coordinates (x2p, y2p) of circle 2 is:
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;
s152, acquiring overlapped coordinate data (xc, yc) of the crossed and overlapped part of the circle 1 and the circle 2;
s153, the coordinate data (x1, y1) of circle 1, and the coordinate data (x2, y2) of circle 2 are:
preferably, the module data of each circle is acquired according to the template data, and the method further comprises the following steps:
s201, obtaining 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 an aspect of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed, implements the stitching-based rotating display screen image cutting method as described above.
According to an aspect of the present invention, an image cutting apparatus for a rotating display screen based on splicing is provided, which includes a processor and a memory; wherein the memory is used for storing a computer program, and the processor is used for executing the computer program stored by the memory, so that the processor executes the image cutting method based on the spliced rotary display screen.
According to one aspect of the invention, an image cutting system based on spliced rotary display screens is provided, which comprises at least 2 spliced rotary display screens and an image cutting device based on the spliced rotary display screens; the image cutting device based on the spliced rotary display screen comprises a processor and a memory; the memory is used for storing a computer program, and the processor is used for executing the computer program stored by the memory so as to enable the processor to execute the image cutting method based on the spliced rotary display screen.
The technical scheme of the image cutting method and the image cutting system based on the spliced rotary display screen has the following advantages or beneficial effects: the image cutting method and the 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 color value is closer to the black color value, and the transparency is completely transparent when the RGB color values are all 0. The images of the overlapped parts of the irregular shapes of the spliced rotary display screen are processed, new modulus data are obtained by modulus taking of circles, color filling and pixel color value comparison, the overlapped parts are removed, and a large amount of time and labor cost are saved.
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 schematic diagram of a first process of an embodiment of an image cutting method based on a tiled rotating display screen according to the present invention;
FIG. 2 is a second flowchart of an embodiment of an image cutting method based on a tiled rotating display screen according to the present invention;
FIG. 3 is a schematic view of a rotating display screen according to an embodiment of the image cutting method for a tiled-based rotating display screen according to the present invention;
FIG. 4 is a schematic diagram of a coordinate system of an embodiment of an image cutting method for a tiled-based rotating display screen according to the present invention;
FIG. 5 is a schematic diagram of a mold extraction of an embodiment of an 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 are not intended to 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 present disclosure. 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 5 are schematic diagrams provided by embodiments of the image cutting method and system based on the tiled rotating display screen according to the present invention, and for convenience of description, only the parts related to the embodiments of the present invention are shown.
The embodiment of the image cutting method based on the spliced rotary display screen specifically comprises the following steps:
s10, 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. Preferably, the lower left corner of the white picture is at the origin of coordinates.
S20, acquiring the modulus data of each circle according to the template data; the method specifically comprises the following steps:
s211, dividing the circle into L equal sectors; the angle of each fan is 360/L;
s212, 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; specifically, rotatory display screen includes at least one LED flabellum, and every LED flabellum all includes 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 E LED lamps, and the specific number is not limited herein.
S213, calculating pixel coordinates (xp, yp) corresponding to the mth LED lamp in the kth row as modulus data, wherein k refers to the number of sectors, the range of k is less than or equal to L, m refers to the number of LED lamps, and the range of m is less than or equal to E.
As shown in fig. 4, specifically, the coordinates of the center of the circle are C (x0, y0), and the radii of the circle are all R; the calculation formula of the pixel coordinates (xp, yp) of the circle is:
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.
S30, performing modulus extraction on the picture of the material to be displayed through the modulus extraction data of each circle to obtain image data of each circle; specifically, the material to be displayed is a picture, a video or gif.
If the material to be displayed is a video or gif, the method further 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 number of frames C is calculated by the start time T0, the end time T1, and the frame time T, and the number of frames C 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;
s50, judging whether frame extraction is needed to be continued according to the frame extraction frame rate FPS, if so, executing S340, and if not, executing S360;
and S360, generating a final frame sequence to be displayed.
In this embodiment, S350, determining whether frame extraction needs to be continued according to the frame extraction frame rate FPS, specifically includes the steps of:
s351, recording the time t0 after the final frame data is processed;
s352, acquiring the current time T1 in real time, and calculating the frame time T through the frame extraction frame rate;
s353, judging that T1-T0 is more than T, if yes, executing S340; if not, S360 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).
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 level is an upper layer (namely, a first layer) and is represented by 1; circle 2 represents the rotating display screen 2, the center coordinates 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 may be used, and when there are a plurality of 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, S20, obtaining the mold data of each circle according to the cut-map template, further including the steps of:
s221, setting the color value of the circle 1 in the white picture to (0, 0, 0) to obtain a new picture (i.e. the color of the whole circle 1 is changed to black): 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 coordinates of the pixel points as (x1, y1), and deducing a formulaSetting 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 4R.
S222, 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.
S223, 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, 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:
the calculation formula of the pixel coordinates (x2p, y2p) of circle 2 is:
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;
s152, acquiring overlapped coordinate data (xc, yc) of the crossed and overlapped part of the circle 1 and the circle 2;
s153, the coordinate data (x1, y1) of circle 1, and the coordinate data (x2, y2) of circle 2 are:
s20, obtaining the mould data of each circle according to the cutting template, further comprising the following steps:
s201, obtaining 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.
The image cutting method and the 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 color value is closer to the black color value, and the transparency is completely transparent when the RGB color values are all 0. The images of the overlapped parts of the irregular shapes of the spliced rotary display screen are processed, new modulus data are obtained by modulus taking of circles, color filling and pixel color value comparison, the overlapped parts are removed, and a large amount of time and labor cost are saved.
Example two:
it will be understood by those skilled in the art that all or part of the steps for implementing the above-described method embodiments may be performed by hardware associated with a computer program. The aforementioned computer program may be stored in a computer-readable storage medium, the storage medium having stored thereon the computer program, which when executed (e.g., by a processor) performs the steps of an embodiment of the image cutting method including the aforementioned stitching-based rotating display screen, and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Example three:
the invention also provides an embodiment of an image cutting device based on the spliced rotary display screen, which comprises a processor and a memory; wherein the memory is used for storing computer programs, and the processor is used for executing the computer programs stored in the memory, so that the processor executes the steps of the embodiment of the image cutting method based on the spliced rotary display screen. Specifically, the image cutting device based on the spliced rotary display screen can be a remote controller, an intelligent tablet, a smart phone, a computer and other control terminals, and is not limited in particular.
Example four:
the invention also provides an embodiment of an image cutting system based on the spliced rotary display screen, which comprises at least 2 spliced rotary display screens and an image cutting device based on the spliced rotary display screens; specifically, the image cutting device based on the spliced rotary display screen comprises a processor and a memory; the memory is configured to store a computer program and the processor is configured to execute the computer program stored by the memory to cause the processor to perform the steps of the embodiments of the method for image segmentation based on tiled, rotating display screens as described above.
The image cutting method and the 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 color value is closer to the black color value, and the transparency is completely transparent when the RGB color values are all 0. The images of the overlapped parts of the irregular shapes of the spliced rotary display screen are processed, new modulus data are obtained by modulus taking of circles, color filling and pixel color value comparison, the overlapped parts are removed, and a large amount of time and labor cost are saved.
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. An image cutting method of a rotary display screen based on splicing 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 image data of each circle; the material to be displayed is a picture, a video or gif.
2. The method for image segmentation based on a tiled rotating display screen according to claim 1, wherein the obtaining of the modulus data of each circle from the template data comprises the steps of:
s211, dividing the circle into L equal sectors; the angle of each fan is 360/L;
s212, 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;
s213, calculating the pixel coordinate (xp, yp) corresponding to the mth LED lamp in the kth row as the modulus data.
4. the image cutting method based on the spliced rotary display screen of claim 3, 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:
s221, setting the pixel value of the circle 1 in the white picture to be (0, 0, 0) to obtain 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;
s222, 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;
s223, 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.
5. The image cutting method based on the spliced rotary display screen of claim 4, wherein the coordinates of the center of the circle 1 are C1(x10, y10), wherein x10 is x0, and y10 is y 0; the center coordinate of the circle 2 is C2(x20, y20), where 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:
the calculation formula of the pixel coordinates (x2p, y2p) of the circle 2 is:
6. the 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; further comprising the steps of:
s15, generating the coordinate data of the circle 1 and the coordinate data of the circle 2 respectively, specifically including the steps of:
s151, generating complete coordinate data (x1, y1) of the circle 1 and complete coordinate data (x2, y2) of the circle 2;
s152, acquiring overlapped coordinate data (xc, yc) of the crossed and overlapped part of the circle 1 and the circle 2;
s153, the coordinate data (x1, y1) of the circle 1, and the coordinate data (x2, y2) of the circle 2 are:
7. the method for image segmentation based on tiled rotating display screen according to claim 6, wherein the obtaining of the modulus data of each circle from the template data further comprises the steps of:
s201, 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.
8. A computer-readable storage medium, having stored thereon a computer program which, when executed, implements the stitching-based rotating display screen image cutting method of any one of claims 1-7.
9. An image cutting device based on a spliced rotary display screen is characterized by comprising a processor and a memory;
the memory is used for storing a computer program, and the processor is used for executing the computer program stored by the memory to enable the processor to execute the image cutting method based on the spliced rotary display screen as claimed in any one of claims 1 to 7.
10. The image cutting system based on the spliced rotary display screen is characterized by comprising at least 2 spliced rotary display screens and an image cutting device based on the spliced rotary display screens;
the image cutting device based on the spliced rotary display screen comprises a processor and a memory; the memory is used for storing a computer program, and the processor is used for executing the computer program stored by the memory to enable the processor to execute the image cutting method based on the spliced rotary display screen as claimed in any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910407950.9A CN110148137B (en) | 2019-05-16 | 2019-05-16 | Image cutting method and system of rotary display screen based on splicing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910407950.9A CN110148137B (en) | 2019-05-16 | 2019-05-16 | Image cutting method and system of rotary display screen based on splicing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110148137A CN110148137A (en) | 2019-08-20 |
CN110148137B true CN110148137B (en) | 2021-04-02 |
Family
ID=67595596
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910407950.9A Active CN110148137B (en) | 2019-05-16 | 2019-05-16 | Image cutting method and system of rotary display screen based on splicing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110148137B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110969881B (en) * | 2019-12-10 | 2021-01-22 | 中冶京诚工程技术有限公司 | Traffic light and method and device for controlling arrangement of light beads on traffic light |
CN112068922B (en) * | 2020-11-10 | 2021-02-12 | 卡莱特(深圳)云科技有限公司 | Display control method and device of special-shaped LED display screen |
CN112653539B (en) * | 2020-12-29 | 2023-06-20 | 杭州趣链科技有限公司 | Storage method, device and equipment for data to be stored |
CN115410487B (en) * | 2022-06-27 | 2023-10-13 | 安顺市联顺达科技有限公司 | Control method and device for light-emitting element of ribbon-shaped display screen and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012145739A (en) * | 2011-01-12 | 2012-08-02 | Seiko Epson Corp | Screen and manufacturing method of mold for manufacturing screen |
US9606992B2 (en) * | 2011-09-30 | 2017-03-28 | Microsoft Technology Licensing, Llc | Personal audio/visual apparatus providing resource management |
CN108399059A (en) * | 2018-03-15 | 2018-08-14 | 惠州学院 | Across screen picture splicing distortion control method, device and electronic equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20160083723A (en) * | 2015-01-02 | 2016-07-12 | 삼성전자주식회사 | Dispaly apparatus and displaying method thereof |
CN106023072B (en) * | 2016-05-10 | 2019-07-05 | 中国航空无线电电子研究所 | A kind of image mosaic display methods for curved surface large screen |
-
2019
- 2019-05-16 CN CN201910407950.9A patent/CN110148137B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012145739A (en) * | 2011-01-12 | 2012-08-02 | Seiko Epson Corp | Screen and manufacturing method of mold for manufacturing screen |
US9606992B2 (en) * | 2011-09-30 | 2017-03-28 | Microsoft Technology Licensing, Llc | Personal audio/visual apparatus providing resource management |
CN108399059A (en) * | 2018-03-15 | 2018-08-14 | 惠州学院 | Across screen picture splicing distortion control method, device and electronic equipment |
Non-Patent Citations (2)
Title |
---|
Volumetric dispaly using a roof mirror grid array;Daisuke Miyazaki et al;《Proc.SPIE7524》;20100224;第1-10页 * |
均衡集束网点密度的伪随机混合抖动半色调化算法的研究;徐国梁 等;《计算机学报》;20091231(第8期);第1550-1559页 * |
Also Published As
Publication number | Publication date |
---|---|
CN110148137A (en) | 2019-08-20 |
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 | |
CN109767479B (en) | Dynamic boundary group sequence-based primitive filling method and system | |
CN106648511A (en) | Self-adaptive display method and device of display resolutions | |
CN109992226A (en) | Image display method and device and spliced display screen | |
CN106648510B (en) | The display methods and device of a kind of display resolution | |
CN110162285B (en) | Distributed image cutting method and system of rotary display screen based on splicing | |
KR20200002636A (en) | Device 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 | |
CN110866869B (en) | Image mosaic method and device combining Thiessen polygon and minimum spanning tree image segmentation | |
US20180322671A1 (en) | Method and apparatus for visualizing a ball trajectory | |
CN106937103B (en) | A kind of image processing method and device | |
CN103826114A (en) | Stereo display method and free stereo display apparatus | |
CN107833227B (en) | Drawing method and system for circular cutting area | |
CN117336620B (en) | Adaptive video stitching method and system based on deep learning | |
CN115690180A (en) | Vector map registration method, registration system, electronic device and storage medium | |
CN108171784A (en) | A kind of rendering intent and terminal | |
TW200404266A (en) | Method of analyzing and modifying a footprint | |
CN110796136A (en) | Mark and image processing method and related device | |
CN105389841A (en) | Method for performing graphics processing of a graphics system in an electronic device with aid of configurable hardware, and associated apparatus | |
CN116109758B (en) | Method and device for positioning projection position of light source and rendering scene | |
CN113923379B (en) | Multi-picture synthesis method and processing terminal for self-adaptive window | |
CN112419141B (en) | Picture processing method and device and computer equipment | |
CN112583976B (en) | Graphic code display method, equipment and readable storage medium |
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 | ||
CB02 | Change of applicant information |
Address after: 518000 room 101A, building 1, No. 35, Guanlan Avenue, Xikeng community, Fucheng street, Longhua District, Shenzhen City, Guangdong Province Applicant after: SHENZHEN XINDONG ELECTRONIC TECHNOLOGY Co.,Ltd. Address before: 518000 Longhua Street Fukang Community Pinus tabulaeformis Second Industrial Zone, Longhua District, Shenzhen City, Guangdong Province Applicant before: SHENZHEN XINDONG ELECTRONIC TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |