Image fusion processing method, system, device and computer readable storage medium

Through the image fusion processing method, trigger commands are used to match prefabricated commands to form control commands, adjust the display status of special effects, solve the control difficulties caused by special effects occlusion in a third-person perspective single game, and improve the game experience.

CN114082188BActive Publication Date: 2025-03-11SHANGHAI MIHOYO TIANMING TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111419666.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-26
Publication Date
2025-03-11
Estimated Expiration
2041-11-26

AI Technical Summary

Technical Problem

In a third-person perspective single game, due to the obstruction of special effects, it is difficult for players to accurately control the game character, especially when the special effects are loaded around the game character, players cannot determine the current hand position of the game character, which reduces the game experience.

Method used

Through an image fusion processing method, the first control command is formed in the state where the trigger command matches the prefabricated command, the display state of the target body (special effect) is adjusted, the transparency of the special effect is improved, and the player can clearly observe and control the character.

Benefits of technology

By adjusting the display method of special effects and improving the transparency of special effects, players can observe and control the game characters more clearly, improving the game experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114082188B_ABST
    Figure CN114082188B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of video stream image processing, and in particular to an image fusion processing method, system, device and computer-readable storage medium. One of the image fusion processing methods includes: in a state where a target object is associated with a display control unit, a first control instruction is formed in a state where the trigger instruction matches a pre-made instruction; and the display control adjusts the display state of the target object under the action of the first control instruction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of video stream image processing, and in particular to an image fusion processing method, system, device and computer-readable storage medium. Background Art

[0002] The third-person perspective single game emphasizes the sense of action, and the protagonist is visible on the game screen. It is deeply sought after by players for its wide field of view and more exciting action special effects. In the third-person perspective game, different special effects can be loaded into the game character, and the game character needs to complete different actions to complete the game task. The player observes and controls the game character through the bird's-eye view and other angles in the game. When the game character is close to the position of the view point, the player cannot accurately control the game character due to the occlusion of the special effects. Schematically, when the game character is in front of the view point and the game character currently has special effects added, when the player controls the game character to complete actions such as shooting and swinging a knife, because the special effects are loaded around the game character, the player cannot determine the current hand position of the game character, and thus cannot accurately control the player's actions, which reduces the player's gaming experience. Summary of the invention

[0003] On the one hand, the present application provides an image fusion processing method, which includes:

[0004] In a state where the target object is associated with the display control unit, a first control instruction is formed when the trigger instruction matches the pre-made instruction;

[0005] The display control adjusts the display state of the target object under the effect of the first control instruction.

[0006] As a further preferred embodiment, in the above-mentioned image fusion processing method, in which, in a state where the target object is associated with the display control unit, in a state where the trigger instruction matches the prefabricated instruction, forming the first control instruction specifically includes:

[0007] Reading a first parameter between the first feature body and the second feature body, and forming the trigger instruction according to the first parameter;

[0008] The first control instruction is formed when the trigger instruction matches a first threshold.

[0009] As a further preferred embodiment, in the above-mentioned image fusion processing method, in which, in a state where the target object is associated with the display control unit, in a state where the trigger instruction matches the prefabricated instruction, forming the first control instruction specifically includes:

[0010] Reading a second parameter between the current target body and the first feature, and forming the trigger instruction according to the second parameter;

[0011] The first control instruction is formed when the trigger instruction matches a second threshold.

[0012] As a further preferred embodiment, in the above-mentioned image fusion processing method, in which, in a state where the target object is associated with the display control unit, in a state where the trigger instruction matches the prefabricated instruction, forming the first control instruction specifically includes:

[0013] Read the current dynamic feature parameters, and form the trigger instruction according to the dynamic feature parameters;

[0014] The first control instruction is formed when the trigger instruction matches a third threshold.

[0015] On the other hand, the present application further provides an image fusion processing system, which includes:

[0016] A first control instruction forming unit, which forms a first control instruction when the target object is associated with the display control unit and the trigger instruction matches the pre-made instruction;

[0017] The display control unit adjusts the display state of the target object under the action of the first control instruction.

[0018] Preferably, in the above-mentioned image fusion processing system, the first control instruction forming unit specifically includes:

[0019] A first trigger instruction forming device, which reads a first parameter between the first feature body and the second feature body, and forms the trigger instruction according to the first parameter;

[0020] The first judgment device forms the first control instruction when the trigger instruction matches the first threshold.

[0021] Preferably, in the above-mentioned image fusion processing system, the first control instruction forming unit specifically includes:

[0022] A second trigger instruction forming device, which reads a second parameter between the current target body and the first feature, and forms the trigger instruction according to the second parameter;

[0023] The second judgment device forms the first control instruction when the trigger instruction matches a second threshold.

[0024] Preferably, in the above-mentioned image fusion processing system, the first control instruction forming unit specifically includes:

[0025] A third trigger instruction forming device reads the current dynamic feature parameters and forms the trigger instruction according to the dynamic feature parameters;

[0026] The third judgment device forms the first control instruction when the trigger instruction matches a third threshold.

[0027] On the other hand, the present application further provides an image fusion processing device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of any one of the image fusion processing methods when executed by the processor.

[0028] Finally, the present application further provides a computer-readable storage medium, on which an image fusion processing program is stored. When the image fusion processing program is executed by a processor, the steps of the image fusion processing method as described in any one of the above items are implemented.

[0029] Compared with the prior art, the beneficial effects of this application are:

[0030] When the trigger instruction matches the prefabricated instruction, a first control instruction is formed. For example, if the current special effect affects the player's vision, it can be determined that the trigger instruction matches the prefabricated instruction to form the first control instruction. Under the action of the first control instruction, the display mode of the current special effect is adjusted to increase the transparency of the special effect. When the special effect is adjusted to a high-transparency display mode, the player can clearly observe and control the character. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A schematic diagram of a flow chart of an image fusion processing method provided by an embodiment of the present invention;

[0032] Figure 2 A comparison diagram of the effects of an image fusion processing method provided by an embodiment of the present invention;

[0033] Figure 3 A schematic diagram of a flow chart of an image fusion processing method provided by an embodiment of the present invention;

[0034] Figure 4 A schematic diagram of a flow chart of an image fusion processing method provided by an embodiment of the present invention;

[0035] Figure 5 A schematic diagram of a flow chart of an image fusion processing method provided by an embodiment of the present invention;

[0036] Figure 6 A schematic diagram of the structure of a device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0037] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. In the subsequent description, the use of suffixes such as "module", "component" or "unit" used to represent elements is only to facilitate the description of the present invention and has no specific meaning in itself. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0038] Embodiment 1

[0039] On the one hand, the present application provides an image fusion processing method, which is applied to a 3D rendering engine. In the 3D rendering process, special effects (such as halo, weapon use effects, etc.) are formed by means of a Prefab data packet. The image fusion processing method of the present disclosure is recorded in the Prefab data packet. Specifically:

[0040] like Figure 1 As shown, in step S110, in the state where the target body and / or target action are associated with display control, a first control instruction is formed in the state where the trigger instruction matches the pre-made instruction; wherein the target body can be a special effect, for example, the player adds a protective shield to the current character, and the protective shield can be displayed in a special effect manner, and the special effect display area can be considered as the protection range of the protective shield. The target action can be shooting, drawing a bow, swinging a knife, etc., and the target action can be set by the user, and no specific restrictions are made here.

[0041] A binding relationship is established between the target object and / or the target action and the display control, so that the current display mode is changed when the target object and / or the target action affects the player's visual effect.

[0042] The trigger command may be formed by external input or by the current state of the game character in the game scene.

[0043] Step S120: the display control adjusts the display state of the target under the effect of the first control instruction. The first control instruction is formed when the trigger instruction matches the preset instruction, and the control instruction is intended to change the display mode of the current special effect.

[0044] To give a specific implementation method, take special effects as an example. Special effects are added to the game by loading Prefabs (prefabs), and an association relationship between a target body and a display control is established in the special effect prefab. Schematically, when a preset condition is met, the prefab controls the display mode of the special effect (for example, increasing the transparency of the special effect, or adjusting the color of the special effect). Schematically, the transparency of the material in the special effect can be adjusted to achieve, for example Figure 2 shown.

[0045] When the trigger instruction matches the prefabricated instruction, a first control instruction is formed. For example, if the current special effect affects the player's vision, it can be determined that the trigger instruction matches the prefabricated instruction to form the first control instruction. Under the action of the first control instruction, the display mode of the current special effect is adjusted to increase the transparency of the special effect. When the special effect is adjusted to a high-transparency display mode, the player can clearly observe and control the character.

[0046] like Figure 3 As shown, as a further preferred embodiment, the above-mentioned image fusion processing method, wherein step S110, in a state where the target object is associated with the display control unit, forms a first control instruction in a state where the trigger instruction matches the pre-made instruction, specifically includes:

[0047] Step S11011, read the first parameter between the first feature body and the second feature body, and form the trigger instruction according to the first parameter; the target body is the special effect, the first feature body can be defined as a viewing angle lens, and the second feature body can be positioned as a game character body, such as a game character, and the first parameter can be the relative angle between the line formed by the first feature body and the second feature body and the visual front view direction. Schematically, when the first parameter is 0°, it can be understood that the second feature body is located directly in front of the user, and when the first parameter is 60°, the angle between the angle viewing angle and the second feature body is 60°.

[0048] Step S11012: forming the first control instruction when the trigger instruction matches a first threshold.

[0049] The first threshold may be 50° to 70°. When the trigger instruction is at 50° to 70°, it is determined that part of the current player's vision is blocked, and a first control instruction is formed at this time, which is intended to control the special effect to be in a semi-transparent state.

[0050] like Figure 4 As shown, as a further preferred embodiment, the above-mentioned image fusion processing method, wherein the step

[0051] S110, when the target is associated with the display control unit, forming a first control instruction when the trigger instruction matches the prefabricated instruction includes:

[0052] Step S11021, read the second parameter between the current target and the first feature, and form the trigger instruction according to the second parameter; the target can be a special effect. The first feature can be defined as a viewing angle lens, and the second parameter is the distance between the target and the first feature.

[0053] Step S11022: forming the first control instruction when the trigger instruction matches a second threshold.

[0054] When the distance between the target body and the first feature body is less than the second threshold, it is determined that part of the current player's vision is blocked, and a first control instruction is formed at this time, which is intended to control the special effect to be in a translucent state.

[0055] It should be noted that the first parameter and the second parameter may be formed simultaneously or separately, and the formation of the first control instruction may be triggered when the first parameter matches the first threshold or the second parameter matches the second threshold.

[0056] like Figure 5 As shown, as a further preferred embodiment, the above-mentioned image fusion processing method, wherein step S110, in a state where the target object is associated with the display control unit, forming a first control instruction in a state where the trigger instruction matches the pre-made instruction includes:

[0057] Step S11031, read the current dynamic feature parameters, and form the trigger instruction according to the dynamic feature parameters; the dynamic feature parameters may include action parameters or event parameters formed by externally input control instructions.

[0058] Action parameters at least include shooting actions. Event parameters can be formed by the control instructions output by an external controller, and the external controller at least includes a touch screen, a keyboard, and a handle. Event parameters can be defined by the player or by the system.

[0059] Step S11032: forming the first control instruction when the trigger instruction matches a third threshold.

[0060] The third threshold may be a predetermined action positioned by the user, and when the trigger instruction matches the predetermined action, the special effect is controlled to operate in a semi-transparent display state.

[0061] It should be noted that when the trigger instruction is not under the first threshold, the second threshold, or the third threshold, it is determined that the current state of the game character does not affect the user's visual effect, so no changes are made at this time.

[0062] It should be noted that special effects include not only the special effect itself, but also the particle objects that match the special effect. That is, when the special effect needs to adjust the display state, the special effect itself and the particle objects adjust the display state at the same time, so as to finely control the influence of distance on each part of the special effect, making the effect more controllable.

[0063] Embodiment 2

[0064] On the other hand, the present application further provides an image fusion processing system, which includes:

[0065] A first control instruction forming unit, which forms a first control instruction when the target object is associated with the display control unit and the trigger instruction matches the pre-made instruction;

[0066] The display control unit adjusts the display state of the target object under the action of the first control instruction.

[0067] As a further preferred embodiment, in the above-mentioned image fusion processing system, the first control instruction forming unit specifically includes:

[0068] A first trigger instruction forming device, which reads a first parameter between the first feature body and the second feature body, and forms the trigger instruction according to the first parameter;

[0069] The first judgment device forms the first control instruction when the trigger instruction matches the first threshold.

[0070] As a further preferred embodiment, in the above-mentioned image fusion processing system, the first control instruction forming unit specifically includes:

[0071] A second trigger instruction forming device, which reads a second parameter between the current target body and the first feature, and forms the trigger instruction according to the second parameter;

[0072] The second judgment device forms the first control instruction when the trigger instruction matches a second threshold.

[0073] As a further preferred embodiment, in the above-mentioned image fusion processing system, the first control instruction forming unit specifically includes:

[0074] A third trigger instruction forming device reads the current dynamic feature parameters and forms the trigger instruction according to the dynamic feature parameters;

[0075] The third judgment device forms the first control instruction when the trigger instruction matches a third threshold.

[0076] The working principle of an image fusion processing system is the same as the working principle of the above-mentioned image fusion processing method, which will not be described in detail here.

[0077] Embodiment 3

[0078] On the other hand, the present application further provides an image fusion processing device, the device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of implementing any one of the image fusion processing methods described above are implemented, including:

[0079] In a state where the target object is associated with the display control unit, a first control instruction is formed when the trigger instruction matches the pre-made instruction;

[0080] The display control adjusts the display state of the target object under the effect of the first control instruction.

[0081] like Figure 6 As shown, the device specifically includes: one or more processors 610, Figure 6 In the example, a processor 610 is used; the memory 620 is used to store one or more programs. When the one or more programs are executed by one or more processors 610, the one or more processors 610 implement the mixed reality interaction method described in any embodiment of the present invention. The processor 610 and the memory 620 can be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.

[0082] The memory 620, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions corresponding to the mixed reality interaction method in the embodiment of the present invention (for example, the reception of signals in each direction and the measurement of field strength, the determination of one-way delay and the collection of TA information). The processor 610 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 620, that is, realizing the above-mentioned mixed reality interaction method.

[0083] The memory 620 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the device, etc. In addition, the memory 620 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 620 may further include a memory remotely arranged relative to the processor 610, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0084] Embodiment 4

[0085] Finally, the present application further provides a computer-readable storage medium, on which an image fusion processing program is stored. When the image fusion processing program is executed by a processor, the steps of the image fusion processing method described in any one of the above items are implemented, specifically including:

[0086] In a state where the target object is associated with the display control unit, a first control instruction is formed when the trigger instruction matches the pre-made instruction;

[0087] The display control adjusts the display state of the target object under the effect of the first control instruction.

[0088] Of course, the computer-readable storage medium provided by an embodiment of the present invention, whose computer executable instructions are not limited to the method operations described above, can also execute related operations in the mixed reality interaction method provided by any embodiment of the present invention.

[0089] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0090] It is worth noting that in the embodiment of the above-mentioned search device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0091] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. An image fusion processing method, characterized in that: The method is applied to a Prefab data packet in a 3D rendering engine, and the method comprises: In a state where the target object is associated with the display control unit, a first control instruction is formed in a state where the trigger instruction matches the pre-made instruction; the target object is a special effect; The display control unit adjusts the display state of the target object under the effect of the first control instruction, wherein the transparency of the special effect is specifically increased; Wherein, in a state where the target object is associated with the display control unit, forming the first control instruction in a state where the trigger instruction matches the prefabricated instruction specifically includes: Reading a first parameter between a first feature body and a second feature body, and forming the trigger instruction according to the first parameter; the first feature body is a viewing angle lens, the second feature body is a main body of a game character, and the first parameter is a relative angle between a line formed by the first feature body and the second feature body and a visual normal view direction; The first control instruction is formed when the trigger instruction matches a first threshold.

2. The image fusion processing method according to claim 1, characterized in that: The step of forming the first control instruction when the target object is associated with the display control unit and the trigger instruction matches the prefabricated instruction specifically includes: When the target object and the target action are associated with the display control unit, a first control instruction is formed when the trigger instruction matches the pre-made instruction.

3. The image fusion processing method according to claim 2, characterized in that: The target action is specifically one of the following: shooting, drawing a bow, and swinging a sword.

4. An image fusion processing system, characterized in that: The system is applied to a Prefab data package in a 3D rendering engine, and the system includes: A first control instruction forming unit, which forms a first control instruction when the target object is associated with the display control unit and the trigger instruction matches the pre-made instruction; the target object is a special effect; A display control unit, which adjusts the display state of the target object under the action of the first control instruction, wherein the transparency of the special effect is specifically increased; Wherein, the first control instruction forming unit specifically includes: A first trigger instruction forming device reads a first parameter between a first feature body and a second feature body, and forms the trigger instruction according to the first parameter; the first feature body is a viewing angle lens, the second feature body is a main body of a game character, and the first parameter is a relative angle between a line formed by the first feature body and the second feature body and a visual normal view direction; The first judgment device forms the first control instruction when the trigger instruction matches the first threshold.

5. The image fusion processing system according to claim 4, characterized in that: The first control instruction forming unit forms the first control instruction when the target body and the target action are associated with the display control unit and when the trigger instruction matches the prefabricated instruction.

6. The image fusion processing system according to claim 5, characterized in that: The target action is specifically one of the following: shooting, drawing a bow, and swinging a sword.

7. An image fusion processing device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the image fusion processing method according to any one of claims 1 to 3.

8. A computer-readable storage medium having an image fusion processing program stored thereon, wherein when the image fusion processing program is executed by a processor, the steps of the image fusion processing method according to any one of claims 1 to 3 are implemented.

Citation Information

Patent Citations

  • Game display control method and device, storage medium and computer equipment

    CN112657183A

  • Method and device for controlling character skipping display in game, electronic equipment and storage medium

    CN113041616A

  • Interactive data processing method and device in game

    CN113101638A

  • Game data processing method and device and electronic terminal

    CN113262492A