CN115719305A - Image dissolving processing method, image dissolving processing device, storage medium and electronic device - Google Patents

Image dissolving processing method, image dissolving processing device, storage medium and electronic device Download PDF

Info

Publication number
CN115719305A
CN115719305A CN202211531099.9A CN202211531099A CN115719305A CN 115719305 A CN115719305 A CN 115719305A CN 202211531099 A CN202211531099 A CN 202211531099A CN 115719305 A CN115719305 A CN 115719305A
Authority
CN
China
Prior art keywords
image
map
target
dissolved
dissolving
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.)
Pending
Application number
CN202211531099.9A
Other languages
Chinese (zh)
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202211531099.9A priority Critical patent/CN115719305A/en
Publication of CN115719305A publication Critical patent/CN115719305A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The application discloses an image dissolving processing method and device, a storage medium and an electronic device. The method comprises the following steps: performing texture transformation on the first map to obtain a second map, wherein the first map is used for determining the initial form of the area to be dissolved, and the second map is used for determining the target form of the area to be dissolved; acquiring a second image based on the second map and the first image, wherein the first image is an initial image to be dissolved, and a target brightness dissolving edge is displayed in the second image; acquiring a third image by utilizing the second map, the third map and the second image, wherein the third map is used for determining an initial form of target light effect, and a target form of target brightness dissolved edge and target light effect is displayed in the third image at the same time; and performing linear interpolation processing on the first image and the third image to obtain a target image. The method and the device solve the technical problems that in the related art, only the image obtained by highlighting the edge of the dissolving area is single in dissolving visual effect and poor in user experience.

Description

Image dissolving processing method, image dissolving processing device, storage medium and electronic device
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an image dissolving method and apparatus, a storage medium, and an electronic apparatus.
Background
In the field of computer technology, the dissolving effect of images is widely applied to image processing in related fields to achieve the gradual appearing and gradual disappearing (such as burning, magic erosion, etc.) effect of images.
In the existing scheme, the edge of the dissolving region of the image is highlighted (for example, a highlight color having contrast with the color of the image itself is added), so as to achieve the dissolving effect of the image. However, this method has drawbacks in that: the image dissolution has a single visual effect and poor user experience.
In view of the above problems, no effective solution has been proposed.
It is noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the application and therefore may include information that does not constitute prior art that is already known to a person of ordinary skill in the art.
Disclosure of Invention
At least some embodiments of the present application provide an image dissolution processing method, an image dissolution processing apparatus, a storage medium, and an electronic apparatus, so as to solve at least the technical problems in the related art that an image dissolution visual effect obtained by only performing highlighting processing on a dissolution region edge is single, and user experience is poor.
According to an embodiment of the present application, there is provided an image dissolving processing method including: performing texture transformation on the first map to obtain a second map, wherein the first map is used for determining the initial form of the area to be dissolved, and the second map is used for determining the target form of the area to be dissolved; acquiring a second image based on the second map and the first image, wherein the first image is an initial image to be dissolved, and a target brightness dissolving edge is displayed in the second image; acquiring a third image by utilizing the second map, the third map and the second image, wherein the third map is used for determining an initial form of target light effect, and a target form of target brightness dissolved edge and target light effect is displayed in the third image at the same time; and performing linear interpolation processing on the first image and the third image to obtain a target image.
According to an embodiment of the present application, there is also provided an image dissolution processing apparatus including: the first processing module is used for carrying out texture transformation on the first mapping to obtain a second mapping, wherein the first mapping is used for determining the initial form of the area to be dissolved, and the second mapping is used for determining the target form of the area to be dissolved; the first acquisition module is used for acquiring a second image based on a second map and a first image, wherein the first image is an initial image to be dissolved, and a target brightness dissolving edge is displayed in the second image; the second obtaining module is used for obtaining a third image by utilizing the second map, the third map and the second image, wherein the third map is used for determining an initial form of target lighting effect, and a target form of target brightness dissolved edge and target lighting effect is displayed in the third image at the same time; and the second processing module is used for carrying out linear interpolation processing on the first image and the third image to obtain a target image.
According to an embodiment of the present application, there is further provided a computer-readable storage medium, in which a computer program is stored, where the computer program is configured to execute the image dissolving processing method in any one of the above.
According to an embodiment of the present application, there is also provided an electronic apparatus, including: the image dissolving device comprises a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the image dissolving processing method in any one of the above.
In at least some embodiments of the present application, a first map is subjected to texture transformation to obtain a second map, where the first map is used to determine an initial form of a region to be dissolved, the second map is used to determine a target form of the region to be dissolved, and a second image is further obtained based on the second map and the first image, where the first image is an initial image to be dissolved, a target luminance dissolved edge is displayed in the second image, and a third image is obtained by using the second map, the third map and the second image, where the third map is used to determine an initial form of a target light effect, and a target form of a target luminance dissolved edge and a target light effect is simultaneously displayed in the third image.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a schematic illustration of the image dissolving effect according to the prior art;
FIG. 2 is a schematic illustration of another image dissolving effect according to the prior art;
FIG. 3 is a schematic illustration of another image dissolving effect according to the prior art;
fig. 4 is a block diagram of a hardware structure of a mobile terminal according to an embodiment of the present application;
FIG. 5 is a flow chart of a method of image dissolution processing according to one embodiment of the present application;
FIG. 6 is a schematic illustration of an alternative area to be dissolved according to one embodiment of the present application;
FIG. 7 is a schematic diagram of an alternative second map in accordance with one embodiment of the present application;
FIG. 8 is a schematic view of another alternative area to be dissolved according to an embodiment of the present application;
FIG. 9 is a schematic diagram of an alternative fifth map in accordance with an embodiment of the present application;
FIG. 10 is a schematic illustration of another alternative second image according to one embodiment of the present application;
FIG. 11 is a schematic view of an alternative sixth map in accordance with an embodiment of the present application;
FIG. 12 is a schematic view of an alternative third map in accordance with one embodiment of the present application;
FIG. 13 is a graphical illustration of an alternative UV sampling result according to one embodiment of the present application;
FIG. 14 is a schematic illustration of an alternative UV sampling result according to the prior art;
FIG. 15 is a schematic illustration of an alternative fourth image according to an embodiment of the present application;
FIG. 16 is a schematic illustration of an alternative third image according to one embodiment of the present application;
FIG. 17 is a graphical illustration of an alternative image dissolution process result according to one embodiment of the present application;
FIG. 18 is a graphical illustration of results of an alternative image dissolution process according to one embodiment of the present application;
fig. 19 is a block diagram of an image dissolving processing device according to an embodiment of the present application;
FIG. 20 is a block diagram of an alternative image dissolution processing apparatus according to one embodiment of the present application;
FIG. 21 is a block diagram of an alternative image dissolution processing apparatus according to an embodiment of the application;
FIG. 22 is a schematic diagram of an electronic device according to an embodiment of the application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the accompanying drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that in the description of the present application, the word "for example" is used to mean "serving as an example, instance, or illustration". Any embodiment described herein as "for example" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is presented to enable any person skilled in the art to make and use the application. In the following description, details are set forth for the purpose of explanation. It will be apparent to one of ordinary skill in the art that the present application may be practiced without these specific details. In other instances, well-known structures and processes are not set forth in detail in order to avoid obscuring the description of the present application with unnecessary detail. Thus, the present application is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
In existing schemes for achieving image dissolution effects, highlighting is typically performed at the edges of the dissolution region of the image. Fig. 1 is a schematic diagram of an image dissolving effect according to the prior art, and fig. 2 is a schematic diagram of an image dissolving effect according to another prior art, as shown in fig. 1 and fig. 2, the image can be dissolved from inside to outside by highlighting the edge of the dissolving region, and the highlighted color and the shape of the dissolving region are controllable, that is, different erosion effects can be simulated by different colors and different shapes.
Fig. 3 is a schematic diagram of another image dissolving effect according to the prior art, and as shown in fig. 3, in a game scene, in order to achieve a burning effect of paper, it is also possible to achieve erosion of the paper from bottom to top by flame by performing highlighting processing (generally, a highlighting color is a flame color) on an edge where the paper burns. This burning effect corresponds to the image dissolving effect described above.
It is easy to note that the image dissolving effect shown in fig. 1, 2 and 3, although it can achieve control of the dissolving range, highlight color and dissolving direction, is still lack of richness in visual representation of the image dissolving effect by only highlighting processing, resulting in poor user experience.
In a possible implementation manner of the present application, for a method for performing highlighting processing on an edge of a dissolving region to achieve an image dissolving effect, which is generally adopted in an application scene related to image dissolving processing in the field of computer technologies, after practice and careful research, the inventor still has technical problems of single image dissolving visual effect and poor user experience.
The embodiment of the application provides an image dissolving method, which adopts the technical idea of adding a target light effect to a target brightness dissolving edge of a to-be-dissolved area to obtain an image dissolving effect, realizes the technical effects of improving the richness of the visual effect of image dissolution and improving the user experience, and further solves the technical problems of single visual effect and poor user experience of image dissolution obtained by only performing highlight processing on the edge of the dissolving area in the related art
The above method embodiments related to the present application may be executed in a terminal device (e.g., a mobile terminal, a computer terminal, or a similar computing device). Taking the mobile terminal as an example, the mobile terminal may be a smart phone, a tablet computer, a palmtop computer, a mobile internet device, a PAD, a game machine, or other terminal devices.
Fig. 4 is a block diagram of a hardware structure of a mobile terminal according to an embodiment of the present disclosure, and as shown in fig. 4, the mobile terminal may include one or more processors 402 (only one is shown in fig. 4), a memory 404, a transmission device 406, an input/output device 408, and a display device 410. Taking the image dissolving processing method applied to the electronic game scene through the mobile terminal as an example, the processor 402 calls and runs the computer program stored in the memory 404 to execute the image dissolving processing method, and the generated target image with the image dissolving effect displayed is transmitted to the input and output device 408 and/or the display device 410 through the transmission device 406, so as to provide the target image to the player.
As also shown in fig. 4, the processor 402 may include, but is not limited to: a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Digital Signal Processing (DSP) chip, a Microprocessor (MCU), a Programmable logic device (FPGA), a Neural Network Processor (NPU), a Tensor Processor (TPU), an Artificial Intelligence (AI) type processor, and the like.
It will be understood by those skilled in the art that the structure shown in fig. 4 is only an illustration and is not intended to limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 4, or have a different configuration than shown in FIG. 4.
In some optional embodiments that mainly include game scenes, the terminal device may further provide a human-machine Interface with a touch-sensitive surface, where the human-machine Interface may sense finger contact and/or gestures to perform human-machine interaction with a Graphical User Interface (GUI), and the human-machine interaction function may include the following interactions: executable instructions for creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, emailing, call interfacing, playing digital video, playing digital music, and/or web browsing, etc., for performing the above-described human-computer interaction functions, are configured/stored in one or more processor-executable computer program products or readable storage media.
The above method embodiments related to the present application may also be executed in a server. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN, big data and artificial intelligence platform. Taking the example of the image dissolving processing method applied to the electronic game scene through the electronic game server, the electronic game server may generate a target image with an image dissolving effect based on the image dissolving processing method and provide the target image to the player (e.g., the target image may be rendered and displayed on a display screen of a player terminal, or provided to the player through holographic projection, etc.).
In accordance with one embodiment of the present application, there is provided an embodiment of an image dissolution processing method, it is noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than that presented herein.
In this embodiment, an image dissolving method operating in the mobile terminal is provided, and fig. 5 is a flowchart of an image dissolving method according to an embodiment of the present application, as shown in fig. 5, the method includes the following steps:
step S51, performing texture transformation on the first map to obtain a second map, wherein the first map is used for determining the initial form of the area to be dissolved, and the second map is used for determining the target form of the area to be dissolved;
the first map is used for determining the initial form of the region to be dissolved in the image to be processed of the target scene. The second map is used for determining the target form of the to-be-dissolved area in the to-be-processed image of the target scene. The initial morphology is a pre-dissolution morphology of the region to be dissolved and the target morphology is a post-dissolution morphology of the region to be dissolved. The texture transformation is used to achieve a visual dissolving effect of the area to be dissolved.
And performing texture transformation on the first map to obtain the second map. That is, the dissolving effect texture transformation is performed on the region to be dissolved of the first map, and the region to be dissolved is transformed from the initial form to the target form.
The target scene can be a game picture design scene related to image dissolving processing in the fields of computer technology and image processing. The game type corresponding to the game picture design scene may be: action classes (e.g., first person or third person shooting games, two-dimensional or three-dimensional combat games, war action games, sports action games, etc.), adventure classes (e.g., quest games, college games, puzzle solving games, etc.), simulation classes (e.g., simulation sand table games, simulation nurturing games, strategy simulation games, city building simulation games, business simulation games, etc.), role-playing classes and leisure classes (e.g., table games, leisure competitive games, music rhythm games, recreation nurturing games, etc.), and the like.
Step S52, acquiring a second image based on the second map and the first image, wherein the first image is an initial image to be dissolved, and a target brightness dissolving edge is displayed in the second image;
and determining a target brightness dissolving edge corresponding to the target form of the area to be dissolved based on the second map corresponding to the target form of the area to be dissolved and the initial image to be dissolved, and further acquiring a second image displaying the target brightness dissolving edge.
Step S53, a third image is obtained by utilizing the second map, the third map and the second image, wherein the third map is used for determining the initial form of the target light effect, and the target form of the target brightness dissolved edge and the target light effect is displayed in the third image at the same time;
the third tile may be used for the initial shape of the target light effect. The target light effect is the light effect corresponding to the edge of the region to be dissolved, and the target light effect can be used for simulating the visual effect that the edge of the dissolved region in a real scene has obvious light. The initial shape of the target light effect may be a default shape of the target light effect that is previously made by a skilled person.
And acquiring the third image by using the second map, the third map and the second image. The second map can be used to determine a target shape of the region to be dissolved, the third map can be used to determine an initial shape of the target light effect, and the target brightness dissolved edge is displayed in the second image, so that the target shape of the target brightness dissolved edge and the target light effect can be simultaneously displayed in the third image.
And step S54, performing linear interpolation processing on the first image and the third image to obtain a target image.
And performing linear interpolation processing on the first image and the third image to obtain the target image. The first image is an initial image to be dissolved, and the third image is an image of an object form which simultaneously displays the object brightness dissolved edge and the object lighting effect. The target image exhibits an image dissolving effect.
In at least some embodiments of the present application, a first map is subjected to texture transformation to obtain a second map, where the first map is used to determine an initial form of a region to be dissolved, the second map is used to determine a target form of the region to be dissolved, and a second image is further obtained based on the second map and the first image, where the first image is an initial image to be dissolved, a target luminance dissolved edge is displayed in the second image, and a third image is obtained by using the second map, the third map and the second image, where the third map is used to determine an initial form of a target light effect, and a target form of a target luminance dissolved edge and a target light effect is simultaneously displayed in the third image.
The above-described method of the embodiments of the present application is further described below.
Optionally, in step S51, performing texture transformation on the first map to obtain a second map may include the following steps:
step S511, a fourth map is used for carrying out texture distortion processing on the first map to obtain a distortion result, wherein the fourth map is a noise map;
step S512, length calculation is carried out on the distortion result to obtain a second mapping.
And performing texture distortion processing on the initial image to be dissolved (namely the first map, namely the scene image of the virtual scene) by using a preset noise map to obtain the distortion result. Through the texture distortion processing, the edge of the area to be dissolved in the initial image to be dissolved can present a random and irregular visual effect, and the physical reality sense of the scene is enhanced.
The second map can be obtained by calculating the length of the warping result of the texture warping process. Through the length calculation, the length information of the area to be dissolved in the initial image to be dissolved can be obtained, and the length information can be used for controlling the size of the area to be dissolved more conveniently. The length information is stored in the second map.
The image dissolving processing method provided by the embodiment of the application can be applied to, but is not limited to: the field of computer graphics, and in particular the field of electronic games, relates to scenes for image dissolving effects. The above technical solution of the present application is specifically described below by taking an image erosion and dissolution scene in the field of electronic games as an example.
In an electronic game scene, when rendering a dissolve effect of an image (or pattern), a transmitted "light" effect is typically displayed at the edge of the area to be dissolved to enhance the physical realism of the game scene. The "light" effect may be a virtual light effect displayed according to the tyndall effect, hereinafter referred to as "tyndall light effect". The tyndall effect refers to the observation of a "pathway" of light in a gel from normal incident light when a beam of light passes through the gel. The tyndall effect means that light can be seen.
In an electronic game scene, a scene image of a current game scene can be acquired from a preset game engine, and further, UV of the scene image is distorted by adopting a noise map to obtain a distortion result; and calculating the Length of the distortion result by using a Length function to obtain a circular area to be dissolved, wherein the Length function can output the Euclidean size of the circular area to be dissolved.
Fig. 6 is a schematic view of an alternative area to be dissolved according to one embodiment of the present application, and fig. 7 is a schematic view of an alternative second map according to one embodiment of the present application. The circular area shown in fig. 6 is an area to be dissolved before the UV of the scene image is distorted, and the circular (approximate) area shown in fig. 7 is an area to be dissolved after the UV of the scene image is distorted. In fig. 6 and 7, the black portion is a region where the pixels of the scene image are hidden. It is easy to understand that, by distorting the UV of the scene image, the edge of the region to be dissolved in the image can be made to have an irregular effect, and the reality of the dissolving effect is enhanced.
In addition, as in the second map shown in fig. 7, length information of the circular area to be rendered, which is obtained by calculating the Length of the warping result using the Length function, is also stored.
Fig. 8 is a schematic diagram of another alternative to-be-dissolved area according to an embodiment of the present application, and as shown in fig. 8, a dissolving effect of an image (or a pattern) can be achieved in a scene image of a game scene by using the to-be-dissolved circular area as shown in fig. 7.
Optionally, in step S52, acquiring the second image based on the second map and the first image may include performing the steps of:
step S521, performing smooth interpolation processing on the second map to obtain a fifth map, wherein the fifth map is used for determining a target brightness annular boundary matched with a target form edge of the area to be dissolved;
step S522, perform overlay processing on the fifth map and the first image to obtain a second image.
The fifth map may be obtained by performing smooth interpolation processing on the second map. The fifth map shows the target brightness ring boundary corresponding to the region to be dissolved. The target-luminance ring boundary may be a highlight ring boundary. The highlighted annular border matches the edge of the target form (i.e., the form after the dissolution transformation) of the region to be dissolved.
And superposing the fifth map and the initial image to be dissolved (namely the first map, namely the scene image of the virtual scene) to obtain a second image on which the highlight annular boundary is displayed.
Still taking the rendering image dissolving effect in the electronic game scene as an example, the smooth step function is used to perform calculation processing on the circular area to be rendered as shown in fig. 7, so as to obtain a highlight annular area with the shape and size consistent with the edge shape and size of the circular area to be rendered.
Fig. 9 is a schematic diagram of an optional fifth map according to an embodiment of the present application, and as shown in fig. 9, after the circular area to be rendered as shown in fig. 7 is processed by using a smoothstep function, a highlight ring as shown in fig. 9 may be obtained.
Fig. 10 is a schematic diagram of another alternative second image according to an embodiment of the present application, and as shown in fig. 10, the highlight ring shown in fig. 9 is superimposed on the scene image of the game scene, so that the scene image (i.e., the second image) of the to-be-dissolved area with the highlight edge can be obtained.
Optionally, the image dissolving processing method may further include the following steps:
and step S55, performing radial fuzzy processing on the sixth map to obtain a third map, wherein the sixth map is the map drawn with the preset geometric shape.
The sixth map is a map drawn with a predetermined geometric shape. The preset geometric shape can be a geometric shape drawn by using preset image editing software, and the geometric shape is used for making a target light effect corresponding to the region to be dissolved. And performing radial fuzzy processing on the preset geometric shape in the sixth map to obtain the third map, wherein the radial fuzzy processing result of the preset geometric shape is displayed in the third map. The fuzzy processing result is used for simulating the initial form of the target light effect in the real scene.
Still taking the rendering image dissolving effect in the video game scene as an example, fig. 11 is a schematic diagram of an optional sixth map according to an embodiment of the present application, and image editing software (in this example, photoshop is used) is used to make a burred circular ring (corresponding to the preset geometric shape) shown in fig. 11, and the circular ring is used to make the tyndall light effect of the circular area to be rendered.
Fig. 12 is a schematic diagram of an alternative third mapping according to an embodiment of the present application, and as shown in fig. 12, a radial blurring process is performed on the circular ring with burrs shown in fig. 11, so that a blurring process result shown in fig. 12 can be obtained. The fuzzy processing result is used for making the Tyndall light effect of the circular area to be rendered.
It is easy to notice that as shown in the blurring processing result of fig. 12, there are displayed "light rays" based on the edge shape of the circular area to be rendered, and such "light rays" can be used to simulate the tyndall effect (i.e., tyndall light effect) in a real scene.
Still taking the effect of rendering image dissolution in an electronic game scene as an example, based on the above fuzzy processing result, the specific implementation process of making the tyndall light effect may further include: noise is added to UV of a scene image, then UV sampling is carried out, and a sampling result is obtained (the sampling result is used as a Tyndall light effect to be used). Compared with the method for directly sampling the UV adopted in the prior art, the UV sampling method provided by the embodiment of the application can reduce the sampling times in the process of rendering the image dissolving effect under the condition of not influencing the visual performance of the image dissolving effect, and further reduce the performance consumption in the rendering process.
Fig. 13 is a schematic diagram of an alternative UV sampling result according to an embodiment of the present application, and fig. 14 is a schematic diagram of an alternative UV sampling result according to the prior art, as shown in fig. 13, the tyndall effect is smoother and more natural in the sampling result of UV sampling (taking 10 times of sampling as an example) after noise is added to UV of a scene image. However, in the sampling result according to the prior art (also taking 10 times of sampling as an example) as shown in fig. 14, the tyndall light effect has obvious faults on visual representation, the physical reality of the scene is poor, and the game experience of the player is seriously reduced.
Optionally, in step S53, acquiring the third image using the second map, the third map and the second image may include performing the steps of:
step S531, overlapping the third map and the second image to obtain a fourth image, wherein the fourth image simultaneously displays an initial form of a target brightness dissolved edge and a target light effect;
and step S532, utilizing the second map to cut the fourth image to obtain a third image.
The third map shows the radial blurring result with a predetermined geometric shape. And the second image displays a highlight annular boundary corresponding to the region to be rendered. And superposing the third map and the second image to obtain the fourth image. The fourth image shows the original form of the target brightness solution edge (i.e. the highlight ring-shaped boundary) and the target light effect (the radial blurring processing result of the preset geometric shape).
And cutting the fourth image by using the size information of the area to be rendered in the second map to obtain the third image. The third image simultaneously displays the target form of the target brightness dissolved edge (i.e. the highlight ring-shaped boundary) and the target lighting effect. The target form of the target light effect is obtained by cutting the initial form of the target light effect displayed in the fourth image.
The image of the initial form for determining the target light effect displayed in the third map may be previously made by an art person or provided by a game engine in real time according to a game scene.
Optionally, in step S532, performing a cropping process on the fourth image by using the second map to obtain the third image may include the following steps:
step S5321, determining the redundant part of the original form of the target light effect displayed in the fourth image exceeding the target brightness dissolving edge by using the second map;
step S5322, a third image is obtained by performing a cropping process on the redundant portion.
And determining a part of light effect exceeding a target brightness dissolving edge (namely a highlight annular boundary) from the initial form of the target light effect displayed in the fourth image by using the size information of the region to be rendered in the second map. And cutting and deleting the part of the light effect from the fourth image to obtain the third image. The target form of the target light effect displayed in the third image is the residual part of the initial form of the target light effect after the part of the light effect is deleted.
Still taking the rendering of the image dissolving effect in the video game scene as an example, fig. 15 is a schematic diagram of an optional fourth image according to an embodiment of the present application, and the scene image (i.e., the second image) including the image dissolving edge effect shown in fig. 10 is superimposed with the UV sampling result (which may also be the blurring processing result shown in fig. 12) shown in fig. 13, so as to obtain the superimposed result shown in fig. 15.
Fig. 16 is a schematic diagram of an alternative third image according to an embodiment of the present application, and it is easily noticed that in the fourth image shown in fig. 15, the tyndall effect of the UV sampling result is not well connected with the edge of the circular area to be dissolved, and there is a tyndall effect partially exceeding the edge of the circular area to be dissolved. In contrast, in the Shader (in this example, the Shader is used), the tyndall light effect beyond the edge of the circular region to be dissolved is clipped and deleted, and the clipping result shown in fig. 16 is obtained. In the pruning result, the Tyndall light effect can follow the edge of the circular area to be dissolved in the visual effect, the effect that the Tyndall light effect is transmitted from the edge of the circular area to be dissolved is achieved, and the physical reality sense of the scene is strong.
Optionally, the image dissolving processing method may further include at least one of the following steps:
step S561, adjusting the scaling size of the initial form of the area to be dissolved by using the first control parameter;
and step S562, adjusting the scaling size of the initial form of the target light effect by adopting a second control parameter.
The first control parameter is used to adjust the scaled size of the initial morphology of the region to be dissolved. The second control parameter is used for adjusting the zoom size of the initial form of the target light effect.
Still taking the rendering of the image dissolving effect in the video game scene as an example, in the process of performing the Length calculation on the above-mentioned warping result by using the Length function, the scaling size of the circle of the region to be dissolved can be controlled by using the first control parameter (in this example, dispread). In the process of showing the dissolving effect in the area to be dissolved, the value of the parameter DisSpread is continuously changed.
Still taking the rendering image dissolving effect in the video game scene as an example, in the process of performing the radial blurring processing on the circular ring with burrs shown in fig. 11, a second control parameter (denoted as LightSpread) may be used to control the scaling size of the tyndall light effect in the blurring processing result shown in fig. 12. In order to make the tyndall light effect follow the edge of the area to be dissolved in the image dissolving process, the parameter LightSpread may be associated with the parameter discread, that is, the size of the parameter LightSpread follows the size change of the parameter discread in the image dissolving process.
Still taking the rendered image dissolving effect in the electronic game scene as an example, fig. 17 is a schematic diagram of an optional image dissolving processing result according to an embodiment of the present application, and as shown in fig. 17, the clipping result (including the highlight edge lighting effect and the tyndall lighting effect of the circular area to be dissolved) shown in fig. 16 and the scene image of the game scene are interpolated (in this example, the Lerp function is used for interpolation), so as to obtain the image dissolving processing result shown in fig. 17.
Fig. 18 is a schematic diagram of another optional image dissolving processing result according to an embodiment of the application, and it is easy to note that a tyndall light effect is added at an edge of a dissolving region of a picture, so that a light transmission effect can be achieved in a dissolving process of a picture rendered in real time, a physical reality of a scene picture in a game scene can be enhanced, and a game experience of a player can be improved.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (such as a magnetic disk or an optical disk), and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in the embodiments of the present application.
In this embodiment, an image dissolving apparatus is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, which have already been described and are not described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 19 is a block diagram of an image dissolving processing device according to an embodiment of the present application, and as shown in fig. 19, the device includes: the first processing module 1901 is configured to perform texture transformation on a first map to obtain a second map, where the first map is used to determine an initial form of a region to be dissolved, and the second map is used to determine a target form of the region to be dissolved; a first obtaining module 1902, configured to obtain a second image based on a second map and a first image, where the first image is an initial image to be dissolved, and a target brightness dissolved edge is displayed in the second image; a second obtaining module 1903, configured to obtain a third image by using the second map, the third map, and the second image, where the third map is used to determine an initial form of the target lighting effect, and the third image simultaneously displays a target form of the target luminance dissolved edge and the target lighting effect; a second processing module 1904, configured to perform linear interpolation on the first image and the third image to obtain a target image.
Optionally, the first processing module 1901 is further configured to: performing texture warping on the first map by using a fourth map to obtain a warping result, wherein the fourth map is a noise map; and calculating the length of the distortion result to obtain a second mapping.
Optionally, the first obtaining module 1902 is further configured to: performing smooth interpolation processing on the second map to obtain a fifth map, wherein the fifth map is used for determining a target brightness annular boundary matched with a target form edge of the area to be dissolved; and superposing the fifth map and the first image to obtain a second image.
Optionally, fig. 20 is a block diagram of an alternative image dissolving processing device according to an embodiment of the present application, and as shown in fig. 20, the device includes, in addition to all modules shown in fig. 19: a third processing module 1905, configured to perform radial blurring on the sixth map to obtain a third map, where the sixth map is a map drawn with a preset geometric shape.
Optionally, the second obtaining module 1903 is further configured to: overlapping the third map and the second image to obtain a fourth image, wherein the fourth image simultaneously displays the initial form of the target brightness dissolving edge and the target light effect; and utilizing the second map to cut the fourth image to obtain a third image.
Optionally, the second obtaining module 1903 is further configured to: determining the redundant part of the original form of the target light effect displayed in the fourth image exceeding the target brightness dissolved edge by using the second map; and shearing the redundant part to obtain a third image.
Optionally, fig. 21 is a block diagram of a structure of another alternative image dissolving processing device according to an embodiment of the present application, and as shown in fig. 21, the device includes, in addition to all modules shown in fig. 20: an adjusting module 1906 configured to perform at least one of the following steps: adjusting the scaling size of the initial form of the area to be dissolved by adopting a first control parameter; and adjusting the scaling size of the initial form of the target light effect by adopting the second control parameter.
It should be noted that the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are located in different processors in any combination.
Embodiments of the present application further provide a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.
Optionally, in this embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Optionally, in this embodiment, the computer-readable storage medium may be located in any one of a group of computer terminals in a computer network, or in any one of a group of mobile terminals.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, performing texture transformation on a first map to obtain a second map, wherein the first map is used for determining an initial form of a region to be dissolved, and the second map is used for determining a target form of the region to be dissolved;
s2, acquiring a second image based on the second map and the first image, wherein the first image is an initial image to be dissolved, and a target brightness dissolving edge is displayed in the second image;
s3, acquiring a third image by utilizing the second map, the third map and the second image, wherein the third map is used for determining an initial form of the target light effect, and the target form of the target brightness dissolved edge and the target light effect is displayed in the third image at the same time;
and S4, performing linear interpolation processing on the first image and the third image to obtain a target image.
Optionally, the computer-readable storage medium is further configured to store program code for performing the following steps: performing texture distortion processing on the first map by using a fourth map to obtain a distortion result, wherein the fourth map is a noise map; and calculating the length of the distortion result to obtain a second map.
Optionally, the computer-readable storage medium is further configured to store program code for performing the following steps: performing smooth interpolation processing on the second map to obtain a fifth map, wherein the fifth map is used for determining a target brightness annular boundary matched with a target form edge of the area to be dissolved; and superposing the fifth map and the first image to obtain a second image.
Optionally, the computer-readable storage medium is further configured to store program code for performing the following steps: and performing radial fuzzy processing on the sixth map to obtain a third map, wherein the sixth map is a map drawn with a preset geometric shape.
Optionally, the computer-readable storage medium is further configured to store program code for performing the following steps: overlapping the third map and the second image to obtain a fourth image, wherein the fourth image simultaneously displays the initial form of the target brightness dissolving edge and the target light effect; and utilizing the second map to cut the fourth image to obtain a third image.
Optionally, the computer-readable storage medium is further configured to store program code for performing the following steps: determining the redundant part of the original form of the target light effect displayed in the fourth image exceeding the target brightness dissolved edge by using the second map; and performing shearing processing on the redundant part to obtain a third image.
Optionally, the computer-readable storage medium is further configured to store program code for performing the following steps: adjusting the scaling size of the initial form of the area to be dissolved by adopting a first control parameter; and adjusting the scaling size of the initial form of the target light effect by adopting the second control parameter.
In the computer-readable storage medium of the above embodiment, a technical solution for implementing an image dissolving processing method is provided. The method comprises the steps of performing texture transformation on a first map to obtain a second map, wherein the first map is used for determining an initial form of a region to be dissolved, the second map is used for determining a target form of the region to be dissolved, a second image is further obtained based on the second map and the first image, the first image is the initial image to be dissolved, a target brightness dissolved edge is displayed in the second image, a third image is obtained by utilizing the second map, the third map and the second image, the third map is used for determining the initial form of the target lighting effect, the target form of the target brightness dissolved edge and the target lighting effect is simultaneously displayed in the third image, the target image is obtained by performing linear interpolation processing on the first image and the third image, the purpose of obtaining the image dissolving effect by adding the target lighting effect to the target brightness dissolved edge of the region to be dissolved is achieved, the technical effects of improving the richness of the image dissolving and improving the user experience are achieved, and the technical effects of improving the user experience are further solved.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, and may also be implemented by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to make a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) execute the method according to the embodiments of the present application.
In an exemplary embodiment of the present application, a computer readable storage medium has stored thereon a program product capable of implementing the above-described method of the present embodiment. In some possible implementations, the various aspects of the embodiments of the present application may also be implemented in the form of a program product that includes program code for causing a terminal device to perform the steps according to various exemplary implementations of the present application described in the above section "exemplary method" of the present embodiment, when the program product is run on the terminal device.
According to the program product for implementing the above method according to the embodiment of the present application, it may employ a portable compact disc read only memory (CD-ROM) and include program codes, and may be run on a terminal device, such as a personal computer. However, the program product of the embodiments of the present application is not limited thereto, and in the embodiments of the present application, the computer readable storage medium may be any tangible medium that can contain or store the program, which can be used by or in connection with the instruction execution system, apparatus, or device.
The program product described above may employ any combination of one or more computer-readable media. The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It should be noted that the program code embodied on the computer readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Embodiments of the present application further provide an electronic device comprising a memory having a computer program stored therein and a processor configured to execute the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, performing texture transformation on a first map to obtain a second map, wherein the first map is used for determining an initial form of a region to be dissolved, and the second map is used for determining a target form of the region to be dissolved;
s2, acquiring a second image based on the second map and the first image, wherein the first image is an initial image to be dissolved, and a target brightness dissolving edge is displayed in the second image;
s3, acquiring a third image by utilizing the second map, the third map and the second image, wherein the third map is used for determining an initial form of the target light effect, and the target form of the target brightness dissolved edge and the target light effect is displayed in the third image at the same time;
and S4, performing linear interpolation processing on the first image and the third image to obtain a target image.
Optionally, the processor may be further configured to execute the following steps by a computer program: performing texture distortion processing on the first map by using a fourth map to obtain a distortion result, wherein the fourth map is a noise map; and calculating the length of the distortion result to obtain a second mapping.
Optionally, the processor may be further configured to execute the following steps by a computer program: performing smooth interpolation processing on the second map to obtain a fifth map, wherein the fifth map is used for determining a target brightness annular boundary matched with a target form edge of the area to be dissolved; and overlapping the fifth map and the first image to obtain a second image.
Optionally, the processor may be further configured to execute the following steps by a computer program: and performing radial fuzzy processing on the sixth map to obtain a third map, wherein the sixth map is a map drawn with a preset geometric shape.
Optionally, the processor may be further configured to execute the following steps by a computer program: overlapping the third map and the second image to obtain a fourth image, wherein the fourth image simultaneously displays the initial form of the target brightness dissolving edge and the target light effect; and utilizing the second map to cut the fourth image to obtain a third image.
Optionally, the processor may be further configured to execute the following steps by a computer program: determining the redundant part of the original form of the target light effect displayed in the fourth image exceeding the target brightness dissolved edge by using the second map; and performing shearing processing on the redundant part to obtain a third image.
Optionally, the processor may be further configured to execute the following steps by a computer program: adjusting the scaling size of the initial form of the area to be dissolved by adopting a first control parameter; and adjusting the scaling size of the initial form of the target light effect by adopting the second control parameter.
In the electronic device of the above embodiment, a technical solution for implementing an image dissolving processing method is provided. The method comprises the steps of performing texture transformation on a first map to obtain a second map, wherein the first map is used for determining an initial form of a region to be dissolved, the second map is used for determining a target form of the region to be dissolved, a second image is further obtained based on the second map and the first image, the first image is the initial image to be dissolved, a target brightness dissolved edge is displayed in the second image, a third image is obtained by utilizing the second map, the third map and the second image, the third map is used for determining the initial form of the target lighting effect, the target form of the target brightness dissolved edge and the target lighting effect is simultaneously displayed in the third image, the target image is obtained by performing linear interpolation processing on the first image and the third image, the purpose of obtaining the image dissolving effect by adding the target lighting effect to the target brightness dissolved edge of the region to be dissolved is achieved, the technical effects of improving the richness of the image dissolving and improving the user experience are achieved, and the technical effects of improving the user experience are further solved.
FIG. 22 is a schematic diagram of an electronic device according to an embodiment of the application. As shown in fig. 22, the electronic device 2200 is only an example and should not bring any limitation to the functions and the scope of the application of the embodiments.
As shown in fig. 22, the electronic apparatus 2200 is in the form of a general purpose computing device. The components of the electronic device 2200 may include, but are not limited to: the at least one processor 2210, the at least one memory 2220, the bus 2230 connecting the various system components (including the memory 2220 and the processor 2210), and the display 2240.
Wherein the above memory 2220 stores program code, which can be executed by the processor 2210, to cause the processor 2210 to perform the steps according to various exemplary embodiments of the present application described in the above method part of the embodiments of the present application.
The memory 2220 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM) 22201 and/or a cache memory unit 22202, may further include a read-only memory unit (ROM) 22203, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
In some examples, memory 2220 may also include programs/utilities 22204 with a set (at least one) of program modules 22205, such program modules 22205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may comprise an implementation of a network environment. The memory 2220 may further include memory remotely located from the processor 2210, which may be connected to the electronic device 2200 through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Bus 2230 may be one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, processor 2210, or a local bus using any of a variety of bus architectures.
The Display 2240 may, for example, be a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the electronic device 2200.
Optionally, the electronic apparatus 2200 may also communicate with one or more external devices 2300 (e.g., a keyboard, a pointing device, a bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic apparatus 2200, and/or with any devices (e.g., a router, a modem, etc.) that enable the electronic apparatus 2200 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interface 2250. Also, the electronic device 2200 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network such as the internet) via the Network adapter 2260. As shown in fig. 22, the network adapter 2260 communicates with the other modules of the electronic device 2200 via the bus 2230. It should be appreciated that although not shown in FIG. 22, other hardware and/or software modules may be used in conjunction with electronic device 2200, which may include but are not limited to: microcode, device drivers, redundant processing units, external disk drive Arrays, disk array (RAID) systems, tape drives, and data backup storage systems, to name a few.
The electronic device 2200 may further include: a keyboard, a cursor control device (e.g., a mouse), an input/output interface (I/O interface), a network interface, a power source, and/or a camera.
It will be understood by those skilled in the art that the structure shown in fig. 22 is only an illustration and is not intended to limit the structure of the electronic device. For example, electronic device 2200 may also include more or fewer components than shown in fig. 22, or have a different configuration than shown in fig. 22. The memory 2220 may be used to store a computer program and corresponding data, such as a computer program and corresponding data corresponding to the image dissolving processing method in the embodiment of the present application. The processor 2210 executes various functional applications and data processing, i.e., implements the image dissolving processing method described above, by executing computer programs stored in the memory 2220.
The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the advantages and disadvantages of the embodiments.
In the embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or may not be executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application, or portions or all or portions of the technical solutions that contribute to the prior art, may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
The foregoing is only a preferred embodiment of the present application and it should be noted that, as will be apparent to those skilled in the art, numerous modifications and adaptations can be made without departing from the principles of the present application and such modifications and adaptations are intended to be considered within the scope of the present application.

Claims (10)

1. An image dissolving processing method, comprising:
performing texture transformation on the first map to obtain a second map, wherein the first map is used for determining the initial form of the area to be dissolved, and the second map is used for determining the target form of the area to be dissolved;
acquiring a second image based on the second map and the first image, wherein the first image is an initial image to be dissolved, and a target brightness dissolving edge is displayed in the second image;
acquiring a third image by using the second map, a third map and the second image, wherein the third map is used for determining an initial form of a target lighting effect, and the target form of the target brightness dissolved edge and the target lighting effect is displayed in the third image at the same time;
and performing linear interpolation processing on the first image and the third image to obtain a target image.
2. The image dissolving processing method according to claim 1, wherein performing texture transformation on the first map to obtain the second map comprises:
performing texture distortion processing on the first map by using a fourth map to obtain a distortion result, wherein the fourth map is a noise map;
and calculating the length of the distortion result to obtain the second mapping.
3. The image dissolution processing method according to claim 1, wherein acquiring the second image based on the second map and the first image comprises:
performing smooth interpolation processing on the second map to obtain a fifth map, wherein the fifth map is used for determining a target brightness annular boundary matched with a target form edge of the area to be dissolved;
and overlapping the fifth map and the first image to obtain the second image.
4. The image dissolving processing method according to claim 1, further comprising:
and carrying out radial fuzzy processing on the sixth map to obtain the third map, wherein the sixth map is the map drawn with a preset geometric shape.
5. The image dissolution processing method according to claim 1 or 4, wherein acquiring the third image using the second map, the third map, and the second image includes:
superposing the third map and the second image to obtain a fourth image, wherein the fourth image simultaneously displays the initial forms of the target brightness dissolved edge and the target light effect;
and utilizing the second map to cut the fourth image to obtain the third image.
6. The image dissolving processing method according to claim 5, wherein the cutting processing of the fourth image by using the second map to obtain the third image comprises:
determining an excess portion of the initial form of the target light effect displayed in the fourth image beyond the target brightness dissolved edge using the second map;
and shearing the redundant part to obtain the third image.
7. The image dissolution processing method according to claim 1, further comprising at least one of:
adjusting the scaling size of the initial form of the area to be dissolved by adopting a first control parameter;
and adjusting the zoom size of the initial form of the target light effect by adopting a second control parameter.
8. An image dissolution processing apparatus, comprising:
the first processing module is used for performing texture transformation on the first map to obtain a second map, wherein the first map is used for determining the initial form of the area to be dissolved, and the second map is used for determining the target form of the area to be dissolved;
the first obtaining module is used for obtaining a second image based on the second map and the first image, wherein the first image is an initial image to be dissolved, and a target brightness dissolving edge is displayed in the second image;
a second obtaining module, configured to obtain a third image by using the second map, a third map, and the second image, where the third map is used to determine an initial form of a target lighting effect, and the third image simultaneously displays a target form of the target brightness dissolved edge and the target lighting effect;
and the second processing module is used for carrying out linear interpolation processing on the first image and the third image to obtain a target image.
9. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is arranged to, when executed by a processor, perform the image dissolution processing method of any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and the processor is configured to execute the computer program to perform the image dissolution processing method according to any one of claims 1 to 7.
CN202211531099.9A 2022-12-01 2022-12-01 Image dissolving processing method, image dissolving processing device, storage medium and electronic device Pending CN115719305A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211531099.9A CN115719305A (en) 2022-12-01 2022-12-01 Image dissolving processing method, image dissolving processing device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211531099.9A CN115719305A (en) 2022-12-01 2022-12-01 Image dissolving processing method, image dissolving processing device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN115719305A true CN115719305A (en) 2023-02-28

Family

ID=85257215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211531099.9A Pending CN115719305A (en) 2022-12-01 2022-12-01 Image dissolving processing method, image dissolving processing device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN115719305A (en)

Similar Documents

Publication Publication Date Title
CN112215934B (en) Game model rendering method and device, storage medium and electronic device
TW202220438A (en) Display method, electronic device and computer readable storage medium in augmented reality scene
JP7387758B2 (en) Interface display method, device, terminal, storage medium and computer program
KR20230110364A (en) Detection of false virtual objects
CN111589114B (en) Virtual object selection method, device, terminal and storage medium
CN115375822A (en) Cloud model rendering method and device, storage medium and electronic device
US9483873B2 (en) Easy selection threshold
CN114820915A (en) Method and device for rendering shading light, storage medium and electronic device
CN113262476B (en) Position adjusting method and device of operation control, terminal and storage medium
JP6661780B2 (en) Face model editing method and apparatus
CN115719305A (en) Image dissolving processing method, image dissolving processing device, storage medium and electronic device
CN115713589A (en) Image generation method and device for virtual building group, storage medium and electronic device
CN115439594A (en) Filter effect rendering method and device of virtual model and storage medium
CN114742970A (en) Processing method of virtual three-dimensional model, nonvolatile storage medium and electronic device
CN115131489A (en) Cloud layer rendering method and device, storage medium and electronic device
CN116982088A (en) Layered garment for conforming to underlying body and/or garment layers
CN118119979A (en) Hidden surface removal for layered apparel of avatar body
CN114299207A (en) Virtual object rendering method and device, readable storage medium and electronic device
KR20240051993A (en) Silverside removal for layered clothing for avatar bodies
US11928757B2 (en) Partially texturizing color images for color accessibility
CN114053704B (en) Information display method, device, terminal and storage medium
CN116889723A (en) Picture generation method and device of virtual scene, storage medium and electronic device
CN115797524A (en) Virtual splash animation generation method and device, storage medium and electronic device
CN115546082A (en) Lens halo generation method and device and electronic device
CN115501597A (en) Map generation method and device

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