CN114489553A - Special effect switching method, special effect switching device and card-inserting type video processing equipment - Google Patents

Special effect switching method, special effect switching device and card-inserting type video processing equipment Download PDF

Info

Publication number
CN114489553A
CN114489553A CN202011146381.6A CN202011146381A CN114489553A CN 114489553 A CN114489553 A CN 114489553A CN 202011146381 A CN202011146381 A CN 202011146381A CN 114489553 A CN114489553 A CN 114489553A
Authority
CN
China
Prior art keywords
switching
area
special effect
output
current
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
CN202011146381.6A
Other languages
Chinese (zh)
Other versions
CN114489553B (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.)
Pixelhue Technology Ltd
Original Assignee
Pixelhue Technology 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 Pixelhue Technology Ltd filed Critical Pixelhue Technology Ltd
Priority to CN202011146381.6A priority Critical patent/CN114489553B/en
Publication of CN114489553A publication Critical patent/CN114489553A/en
Application granted granted Critical
Publication of CN114489553B publication Critical patent/CN114489553B/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/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation

Landscapes

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

Abstract

The embodiment of the invention relates to a special effect switching method, which comprises the following steps: acquiring a special effect switching mode, a switching stepping parameter, multi-interface position information and switching initial position information; determining a current switching area according to the special effect switching mode, the switching stepping parameter and the switching initial position information; determining an overlapping area according to the relative position relationship between the image display area and the current switching area; and changing the transparency of pixel points of the image to be output of at least one target output interface in the overlapping area to generate a special effect display image and outputting the special effect display image to the target display screen for displaying. The embodiment of the invention also relates to a special effect switching device and a card-inserting type video processing device; according to the embodiment of the invention, the transparency of the pixel points of the image to be output of at least one target output interface in the overlapping area is changed to realize various switching special effects, so that the user experience is increased.

Description

Special effect switching method, special effect switching device and card-inserting type video processing equipment
Technical Field
The present invention relates to the field of display technologies, and in particular, to a special effect switching method, a special effect switching device, and a card-insertion type video processing apparatus.
Background
In the LED industry, when a Program or a scene played on a display screen, such as an LED display screen, needs to be switched, a switch needs to be used to perform a switching operation, where the switch includes, for example, a main control card and an output card, the main control card sends an effect switching instruction to the output card, and then the output card changes transparency value information of PVW (Preview, editing an image) from 1 to 0 according to the effect switching instruction, and replaces an original PGM (Program, on-screen display image) to display on a screen.
At present, the special effect switching modes adopted by the switcher are mostly fade-in fade-out and direct cut, and the two special effect switching modes are single, so that the display effect is monotonous, and the user experience is poor.
Disclosure of Invention
Therefore, to overcome at least some of the defects and shortcomings in the prior art, embodiments of the present invention provide a special effect switching method, a special effect switching apparatus, and a card-inserted video processing device.
On one hand, a special effect switching method provided by the embodiment of the present invention includes: acquiring a special effect switching mode, a switching step parameter, multi-interface position information and switching starting position information, wherein the multi-interface position information is used for representing image display areas of a plurality of output interfaces in a target display screen respectively; determining a current switching area according to the special effect switching mode, the switching stepping parameters and the switching initial position information; determining an overlapping area according to the relative position relationship between the image display area and the current switching area, wherein the overlapping area is located in the image display area corresponding to at least one target interface, and the at least one target output interface belongs to the plurality of output interfaces; changing the transparency of pixel points of the image to be output of the at least one target output interface in the overlapping area respectively to generate a special effect display image and output the special effect display image to the target display screen for displaying.
Firstly, obtaining a current switching area through a special effect switching mode, a switching stepping parameter, multi-interface position information and switching initial position information; and finally, the multiple switching special effects of the switcher are realized by changing the transparency of the pixel points in the overlapping area, so that the diversity of display effects of the display screen is enriched, and the user experience is improved.
In an embodiment of the present invention, the determining a current switching area according to the special effect switching mode, the switching step parameter, and the switching start position information includes: determining a switch start coordinate based on the special effect switch mode; and obtaining the current switching area based on the switching initial coordinate, the switching stepping parameter and the current frame counting value.
In an embodiment of the present invention, the obtaining the current switching area based on the switching start coordinate, the switching step parameter, and the current frame count value includes: obtaining the terminal point coordinate of the boundary line or the boundary point of the current switching area based on the switching initial coordinate, the current frame counting value and the switching stepping parameter; and taking the area defined by the terminal point coordinate as the current switching area.
In an embodiment of the present invention, the obtaining the current switching area based on the switching start coordinate, the switching step parameter, and the current frame count value: obtaining an end point coordinate of the boundary line of the current switching area based on the switching start coordinate, the current frame counting value and the switching step parameter; and taking the area except the area defined by the terminal point coordinate as the current switching area.
In an embodiment of the present invention, the obtaining an end point coordinate of the boundary line or the boundary point of the current handover area based on the handover start coordinate, the current frame count value, and the handover step parameter includes: obtaining an angle value of an area occupied by the current switching area according to the switching stepping parameter and the current frame counting value; determining the slope of a scanning boundary line and a quadrant of the scanning boundary line in a two-dimensional coordinate system according to the angle value; and obtaining the terminal point coordinate of the boundary line or the boundary point of the current switching area according to the slope of the scanning boundary line, the quadrant and the switching initial coordinate.
In an embodiment of the present invention, the changing the transparency of the pixel point of the image to be output of the at least one target output interface in the overlap region includes: and changing the transparency of the pixel points of the image to be output in the overlapping region, and keeping the transparency of the pixel points of the image to be output in a non-overlapping region except the overlapping region unchanged.
On the other hand, an embodiment of the present invention provides a special effect switching apparatus, which is adapted to perform the special effect switching method according to any one of the foregoing items, and the special effect switching apparatus includes: the switching mode acquisition module is used for acquiring a special effect switching mode, switching step parameters, multi-interface position information and switching initial position information, wherein the multi-interface position information is used for representing interface image display areas of a plurality of output interfaces in a target display screen respectively; a switching area determining module, configured to determine a current switching area according to the special effect switching mode, the switching step parameter, and the switching start position information; an overlap region determining module, configured to determine an overlap region according to a relative position relationship between the interface image display region and the current switching region, where the overlap region is located in an image display region corresponding to at least one target interface, and the at least one target output interface belongs to the multiple output interfaces; and the special effect image generation module is used for changing the transparency of pixel points of the image to be output of the at least one target output interface in the overlapping area so as to generate a special effect display image and output the special effect display image to the target display screen for displaying.
In one embodiment of the present invention, the handover region determining module includes: an initial coordinate determination submodule for determining a switching initial coordinate based on the special effect switching mode and the switching initial position information; and the switching area determining submodule is used for obtaining the current switching area based on the switching starting coordinate, the switching stepping parameter and the current frame counting value.
In one embodiment of the present invention, the handover region determining sub-module includes: a first end point coordinate obtaining unit, configured to obtain an end point coordinate of a boundary line or a boundary point of the current switching area based on the switching start coordinate, the current frame count value, and the switching step parameter; and the first switching area determining unit is used for taking an area defined by the end point coordinate as the current switching area.
In one embodiment of the present invention, the handover region determining sub-module includes: a second end point coordinate obtaining unit, configured to obtain an end point coordinate of the boundary line of the current switching area based on the switching start coordinate, the current frame count value, and the switching step parameter; a second switching area determination unit configured to take an area other than an area defined by the end point coordinates as the current switching area.
In one embodiment of the present invention, the first end point coordinate obtaining unit includes: an angle value determination subunit, configured to obtain an angle value of an area occupied by the current switching area according to the switching step parameter and the current frame count value; the slope and quadrant determining subunit is used for determining the slope of the scanning boundary line and the quadrant of the scanning boundary line in the two-dimensional coordinate system according to the angle value; and the terminal coordinate obtaining subunit is used for obtaining the terminal coordinate of the boundary line or the boundary point of the current switching area according to the slope of the scanning boundary line, the quadrant and the switching initial coordinate.
In an embodiment of the present invention, the special effect image generation module is specifically configured to: changing the transparency of the pixel points of the image to be output in the overlapping area, and keeping the transparency of the pixel points of the image to be output in the non-overlapping area except the overlapping area unchanged.
In another aspect, an embodiment of the present invention provides a card-inserted video processing device, including: a back plate; the main control card is inserted on the back plate and is electrically connected with the back plate; the output card is inserted on the back plate, is electrically connected with the back plate and is controlled by the main control card; the at least one output card is provided with a plurality of output interfaces connected with the target display screen and is used for any special effect switching method.
In another aspect, an embodiment of the present invention provides a special effect switching system, including: a processor and a memory coupled to the processor; wherein the memory stores instructions for execution by the processor, and the instructions cause the processor to perform operations to perform any of the above-described special effects switching methods.
In still another aspect, an embodiment of the present invention provides a computer-readable storage medium, which is a non-volatile memory and stores program codes, and when the program codes are executed by a computer, the computer implements any one of the special effect switching methods.
As can be seen from the above, the above technical features of the present invention may have one or more of the following advantages:
1. the embodiment of the invention firstly obtains the current switching area through a special effect switching mode, a switching stepping parameter, multi-interface position information and switching starting position information; obtaining an overlapping area through the relation between the current switching area and the display areas of the output interface images, and finally realizing various switching special effects of the switcher by changing the transparency of pixel points in the overlapping area, thereby increasing the user experience;
2. in the card-inserting type video processing equipment, at least one output card receives a special effect switching instruction issued by a main control card through a universal input/output interface, so that the special effect switching instruction issued by the main control card can simultaneously reach a plurality of output interfaces of each output card in the at least one output card, and the plurality of output interfaces of each output card in the at least one output card can receive the instruction of the main control card at the same time, thereby ensuring the synchronism of the plurality of output interfaces of each output card and further ensuring the synchronism of each output card.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a special effect switching method according to a first embodiment of the present invention.
Fig. 2 is a flowchart illustrating a specific step of step S102 in the special effect switching method shown in fig. 1.
Fig. 3 is a flowchart illustrating a specific step of step S202 in the special effect switching method shown in fig. 2.
Fig. 4 is a flowchart illustrating another specific step of step S202 in the special effect switching method shown in fig. 2.
Fig. 5 is a flowchart illustrating a specific step of step S401 in the special effect switching method shown in fig. 4.
Fig. 6 is a schematic diagram of multi-interface coordinate calculation according to an embodiment of the present invention.
Fig. 7A to 7C are schematic diagrams illustrating an effect of a top-left erase special effect switching process according to an embodiment of the present invention.
Fig. 8A to 8C are schematic diagrams illustrating effects of a horizontal expansion special effect switching process according to an embodiment of the present invention.
Fig. 8D to 8F are schematic diagrams illustrating effects of a horizontal puncturing special effect switching process according to an embodiment of the present invention.
Fig. 9A to 9C are schematic diagrams illustrating an effect of an ellipse cutting special effect switching process according to an embodiment of the present invention.
Fig. 9D to 9F are schematic diagrams illustrating effects of a switching process of a special effect of a wheel according to an embodiment of the present invention.
Fig. 10A is a block diagram of a special effect switching device according to a second embodiment of the present invention.
Fig. 10B is a sub-module diagram of a handover area determination module shown in fig. 10A.
Fig. 10C is a schematic diagram of the elements of a handover region determination sub-module shown in fig. 10B.
Fig. 10D is a schematic diagram of the elements of another handover area determination submodule of fig. 10B.
Fig. 10E is a diagram illustrating a subunit of the first end point coordinate obtaining unit in fig. 10C.
Fig. 11 is a schematic structural diagram of a card-insertion type video processing device according to a third embodiment of the present invention.
Fig. 12 is a schematic structural diagram of a special effect switching system according to a fourth embodiment of the present invention.
FIG. 13 is a diagram illustrating a fifth embodiment of a computer-readable storage medium
[ brief description of the drawings ]
S101-S104, S201-S202, S301-S302, S401-S401, S501-S503: switching the special effect;
701: switching an initial coordinate; 702: a terminal point coordinate; 703: an overlap region; 704: a non-overlapping region; 705: a boundary line; 706: a first quadrant; 707: a second quadrant; 708: a third quadrant; 709: a fourth quadrant;
80: a special effect switching device; 81: a switching mode acquisition module; 82: a handover area determination module; 83: an overlap region determination module; 84: a special effect image generation module; 821: an initial coordinate determination submodule; 822: determining a sub-module by a switching area; 8221: a first end point coordinate obtaining unit; 8222: a first switching area determination unit; 8223: a second end point coordinate obtaining unit; 8224: a second handover area determination unit; 82211: an angle value determination subunit; 82212: a slope and quadrant determining subunit; 82213: obtaining a subunit by the end point coordinate;
900: a card-insertion type video processing device; 901: a master control card; 902: a back plate; 903: outputting the card; 904: an input card;
1000: a special effect switching system; 1001: a processor; 1003: a memory;
1100: a computer readable storage medium.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
The special effect switching method in the embodiment is operated in the card-inserting type video processing equipment. The card-inserting type video processing equipment comprises a main control card, a back plate and at least one output card; the master control card and the at least one output card are all plugged on the back plate, and the master control card and the at least one output card are all electrically connected with the back plate. The at least one output card is configured to perform a special effects switching method as described in the first embodiment below.
And each output card in the at least one output card is not communicated with each other, and each output card is controlled by the master control card through a communication bus. In order to ensure that each output card can simultaneously execute the instruction issued by the main control card, the main control card is connected with each output card in the at least one output card through the universal input/output interface, and because the universal input/output interface has no communication delay, the instruction issued by the main control card through the universal input/output interface can simultaneously reach each output card. Synchronization of the output cards is achieved.
The card-insertion type video processing apparatus may be a card-insertion type switcher.
[ first embodiment ] A
As shown in fig. 1, a special effect switching method provided in a first embodiment of the present invention includes:
s101, obtaining a special effect switching mode, a switching stepping parameter, multi-interface position information and switching starting position information, wherein the multi-interface position information is used for representing image display areas of a plurality of output interfaces in a target display screen respectively;
s102, determining a current switching area according to the special effect switching mode, the switching stepping parameter and the switching initial position information;
s103, determining an overlapping area according to the relative position relation between the image display area and the current switching area, wherein the overlapping area is located in the image display area corresponding to at least one target interface, and the at least one target output interface belongs to the plurality of output interfaces;
and S104, changing the transparency of pixel points of the image to be output of the at least one target output interface in the overlapping area to generate a special effect display image and outputting the special effect display image to the target display screen for displaying.
In the prior art, the switch switches the PVW picture to the PGM picture (or switches the PVW picture to the original PGM picture) to display a single switching special effect on the screen, so that the user experience is low; firstly, obtaining a current switching area through a special effect switching mode, a switching stepping parameter, multi-interface position information and switching initial position information; and finally, the transparency of the pixel points in the overlapping area is changed to realize various switching special effects of the switcher, so that the display effect of the display screen is diversified, and the user experience is improved.
The effect switching mode may include, for example, erasing, expanding, contracting, shape cut-in and cut-out, and rotating wheel effect, which is not limited herein.
The switching step parameters include pixel step and rotation angular velocity, and the pixel step includes a horizontal pixel step and a vertical pixel step. Wherein pixel stepping is used for special effect switching modes other than the runner, and the rotation angular velocity is used for the runner special effect switching modes.
The switching start position information includes switching start coordinates of a plurality of switching special effect modes, and at least one output card can determine the switching start position information corresponding to the switching special effect modes according to the switching special effect modes, for example, if the special effect switching mode is an upper right erasing special effect, the switching start position information is upper right corner coordinate information. For example, as shown in fig. 6, there are 9 output interfaces in the target display screen, and the position of each output interface in the target display screen is different, and the obtaining of the multi-interface position information may be obtaining coordinate information of the plurality of output interfaces in the target display screen in this embodiment.
The image display area in the target display screen may form a two-dimensional coordinate system as shown in fig. 6, where the origin of coordinates is the lower left corner of the image display area (see fig. 6), and then obtain coordinate information of a plurality of interface positions from the two-dimensional coordinate system.
The current switching area is the size of the overlapping area between the area where the image PVW is being edited and the upper screen display image PGM (e.g., the overlapping area 703 shown in fig. 7A-7C), and then the overlapping area is determined according to the relative position relationship between the image display area and the current switching area, where the overlapping area is located in the image display area corresponding to at least one target interface. For example, the overlapping area may be an output interface 1 (i.e., a target interface image display area) area as shown in fig. 6, or may be an area in which all areas of the output interface 1 and partial areas of the output interface 2, the output interface 4, and the output interface 5 are added together (i.e., image display areas of the output interface 1, the output interface 2, the output interface 4, and the output interface 5). Namely, the image display area corresponding to the at least one target interface belongs to the image display areas corresponding to the plurality of output interfaces.
The size of the overlap area may be the same as the size of the current switching area, that is, when the area where the image PGM is currently displayed on the upper screen is the image display area of the target display screen with multiple output interfaces, the overlap area may constitute the current switching area.
Further, the step S104 specifically includes: changing the transparency of the pixel points of the image to be output of the at least one target output interface in the overlapping region respectively and keeping the transparency of the pixel points of the image to be output in a non-overlapping region outside the overlapping region unchanged.
In another specific embodiment, as shown in fig. 2, the step S102 includes, for example:
s201, determining a switching start coordinate based on the special effect switching mode and the switching start position information;
s202, obtaining the current switching area based on the switching initial coordinate, the switching stepping parameter and the current frame counting value.
The switching start position information includes switching start coordinates corresponding to a plurality of special effect switching modes, for example, switching start coordinates of an erasing special effect mode, switching start coordinates of an expanding special effect mode, switching start coordinates of a shape switching-in cutting-out special effect mode, and the like, and then switching start coordinates corresponding to the currently selected special effect switching mode are selected from the switching start coordinate position information according to the currently selected special effect switching mode, for example, when the currently selected special effect switching mode is an upper left erasing special effect, the switching start coordinates are determined to be coordinates of an upper left corner.
In another specific embodiment, as shown in fig. 3, the step S202 includes, for example:
s301, obtaining the terminal point coordinate of the boundary line or the boundary point of the current switching area based on the switching start coordinate, the current frame counting value and the switching stepping parameter;
and S302, taking the area defined by the end point coordinate as the current switching area.
In this embodiment, the end point coordinate of the boundary point of the current switching area is, for example, the end point coordinate in the erase switching special effect mode, that is, the end point coordinate 702 shown in fig. 7A to 7C, that is, the boundary point is the end point coordinate, and it is determined that the current switching area is a rectangular area.
In this embodiment, the terminal coordinates on the boundary line of the current handover area have a plurality of conditions: 1. if the current switching special effect is a horizontal expansion special effect, determining two terminal coordinates in the horizontal direction on the boundary line according to the current switching area, or if the current switching special effect is a vertical expansion special effect, determining two terminal coordinates in the vertical direction on the boundary line according to the current switching area; 2. and if the current switching special effect is the shape switching-in and switching-out special effect, determining the terminal coordinates of all pixel points on the boundary line according to the current switching area, and then obtaining the current switching area according to the terminal coordinates of all the pixel points on the boundary line.
In another specific embodiment, as shown in fig. 4, the step S202 includes, for example:
s401, obtaining an end point coordinate of the boundary line of the current switching area based on the switching start coordinate, the current frame counting value and the switching step parameter;
s402, taking the area except the area defined by the end point coordinate as the current switching area.
The area other than the area defined by the endpoint coordinate is, for example, the area 703 shown in fig. 8D-8F, and the area defined to the left of the endpoint is the area 701 shown in fig. 8D-8F.
In another specific embodiment, as shown in fig. 5, the step S401 includes, for example:
s501, obtaining an angle value of an area occupied by the current switching area according to the switching step parameter and the current frame counting value;
s502, determining the slope of the scanning boundary line and the quadrant of the scanning boundary line in a two-dimensional coordinate system according to the angle value;
s503, obtaining the end point coordinate of the boundary line or the boundary point of the current switching area according to the slope of the scanning boundary line, the quadrant and the switching start coordinate.
For better understanding of the present embodiment, the specific embodiment of fig. 6-9 is described in detail below for the specific handover method of the present embodiment.
In this embodiment, the execution main body is at least one output card, where the at least one output card may be a plurality of output cards outputting to the target display screen, or a plurality of output interfaces in one output card outputting to the target display screen, or a plurality of output interfaces in a plurality of output cards outputting to the target display screen, for example, a first output interface of the output card 1 and a second output interface of the output card 2, that is, two output interfaces of two output cards outputting to the target display screen, as shown in fig. 6, 9 output interfaces outputting to the target display screen, which may be one output interface of each of 9 output cards, or may be 3 output cards, where the first output card has 4 output interfaces, the second output card also has 4 output interfaces, and the third output card selects 1 output interface to output to the target display screen, various combinations are possible and are not limited thereto. The special effect switching mode, the switching stepping parameter, the multi-interface position information and the switching start position information which are acquired by the output card are issued by the main control card, namely the main control card issues related parameters and a special effect switching instruction to at least one output card. The main control card issues instructions to at least one output card through a universal input/output interface, and the main control card issues parameters to at least one output card through a communication bus interface. Hereinafter, various special effect switching modes realized by the special effect switching method provided by the embodiment of the invention will be described in detail.
[ Erase Special Effect switching ]
As shown in fig. 7A to 7C, the present embodiment provides an effect diagram of the upper left erase special effect switching process.
At least one output card acquires a special effect switching mode, a switching stepping parameter, multi-interface position information and switching initial position information from a main control card, wherein the acquired special effect switching mode is an erasing mode, then the at least one output card selects an erasing initial point (namely switching initial position information) as an upper left corner according to the erasing mode, namely a switching initial coordinate is determined as the upper left corner, and fig. 6 represents that a plurality of output interfaces are respectively positioned in interface image display areas in a target display screen, wherein the plurality of interface image display areas in the target display screen are taken as a coordinate system, and the lower left corner is taken as a coordinate origin (0, 0); and the multi-interface position information acquired by at least one output card is the position of the upper left corner of each output interface in the coordinate system. For example, in fig. 6, the resolution of each output interface (that is, the number of pixels in the width direction × the number of pixels in the height direction) is 1920 × 1080, then the coordinates of the output interface 1 are (0, 3240), and the coordinates of the output interface 5 are (1920, 2160). In this embodiment, at least one output card obtains that the special effect switching mode is the upper left erasing mode, that is, the switching start position information is the upper left corner of the coordinate system, that is, the upper left corner position information (that is, the switching start coordinate 701) of the output interface 1 is (0, 3240). And the transparency of the pixel points of the plurality of interfaces in the image display area is 0.
The at least one output card will then retrieve the pixel stepping parameters (i.e., switch stepping parameters) due to switching special effects modeTo erase the special effect, the pixel stepping parameters include a horizontal pixel stepping parameter S1 and a vertical pixel stepping parameter S2; the pixel stepping parameter is the number of pixels of the switching area diffusion under each frame of image display. Wherein, the horizontal pixel stepping parameter S1 and the vertical pixel stepping parameter S2 can be calculated by the erase special effect switching time, the resolution of the target display screen, and the display frame rate of the output interface, that is, the parameters are obtained by the calculation
Figure BDA0002739827790000081
H is the number of pixels in the width direction of the target display screen, V is the number of pixels in the height direction of the target display screen, T is special effect switching time, and F is the output display frame rate of the output interface. The special effect switching time and the output display frame rate of the output interface may be set by software on the main control card by a user and then issued to at least one output card, or may be parameters directly issued by the main control card, and are not limited herein. For example, if the target display screen is 5760 × 3240, the output display frame rate of the output interface is 60HZ, and the special effect switching time is 3S, the horizontal pixel step parameter S1 is 32 pixels, and the vertical pixel step parameter S2 is 18 pixels, that is, 32 pixels are diffused in the horizontal direction and 18 pixels are diffused in the vertical direction in the switching region when each frame of image is refreshed.
Since the pixel step is a pixel point diffused by each frame, after the multi-frame is refreshed, the end point coordinate 702 of the boundary point of the current switching area is obtained according to the switching start coordinate 701, the current frame count value and the switching step parameter. For example, if the current frame count value is 3, the handover start coordinate is (0, 3240), the handover step parameter S1 is 32, and S2 is 18, the end point coordinate of the boundary point of the current handover area is (96,3186), then, as shown in fig. 7A, a current rectangular area is obtained according to the switching start coordinate 701 and the end coordinate 702, and the current rectangular area is taken as a current switching area, then, an overlap area 703 (i.e. PVW image area) is determined according to the relative position relationship between the interface image display area and the current switching area, where the overlap area 703 constitutes the current switching area and is located in the image display area corresponding to at least one target interface, and the overlap area may be located in at least one target output interface corresponding to the at least one target interface image display area, respectively, that is, the overlap area may be located on at least one output interface shown in fig. 6.
Since the interface image display area position of each output interface in the target display screen is determined (i.e. the multi-interface display image display area of the target display screen shown in fig. 6), when at least one output card calculates that the image output by at least one target output interface on at least one output card is in the current switching area, the transparency of the pixel points in the overlapping area in the image to be output (PVW) is changed, for example, the transparency of the pixel points in the overlapping area is set to 0, that is, the transparency of the pixel points in the overlapping area is not changed, and the transparency of the pixel points in the non-overlapping area of the image to be output outside the overlapping area is kept unchanged, so that the effect of gradually switching from PVW to PGM can be presented. As the current switching area is enlarged, the overlapping area is enlarged until the current switching area completely covers the target display screen image display area (i.e. PVW gradually replaces the PGM), as in the special effect switching process of fig. 7A to 7C, the process of erasing the special effect switching from the top left is realized. For example, the coordinates of the output interface in the multi-interface image display area of the target display screen are (X, Y), and the switching start coordinate is (X)0,Y0) When X and Y satisfy the formula:
Figure BDA0002739827790000091
if C is the frame count value, the pixel point is set to be opaque. And when the pixel point does not satisfy the formula, keeping the transparency of the pixel point unchanged. When the erase switch special effect is completed, the effect of completing the switch special effect displayed on the target display screen is as shown in fig. 7C.
In this embodiment, the special erasing effect used is upper left erasing; in other embodiments, the erasing special effect may be an erasing special effect from right, from left, from bottom, from top, from upper right, from lower left, and the like, and the erasing special effect is similar to the executing process of the erasing special effect from upper left, and details thereof are not repeated herein.
[ expand special effects switching ]
As shown in fig. 8A to 8C, the present embodiment provides an effect schematic diagram of the unrolling special effect switching process.
As shown in fig. 8A, at least one output card obtains a special effect switching mode, a switching step parameter, multi-interface position information, and switching start position information, and the obtained special effect switching mode is an expanded special effect switching mode, and first, it determines that a switching start coordinate is a central point of a target display screen, that is, a switching start coordinate 701 is (2880, 1620), and since the expanded special effect shown in fig. 8A to 8C is expanded in a horizontal direction, there is a diffusion step in the horizontal direction, and there is no diffusion step in a vertical direction, at least one output card only needs to know a pixel step parameter in the horizontal direction. Then, at least one output card obtains two end point coordinates on a boundary line of a current switching area according to the obtained switching start coordinate, the current frame count value and the switching step parameter, an area defined according to the two end point coordinates is used as the current switching area (i.e., an overlapping area 703 shown in fig. 8A-8C), then the at least one output card judges a pixel point in an output interface (i.e., at least one target output interface) of the output card, and when the pixel point in the output interface is judged to be located in the current switching area, the transparency of the pixel point of the current output interface is changed, for example, the transparency of the pixel point is set to 0; if at least one output card judges that the pixel point in the current output interface is not located in the current switching area, the transparency of the pixel point of the current output interface is not changed; when the pixel points in the overlapping area 703 are opaque and the transparency of the pixel points of the image to be output in the non-overlapping area outside the overlapping area is maintained unchanged, the image to be output by at least one target output interface in at least one output card can exhibit the effect of PVW gradually switching to PGM. As the current switching area is enlarged, the overlapping area (i.e. the end point coordinate of the boundary line of the current switching area) is enlarged until the current switching area completely covers the interface image display area of the target display screen (i.e. PVW gradually replaces the PGM), as shown in fig. 8AThe special effect handover procedure of fig. 8C, a procedure to implement a horizontal stretch special effect handover. For example, the coordinates of the current output interface of the at least one output card in the image display area of the target display screen are (X, 0), and the switching start coordinate is (X)00), when X satisfies the formula: -S1 XC ≤ (X-X)0) And when the pixel value is less than or equal to S1 multiplied by C, wherein C is a frame counting value, the pixel point is set to be opaque. And when the pixel point does not meet the formula, keeping the transparency of the pixel point unchanged. When the horizontal expansion switching special effect is completed, the effect of the switching special effect displayed on the target display screen is completed as shown in fig. 8C.
It should be noted that the unfolding special effect switching may also be unfolding only in the vertical direction, and only the pixel stepping parameters in the vertical direction need to be obtained when the switching stepping parameters are obtained; the unfolding special effect switch may also have unfolding in both horizontal and vertical directions in other embodiments, and is not limited herein.
[ shrink special effect switching ]
As shown in fig. 8D to 8F, the present embodiment provides an effect diagram of the unfolding special effect switching process.
As shown in fig. 8D, at least one output card obtains a special effect switching mode, a switching step parameter, multi-interface position information, and switching start position information, and the obtained special effect switching mode is a contracted special effect switching mode, and first determines that a switching start coordinate is a central point of a target display screen, that is, a switching start coordinate 701 is (2880, 1620), and as the switching start coordinate determined by an expanded special effect, since the contracted special effect shown in fig. 8D to 8F is contracted in the horizontal direction, there is a pixel step in the horizontal direction, and there is no pixel step in the vertical direction, at least one output card only needs to know the pixel step parameter in the horizontal direction. Then at least one output card obtains the end point coordinate of the boundary line of the current switching area according to the obtained switching start coordinate, the current frame count value and the switching step parameter, then obtains a rectangular area according to the end point coordinate, and then takes the area except the rectangular area as the current switching area (namely the overlapping area 703 shown in fig. 8D-8F), and then reaches the current switching areaAt least one output card judges the pixel points in the output interface, and when the pixel points in the output interface are judged to be located in the current switching area, the transparency of the pixel points of the current output interface is changed, for example, the transparency of the pixel points is set to be 0; and if the at least one output card judges that the pixel points in the current output interface are not located in the current switching area, the transparency of the pixel points of the current output interface is not changed. When the pixel points in the overlapping area 703 are opaque and the transparency of the pixel points in the non-overlapping area where the image to be output is located outside the overlapping area is maintained unchanged, the image to be output by at least one target output interface in at least one output card can exhibit PVW effect of gradually switching to PGM. As the current switching area is expanded, the overlapping area is expanded until the current switching area completely covers the image display area of the target display screen (i.e. PVW gradually replaces the PGM), as in the special effect switching process of fig. 8D to 8F, the process of horizontal contraction special effect switching is implemented. For example, the coordinates of the current output interface of the at least one output card in the image display area of the target display screen are (X, 0), and the switching start coordinate is (X)00), when X satisfies the formula: -S1 XC ≤ (X-X)0) And when the pixel value is less than or equal to S1 multiplied by C, wherein C is a frame counting value, the pixel point is set to be opaque. And when the pixel point does not satisfy the formula, keeping the transparency of the pixel point unchanged. When the horizontal pinch switch effect is completed, the effect of completing the switch effect displayed on the target display screen is as shown in fig. 8F.
It should be noted that the special effect switching of the contraction may be only the contraction in the vertical direction, and only the pixel stepping parameter in the vertical direction needs to be obtained when the switching stepping parameter is obtained; the retracted special effect switch may also have an expansion in both the horizontal direction and the vertical direction in other embodiments, which is not limited herein.
[ Special effects of shape incision & incision ]
As shown in fig. 9A to 9C, the present embodiment provides an effect schematic diagram of an ellipse cutting special effect switching process.
As shown in fig. 9A, at least one output card obtains a special effect switching mode, a switching step parameter, multi-interface position information, and switching start position information, and the obtained special effect switching mode is an ellipse switching-out special effect switching mode, and first, it is determined that a switching start coordinate is a central point of a target display screen, that is, a switching start coordinate 701 is (2880, 1620), and the output card determines that the switching special effect is a special effect of switching out a shape, that is, a special effect of switching out a shape from the switching start coordinate. Then, at least one output card is previously acquired as the switching step parameter (horizontal switching step parameter S1 and vertical switching step parameter S2), and the calculation method of S1 and S2 is mentioned in the above-mentioned erase special effect switching, and is not described herein again.
Then obtaining all end point coordinates of the boundary line of the current switching area according to the switching start coordinate, the current frame count value and the switching step parameter, then taking an area defined by all end point coordinates (namely an overlapping area 703 shown in fig. 9A-9C) as the current switching area, then judging pixel points in an output interface of at least one output card, and changing the transparency of the pixel points of the current output interface when judging that the pixel points in the output interface are positioned in the current switching area, for example, setting the transparency of the pixel points to be 0; and if the pixel point in the output interface is judged not to be located in the current switching area, the transparency of the pixel point of the current output interface is not changed. When the pixel points in the overlapping area 703 are opaque and the transparency of the pixel points in the non-overlapping area outside the overlapping area of the to-be-output image is kept unchanged, the to-be-output image output by at least one target output interface in at least one output card can exhibit the effect of PVW gradually switching to PGM. As the current switching area is enlarged, the overlapping area is enlarged until the current switching area completely covers the image display area of the target display screen (i.e., PVW gradually replaces all the PGM), as in the special effect switching process of fig. 9A to 9C, the process of switching the special effect by switching the elliptical shape is realized. For example, the coordinates of the current output interface in the at least one output card in the multi-interface image display area of the target display screen are (X, Y), and the switching start coordinate is (X)0,Y0) And when the coordinates of the output interface satisfy the formula: time of flightAnd C is a frame counting value, the pixel point is set to be opaque. And when the pixel point does not satisfy the formula, keeping the transparency of the pixel point unchanged. When the ellipse switching special effect is completed, the switching special effect completion effect displayed on the target display screen is as shown in fig. 9C.
When the horizontal switching step parameter S1 is the same as the vertical switching step parameter S2, the specific effect that the switching effect of the output card appears on the target display screen is a circular switching effect.
In other embodiments, the process for implementing the switching special effect in a rectangular or diamond shape or other polygonal shapes is similar, and details are not described herein.
[ Runner switching Special Effect ]
As shown in fig. 9D to 9F, the present embodiment provides an effect schematic diagram of the process of switching the special effects of the wheel.
At least one output card obtains a special effect switching mode, a switching step parameter, multi-interface position information and switching start position information, the obtained special effect switching mode is a rotating wheel special effect mode, and the step parameter is switched to be a switching angular velocity parameter when the at least one output card determines that the current special effect mode is the rotating wheel special effect mode
Figure BDA0002739827790000121
Wherein the switching angular velocity parameter
Figure BDA0002739827790000122
Is calculated by the formula
Figure BDA0002739827790000123
T is special effect switching time, F is output display frame rate of the output interface, and switching angular velocity parameters are obtained
Figure BDA0002739827790000124
Then, the angle value theta of the current switching area is calculated according to the switching angular speed,
Figure BDA0002739827790000125
where C is the frame count value.
Then, the slope of a scanning boundary 705 (such as 705 marked in fig. 9D-9F) of the current switching area is calculated according to the angle value θ, and when at least one output card determines whether the pixel point of the output interface of the output card is located in the current switching area, the two-dimensional coordinate system where the multi-interface image display area of the target display screen is located needs to be divided into a first quadrant 706, a second quadrant 707, a third quadrant 708, and a fourth quadrant 709, as shown in fig. 9F, and when the scanning boundary is scanned to one of the four quadrants, whether the pixel point of the current output interface is located in the current switching area needs to be further determined according to the calculated slope. When the pixel points in the overlapping area 703 are opaque and the transparency of the pixel points in the non-overlapping area outside the overlapping area of the to-be-output image is kept unchanged, the to-be-output image output by at least one target output interface in at least one output card can exhibit the effect of PVW gradually switching to PGM. As the current switching area is enlarged, the overlapping area is enlarged until the current switching area completely covers the image display area of the target display screen (i.e. PVW gradually replaces the PGM), as in the special effect switching process of fig. 9D to 9F, the process of turning wheel special effect switching is realized. For example, the at least one output card obtains an angle value θ according to the switching angular velocity, and then calculates the slope of the slope 705 at the scanning boundary of the current switching area and the quadrant scanned by the current switching area boundary according to the angle value θ. Let the slope be K. The coordinates of the pixel point of the current output interface of at least one output card are (X, Y), and the switching initial coordinate is (X)0,Y0) When the pixel point of the current output interface meets the following formula, the transparency of the pixel point of the current output interface is changed, for example, the transparency of the pixel point is set to 0, and when the pixel point does not meet the formula, the transparency of the pixel point is kept unchanged.
When the boundary 705 of the current switching area scans the first quadrant and the second quadrant, it is determined whether the coordinates of the current output interface pixel point satisfy the following formula:
Figure BDA0002739827790000131
or when the boundary 705 of the current switching area scans the third quadrant and the fourth quadrant, judging whether the current output interface pixel point meets the following formula: (X-X)0) Not less than 0; and
Figure BDA0002739827790000132
and when the coordinates of the pixel points of the current output interface meet the formula, setting the pixel points meeting the formula to be opaque. And when the pixel point does not satisfy the formula, keeping the transparency of the pixel point unchanged. When the jog dial switching effect is completed, the effect of completing the jog dial switching effect displayed on the target display screen is as shown in fig. 9F.
In summary, since the switch switches the PVW frame to the PGM frame (or switches the PVW frame to the original PGM frame) to display the on-screen display with a single switching effect, the user experience is low; firstly, obtaining a current switching area through a special effect switching mode, a switching stepping parameter, multi-interface position information and switching initial position information; and finally, the transparency of the pixel points in the overlapping area is changed and output to a target display screen formed by a plurality of output interfaces of a plurality of output cards, so that various switching special effects of the switcher are realized, the diversification of display effects of the display screen is enriched, and the user experience is improved. The at least one output card receives the special effect switching instruction issued by the main control card through the universal input/output interface, so that the special effect switching instruction issued by the main control card can simultaneously reach the plurality of output interfaces of each output card in the at least one output card, the plurality of output interfaces of each output card in the at least one output card can receive the instruction of the main control card at the same time, the synchronism of the plurality of output interfaces of each output card is ensured, and the synchronism of each output card is further ensured.
[ second embodiment ]
As shown in fig. 10A, a second embodiment of the present invention provides a special effect switching apparatus 80, for example, including: a switching mode acquisition module 81, a switching region determination module 82, an overlap region determination module 83, and a special effect image generation module 84.
The switching mode obtaining module 81 is configured to obtain a special effect switching mode, a switching step parameter, multi-interface position information and switching start position information, where the multi-interface position information is used to represent image display areas of a plurality of output interfaces in a target display screen respectively; the switching area determining module 82 is configured to determine a current switching area according to the special effect switching mode, the switching step parameter, and the switching start position information; the overlap area determining module 83 is configured to determine an overlap area according to a relative position relationship between the image display area and the current switching area, where the overlap area is located in a display area corresponding to at least one target interface image, and the at least one target output interface belongs to the plurality of output interfaces; the special effect image generating module 84 is configured to change transparency of pixel points of an image to be output of the at least one target output interface in the overlapping area to generate a special effect display image and output the special effect display image to the target display screen for displaying
Further, as shown in fig. 10B, the present embodiment provides a handover area determining module 82, for example, including: the start coordinate determination submodule 821 is configured to determine a switching start coordinate based on the special effect switching mode and the switching start position information; the switching region determining submodule 822 is configured to obtain the current switching region based on the switching start coordinate, the switching step parameter, and the current frame count value.
Further, as shown in fig. 10C, the present embodiment provides a handover area determining sub-module 822, for example, including: a first end point coordinate obtaining unit 8221, configured to obtain an end point coordinate of the boundary line or the boundary point of the current switching area based on the switching start coordinate, the current frame count value, and the switching step parameter; a first switching area determination unit 8222 configured to determine an area defined by the end point coordinates as the current switching area.
Further, as shown in fig. 10D, the present embodiment provides a handover area determining sub-module 822, for example, including: a second end coordinate obtaining unit 8223, configured to obtain an end coordinate of the boundary line of the current switching region based on the switching start coordinate, the current frame count value, and the switching step parameter; a second switching area determination unit 8224 for determining an area other than the area defined by the end point coordinates as the current switching area.
Further, as shown in fig. 10E, the present embodiment provides a first end point coordinate obtaining unit 8221 including, for example: the angle value determining subunit 82211 is configured to obtain an angle value of an area occupied by the current switching area according to the switching step parameter and the current frame count value; a slope and quadrant determination subunit 82212 is used for determining the slope of the scanning boundary line and the quadrant of the scanning boundary line in the two-dimensional coordinate system according to the angle value; the end coordinate obtaining subunit 82213 is configured to obtain the end coordinate of the boundary line or boundary point of the current switching area according to the slope of the scanning boundary line, the quadrant, and the switching start coordinate.
The effect switching method implemented by the effect switching device 80 disclosed in this embodiment is as described in the first embodiment, and therefore, will not be described in detail here. Optionally, each module and the other operations or functions in the second embodiment are respectively for implementing the method in the first embodiment of the present invention, and the beneficial effects of this embodiment may refer to the description of the beneficial effects of the first embodiment, which is not described herein again.
[ third embodiment ]
As shown in fig. 11, a third embodiment of the present invention provides a card-inserted video processing apparatus 900 including: a host card 901, a backplane 902, and at least one output card 903.
The main control card 901 is inserted into the backplane 902 and electrically connected to the backplane 902; the at least one output card 903 is plugged on the backplane 902, electrically connected with the backplane 902, and controlled by the main control card 901. The at least one output card 903 is connected to a plurality of output interfaces of the target display screen and is configured to perform the special effect switching method as described in the first embodiment.
The at least one output card 903 may refer to a plurality of output cards 903 connected to a target display screen, or a plurality of output interfaces in one output card 903 connected to a target display screen, which is not limited herein.
The target display screen can be an LED display screen, and the LED display screen can comprise at least one LED lamp panel or at least one LED module, wherein the at least one LED lamp panel or the at least one LED module comprises at least one LED lamp bead. Of course, the type of the display screen may also be determined according to actual needs, and is not limited herein.
Each of the at least one output card 903 comprises a communication bus interface and a GPIO (General-purpose input/output, chinese General purpose input/output) interface, so as to electrically connect the backplane through the communication bus interface and the GPIO interface; the GPIO interface is configured to receive a special switching instruction issued by the main control card 901. The master control card 901 issues an instruction to each output card 903 through the GPIO interface, so that each output card 903 of at least one output card 903 can receive the instruction of the master control card 901 at the same time, thereby ensuring the synchronization of each output card 903. The communication bus interface is configured to receive information, such as a special effect switching mode, a switching step parameter, multi-interface position information, and switching start position information, issued by the main control card 901, so that the at least one output card 901 obtains the information, such as the special effect switching mode, the switching step parameter, the multi-interface position information, and the switching start position information.
The card-inserted video processing apparatus 900 further includes: at least one input card 904, wherein the at least one input card 904 is plugged on the back plate 902 and is electrically connected with the back plate 902. Wherein the at least one input card 904 is electrically connected to the backplane 902 via a Serdes interface. The at least one input card 904 is used to acquire an image source.
The card-insertion type video processing device can be a card-insertion type switching device, such as a card-insertion type switcher.
[ fourth example ] A
As shown in fig. 12, a special effects switching system 1000 according to a fourth embodiment of the present invention includes: a processor 1001 and a memory 1003; the memory 1003 stores instructions executed by the processor 1001, and the processor 1001 executes the instructions to perform the special effect switching method according to the first embodiment.
[ fifth embodiment ]
As shown in fig. 13, a computer-readable storage medium 1100 according to a fourth embodiment of the present invention is a non-volatile memory and stores computer-readable instructions, which when executed by one or more processors perform the special effect switching method according to the first embodiment.
In addition, it should be understood that the foregoing embodiments are merely exemplary of the present invention, and technical solutions of the embodiments may be arbitrarily combined and used in a matching manner without conflict between technical features and structures or departing from the purpose of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and/or method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units/modules is only one logical division, and there may be other divisions in actual implementation, for example, multiple units or modules may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some interfaces, and may be in an electrical, mechanical or other form.
The units/modules described as separate parts may or may not be physically separate, and parts displayed as units/modules may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units/modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, each functional unit/module in the embodiments of the present invention may be integrated into one processing unit/module, or each unit/module may exist alone physically, or two or more units/modules may be integrated into one unit/module. The integrated units/modules may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units/modules.
The integrated units/modules, which are implemented in the form of software functional units/modules, may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing one or more processors of a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some of the technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (14)

1. A special effect switching method, comprising:
acquiring a special effect switching mode, a switching stepping parameter, multi-interface position information and switching initial position information, wherein the multi-interface position information is used for representing image display areas of a plurality of output interfaces in a target display screen respectively;
determining a current switching area according to the special effect switching mode, the switching stepping parameter and the switching initial position information;
determining an overlapping area according to the relative position relationship between the image display area and the current switching area, wherein the overlapping area is located in the image display area corresponding to at least one target interface, and the at least one target output interface belongs to the plurality of output interfaces;
changing the transparency of pixel points of the image to be output of the at least one target output interface in the overlapping area to generate a special effect display image and outputting the special effect display image to the target display screen for displaying.
2. The special effect switching method according to claim 1, wherein the determining a current switching region according to the special effect switching mode, the switching step parameter, and the switching start position information comprises:
determining a switching start coordinate based on the special effect switching mode and the switching start position information;
and obtaining the current switching area based on the switching initial coordinate, the switching stepping parameter and the current frame counting value.
3. The special effect switching method according to claim 2, wherein the obtaining the current switching area based on the switching start coordinate, the switching step parameter, and a current frame count value comprises:
obtaining the terminal point coordinate of the boundary line or the boundary point of the current switching area based on the switching initial coordinate, the current frame counting value and the switching stepping parameter;
and taking the area defined by the terminal point coordinate as the current switching area.
4. The special effect switching method according to claim 2, wherein the current switching region is obtained based on the switching start coordinate, the switching step parameter, and a current frame count value:
obtaining the terminal point coordinate of the boundary line of the current switching area based on the switching initial coordinate, the current frame counting value and the switching stepping parameter;
and taking the area except the area defined by the end point coordinate as the current switching area.
5. The special effect switching method according to claim 3, wherein the obtaining of the end point coordinate of the boundary line or the boundary point of the current switching area based on the switching start coordinate, the current frame count value, and the switching step parameter comprises:
obtaining an angle value of an area occupied by the current switching area according to the switching stepping parameter and the current frame counting value;
determining the slope of a scanning boundary line and a quadrant of the scanning boundary line in a two-dimensional coordinate system according to the angle value;
and obtaining the terminal point coordinate of the boundary line or the boundary point of the current switching area according to the slope of the scanning boundary line, the quadrant and the switching initial coordinate.
6. The special effect switching method according to claim 1, wherein the changing of the transparency of the pixel points of the image to be output of the at least one target output interface in the overlap region comprises:
changing the transparency of the pixel points of the image to be output in the overlapping region, and keeping the transparency of the pixel points of the image to be output in the non-overlapping region except the overlapping region unchanged.
7. A special effect switching apparatus, comprising:
the switching mode acquisition module is used for acquiring a special effect switching mode, a switching stepping parameter, multi-interface position information and switching initial position information, wherein the multi-interface position information is used for representing image display areas of a plurality of output interfaces in a target display screen respectively;
a switching area determining module, configured to determine a current switching area according to the special effect switching mode, the switching step parameter, and the switching start position information;
an overlap region determining module, configured to determine an overlap region according to a relative position relationship between the image display region and the current switching region, where the overlap region is located in an image display region corresponding to at least one target interface, and the at least one target output interface belongs to the multiple output interfaces;
and the special effect image generation module is used for changing the transparency of pixel points of the image to be output of the at least one target output interface in the overlapping area so as to generate a special effect display image and output the special effect display image to the target display screen for displaying.
8. The special effects switching apparatus according to claim 7, wherein the switching region determining module comprises:
an initial coordinate determination submodule for determining a switching initial coordinate based on the special effect switching mode and the switching initial position information;
and the switching area determining submodule is used for obtaining the current switching area based on the switching starting coordinate, the switching stepping parameter and the current frame counting value.
9. The special effects switching apparatus according to claim 8, wherein the switching region determination submodule includes:
a first end point coordinate obtaining unit, configured to obtain an end point coordinate of a boundary line or a boundary point of the current switching area based on the switching start coordinate, the current frame count value, and the switching step parameter;
and the first switching area determining unit is used for taking an area defined by the end point coordinate as the current switching area.
10. The special effects switching apparatus according to claim 8, wherein the switching region determination submodule includes:
a second end point coordinate obtaining unit, configured to obtain an end point coordinate of the boundary line of the current switching area based on the switching start coordinate, the current frame count value, and the switching step parameter;
a second switching area determining unit configured to take an area other than the area defined by the end point coordinates as the current switching area.
11. The special effects switching apparatus according to claim 9, wherein the first end point coordinate obtaining unit includes:
an angle value determining subunit, configured to obtain an angle value of an area occupied by the current switching area according to the switching step parameter and the current frame count value;
the slope and quadrant determining subunit is used for determining the slope of the scanning boundary line and the quadrant of the scanning boundary line in the two-dimensional coordinate system according to the angle value;
and the terminal coordinate obtaining subunit is used for obtaining the terminal coordinate of the boundary line or the boundary point of the current switching area according to the slope of the scanning boundary line, the quadrant and the switching initial coordinate.
12. The special effect switching device according to claim 7, wherein the special effect image generation module is specifically configured to:
changing the transparency of the pixel points of the image to be output in the overlapping region, and keeping the transparency of the pixel points of the image to be output in the non-overlapping region except the overlapping region unchanged.
13. A card-insertion type video processing apparatus, comprising:
a back plate;
the main control card is inserted on the back plate and is electrically connected with the back plate;
the output card is inserted on the back plate, is electrically connected with the back plate and is controlled by the main control card;
wherein the at least one output card has a plurality of output interfaces connected to a target display screen and is configured to perform the special effects switching method of any one of claims 1-6.
14. The card-inserted video processing device according to claim 13, wherein each of the at least one output cards includes a communication bus interface and a general purpose input output interface to electrically connect the backplane through the communication bus interface and the general purpose input output interface; the universal input/output interface is used for receiving a special switching instruction issued by the main control card.
CN202011146381.6A 2020-10-23 2020-10-23 Special effect switching method, special effect switching device and plug-in card type video processing equipment Active CN114489553B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011146381.6A CN114489553B (en) 2020-10-23 2020-10-23 Special effect switching method, special effect switching device and plug-in card type video processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011146381.6A CN114489553B (en) 2020-10-23 2020-10-23 Special effect switching method, special effect switching device and plug-in card type video processing equipment

Publications (2)

Publication Number Publication Date
CN114489553A true CN114489553A (en) 2022-05-13
CN114489553B CN114489553B (en) 2024-03-08

Family

ID=81470635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011146381.6A Active CN114489553B (en) 2020-10-23 2020-10-23 Special effect switching method, special effect switching device and plug-in card type video processing equipment

Country Status (1)

Country Link
CN (1) CN114489553B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024065761A1 (en) * 2022-09-30 2024-04-04 京东方科技集团股份有限公司 Display apparatus and display method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040012607A1 (en) * 2002-07-17 2004-01-22 Witt Sarah Elizabeth Video processing
JP2007252668A (en) * 2006-03-23 2007-10-04 Samii Kk Image switching device, game machine, image switching program and recording medium
JP2008040549A (en) * 2006-08-01 2008-02-21 Matsushita Electric Ind Co Ltd Image special effect apparatus and image special effect method
JP2009206984A (en) * 2008-02-28 2009-09-10 Sony Corp Broadcasting system and display control method of broadcasting system
CN102737400A (en) * 2011-04-15 2012-10-17 盛乐信息技术(上海)有限公司 Picture flip system and implement method thereof
US20150135124A1 (en) * 2011-12-22 2015-05-14 Zte Corporation Multi-zone interface switching method and device
CN107749956A (en) * 2017-09-27 2018-03-02 北京嗨动视觉科技有限公司 Video source switches special efficacy realization device and video source switching special efficacy implementation method
CN108984094A (en) * 2018-06-29 2018-12-11 北京微播视界科技有限公司 Switch method, apparatus, terminal device and the storage medium of global special efficacy
CN110012352A (en) * 2019-04-17 2019-07-12 广州华多网络科技有限公司 Image special effect processing method, device and net cast terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040012607A1 (en) * 2002-07-17 2004-01-22 Witt Sarah Elizabeth Video processing
JP2007252668A (en) * 2006-03-23 2007-10-04 Samii Kk Image switching device, game machine, image switching program and recording medium
JP2008040549A (en) * 2006-08-01 2008-02-21 Matsushita Electric Ind Co Ltd Image special effect apparatus and image special effect method
JP2009206984A (en) * 2008-02-28 2009-09-10 Sony Corp Broadcasting system and display control method of broadcasting system
CN102737400A (en) * 2011-04-15 2012-10-17 盛乐信息技术(上海)有限公司 Picture flip system and implement method thereof
US20150135124A1 (en) * 2011-12-22 2015-05-14 Zte Corporation Multi-zone interface switching method and device
CN107749956A (en) * 2017-09-27 2018-03-02 北京嗨动视觉科技有限公司 Video source switches special efficacy realization device and video source switching special efficacy implementation method
CN108984094A (en) * 2018-06-29 2018-12-11 北京微播视界科技有限公司 Switch method, apparatus, terminal device and the storage medium of global special efficacy
CN110012352A (en) * 2019-04-17 2019-07-12 广州华多网络科技有限公司 Image special effect processing method, device and net cast terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王亮;: "数字电视导视宣传频道制播系统设计和构建", 宿州学院学报, vol. 26, no. 05, pages 52 - 54 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024065761A1 (en) * 2022-09-30 2024-04-04 京东方科技集团股份有限公司 Display apparatus and display method

Also Published As

Publication number Publication date
CN114489553B (en) 2024-03-08

Similar Documents

Publication Publication Date Title
US9736441B2 (en) Display image generating device comprising converting function of resolution
US7524066B2 (en) Projection device projection system, and image obtainment method
US20030197715A1 (en) Method and a computer system for displaying and selecting images
CN112954193A (en) Shooting method, shooting device, electronic equipment and medium
CN114489553A (en) Special effect switching method, special effect switching device and card-inserting type video processing equipment
JPH0443586B2 (en)
JP2005195867A (en) Electronic apparatus and image display method
US6411338B1 (en) Producing a series of images for display on a display device
JP2005195867A5 (en)
CN113094010B (en) Image display method, device and system
JP7379956B2 (en) Image processing device and program
JPS62128369A (en) Enlarged image displaying method
JPS6060686A (en) Start control system for image data
JP4717287B2 (en) Display device
JP2000196971A (en) Video display device
JP2017058811A (en) Display device, display system, and program
US20170171473A1 (en) Method for realizing photographing effect of a distorting mirror and electronic device
JP3573680B2 (en) Multiple image display circuit and multiple image display method using the circuit
JP2000078495A (en) Video equipment
JPH0760308B2 (en) Image display magnification setting device
JP4533078B2 (en) Display control apparatus and display control method
JP2005217902A (en) Image processing apparatus and image processing method
CN112988101A (en) Image processing method and device, nonvolatile storage medium and processor
JPH09138846A (en) Method and device for picture processing
JP6873593B2 (en) Image display system and information processing method

Legal Events

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