Image fusion processing method, system, device and computer-readable storage medium
By adjusting the working status of the particle system, adjusting the number and emission method according to the picture quality and hardware configuration, the rendering consumption problem when the hardware platform is configured at a low level is solved, and the game can be smoothly and stably run on different platforms.
Patent Information
- Application Number
- CN202111420349.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-26
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2041-11-26
AI Technical Summary
With low hardware platform configuration, the special effects objects of open world games consume computer memory and computing power, affecting the smooth and smooth operation of the game.
Through the image fusion processing method, the working state of the particle system is adjusted, the rendering memory and computing power consumption are reduced on different hardware platforms according to the picture quality, and the particle number and emission method are controlled to adapt to the hardware configuration.
While ensuring picture quality, reduce rendering consumption and ensure that the game maintains smooth and stable operation on different hardware platforms.
Smart Images

Figure CN114119832B_ABST
Abstract
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] An open world is a large, roaming virtual world where characters can freely roam. Players are drawn to this virtual world through interactive elements, landmarks, equipment, and other elements, while multiple quests drive the story. Open worlds often attract countless players with their exceptional freedom, coupled with sophisticated graphics, vivid stories, or unique gameplay. To enhance the realism of the virtual world, effects such as smoke are often incorporated. However, on low-end hardware platforms, these special effects consume computer memory and computing power, impacting the overall smoothness of the game. Summary of the Invention
[0003] In view of the above-mentioned shortcomings, the present application provides an image fusion processing method, system, device and computer-readable storage medium, specifically:
[0004] In one aspect, the present application provides an image fusion processing method, which includes:
[0005] Acquire the working parameters of the current screen, and acquire the control instructions matching the working parameters according to the working parameters;
[0006] Outputting particles matching the control instruction according to the control instruction;
[0007] When the particles are displayed, they are combined with the current image to form a display image output.
[0008] Preferably, in the above-mentioned image fusion processing method, the control instructions include first-class control instructions, second-class control instructions, third-class control instructions, and fourth-class control instructions; the particles include first-class particles and second-class particles; and outputting particles matching the control instructions according to the control instructions specifically includes:
[0009] Under the action of the first type of control command, the particle system is driven to emit all the first type of particles and the second type of particles;
[0010] Drive the particle system to emit all of the first type of particles and part of the second type of particles under the action of the second type of control command;
[0011] Drive the particle system to emit part of the first type of particles and part of the second type of particles under the action of the third type of control command;
[0012] Under the effect of the fourth type of control command, the particle system is driven to emit part of the first type of particles.
[0013] Preferably, the above-mentioned image fusion processing method further comprises, before executing the step of obtaining the working parameters of the current image and obtaining the control instructions matching the working parameters according to the working parameters;
[0014] Each particle emitter in the current particle system is configured so that the particle emitter operates in an operating mode that matches the control instruction.
[0015] Preferably, in the above-mentioned image fusion processing method, the working parameters at least include a first working screen parameter, a second working screen parameter, a third working screen parameter and a fourth working screen parameter.
[0016] On the other hand, the present application further provides an image fusion processing system, which includes:
[0017] A control instruction forming unit, which obtains the working parameters of the current screen and obtains the control instructions matching the working parameters according to the working parameters;
[0018] A particle system, which outputs particles matching the control instruction according to the control instruction;
[0019] The output unit is used to form a display screen output in combination with the current screen when the particles are displayed.
[0020] Preferably, in the above-mentioned image fusion processing system, the control instructions include first-class control instructions, second-class control instructions, third-class control instructions, and fourth-class control instructions; the particles include first-class particles and second-class particles; and the control instruction forming unit specifically includes:
[0021] A first controller, under the action of the first type of control command, drives the particle system to fully emit the first type of particles and the second type of particles;
[0022] a second controller, under the action of the second type of control command, driving the particle system to emit all the first type of particles and part of the second type of particles;
[0023] a third controller, driving the particle system to emit part of the first type of particles and part of the second type of particles under the action of the third type of control command;
[0024] The fourth controller drives the particle system to emit part of the first type of particles under the action of the fourth type of control command.
[0025] Preferably, the above-mentioned image fusion processing system further includes:
[0026] The configuration unit configures each particle emitter in the current particle system so that the particle emitter operates in an operating mode that matches the control instruction.
[0027] Preferably, in the above-mentioned image fusion processing system, the working parameters at least include a first working screen parameter, a second working screen parameter, a third working screen parameter and a fourth working screen parameter.
[0028] On the other hand, the present application further provides a video game fusion processing device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the video game fusion processing method as described in any one of the above are implemented.
[0029] Finally, the present application further provides a computer-readable storage medium, on which a video game fusion processing program is stored. When the video game fusion processing program is executed by a processor, the steps of the video game fusion processing method as described in any one of the above items are implemented.
[0030] Compared with the prior art, the present invention has the following advantages:
[0031] In this application, in this embodiment, the above-mentioned image fusion processing method is added to the particle system, the working state of the particle system is adjusted according to the picture quality, the picture rendering memory and computing power are reduced while ensuring the picture quality, and the rendering consumption is reduced to adapt to different hardware platforms. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 A flowchart of an image fusion processing method provided by an embodiment of the present invention;
[0033] Figure 2 A schematic diagram of a flow chart of an image fusion processing method provided by an embodiment of the present invention;
[0034] Figure 3 A schematic structural diagram of a device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0035] It should be understood that the specific embodiments described herein are intended only to illustrate the present invention and are not intended to limit the present invention. In the subsequent description, suffixes such as "module," "component," or "unit" used to denote components are used solely to facilitate the description of the present invention and have no specific meaning. Therefore, "module," "component," or "unit" may be used interchangeably.
[0036] Example 1
[0037] On the one hand, the present application provides an image fusion processing method, which is applied to a rendering engine. During the rendering process, a particle system is used to control the display mode of special effects. The image fusion processing method disclosed in the present application is added to the particle system. Specifically:
[0038] like Figure 1 As shown, the present application provides an image fusion processing method, which includes:
[0039] Step S110: obtain the working parameters of the current screen, and obtain control instructions that match the working parameters based on the working parameters; on different hardware platforms, the working parameters of the game screen are different. For example, on a high-configuration computer, especially when the configuration parameters of the computer hardware platform are relatively high, the game video can be displayed in high quality, but in a mobile terminal, especially when the configuration parameters of the hardware platform are relatively low, the game video can be displayed in a low-quality state.
[0040] On different display platforms, the working parameters of the game screen are different, and different control instructions are formed based on the different working parameters.
[0041] Step S120: Output particles matching the control instruction according to the control instruction. Specifically, the control instruction acts on a particle system, and the particle system outputs different numbers of particles according to the control instruction. A special effect usually consists of at least one particle system.
[0042] Illustratively, the current display platform has high-performance hardware configuration parameters. Therefore, the control instructions control the particle system to emit particles at full capacity, which can fully display the special effects. In this case, due to the high hardware configuration parameters and relatively high memory capacity, the game can be displayed in a high-quality state, while the special effects can also be fully displayed.
[0043] The current display platform has high hardware configuration parameters, so the control instructions control the particle system to reduce the amount of particles emitted. The particles emitted at reduced speed can only partially display the special effects screen. In this case, due to the relatively small hardware configuration parameters and relatively small memory capacity, the special effects screen is displayed at a relatively low quality to ensure the smooth operation of the entire game. During the display of some special effects, the main body and important parts of the special effects are retained, and only the details and minor parts are displayed at a low quality. This maintains a low performance consumption while maintaining the overall effect.
[0044] A special effect usually consists of at least one particle system. The particle system sets different particle emission quantities under different image quality states. On platforms with lower configurations, reducing or disabling the particle emission quantity can reduce memory loss in the special effect part, ensuring smooth and stable game operation.
[0045] It should be noted that low configuration and high configuration are merely a comparison result defined with reference to the memory required to run the game. For example, if the current hardware configuration can fully run the game program, the current hardware configuration can be considered to be in a high configuration state. On the contrary, if the current hardware configuration cannot fully run the game program, the current configuration can be considered to be in a low configuration state. The high and low states of the configuration are not defined based on the actual configuration of the hardware, but only based on the memory capacity when the game program is running. For example, the actual memory capacity of the hardware configuration of the computer terminal is large, but the memory capacity has been occupied by multiple applications, resulting in a small amount of content configured for the game to run. Therefore, it can also be determined that the current state is in a low configuration state.
[0046] Step S130: When the particles are displayed, the particles are combined with the current image to form a display image output. The display of special effects is random, and different game players will see different special effects during the operation process.
[0047] As a further preferred embodiment, the control instructions include first-class control instructions and second-class control instructions; the particles include first-class particles and second-class particles; the first-class particles may be particles of the main body or important part of the special effect, and the second-class particles may be particles of the details or minor part of the special effect. Step S120, outputting particles matching the control instructions according to the control instructions, specifically includes:
[0048] like Figure 2 As shown, in step S1201, under the action of the first type of control command, the particle system is driven to emit all the first and second type particles. That is, under the action of the first type of control command, the main body or important part of the special effect is fully displayed, and the details or minor parts are also fully displayed. For example, under the action of the first type of control command, the first and second type particles are fully emitted, and the special effect is fully displayed.
[0049] Step S1202: Under the influence of the second type of control command, the particle system is driven to emit all of the first type of particles and some of the second type of particles. Specifically, under the influence of the second type of control command, the main body or important part of the special effect is fully displayed, while the details or minor parts are partially displayed. Illustratively, in the current medium-quality state, under the influence of the first type of control command, the first type of particles are fully emitted and the second type of particles are partially emitted, so the main body of the special effect is fully displayed, while the details of the special effect are partially displayed.
[0050] Step S1203: Under the influence of the third type of control command, the particle system is driven to emit a portion of the first type of particles and a portion of the second type of particles. Specifically, under the influence of the third type of control command, the main or important portion of the special effect is partially displayed, while the details or minor portions are also partially displayed. Illustratively, in the current low-quality image state, under the influence of the third type of control command, the first type of particles are partially emitted, the second type of particles are partially emitted, the main portion of the special effect is partially displayed, and the details of the special effect are also partially displayed.
[0051] Step S1204: Under the influence of the fourth type of control command, the particle system is driven to emit a portion of the first type of particles. Specifically, under the influence of the fourth type of control command, the main or important portion of the special effect is partially displayed, while the details or minor portions are muted. Illustratively, in the current state of extremely low image quality, under the influence of the fourth type of control command, the first type of particles are partially emitted, the main portion of the special effect is partially displayed, and the details of the special effect are muted.
[0052] It should be noted that the main body and important parts, details and minor parts of the special effects can all be defined by yourself, and there are no specific restrictions here.
[0053] In addition, the control instructions include first-type control commands and second-type control commands, wherein the number of particle emissions corresponding to the first-type control commands is also variable, and the number of particle emissions corresponding to the second-type control commands is also variable.
[0054] As a further preferred embodiment, the above-mentioned image fusion processing method, wherein, before executing the step of obtaining the working parameters of the current image and obtaining the control instructions matching the working parameters according to the working parameters, further comprises:
[0055] Step S109: configuring each particle emitter in the current particle system so that the particle emitter operates in an operating mode that matches the control instruction. The operating parameters include at least a first operating screen parameter, a second operating screen parameter, a third operating screen parameter, and a fourth operating screen parameter.
[0056] Schematically, when the working parameter is the first picture parameter, the working mode of the particle system is in full emission; when the working parameter is the second picture parameter, the working mode of the particle system is 40% of the full emission; when the working parameter is the third picture parameter, the working mode of the particle system is 20% of the full emission; when the working parameter is the fourth picture parameter, the working mode of the particle system is 10% of the full emission.
[0057] In this embodiment, the above-mentioned image fusion processing method is added to the particle system, and the working state of the particle system is adjusted according to the image quality. The image rendering memory and computing power are reduced while ensuring the image quality, and the rendering consumption is reduced to adapt to different hardware platforms.
[0058] Example 2
[0059] On the other hand, the present application further provides an image fusion processing system, which includes:
[0060] A control instruction forming unit, which obtains the working parameters of the current screen and obtains the control instructions matching the working parameters according to the working parameters;
[0061] The particle system outputs particles matching the control instruction according to the control instruction.
[0062] Preferably, in the above-mentioned image fusion processing system, the control instructions include first-class control instructions, second-class control instructions, third-class control instructions, and fourth-class control instructions; the particles include first-class particles and second-class particles; and the control instruction forming unit specifically includes:
[0063] A first controller, under the action of the first type of control command, drives the particle system to fully emit the first type of particles and the second type of particles;
[0064] a second controller, under the action of the second type of control command, driving the particle system to emit all the first type of particles and part of the second type of particles;
[0065] a third controller, driving the particle system to emit part of the first type of particles and part of the second type of particles under the action of the third type of control command;
[0066] The fourth controller drives the particle system to emit part of the first type of particles under the action of the fourth type of control command.
[0067] Preferably, the above-mentioned image fusion processing system further includes:
[0068] The configuration unit configures each particle emitter in the current particle system so that the particle emitter operates in an operating mode that matches the control instruction.
[0069] Preferably, in the above-mentioned image fusion processing system, the working parameters at least include a first working screen parameter, a second working screen parameter, a third working screen parameter and a fourth working screen parameter.
[0070] 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.
[0071] Example 3
[0072] In another aspect, the present application further provides a video game 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 any one of the video game fusion processing methods are implemented, including:
[0073] Acquire the working parameters of the current screen, and acquire the control instructions matching the working parameters according to the working parameters;
[0074] Outputting particles matching the control instruction according to the control instruction;
[0075] When the particles are displayed, they are combined with the current image to form a display image output.
[0076] like Figure 3 As shown, the device specifically includes: one or more processors 310, Figure 3 In the example, a processor 310 is used; the memory 320 is used to store one or more programs. When one or more programs are executed by one or more processors 310, the one or more processors 310 implement the mixed reality interaction method described in any embodiment of the present invention. The processor 310 and the memory 320 can be connected via a bus or other means. Figure 3 The bus connection is taken as an example.
[0077] Memory 320, 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 embodiments of the present invention (for example, receiving signals and measuring field strength in various directions, determining one-way delay, and collecting TA information). Processor 310 executes the software programs, instructions, and modules stored in memory 320 to execute various functional applications and data processing of the device, thereby implementing the mixed reality interaction method described above.
[0078] The memory 320 may primarily include a program storage area and a data storage area. 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 based on the use of the device, etc. Furthermore, the memory 320 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state memory device. In some instances, the memory 320 may further include memory remotely located relative to the processor 310, and these remote memories may be connected to the device via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0079] Example 4
[0080] Finally, the present application further provides a computer-readable storage medium, on which a video game fusion processing program is stored. When the video game fusion processing program is executed by a processor, the steps of the video game fusion processing method described in any one of the above items are implemented, specifically including:
[0081] Acquire the working parameters of the current screen, and acquire the control instructions matching the working parameters according to the working parameters;
[0082] Outputting particles matching the control instruction according to the control instruction;
[0083] When the particles are displayed, they are combined with the current image to form a display image output.
[0084] 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.
[0085] Through the above description of the implementation methods, those skilled in the art can clearly understand that the present invention can be implemented with the help of software and necessary general-purpose hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this 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 enabling 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.
[0086] 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.
[0087] Note that the above are only preferred embodiments of the present invention and the technical principles employed. 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 detail through the above embodiments, the present invention is not limited to the above embodiments and may include many other equivalent embodiments without departing from the concept of the present invention. 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: include: Obtaining operating parameters of the current screen, and obtaining control instructions that match the operating parameters based on the operating parameters; wherein the operating parameters of the game screen are different on different hardware platforms, and different control instructions are generated based on the different operating parameters; Output particles matching the control instruction according to the control instruction; if the current display platform hardware configuration parameter is high, the control instruction controls the particle system to emit particles in full; if the current display platform hardware configuration parameter is low, the control instruction controls the particle system to emit particles in reduced quantity; When the particles are displayed, they are combined with the current screen to form a display screen output; wherein, the display of special effects is random, and different game players will see different special effects during the operation process.
2. The image fusion processing method according to claim 1, characterized in that: The control instructions include first-class control instructions, second-class control instructions, third-class control instructions, and fourth-class control instructions; the particles include first-class particles and second-class particles; and outputting particles matching the control instructions according to the control instructions specifically includes: Under the action of the first type of control command, the particle system is driven to emit all the first type of particles and the second type of particles; Drive the particle system to emit all of the first type of particles and part of the second type of particles under the action of the second type of control command; Drive the particle system to emit part of the first type of particles and part of the second type of particles under the action of the third type of control command; Under the effect of the fourth type of control command, the particle system is driven to emit part of the first type of particles.
3. The image fusion processing method according to claim 1, characterized in that: Before executing the process of acquiring the working parameters of the current screen and acquiring the control instructions matching the working parameters according to the working parameters, the process further includes: Each particle emitter in the current particle system is configured so that the particle emitter operates in an operating mode that matches the control instruction.
4. The image fusion processing method according to claim 1, characterized in that: The working parameters at least include a first working screen parameter, a second working screen parameter, a third working screen parameter and a fourth working screen parameter.
5. An image fusion processing system, characterized in that: include: a control instruction forming unit, which obtains operating parameters of the current screen and, based on the operating parameters, obtains control instructions that match the operating parameters; wherein, on different hardware platforms, the operating parameters of the game screen are different, and different control instructions are formed based on the different operating parameters; The particle system outputs particles matching the control instruction according to the control instruction; if the current display platform hardware configuration parameter is high, the control instruction controls the particle system to emit particles in full; if the current display platform hardware configuration parameter is low, the control instruction controls the particle system to emit particles in reduced quantity; The display unit forms a display screen output in combination with the current screen when the particles are displayed; wherein the display of special effects is random, and different game players will see different special effects during the operation process.
6. The image fusion processing system according to claim 5, characterized in that: The control instructions include first-class control instructions, second-class control instructions, third-class control instructions, and fourth-class control instructions; the particles include first-class particles and second-class particles; and the control instruction forming unit specifically includes: A first controller, under the action of the first type of control command, drives the particle system to fully emit the first type of particles and the second type of particles; a second controller, under the action of the second type of control command, driving the particle system to emit all the first type of particles and part of the second type of particles; a third controller, driving the particle system to emit part of the first type of particles and part of the second type of particles under the action of the third type of control command; The fourth controller drives the particle system to emit part of the first type of particles under the action of the fourth type of control command.
7. The image fusion processing system according to claim 5, characterized in that: Also includes; The configuration unit configures each particle emitter in the current particle system so that the particle emitter operates in an operating mode that matches the control instruction.
8. The image fusion processing system according to claim 5, characterized in that: The working parameters at least include a first working screen parameter, a second working screen parameter, a third working screen parameter and a fourth working screen parameter.
9. A video game fusion processing device, characterized in that: The device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the image fusion processing method according to any one of claims 1 to 4 is implemented.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a video game fusion processing program, and when the video game fusion processing program is executed by a processor, the image fusion processing method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Method and device for generating dynamic wallpaper
CN102411470A
A game picture optimization method
CN109671158A