WO2023185392A1 - 特效图标的生成方法、装置、设备及存储介质 - Google Patents

特效图标的生成方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2023185392A1
WO2023185392A1 PCT/CN2023/079964 CN2023079964W WO2023185392A1 WO 2023185392 A1 WO2023185392 A1 WO 2023185392A1 CN 2023079964 W CN2023079964 W CN 2023079964W WO 2023185392 A1 WO2023185392 A1 WO 2023185392A1
Authority
WO
WIPO (PCT)
Prior art keywords
special effects
target
picture
video frame
icon
Prior art date
Application number
PCT/CN2023/079964
Other languages
English (en)
French (fr)
Inventor
叶展鸿
方惠
尹逊澎
Original Assignee
北京字跳网络技术有限公司
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 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2023185392A1 publication Critical patent/WO2023185392A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Definitions

  • the embodiments of the present disclosure relate to the technical field of software production, for example, to a method, device, equipment and storage medium for generating special effect icons.
  • Embodiments of the present disclosure provide a method, device, equipment and storage medium for generating special effect icons.
  • embodiments of the present disclosure provide a method for generating special effect icons, which method includes:
  • the picture selection operation is to select a picture in the icon production window
  • the original picture is processed, and the processed target picture is displayed as a target special effect icon.
  • the target picture is a superposition of the original picture and the special effect corresponding to the target special effect.
  • embodiments of the present disclosure also provide a device for generating special effect icons, which device includes:
  • An initial display module configured to display an icon production window of the target special effect in response to an icon production operation of the target special effect
  • the first receiving module is configured to receive a picture selection operation and obtain the selected original picture.
  • the picture selection operation is to select a picture in the icon production window;
  • the display module is configured to process the original picture and display the processed target picture as a target special effect icon, where the target picture is a superposition of the original picture and the special effect corresponding to the target special effect.
  • embodiments of the present disclosure also provide an electronic device, which includes:
  • processors one or more processors
  • a storage device configured to store one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method for generating special effect icons provided by any embodiment of the present disclosure.
  • embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the method for generating a special effect icon provided by any embodiment of the present disclosure is implemented.
  • Figure 1 is a schematic flowchart of a method for generating special effect icons provided by Embodiment 1 of the present disclosure
  • Figure 2 is a schematic flowchart of a method for generating special effect icons provided in Embodiment 2 of the present disclosure
  • Figure 2A shows an example flow chart of target image determination in the method for generating special effect icons provided in Embodiment 2;
  • Figure 2B shows an effect display diagram of the target special effects icon generated in the method for generating special effect icons provided by this embodiment
  • Figure 2C shows an example flow chart of the method for generating special effect icons provided by this embodiment
  • Figure 3 is a schematic structural diagram of a device for generating special effect icons provided in Embodiment 3 of the present disclosure
  • FIG. 4 is a schematic structural diagram of an electronic device provided by Embodiment 4 of the present disclosure.
  • special effects used by users are basically directly integrated into relevant application software.
  • special effects production tools for users to produce their own special effects have also emerged.
  • users When users use special effects tools to create special effects, they often need to add special effects icons to the special effects they create.
  • the way to add icons is basically that users directly upload pictures or users find pictures from the material pictures provided by the production tool as special effect icons.
  • the icons formed in this way are often not closely related to the special effects produced by the user. It is difficult to understand the special effects produced by the user through the special effects icons, which affects the effect of the special effects production. If the user wants to provide special effects icons related to special effects, then It takes a long time to carry out more tedious production, which increases the investment in special effects production.
  • embodiments of the present application provide a method and device for generating special effect icons.
  • Equipment and storage media
  • the term “include” and its variations are open-ended, ie, “including but not limited to.”
  • the term “based on” means “based at least in part on.”
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; and the term “some embodiments” means “at least some embodiments”. Relevant definitions of other terms will be given in the description below.
  • Figure 1 is a schematic flowchart of a method for generating special effects icons provided in Embodiment 1 of the present disclosure.
  • This embodiment can generate special effects icons during special effects production.
  • the method can be executed by a device for generating special effects icons.
  • the device can be used to generate special effects icons. It can be implemented by software and/or hardware, and can be configured in a terminal and/or server to implement the method for generating special effect icons in the embodiments of the present disclosure.
  • the method for generating special effects icons can be used as a functional plug-in in a special effects production tool, which can be executed through a corresponding trigger after the special effects production tool is started to enter the relevant functions of special effects production.
  • the generation logic of special effects icons can be used as a functional plug-in in a special effects production tool, which can be executed through a corresponding trigger after the special effects production tool is started to enter the relevant functions of special effects production.
  • a method for generating special effect icons may include:
  • this step can be considered as a response to the special effect icon creation operation triggered by the user.
  • the icon making operation can be regarded as a triggering operation of the special effects icon making function. For example, it can be a triggering of the special effects icon making function option in the special effects making tool; the target special effect can be considered as a special effect to be made or being made by the user.
  • the icon production window can be understood as an interface window associated with producing special effect icons for target special effects.
  • This step can respond to the triggered icon production operation, and then the icon production window can be rendered through the corresponding window rendering component and presented on the device screen.
  • the icon production window may include a picture selection area required for icon production, a display area for the produced icon, and a menu area for relevant functional options in icon production.
  • the production of special effect icons for target special effects in this embodiment is equivalent to one of the production processes in the production of target special effects.
  • the functional area or operation options can realize the material selection and parameter configuration of the target special effects to be produced.
  • the presented main window of special effects production can include functional areas related to special effects production, such as the selection area of materials required for special effects production, and the configuration area of parameters required for special effects production; and for example, various areas involved in special effects production.
  • the operation options made by special effect icons can be presented in the menu display area.
  • the special effects production main window can also present a special effects preview interface for showing the special effects production process.
  • the special effects corresponding to the target special effects in the special effects production can be presented through the special effects preview interface.
  • S102 Receive a picture selection operation and obtain the selected original picture.
  • the picture selection operation is to select a picture in the icon creation window.
  • the production logic of the special effect icon is implemented through this step and the following S103.
  • the icon creation window operation items related to icon selection are presented.
  • the image selection operation can be received through this step.
  • the icon production window can display operation buttons for image import, as well as template image options pre-integrated with special effects production tools.
  • the image selection operation can be performed by the user in the icon production window, which can be done through the
  • the image import button is triggered to enter the local path, and the local selected icon is used to create the required image; the user can also be triggered by selecting the template image to enter the template image interface, and select the icon to create the required image.
  • the picture selected by the user through the above method in response to the picture selection operation triggered by the user, the picture selected by the user through the above method can be obtained.
  • the selected picture is recorded as the original picture required for icon production.
  • S103 Process the original picture, and display the processed target picture as a target special effect icon.
  • the target picture is a superposition of the original picture and the special effect corresponding to the target special effect.
  • This step can be regarded as the response step of the above-mentioned S102.
  • the original picture can be superimposed with special effects.
  • the special effects corresponding to the target special effects are superimposed on the original picture. deal with.
  • the special effect of the target special effect can be understood as the rendering effect that the user expects the target special effect to produce after the production is completed, or when the production reaches a certain stage.
  • the production of the target special effects mainly depends on the created special effects production process. After the user provides the production materials and parameters required for the production of the target special effects, the target can be executed through the special effects production process. Special effects production logic related to special effects.
  • this step can provide the original picture to the special effects production process for producing the target special effects, replacing the original materials used for the target special effects production, and the special effects production process can suspend the special effects on the original materials. production, and then perform special effects production on the basis of the original picture, so that the special effects originally intended to be presented on the provided material are superimposed on the original picture, and the final output picture is superimposed with the special effects that the user expects the target special effects to have. Effect.
  • the output target image can be displayed and used as a target special effect icon. Since the target special effect icon contains the special effect of the target special effect, the target special effect icon is associated with the target special effect.
  • the first embodiment provides a method for generating special effects icons, which can generate special effects icons that are highly relevant to the special effects by processing the selected pictures during the special effects icon production process, so that the special effects icons can be easily Quickly understand the effect of the special effects produced by users, which improves the effect of special effects production; it also ensures the effective submission of the special effects produced to the special effects review platform; at the same time, compared with related technologies that spend more time and manpower to produce strongly related special effects icons, this implementation For example, as long as the user selects the original picture, the special effects can be quickly superimposed on the original picture, and then the icon associated with the special effect can be obtained. This implementation method effectively improves the efficiency of icon production and reduces the cost of special effects production. Invest.
  • Figure 2 is a schematic flowchart of a method for generating special effects icons provided in Embodiment 2 of the present disclosure.
  • Embodiment 2 is adjusted on the basis of the above embodiment.
  • the special effects production main window of the target special effect The special effects preview interface is included, and the special effects preview interface is presented through a pre-created special effects preview instance.
  • processing the original picture and displaying the processed target picture as a target special effects icon can be: generating a thread through the created icon, combined with the special effects preview instance, to generate the original picture Add a special effect of the target special effect to generate a target picture; display the target picture and use the target picture as a target special effect icon of the target special effect.
  • this embodiment adds the special effects of the target special effects to the original pictures through the created icon generation thread, combined with the special effects preview instance, and before generating the target pictures: Stop the special effects preview instance from outputting special effects preview video frames relative to the target special effects to the special effects preview interface.
  • this embodiment can also add in the process of processing the original picture: receiving a picture switching operation and obtaining a switched picture after switching.
  • the picture switching operation is to reselect a picture in the icon production window. ; Terminate the processing of the original picture and use the switched picture as a new original picture; re-execute the processing of the original picture and display the processed target picture as the target special effects icon.
  • the special effects production tool is equivalent to a special effects production application software. After the user starts the special effects production application software, he can enter the special effects production main window.
  • the special effects production main window can be used to produce target special effects in this embodiment.
  • a special effects preview interface is displayed in the relevant area of the special effects production main window, and each special effects video frame formed by the target special effect during the special effects production process is previewed in real time through the special effects preview interface; where the real-time preview is equivalent to The form of video stream provides users with the special effects of the currently produced target special effects.
  • the real-time preview of special effects in the special effects preview interface can rely on the special effects preview instance in the special effects production tool.
  • the background image used in the target special effects production can be read through the special effects preview instance, and the background image can be passed to the underlying special effects production function (which can be run in the form of a special effects production process) to add special effects; after that, the special effects preview The instance can obtain the picture after adding special effects, and the picture can be displayed to the user as a video frame.
  • the special effects preview example mentioned in this embodiment has the ability to read the original picture information, hand it over to the special effects production function to add special effects, and obtain pictures containing special effects from the special effects production function, that is, through the special effects preview Instances can obtain special effects pictures/video frames containing special effects.
  • the generated special effects icons should contain content associated with the produced special effects.
  • this embodiment considers reusing the above special effects preview instance to add the special effects contained in the target special effects on the original picture.
  • a method for generating special effect icons provided in Embodiment 2 includes the following operations:
  • the user enters the generation logic of the special effects icon by triggering the icon production function button in the special effects production application software.
  • the user's triggering of the icon production function button can be regarded as an icon production operation for the target special effect performed by the user.
  • This step can respond to the icon production operation and present the icon production window for the target special effect based on the main special effects production window.
  • S202 Receive a picture selection operation and obtain the selected original picture.
  • the picture selection operation is to select a picture in the icon creation window.
  • This step is equivalent to selecting and implementing the background image required for special effects icon production, and the selected image is used as the original image for special effects icon production.
  • the original picture can be a picture selected locally by the user from the device, or a picture directly selected by the user in the provided background picture template.
  • the special effect icon can be generated through the following steps in this embodiment.
  • the special effects preview video frame can be understood as a video frame output by the special effects preview instance in real time when the produced target special effects are presented on the special effects preview interface.
  • special effects preview instances are mainly used to preview the special effects in real time. If you want to reuse the special effects preview instance for generating special effects icons, you need to pause the real-time preview logic of the special effects preview instance through the operation of this step before reusing the special effects preview instance.
  • a preview stop signal can be sent to the special effects preview instance.
  • the special effects preview instance can temporarily stop the output of the special effects preview video frame and enter an idle state so that Provide better services for special effects icon generation.
  • the preview continuation signal can be sent to the special effects preview instance again, so that the special effects preview instance starts the real-time preview of the special effects effects again.
  • This embodiment can reduce the impact on operating efficiency when the special effects preview instance generates special effects icons by executing logic in S203.
  • the main execution process of special effects production is not directly used to participate in the production of special effects icons.
  • a thread dedicated to icon generation operation is re-created to realize icon generation.
  • this thread is marked as the icon generation thread.
  • the operation of this step can be performed through the created icon generation thread, where the target picture can be understood as a picture that contains special effects related to the produced target special effects after processing the original picture.
  • the special effects preview instance can be reused through the icon generation thread, and then based on the reused special effects preview instance, the passed in original icon can be passed to the special effects production function, so as to perform the special effects of the target special effect on the original image.
  • the icon generation thread can obtain the target picture output by the special effects preview instance, and the special effects of the target special effects are added to the target picture.
  • Figure 2A shows an example flow chart of target image determination in the method for generating special effect icons provided in Embodiment 2; as shown in Figure 2A, the above-mentioned S204 "Generate the icon through the created thread, combined with The special effects preview instance adds the special effects of the target special effects to the original picture and generates the target picture.”
  • this step can be executed to create a new thread for the relevant logic of icon generation.
  • the newly created The thread is recorded as the icon generation thread.
  • S2042 Call the special effects preview instance based on the setting interface through the icon generation thread, convert the original picture into an original video frame, and pass in the special effects preview instance.
  • S2043 Repeat the original video frame input operation through the icon generation thread until the input end condition is met, obtain the target video frame output by the special effects preview instance, and use the target video frame as the target picture.
  • the special effects preview instance will pass the received picture to the underlying special effects production function to add special effects. After that, the special effects preview instance will obtain the special effects production function in real time at the current moment.
  • the image is processed by adding special effects, and the image after adding special effects is output.
  • the special effects production of the special effects production function is an independent process. It starts special effects production after obtaining the picture to be produced (such as the original picture) for the first time, and then continues to perform special effects production on the picture to be produced. Work until all the special effects expected by the user are added to the image to be produced.
  • the process of creating special effects through the special effects production function is actually a continuous and gradual process. The special effects that the special effects production function can add to the image to be produced will gradually increase as the production time goes by.
  • the special effects production function has the above characteristics, if the original image is passed to the special effects preview instance and the production of the special effects production function is still in the pre-production stage, the output image currently available to the special effects preview instance may Not many special effects have been added. At this time, the content contained in the image to be output may not be able to present the special effects related to the target special effects produced.
  • this embodiment considers using the icon generation thread to repeatedly perform the incoming operation of the original video frame to the special effects production function until the incoming end condition is met, and then obtains its output video frame from the special effects preview instance.
  • This embodiment will This video frame is recorded as the target video frame and serves as the target image generated by the icon generation thread.
  • the target video frame is a picture in which the special effect of the target special effect is superimposed on the original picture.
  • the incoming end condition as the above loop end condition may be that the number of times the original video frame is transferred to the special effects preview instance reaches a set threshold; it may also be that the original video frame is transferred to the special effects preview instance at a certain time Afterwards, it is detected that the special effects contained in the video frames to be output in the special effects preview instance can be associated with the target special effects; it can also be the video output by the special effects preview instance after the original video frame is passed to the special effects preview instance at a certain time. The frame achieves the effect required by the user.
  • this example can be considered as a description of the logic implementation when the comparison result of the number of incomings and the set threshold is used as the incoming end condition to set the target.
  • the cumulative number of passes is determined based on this step, so that after each pass in the original video frame , obtain the corresponding cumulative number of incoming calls.
  • step b1 Determine whether the cumulative number of transmissions reaches the set cumulative threshold. If so, perform step c1; otherwise, return to the above S2042.
  • the comparison result between the cumulative number of incomings and the set cumulative threshold can be used as the setting target of the incoming end condition, and when the cumulative number of incomings is greater than or equal to the set cumulative threshold, it can be considered that the current condition is met
  • the end condition passed in from the loop is passed, so that the subsequent step c1 can be executed; and when the accumulated When the number of times is less than the set cumulative threshold, it can be considered that the incoming end condition has not yet been reached, and the incoming operation of the original video frame to the special effects preview instance needs to be re-executed through the above S2042.
  • the special effects preview instance can obtain the video frames participating in the special effects production in real time, and can output the video frames. After satisfying the above end loop input, this step can obtain the video frame output by the special effects preview instance at the corresponding moment, and record it as the target video frame.
  • this example can be considered as a logic implementation description for setting the incoming end condition based on the correlation between the special effects included in the video frame to be output in the special effects preview instance and the target special effects.
  • feature analysis of the corresponding current video frame can be performed based on this step, so that each time the original video is passed in After the frame is generated, analyze the current video frame obtained by the special effects preview instance from the special effects production function, and determine the characteristic information of the current video frame.
  • step b2. Determine whether the current video frame contains the special effect characteristics of the target special effect. If so, perform step c2; otherwise, return to the above S2042.
  • the matching result of the obtained characteristic information of the current video frame and the special effect characteristics of the target special effect can be used as the setting target of the incoming end condition, and the characteristic information can include the special effect characteristics of the target special effect.
  • the special effects preview instance can obtain the video frames participating in the special effects production in real time. This video frame can be used as the current video frame obtained by the special effects preview instance at the corresponding moment. After the above-mentioned end loop is passed in, this step can obtain the current video frame and record it as the target video frame.
  • this example can be considered as a description of the logic implementation when setting the incoming end condition based on user behavior.
  • the video frame obtained by the special effects preview instance from the special effects production function relative to the current incoming operation can be obtained based on this step.
  • the video frame is recorded as the current video frame and can be displayed in the relevant area of the icon creation window for the user to view.
  • a video frame display sub-window can be set in the icon production window, and the current video frame obtained through this step can be displayed in the video frame display sub-window, and relative to the displayed video frame, this embodiment
  • step b3. Determine whether the user's selection operation relative to the current video frame is received. If so, perform step c3; otherwise, after receiving the user-triggered continue incoming operation, return to perform the above S2042.
  • step c3 After the current video frame is displayed, it is possible to monitor whether the user's selection operation relative to the current video frame is received, such as triggering the selection button given above; if the selection operation is received, it can be considered The end condition passed in from the loop is currently met, so subsequent step c3 can be executed.
  • the user can trigger the continue incoming operation. If the continue incoming button given above is triggered, it can be considered that the incoming end condition has not yet been reached, and the original video frame needs to be re-transmitted through the above S2042. The incoming operation of the special effects preview instance.
  • this step can record the current video frame selected by the user as the target video frame.
  • the key to the implementation of the above S204 is to loop in the original video frames to the special effects preview instance and set the end conditions.
  • the original video frames transmitted in each cycle are the original pictures received in the above S202.
  • this embodiment may consider combining the cumulative number of incoming calls with feature analysis to set the incoming end condition, or combining the cumulative number of incoming calls with the display timing of the video frame to set the incoming end condition.
  • the icon generation thread can feed back the target image to the special effects production main thread, and the special effects production main thread can use this step to display the information fed back by the icon generation thread.
  • the target picture can also be used as a target special effect icon formed by icon production.
  • this embodiment also provides related components of parameter configuration relative to the target special effect icon generated in the icon generation window, so as to perform parameter control operations on the set parameter configuration components.
  • This embodiment responds to The parameter adjustment operation triggered by the user adjusts some attribute parameters of the target special effects icon.
  • the adjustable attribute parameters include contrast, brightness and saturation of special effect icons.
  • FIG. 2B shows an effect display diagram of the target special effect icon generated in the method for generating special effect icons provided in this embodiment.
  • an icon production window 21 is displayed.
  • a background image template 22 is displayed for the user to select the original image;
  • a local upload button 23 is also displayed for the user to upload the original image on the device. Locally selected original image.
  • the target special effect icon 24 that completes the icon production is displayed to the user in a setting area of the icon production window.
  • the original picture corresponding to the target special effects icon 24 in FIG. 2B exists in the background picture template 22.
  • the generated target special effects icon 24 contains part or all of the special effects produced by the user.
  • the special effects presented by the target special effects icon 24 include filtering the image characters, adding lip makeup and eye makeup to the image characters, and also rendering the image background.
  • the target special effects icon 24 contains the special effects of the produced special effects, which better reflects the correlation between the special effects icons and the produced special effects.
  • the icon creation window 21 shown in FIG. 2B it can also be determined that this embodiment distinguishes different types of users when generating special effect icons, such as distinguishing male users and female users according to gender.
  • the above examples of this embodiment better demonstrate the humanization and diversification of the special effects production application software.
  • the icon creation window 21 also includes a picture editing area 25 for editing icon parameters.
  • the implementation logic of the following S206 and S207 is mainly performed during the processing of the original image. It can exist in parallel with the above-mentioned S204, or can be started during the execution of S204. Its execution timing is mainly related to the timing of the user triggering the picture switching operation. related.
  • S206 Receive a picture switching operation and obtain a switched picture.
  • the picture switching operation is to reselect a picture in the icon production window.
  • the special effects production main thread can continuously monitor the user's operations in the functional software.
  • the main thread of special effects production monitors that the user has reselected an image in the icon production window, the execution of this step can be triggered, that is, it receives the image switching operation triggered by the user, and responds to the operation to obtain the image switching operation. Operate the corresponding switching image, and then continue to execute the business logic of S207.
  • the implementation logic of this step is also executed by the special effects production main thread, which can terminate the icon generation operation of the above-mentioned created icon generation thread after obtaining the switching image, thereby ending the processing of the original image.
  • the newly obtained switching picture can be used as a new original picture, and then a new icon generation thread is re-created in S204, and the target picture generation operation is independently performed again through the newly created icon generation thread.
  • this embodiment may include the following implementation steps: find the creation icon generation thread that performs processing of the original picture, modify the thread running parameters in the icon generation thread; generate the icon through the icon generation thread. Thread, when it detects that the running parameters of the thread have changed, it ends thread runs.
  • the special effects execution main thread can search for the currently running icon generation thread.
  • This icon generation thread can be considered as the thread that has been created to process the original picture; then the special effects production main thread can send parameters to the determined icon generation thread. Modify the instruction to modify the thread running parameters that control the running of the thread in the icon generation thread; when the icon generation thread detects that the thread's running parameters have changed, it can stop its own operation.
  • the second embodiment provides a method for generating special effects icons, which adds a stop operation of the special effects preview instance relative to the real-time preview before the special effects icon generation logic is executed, thereby reducing the impact on the operating efficiency when the special effects preview instance generates the special effects icons;
  • the processing process of the original image is described, so that the special effects can be added to the original image independently through the created icon generation thread, thereby saving the resource occupation of the main thread of special effects production and avoiding the state blocking of the main thread of special effects production.
  • it also adds the logic of terminating when the switching picture is received during the original picture processing.
  • the special effects icon is currently being generated, and the logic of generating the special effects icon relative to the switching picture is added.
  • this technical implementation also reflects the user's imperceptible operation in special effects production applications, and at the same time, the logical implementation of terminating the original thread also avoids the waste of resources caused by the abandoned thread operation.
  • Figure 2C provides an example flow chart of the method for generating special effect icons provided in this embodiment.
  • the method for generating special effect icons may include the following steps:
  • the user triggers the special effects production software, starts the special effects production main thread, and enters the special effects production main window.
  • the special effects production main window includes a special effects preview interface.
  • the execution subjects of the above-mentioned S1-S4 are all special effects production main threads.
  • the icon generation thread completes the icon generation operation normally, it can end the running of its own thread after generating the target image.
  • this embodiment can end the production execution logic of the special effect icon after receiving the icon production closing operation triggered by the user, such as triggering the close button of the icon production window.
  • Figure 3 is a schematic structural diagram of a device for generating special effects icons provided in Embodiment 3 of the present disclosure.
  • This embodiment can generate special effect icons during special effects production.
  • the device can be implemented through software and/or hardware, and can be configured in terminals and /or implement the method for generating special effect icons in the embodiment of the present disclosure in the server.
  • the device may include: an initial display module 31 , a first receiving module 32 , and a display module 33 .
  • the initial display module 31 is configured to display the icon creation window of the target special effect in response to the icon creation operation of the target special effect
  • the first receiving module 32 is configured to receive a picture selection operation and obtain the selected original picture.
  • the picture selection operation is to select a picture in the icon production window;
  • the display module 33 is configured to process the original picture and display the processed target picture as a target special effect icon.
  • the target picture is a superposition of the original picture and the special effect corresponding to the target special effect.
  • the third embodiment provides a device for generating special effects icons, which can generate special effects icons that are highly relevant to the special effects by processing the selected pictures during the special effects icon production process, so that the special effects icons can be easily Quickly understand the effect of the special effects produced by users, which improves the effect of special effects production; it also ensures the effective submission of the special effects produced to the special effects review platform; at the same time, compared with related technologies that spend more time and manpower to produce strongly related special effects icons, this implementation For example, as long as the user selects the original picture, the special effects can be quickly superimposed on the original picture, and then the icon associated with the special effect can be obtained. This implementation method effectively improves the efficiency of icon production and reduces the cost of special effects production. Invest.
  • the special effects production main window of the target special effect includes a special effects preview interface, and the special effects preview interface is configured through a pre-created Special effects preview instance presentation;
  • the display module 33 includes:
  • the picture generation unit is configured to add the special effects of the target special effect to the original picture through the created icon generation thread, combined with the special effects preview instance, to generate the target picture;
  • the icon display unit is configured to display the target picture and use the target picture as a target special effect icon of the target special effect.
  • the picture generation unit includes:
  • Thread creation subunit set to create icon generation thread
  • the icon generation thread is configured to call the special effects preview instance based on the setting interface, convert the original picture into an original video frame, and pass in the special effects preview instance;
  • the target video frame is a picture in which the special effect of the target special effect is superimposed on the original picture.
  • the icon generation thread may be set to:
  • the icon generation thread may be set to:
  • the current video frame is obtained and recorded as the target video frame; otherwise,
  • the icon generation thread may be set to:
  • the current video frame is recorded as the target video frame; otherwise,
  • the device may further include: a preview stop module, configured to generate a thread through the created icon, combined with the special effects preview instance, to Add the special effect of the target special effect to the original picture, and before generating the target picture, stop the special effects preview instance from outputting the special effects preview video frame relative to the target special effect to the special effects preview interface.
  • a preview stop module configured to generate a thread through the created icon, combined with the special effects preview instance, to Add the special effect of the target special effect to the original picture, and before generating the target picture, stop the special effects preview instance from outputting the special effects preview video frame relative to the target special effect to the special effects preview interface.
  • the device may further include:
  • the second receiving module is configured to receive a picture switching operation during the process of processing the original picture, and obtain a switched picture after the switching.
  • the picture switching operation is to reselect a picture in the icon production window;
  • a processing termination module configured to terminate processing of the original picture and use the switched picture as a new original picture
  • the processing loop module is configured to re-process the original image and display the processed target image as a target special effect icon.
  • the processing termination module may be configured as:
  • a thread is generated through the icon, and when a change in the thread running parameters is detected, the thread running is terminated.
  • the above device can execute the method provided by any embodiment of the present disclosure, and has the corresponding functions for executing the method. Function modules and beneficial effects.
  • FIG. 4 is a schematic structural diagram of an electronic device provided by Embodiment 4 of the present disclosure.
  • Terminal devices in embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant, PDA), tablet computers (PAD), portable multimedia players (Portable Media Player , PMP), mobile terminals such as vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital televisions (Television, TV), desktop computers, etc.
  • PDA Personal Digital Assistant
  • PMP portable multimedia players
  • mobile terminals such as vehicle-mounted terminals (such as vehicle-mounted navigation terminals)
  • fixed terminals such as digital televisions (Television, TV), desktop computers, etc.
  • the electronic device shown in FIG. 4 is only an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
  • the electronic device 40 may include a processing device (such as a central processing unit, a graphics processor, etc.) 41, which may process data according to a program stored in a read-only memory (Read-Only Memory, ROM) 42 or from a storage device. 48 loads the program in the random access memory (Random Access Memory, RAM) 43 to perform various appropriate actions and processing. In the RAM 43, various programs and data required for the operation of the electronic device 40 are also stored.
  • the processing device 41, ROM 42 and RAM 43 are connected to each other via a bus 45.
  • An editing/output (I/O) interface 44 is also connected to bus 45 .
  • the following devices can be connected to the I/O interface 44: input devices 46 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a Liquid Crystal Display (LCD) , an output device 47 such as a speaker, a vibrator, etc.; a storage device 48 including a magnetic tape, a hard disk, etc.; and a communication device 49.
  • the communication device 49 may allow the electronic device 40 to communicate wirelessly or wiredly with other devices to exchange data.
  • FIG. 4 illustrates electronic device 40 with various means, it should be understood that implementation or availability of all illustrated means is not required. More or fewer means may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product including a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
  • the computer program may be downloaded and installed from the network via the communication device 49, or from the storage device 48, or from the ROM 42 Install.
  • the processing device 41 When the computer program is executed by the processing device 41, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
  • the electronic device provided by the embodiments of the present disclosure and the method for generating special effect icons provided by the above embodiments belong to the same inventive concept.
  • Technical details that are not described in detail in this embodiment can be referred to the above embodiments, and this embodiment has the same characteristics as the above embodiments. Same beneficial effects.
  • Embodiments of the present disclosure provide a computer storage medium on which a computer program is stored.
  • the program is executed by a processor, the method for generating special effect icons provided in the above embodiments is implemented.
  • the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • the computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof.
  • Examples of computer readable storage media may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard drive, random access memory (RAM), read only memory (ROM), erasable programmable read only memory Memory (Erasable Programmable Read-Only Memory, EPROM) or flash memory, optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above .
  • RAM random access memory
  • ROM read only memory
  • EPROM erasable programmable read only memory Memory
  • flash memory optical fiber
  • portable compact disk read-only memory Compact Disc Read-Only Memory
  • CD-ROM Compact Disc Read-Only Memory
  • a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
  • Program code contained on a computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wires, optical cables, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
  • the client and server can communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium.
  • Communications e.g., communications network
  • Pass Examples of communication networks include Local Area Networks (LANs), Wide Area Networks (WANs), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any current network for knowledge or future research and development.
  • LANs Local Area Networks
  • WANs Wide Area Networks
  • the Internet e.g., the Internet
  • end-to-end networks e.g., ad hoc end-to-end networks
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; it may also exist independently without being assembled into the electronic device.
  • the computer-readable medium carries one or more programs.
  • the electronic device executes the method for generating special effect icons described in the above embodiments.
  • the storage medium may be a non-transitory storage medium.
  • Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and Includes conventional procedural programming languages—such as "C” or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as an Internet service provider through Internet connection).
  • LAN local area network
  • WAN wide area network
  • Internet service provider such as an Internet service provider through Internet connection
  • each block in the flowchart or block diagram may represent a module, segment, or portion of code that contains one or more logic functions that implement the specified executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved.
  • each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration can be implemented by special purpose hardware-based systems that perform the specified functions or operations. , or can be implemented using a combination of specialized hardware and computer instructions.
  • the units involved in the embodiments of the present disclosure can be implemented in software or hardware.
  • the name of the unit does not constitute a limitation on the unit itself under certain circumstances.
  • the first acquisition unit can also be described as "the unit that acquires at least two Internet Protocol addresses.”
  • exemplary types of hardware logic components include: field programmable gate array (Field Programmable Gate Array, FPGA), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), application specific standard product (Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logic Device (CPLD), etc.
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing.
  • machine-readable storage media examples include one or more wire-based electrical connections, laptop disks, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM) ) or flash memory, optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM erasable programmable read only memory
  • flash memory optical fiber
  • CD-ROM portable compact disk read-only memory
  • magnetic storage device or any suitable combination of the foregoing.
  • Example 1 provides a method for generating special effect icons, which method includes: in response to an icon production operation of a target special effect, displaying an icon production window for the target special effect; receiving a picture The selection operation is to obtain the selected original picture, and the picture selection operation is to select a picture in the icon production window; process the original picture, display the processed target picture and serve as the target special effects icon, The target picture is a superposition of the original picture and the special effect corresponding to the target special effect.
  • Example 2 provides a method for generating special effects icons.
  • the method includes: the special effects production main window of the target special effect includes a special effects preview interface, and the The special effects preview interface is presented through pre-created special effects preview instances;
  • processing the original picture and displaying the processed target picture as a target special effect icon includes: adding the target special effect to the original picture through the created icon generation thread, combined with the special effects preview instance Special effects: generate a target picture; display the target picture, and use the target picture as a target special effect icon of the target special effect.
  • Example 3 provides a method for generating special effects icons.
  • the steps in the method are: through the created icon generation thread, combined with the special effects preview instance, generate the original picture
  • Add special effects of the target special effects to generate target pictures which may include:
  • the target video frame is a picture in which the special effect of the target special effect is superimposed on the original picture.
  • Example 4 provides a method for generating special effects icons.
  • the steps in the method are: through the icon generation thread, repeatedly perform the original video frame input operation until the transmission is satisfied.
  • Entering the end condition and obtaining the target video frame output by the special effects preview instance may include: through the icon generation thread, after executing the current transfer of the original video frame to the special effects preview instance, determining the corresponding cumulative transfer The number of inputs; if the cumulative number of inputs does not reach the set cumulative threshold, re-execute the input operation of the original video frame to the special effects preview instance; otherwise, obtain the video frame currently output by the special effects preview instance and record it as the target Video frames.
  • Example 5 provides a method for generating special effects icons.
  • the steps in the method are: through the icon generation thread, repeatedly perform the original video frame input operation until the transmission is satisfied.
  • Entering the end condition and obtaining the target video frame output by the special effects preview instance may include: through the icon generation thread, after executing the current transfer of the original video frame to the special effects preview instance, the special effects preview The instance performs feature analysis on the obtained current video frame; if it is determined that the current video frame contains the special effect characteristics of the target special effect, the current video frame is obtained and recorded as the target video frame; otherwise, the original video frame is re-executed Incoming operation to the effect preview instance.
  • Example 6 provides a method for generating special effects icons.
  • the steps in the method are: through the icon generation thread, repeatedly perform the original video frame input operation until the transmission is satisfied. Enter the end condition, and obtain the target video frame output by the special effects preview instance, which may include: through the icon generation thread, obtain the current video frame output by the special effects preview instance after receiving the current incoming original video frame and display it ; If the user's selected operation relative to the current video frame is received, the current video frame is recorded as the target video frame; otherwise, after receiving the user-triggered continue incoming operation, re-execute the original video frame to the special effects preview The instance's incoming operation.
  • Example 7 provides a method for generating special effects icons. This method can be used in the created icon generation thread, combined with the special effects preview instance, to generate the original Add the special effects of the target special effect to the picture, and before generating the target picture, add: stop the special effects preview instance from outputting the special effects preview video frame relative to the target special effect to the special effects preview interface.
  • Example 8 provides a method for generating special effect icons.
  • this method can add a step in the process of processing the original picture: receiving a picture switching operation and obtaining a switched picture after switching, the picture switching operation is to reselect a picture in the icon production window ; Terminate the processing of the original picture and use the switched picture as a new original picture; re-execute the processing of the original picture and display the processed target picture as the target special effects icon.
  • Example 9 provides a method for generating special effect icons.
  • the step in the method: terminating the processing of the original picture can be: searching and executing the processing of the original picture. Create an icon generation thread and modify the thread running parameters in the icon generation thread; when detecting changes in the thread running parameters through the icon generation thread, end the thread running.
  • Embodiments of the present disclosure provide a method, device, equipment and storage medium for generating special effects icons, which effectively ensures the correlation between the generated special effects icons and the produced special effects.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Circuits (AREA)

Abstract

一种特效图标的生成方法、装置、设备及存储介质,该方法包括:响应于目标特效的图标制作操作,显示所述目标特效的图标制作窗口(S101);接收图片选定操作,获得所选定的原始图片,所述图片选定操作为在所述图标制作窗口中选定一张图片(S102);处理所述原始图片,显示处理后的目标图片并作为目标特效图标,所述目标图片为所述原始图片与所述目标特效所对应特效效果的叠加(S103)。

Description

特效图标的生成方法、装置、设备及存储介质
本申请要求在2022年04月02日提交中国专利局、申请号为202210351905.8的中国专利申请的优先权,以上申请的全部内容通过引用结合在本申请中。
技术领域
本公开实施例涉及软件制作技术领域,例如涉及一种特效图标的生成方法、装置、设备及存储介质。
背景技术
智能终端上所具备功能的多样化,也逐渐丰富了人们的娱乐消遣方式。相比于用户之前单纯使用终端中摄像头拍摄图像(例如,照片或视频),用户希望能够更多的功能体现在图像拍摄的过程中,比如已经出现的直播、短视频等。而在拍照、直播或短视频中加入特效已成为越来越多用户的需求和习惯。
发明内容
本公开实施例提供了一种特效图标的生成方法、装置、设备及存储介质。
第一方面,本公开实施例提供了一种特效图标的生成方法,该方法包括:
响应于目标特效的图标制作操作,显示所述目标特效的图标制作窗口;
接收图片选定操作,获得所选定的原始图片,所述图片选定操作为在所述图标制作窗口中选定一张图片;
处理所述原始图片,显示处理后的目标图片并作为目标特效图标,所述目标图片为所述原始图片与所述目标特效所对应特效效果的叠加。
第二方面,本公开实施例还提供了一种特效图标的生成装置,该装置包括:
初始显示模块,设置为响应于目标特效的图标制作操作,显示所述目标特效的图标制作窗口;
第一接收模块,设置为接收图片选定操作,获得所选定的原始图片,所述图片选定操作为在所述图标制作窗口中选定一张图片;
显示模块,设置为处理所述原始图片,显示处理后的目标图片并作为目标特效图标,所述目标图片为所述原始图片与所述目标特效所对应特效效果的叠加。
第三方面,本公开实施例还提供了一种电子设备,该电子设备包括:
一个或多个处理器;
存储装置,设置为存储一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本公开任意实施例所提供的特效图标的生成方法。
第四方面,本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现本公开任意实施例所提供的特效图标的生成方法。
附图说明
下面对描述实施例中所需要用到的附图做一简单介绍。所介绍的附图只是本公开所要描述的一部分实施例的附图,而不是全部的附图,在不付出创造性劳动的前提下,还可以根据这些附图得到其他的附图。
图1为本公开实施例一所提供的一种特效图标的生成方法的流程示意图;
图2为本公开实施例二提供的一种特效图标的生成方法的流程示意图;
图2A给出了本实施例二所提供特效图标的生成方法中目标图片确定的实例流程图;
图2B给出了本实施例所提供特效图标的生成方法中所生成目标特效图标的效果展示图;
图2C给出了本实施例所提供特效图标的生成方法的示例流程图;
图3为本公开实施例三提供的一种特效图标的生成装置的结构示意图;
图4为本公开实施例四所提供的一种电子设备的结构示意图。
具体实施方式
一般的,用户所使用的特效基本直接集成在相关应用软件中,为满足用户不断增长的特效使用需求,供用户自己进行特效制作的特效制作工具也应运而生。用户使用特效工具进行特效制作时,往往需要为所制作的特效添加特效图标。
图标添加方式基本都是用户直接上传图片或者用户从制作工具所提供的素材图片中找图片作为特效图标。该种方式所形成的图标,往往与用户所制作特效的关联不大,很难通过特效图标了解用户所制作的特效,影响特效制作效果;而用户若想要提供与特效相关的特效图标,则需要花费较长的时间进行较繁琐的制作,加大了特效制作投入。
考虑到上述情况,本申请实施例提供了一种特效图标的生成方法、装置、 设备及存储介质。
下面将参照附图描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
实施例一
图1为本公开实施例一所提供的一种特效图标的生成方法的流程示意图,本实施例可在特效制作中生成特效图标,该方法可以由特效图标的生成装置来执行,该装置可以通过软件和/或硬件来实现,可配置于终端和/或服务器中来实现本公开实施例中的特效图标的生成方法。
需要说明的是,本实施例所提供的一种特效图标的生成方法,可以作为特效制作工具中的功能插件,其可以在特效制作工具启动进入特效制作的相关功能后,通过相应的触发而执行特效图标的生成逻辑。
如图1所示,本实施例一提供的一种特效图标的生成方法可包括:
S101、响应于目标特效的图标制作操作,显示所述目标特效的图标制作窗口。
在本实施例中,本步骤可认为是对用户所触发特效图标制作操作的响应, 所述图标制作操作可看作是特效图标制作功能的触发操作,如,可以是对特效制作工具中特效图标制作功能选项的启动触发;所述目标特效可认为是用户待制作或者正在制作的特效。所述图标制作窗口可理解为对目标特效进行特效图标制作所关联的界面窗口。
本步骤可以响应所触发的图标制作操作,之后可以通过相应窗口渲染组件来渲染获得图标制作窗口并呈现在设备屏幕上。示例性的,所述图标制作窗口中可以包括图标制作所需图片选定区域、所制作图标的展示区域,又如图标制作中相关功能选项的菜单区域。
需要说明的是,本实施例对目标特效的特效图标制作相当于目标特效制作中的其中一个制作流程。在进行特效图标制作前,本实施例可能需要先通过某种触发手段来触发启动特效制作工具,并在特效制作工具启动后首先进入特效制作主窗口,然后通过在特效制作主窗口中所展示的功能区域或者操作选项,可以实现待制作目标特效的素材选定以及参数配置等。
可以知道的是,所呈现的特效制作主窗口中可以包含特效制作的相关功能区域,如特效制作所需素材的选定区域,特效制作所需参数的配置区域;又如特效制作中所涉及各操作选项的菜单展示区域,特效图标制作的操作选项就可以呈现在菜单展示区域中。该特效制作主窗口中还可以呈现用于展现特效制作过程的特效预览界面,目标特效在特效制作中所对应的特效效果都可以通过特效预览界面来呈现。
S102、接收图片选定操作,获得所选定的原始图片,所述图片选定操作为在所述图标制作窗口中选定一张图片。
本实施例在通过上述S101呈现图标制作窗口后,通过本步骤及下述S103来实现特效图标的制作逻辑。示例性的,在图标制作窗口中,呈现有图标选定相关的操作项,通过对图标选定操作项的触发,就可以通过本步骤接收到图片选定操作。
可以知道的是,在图标制作窗口中可以展示有图片导入的操作按钮,还展示有特效制作工具预先集成的模板图片选项,图片选定操作可以由用户在图标制作窗口中进行,其可以通过对图片导入按钮的触发来进入本地路径,从本地选定图标制作所需的图片;用户也可以通过对模板图片选定的触发来进入模板图片的界面,并从中选定图标制作所需的图片。
本步骤响应用户所触发的图片选定操作,就可以获得到用户通过上述方式选定的图片,本实施例将所选定图片记为图标制作所需的原始图片。
S103、处理所述原始图片,显示处理后的目标图片并作为目标特效图标,所述目标图片为所述原始图片与所述目标特效所对应特效效果的叠加。
本步骤可以看作上述S102的响应步骤,其可以在通过S102获得所选定的原始图片后,对原始图片进行特效效果的叠加处理,本实施例对原始图片进行目标特效所对应特效效果的叠加处理。其中,目标特效的特效效果可以理解为用户期望所制作的目标特效在制作完成后,或者制作到一定阶段所能呈现出的渲染效果。
需要说明的是,在特效制作工具中,目标特效的制作主要依赖于所创建的特效制作进程,在用户提供目标特效制作所需的制作素材以及制作所需参数后,通过特效制作进程可以执行目标特效相关的特效制作逻辑。
在本实施例中,作为其中一种实现方式,本步骤可以将原始图片提供给进行目标特效制作的特效制作进程,替换用于目标特效制作的原始素材,特效制作进程可以暂停对原始素材的特效制作,转而在原始图片基础上进行特效制作,从而将原本要在所提供素材上呈现的特效效果,叠加在该原始图片上,最终所输出的图片上就叠加用户期望目标特效所具备的特效效果。本步骤可以显示所输出的目标图片,并作为目标特效图标,该目标特效图标中因包含有目标特效的特效效果,从而使目标特效图标与目标特效建立了关联。
基于上述描述,可以看出本步骤对原始图片的处理相当于复用了已有的特效制作逻辑,无需为目标特效图标的生成额外设定新的处理执行逻辑,避免了额外性能成本的投入。
本实施例一提供的一种特效图标的生成方法,能够在特效图标制作过程中通过对所选定图片的处理,生成与所制作特效相关性较强的特效图标,使得通过特效图标就能很快了解用户所制作特效的效果,提升了特效制作效果;也保证了所制作特效到特效审核平台的有效提交;同时,相比相关技术中花费较多时间和人力制作强关联特效图标,本实施例只需用户选定原始图片,就能快速实现所制作特效效果到原始图片的叠加处理,进而就能得到与所制作特效关联的图标,该实现方法有效提升了图标制作效率,降低了特效制作投入。
实施例二
图2为本公开实施例二提供的一种特效图标的生成方法的流程示意图,本实施例二在上述实施例的基础上进行调整,在本实施例中,所述目标特效的特效制作主窗口中包含有特效预览界面,且所述特效预览界面通过预先创建的特效预览实例呈现。
在上述调整的基础上,将所述处理所述原始图片,显示处理后的目标图片并作为目标特效图标,可以为:通过创建的图标生成线程,结合所述特效预览实例,为所述原始图片添加所述目标特效的特效效果,生成目标图片;显示所述目标图片,并将所述目标图片作为所述目标特效的目标特效图标。
同时,在上述调整的基础上,本实施例在通过创建的图标生成线程,结合所述特效预览实例,为所述原始图片添加所述目标特效的特效效果,生成目标图片之前,还增加了:停止所述特效预览实例向所述特效预览界面输出相对所述目标特效的特效预览视频帧。
此外,本实施例还可以在在处理所述原始图片的过程中增加:接收图片切换操作,获得切换后的切换图片,所述图片切换操作为在所述图标制作窗口中重新选定一张图片;终止对所述原始图片的处理,将所述切换图片作为新的原始图片;重新执行处理所述原始图片,显示处理后的目标图片并作为目标特效图标。
需要知道的是,在本实施例中,特效制作工具相当于一个特效制作应用软件,用户启动特效制作应用软件后,可以进入特效制作主窗口。该特效制作主窗口在本实施例中可以用于目标特效的制作。在一示例中,该特效制作主窗口的相关区域中显示有特效预览界面,通过该特效预览界面实时预览目标特效在特效制作过程中所形成的每个特效视频帧;其中,实时预览相当于通过视频流的形式为用户提供当前所制作目标特效的特效效果。
接上述描述,特效效果在特效预览界面中的实时预览可以依赖于特效制作工具中特效预览实例。例如,通过特效预览实例可以读取目标特效制作所采用的背景图片,并可以将背景图片交由底层的特效制作函数(可以通过特效制作进程的形式运行)进行特效效果的添加;之后,特效预览实例可以获取到添加特效效果后的图片,该图片可以作为一张视频帧展示给用户。
可以看出,本实施例中提及的特效预览实例具备读取原始图片信息,交由特效制作函数进行特效添加制作,并从特效制作函数获得包含有特效效果图片的能力,即,通过特效预览实例可以获得到包含特效效果的特效图片/视频帧。本实施例在实现特效图标的生成时,要求所生成的特效图标应该包含有与所制作特效相关联的内容。为达到上述要求,本实施例考虑复用上述特效预览实例来在原始图片上进行目标特效所包含特效效果的添加。
如图2所示,本实施例二提供的一种特效图标的生成方法,包括如下操作:
S201、响应于目标特效的图标制作操作,显示所述目标特效的图标制作窗 口。
示例性的,用户在特效制作应用软件中通过触发图标制作功能按钮,来进入特效图标的生成逻辑。用户对图标制作功能按钮的触发可看作用户进行的一次目标特效的图标制作操作,本步骤可以响应该图标制作操作,并在特效制作主窗口的基础上呈现目标特效的图标制作窗口。
S202、接收图片选定操作,获得所选定的原始图片,所述图片选定操作为在所述图标制作窗口中选定一张图片。
本步骤相当于特效图标制作所需背景图片选定实现,所选定的图片作为特效图标制作的原始图片。该原始图片可以为用户从设备本地选取的图片,也可以是用户直接在所提供的背景图片模板中选定的图片。
通过本步骤获得原始图片后,就可以通过本实施例下述步骤实现特效图标的生成。
S203、停止所述特效预览实例向所述特效预览界面输出相对所述目标特效的特效预览视频帧。
在本实施例中,所述特效预览视频帧可理解为在特效预览界面上呈现所制作目标特效时由特效预览实例实时输出的视频帧。
在本实施例中,考虑通过复用特效预览实例的方式来进行特效图标的生成,而在特效制作的现有应用实现中,特效预览实例主要用来进行所制作特效的特效效果实时预览,如果想要复用该特效预览实例用于特效图标的生成,则在复用该特效预览实例之前,需要先通过本步骤的操作来暂停特效预览实例的实时预览逻辑。
示例性的,作为特效制作的主执行进程在执行本步骤时,可以向特效预览实例发送预览停止信号,特效预览实例基于此停止信号就可以暂时停止特效预览视频帧的输出,进入空闲状态,以便更好的为特效图标生成提供服务。同样可以理解的,本实施例可以在特效预览实例完成对特效图标生成的执行后,可以再次向特效预览实例发送预览继续信号,使得特效预览实例再次启动特效效果的实时预览。
本实施例通过S203执行逻辑,可以减小特效预览实例进行特效图标生成时的对运行效率的影响。
S204、通过创建的图标生成线程,结合所述特效预览实例,为所述原始图片添加所述目标特效的特效效果,生成目标图片。
在本实施例中,并不直接采用特效制作的主执行进程来参与特效图标的生 成,在主执行进程的前提下,重新创建一个专门进行图标生成操作线程来实现图标生成,本实施例将该线程记为图标生成线程。通过创建的图标生成线程可以执行本步骤的操作,其中,目标图片可理解为对原始图片经过处理后包含了所制作目标特效相关特效效果的图片。
例如,通过图标生成线程可以复用特效预览实例,之后基于所复用的特效预览实例,可以将所传入的原始图标传递给特效制作函数,以此在原始图片上进行目标特效所具备特效效果的添加,在之后该图标生成线程可以获得特效预览实例输出的目标图片,目标图片上添加有目标特效的特效效果。
在一示例中,图2A给出了本实施例二所提供特效图标的生成方法中目标图片确定的实例流程图;如图2A所示,给出了上述S204“通过创建的图标生成线程,结合所述特效预览实例,为所述原始图片添加所述目标特效的特效效果,生成目标图片”实现步骤:
S2041、创建图标生成线程。
在本实施例中,通过特效制作主执行进程,在确定要进行特效图标的生成操作后,就可以执行本步骤创建一个新的线程用于进行图标生成的相关逻辑,本实施例将新创建的线程记为图标生成线程。
S2042、通过所述图标生成线程,基于设定接口调用所述特效预览实例,并将所述原始图片转换为原始视频帧,传入所述特效预览实例。
在本实施例中,通过新创建的图标生成线程,就可以执行图标生成操作。首先,图标生成线程可以执行本步骤来调用待复用的特效预览实例,且可通过预先设定的实例接口来调用;之后,将原始图片传入所调用的特效预览实例,考虑到特效预览实例的输入数据格式为视频帧,图标生成线程可以在传入特效预览实例之前,对原始图片进行格式转换,由此获得原始视频帧。
S2043、通过所述图标生成线程,重复执行原始视频帧传入操作,直至满足传入结束条件,获得所述特效预览实例输出的目标视频帧,并将所述目标视频帧作为目标图片。
基于本实施例上述对特效预览实例工作原理的分析,可知特效预览实例会将所接收的图片传递给底层的特效制作函数进行特效效果添加,之后特效预览实例会实时获得特效制作函数在当前时刻对图片进行特效添加处理后的图片,并输出添加特效后的图片。
其中,特效制作函数的特效制作为一个独立过程,其在首次获得待制作图片(如原始图片)后就开始特效制作,之后便持续对该待制作图片进行特效制 作直至用户所期望的所有特效效果都被添加在待制作图片上。另外,特效制作函数对进行特效制作的过程实际也为一个持续渐进的过程,特效制作函数在待制作图片上可添加的特效效果会随着制作时间的推移而逐渐增多。
接上述描述,在特效制作函数具备上述特性的基础上,如果向特效预览实例传入原始图片时,特效制作函数的制作还处于前期制作阶段,则特效预览实例当前可获得的待输出图片上可能并没有添加太多的特效效果,此时,该待输出图片上所包含内容可能还无法呈现与所制作目标特效相关的特效效果。
基于此,本实施例考虑通过图标生成线程,重复执行原始视频帧到特效制作函数的传入操作,直到满足传入结束条件后,再从特效预览实例获得其输出的视频帧,本实施例将该视频帧记为目标视频帧,并作为了通过图标生成线程生成的目标图片。其中,所述目标视频帧为所述目标特效的特效效果在所述原始图片上的叠加后的图片。
在本实施例中,作为上述循环结束条件的传入结束条件可以是原始视频帧到特效预览实例的传入次数达到了设定阈值;还可以是在某次向特效预览实例传入原始视频帧后,检测到特效预览实例中待输出的视频帧中包含的特效效果能够与目标特效相关联;也可以是在某次向特效预览实例传入原始视频帧后,特效预览实例向外输出的视频帧达到了用户要求的效果。
作为上述S2043“通过所述图标生成线程,重复执行原始视频帧传入操作,直至满足传入结束条件,获得所述特效预览实例输出的目标视频帧,并将所述目标视频帧作为目标图片”的其中一种实施例,该实施例可以描述为:
可以知道的是,本实例可认为是将传入次数与设定阈值的比对结果作为传入结束条件设定目标时的逻辑实现描述。
a1、通过所述图标生成线程,在执行所述原始视频帧到所述特效预览实例的当前传入后,确定相应的累计传入次数。
在本实施例中,首先可以在通过图标生成线程,执行了将原始视频帧传入特效预览实例后,基于本步骤进行传入次数的累计确定,由此可以在每次传入原始视频帧后,获得对应的累计传入次数。
b1、判断所述累计传入次数是否达到设定累计阈值,若是,执行步骤c1;否则,返回执行上述S2042。
在本实施例中,可以将累计传入次数与设定累计阈值的比对结果作为传入结束条件的设定目标,并可以在累计传入次数大于或等于设定累计阈值时,认为当前满足了循环传入的结束条件,由此可以执行后续步骤c1;而当累计传入 次数小于设定累计阈值时,可认为当前还未达到传入结束条件,需要通过上述S2042重新进行原始视频帧到特效预览实例的传入操作。
c1、获取所述特效预览实例当前输出的视频帧,并记为目标视频帧。
可以知道,在特效制作函数持续对原始图片进行特效制作的过程中,特效预览实例可以实时获取参与特效制作的视频帧,并可以向外输出该视频帧。在满足上述结束循环传入后,本步骤可以获取到特效预览实例在相应时刻输出的视频帧,并记为目标视频帧。
作为上述S2043“通过所述图标生成线程,重复执行原始视频帧传入操作,直至满足传入结束条件,获得所述特效预览实例输出的目标视频帧,并将所述目标视频帧作为目标图片”的另一种实施例,该实施例可以描述为:
可以知道的是,本实例可认为是基于特效预览实例待输出视频帧中所包含特效效果与目标特效效果的关联性进行传入结束条件设定时的逻辑实现描述。
a2、通过所述图标生成线程,在执行所述原始视频帧到所述特效预览实例的当前传入后,对所述特效预览实例相应获得的当前视频帧进行特征分析。
在本实施例中,同样可以在通过图标生成线程,执行了将原始视频帧传入特效预览实例后,基于本步骤进行所对应当前视频帧的特征分析,由此可以在每次传入原始视频帧后,分析特效预览实例从特效制作函数处拿到的当前视频帧,并确定出该当前视频帧的特征信息。
b2、判断所述当前视频帧中是否包含所述目标特效的特效效果特征,若是,执行步骤c2;否则,返回执行上述S2042。
在本实施例中,可以将所获得当前视频帧的特征信息与目标特效的特效效果特征的匹配结果作为传入结束条件的设定目标,并可以在特征信息中包含了目标特效的特效效果特征时,认为当前满足了循环传入的结束条件,由此可以执行后续步骤c2。
而当特征信息中所包含的特效效果特征无法与目标特效的特效效果特征相匹配时,可认为当前还未达到传入结束条件,需要通过上述S2042重新进行原始视频帧到特效预览实例的传入操作。
c2、获得所述当前视频帧并记为目标视频帧。
同样的,在特效制作函数持续对原始图片进行特效制作的过程中,特效预览实例可以实时获取参与特效制作的视频帧,该视频帧可以作为相应时刻特效预览实例拿到的当前视频帧。在满足上述结束循环传入后,本步骤可以获取到该当前视频帧,并将其记为目标视频帧。
作为上述S2043“通过所述图标生成线程,重复执行原始视频帧传入操作,直至满足传入结束条件,获得所述特效预览实例输出的目标视频帧,并将所述目标视频帧作为目标图片”的又一种实施例,该实施例可以描述为:
可以知道的是,本实例可认为是基于用户行为进行传入结束条件设定时的逻辑实现描述。
a3、通过所述图标生成线程,获得所述特效预览实例在接收到当前所传入原始视频帧后输出的当前视频帧并展示。
在本实施例中,在通过图标生成线程,执行了将原始视频帧传入特效预览实例后,可以基于本步骤获得特效预览实例相对当前传入操作从特效制作函数中拿到的视频帧,该视频帧记为当前视频帧并可以展示在图标制作窗口的相关区域中供用户查看。
示例性的,可以在图标制作窗口中设定一个视频帧展示子窗口,通过本步骤所获得的当前视频帧可以展示在该视频帧展示子窗口中,且相对所展示的视频帧,本实施例可以在视频帧展示子窗口中设置两个按钮组件,一个可以作为选定按钮,用于进行该当前视频帧的选定,一个可以作为继续传入按钮,用于进行原视频帧后续再次传入的触发。
b3、判断是否接收到用户相对所述当前视频帧的选定操作,若是,则执行步骤c3;否则,在接收到用户触发的继续传入操作后,返回执行上述S2042。
在本实施例中,可以在展示了当前视频帧之后,监听是否接收到用户相对该当前视频帧的选定操作,如触发上述给出的选定按钮;如果接收到该选择操作,就可以认为当前满足了循环传入的结束条件,由此可以执行后续步骤c3。
如果未接收到选择操作,则可以在用户触发了继续传入操作,如触发上述给出的继续传入按钮,可认为当前还未达到传入结束条件,需要通过上述S2042重新进行原始视频帧到特效预览实例的传入操作。
c3、将所述当前视频帧记为目标视频帧。
在满足上述结束循环传入后,本步骤可以将用户选定的当前视频帧记为目标视频帧。
需要说明的是,对于上述S204的实现,其关键在于向特效预览实例循环传入原始视频帧,以及传入结束条件的设定。其中,本实施例中每次循环传入的原始视频帧均为上述S202接收到的原始图片。
关于传入结束条件的设定,除了本实施例上述给出的几种实例外,还存在其他设定方式。例如,考虑到特效制作函数需要在运行一段时间后才能获得到 包含较多特效效果的视频帧,由此,在此之前所进行的原始视频帧到特效预览实例的传入操作,其对应的视频帧可能并没有太多的实用价值,因此在图标生成线程的执行过程中,并不需要从传入原始视频帧开始,就对相应待输入的视频帧进行特征分析,或者展示给用户本实施例还可以考虑多个条件的结合。
基于上述分析,本实施例可以考虑将累计传入次数与特征分析相结合来设定传入结束条件,或者,将累计传入次数与视频帧的展示时机相结合来设定传入结束条件。
示例性的,可以在确定累计传入次数达到一个中间阈值时,开始对特效预览实例后续待输出的视频帧进行特征分析,并在特征分析的结果满足特效效果的匹配条件时,结束原始视频帧的传入循环;又如,同样可以在确定累计传入次数达到一个中间阈值时,开始向用户展示特效预览实例后续输出的视频帧,并在接收到用户对某个视频帧的选定操作后,接收原始视频帧的传入循环。
S205、显示所述目标图片,并将所述目标图片作为所述目标特效的目标特效图标。
接上述S204的执行逻辑,经过图标生成线程确定出目标图片后,图标生成线程就可以将该目标图片反馈给特效制作主线程,特效制作主线程则可以通过本步骤来显示图标生成线程所反馈的目标图片,还可以将该目标图片作为图标制作所形成的目标特效图标。
需要说明的是,本实施例在图标生成窗口中相对生成的目标特效图标,还提供了参数配置的相关组件,用于可以对所设定的参数配置组件进行参数调控操作,本实施例则响应用户所触发的参数调控操作,对目标特效图标的一些属性参数进行调整。其中,可调整的属性参数包括包括有特效图标的对比度、亮度以及饱和度等。
示例性的,图2B给出了本实施例所提供特效图标的生成方法中所生成目标特效图标的效果展示图。如图2B所示,展示了一个图标制作窗口21,在图标制作窗口中,展示了背景图片模板22,供用户进行在其中选定原始图片;还展示了本地上传23的按钮,供用户在设备本地选定原始图片。同时,在图标制作窗口的一个设定区域中向用户展示了完成图标制作的目标特效图标24。
可以看出,图2B中与目标特效图标24对应的原始图片存在于背景图片模板22内,相比于原始图片,所生成的目标特效图标24包含了用户所制作特效的一部分或全部特效效果。目标特效图标24所呈现的特效效果表现在对图像人物进行滤镜、为图像人物添加了唇妆以及眼妆,同时还进行了图像背景的渲染。 相比于原始图片,目标特效图标24包含所制作特效的特效效果后,更好的体现了特效图标与所制作特效之间的关联性。
此外,通过图2B所展示的图标制作窗口21,还可以确定本实施例在进行特效图标生成时,进行了不同类型用户的区分,如按照性别进行男生用户和女生用户的区分。本实施例的上述示例更好的展示了特效制作应用软件的人性化以及多样化。同时,图标制作窗口21中的还包含了进行图标参数编辑的图片编辑区域25。
本实施例中考虑通过新建的图标生成线程来独立执行图标的生成逻辑,节省了特效制作主线程的资源占用,由此在图标生成线程执行图标生成的操作时,特效制作主线程依旧可以正常响应用户所触发的其他操作,从而避免了特效制作主线程的状态阻塞,同时也实现了用户在特效制作应用中的无感知操作。
需要说明的是,本实施例通过上述步骤可以已经可以实现特效图标的生成。下述S206以及S207的实现逻辑主要在对原始图片的处理过程中进行,其可以与上述S204并行存在,也可以在执行S204的过程中启动执行,其执行时机主要与用户触发图片切换操作的时机有关。
S206、接收图片切换操作,获得切换后的切换图片,所述图片切换操作为在所述图标制作窗口中重新选定一张图片。
在本实施例中,在通过图标生成线程进行图标生成的实现中,特效制作主线程可以持续监听用户在功能软件中的操作。当特效制作主线程监听到用户在图标制作窗口中重新选定了一张图片时,就可以触发本步骤的执行,即,接收用户触发的图片切换操作,并响应该操作,获得与该图片切换操作对应的切换图片,之后可继续执行S207的业务逻辑。
S207、终止对所述原始图片的处理,将所述切换图片作为新的原始图片,返回重新执行S204。
在本实施例中,本步骤的实现逻辑同样有特效制作主线程来执行,其可以在获的切换图片后,通过终止上述已创建图标生成线程的图标生成操作,由此来结束对原始图片的处理,之后可以将新获得的切换图片作为新的原始图片,然后在返回S204重新创建新的图标生成线程,并通过新创建的图标生成线程再次独立的进行目标图片的生成操作。
对于终止对所述原始图片的处理,本实施例可包括下述实现步骤:查找执行处理所述原始图片的创建图标生成线程,修改所述图标生成线程中的线程运行参数;通过所述图标生成线程,检测到所述线程运行参数发生变更时,结束 线程运行。
特效执行主线程可以查找当前正在运行的图标生成线程,该图标生成线程可认为是已经创建的处理所述原始图片所需的线程;之后本特效制作主线程可以向确定出的图标生成线程发送参数修改指令,以此来修改该图标生成线程中控制线程运行的线程运行参数;当图标生成线程检测到该线程运行参数发生变更是,就可以停止自身的运行。
本实施例二提供的一种特效图标的生成方法,在特效图标生成逻辑执行前增设了特效预览实例相对实时预览的停止操作,减小特效预览实例进行特效图标生成时的对运行效率的影响;同时,描述了原始图片的处理过程,使得其通过所创建的图标生成线程来独立实现原始图片上特效效果的添加,从而节省了特效制作主线程的资源占用,避免了特效制作主线程的状态阻塞,同时也实现了用户在特效制作应用中的无感知操作;此外,还增设了原始图片处理过程中接收到切换图片时的终止当前正在生成特效图标,转而相对切换图片进行特效图标生成的逻辑实现,该技术实现同样体现了用户在特效制作应用中的无感知操作,同时终止原有线程的逻辑实现也避免了废弃线程运行所带来的资源浪费。
为便于更好理解本实施例所提供的特效图标的生成方法,本实施例给出了一个应用示例来描述特效图标的生成过程。例如,图2C给出了本实施例所提供特效图标的生成方法的示例流程图,如图2C所示,特效图标的生成方法可以包括如下步骤:
S1、用户触发特效制作软件,启动特效制作主线程,进入特效制作主窗口,所述特效制作主窗口中包括特效预览界面。
S2、在接收到用户触发的图标制作操作后,停止特效预览界面中所制作特效的实时预览,并显示图标制作窗口。
S3、获得用户在图标制作窗口中选定的原始图片。
S4、创建图标生成线程。
其中,上述S1-S4的执行主体均为特效制作主线程。
S5、通过图标生成线程调用特效预览实例。
S6、通过图标生成线程将原始图片转换为原始视频帧。
S7、通过图标生成线程将原始视频帧传入特效预览实例。
S8、通过图标生成线程判定当前是否达到传入结束条件,若是,则执行S9;若否,则返回执行S7。
S9、获得特效预览实例相对所传入原始视频帧当前输出的视频帧作为目标 图片,并反馈至特效制作主线程。
可以知道的是,如果图标生成线程正常完成图标生成操作,则可以在生成目标图片后,结束自身线程的运行。
S10、将目标图片作为目标特效图标并显示。
S11、在执行S5-S9的过程中,接收图片切换操作时,获得切换后的切换图片。
S12、终止S5-S9中正在执行的步骤逻辑,将所述切换图片作为新的原始图片,并返回重新执行S5。
需要说明的是,本实施例可以在接收到用户触发的图标制作关闭操作后,如触发图标制作窗口的关闭按钮,结束特效图标的制作执行逻辑。
上述S10-S12的执行主体可看作是特效制作主线程。
实施例三
图3为本公开实施例三提供的一种特效图标的生成装置的结构示意图,本实施例可在特效制作中生成特效图标,该装置可以通过软件和/或硬件来实现,可配置于终端和/或服务器中来实现本公开实施例中的特效图标的生成方法。该装置可包括:初始显示模块31、第一接收模块32、以及显示模块33。
其中,初始显示模块31,设置为响应于目标特效的图标制作操作,显示所述目标特效的图标制作窗口;
第一接收模块32,设置为接收图片选定操作,获得所选定的原始图片,所述图片选定操作为在所述图标制作窗口中选定一张图片;
显示模块33,设置为处理所述原始图片,显示处理后的目标图片并作为目标特效图标,所述目标图片为所述原始图片与所述目标特效所对应特效效果的叠加。
本实施例三提供的一种特效图标的生成装置,能够在特效图标制作过程中通过对所选定图片的处理,生成与所制作特效相关性较强的特效图标,使得通过特效图标就能很快了解用户所制作特效的效果,提升了特效制作效果;也保证了所制作特效到特效审核平台的有效提交;同时,相比相关技术中花费较多时间和人力制作强关联特效图标,本实施例只需用户选定原始图片,就能快速实现所制作特效效果到原始图片的叠加处理,进而就能得到与所制作特效关联的图标,该实现方法有效提升了图标制作效率,降低了特效制作投入。
在本公开实施例中任一实施例的基础上,在一实施例中,所述目标特效的特效制作主窗口中包含有特效预览界面,且所述特效预览界面通过预先创建的 特效预览实例呈现;
相应的,显示模块33,包括:
图片生成单元,设置为通过创建的图标生成线程,结合所述特效预览实例,为所述原始图片添加所述目标特效的特效效果,生成目标图片;
图标显示单元,设置为显示所述目标图片,并将所述目标图片作为所述目标特效的目标特效图标。
在本公开实施例中任一实施例的基础上,在一实施例中,图片生成单元包括:
线程创建子单元,设置为创建图标生成线程;
图标生成线程,设置为基于设定接口调用所述特效预览实例,并将所述原始图片转换为原始视频帧,传入所述特效预览实例;
还设置为重复执行原始视频帧传入操作,直至满足传入结束条件,获得所述特效预览实例输出的目标视频帧,并将所述目标视频帧作为目标图片;
其中,所述目标视频帧为所述目标特效的特效效果在所述原始图片上的叠加后的图片。
在本公开实施例中任一实施例的基础上,在一实施例中,图标生成线程可以设置为:
基于设定接口调用所述特效预览实例,并将所述原始图片转换为原始视频帧,传入所述特效预览实例;
在执行所述原始视频帧到所述特效预览实例的当前传入后,确定相应的累计传入次数;
如果所述累计传入次数未达到设定累计阈值,则重新执行原始视频帧到特效预览实例的传入操作;否则,
获取所述特效预览实例当前输出的视频帧,并记为目标视频帧。
在本公开实施例中任一实施例的基础上,在一实施例中,图标生成线程可以设置为:
基于设定接口调用所述特效预览实例,并将所述原始图片转换为原始视频帧,传入所述特效预览实例;
在执行所述原始视频帧到所述特效预览实例的当前传入后,对所述特效预览实例相应获得的当前视频帧进行特征分析;
如果确定所述当前视频帧中包含所述目标特效的特效效果特征,则获得所述当前视频帧并记为目标视频帧;否则,
重新执行原始视频帧到特效预览实例的传入操作。
在本公开实施例中任一实施例的基础上,在一实施例中,图标生成线程可以设置为:
基于设定接口调用所述特效预览实例,并将所述原始图片转换为原始视频帧,传入所述特效预览实例;
获得所述特效预览实例在接收到当前所传入原始视频帧后输出的当前视频帧并展示;
如果接收用户相对所述当前视频帧的选定操作,则将所述当前视频帧记为目标视频帧;否则,
在接收到用户触发的继续传入操作后,重新执行原始视频帧到特效预览实例的传入操作。
在本公开实施例中任一实施例的基础上,在一实施例中,该装置还可以包括:预览停止模块,设置为所述通过创建的图标生成线程,结合所述特效预览实例,为所述原始图片添加所述目标特效的特效效果,生成目标图片之前,停止所述特效预览实例向所述特效预览界面输出相对所述目标特效的特效预览视频帧。
在本公开实施例中任一实施例的基础上,在一实施例中,该装置还可以包括:
第二接收模块,设置为在处理所述原始图片的过程中,接收图片切换操作,获得切换后的切换图片,所述图片切换操作为在所述图标制作窗口中重新选定一张图片;
处理终止模块,设置为终止对所述原始图片的处理,将所述切换图片作为新的原始图片;
处理循环模块,设置为重新执行处理所述原始图片,显示处理后的目标图片并作为目标特效图标。
在本公开实施例中任一实施例的基础上,在一实施例中,处理终止模块可以设置为:
查找执行处理所述原始图片的创建图标生成线程,修改所述图标生成线程中的线程运行参数;
通过所述图标生成线程,检测到所述线程运行参数发生变更时,结束线程运行。
上述装置可执行本公开任意实施例所提供的方法,具备执行方法相应的功 能模块和有益效果。
值得注意的是,上述装置所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本公开实施例的保护范围。
实施例四
图4为本公开实施例四所提供的一种电子设备的结构示意图。下面参考图4,其示出了适于用来实现本公开实施例的电子设备(例如图4中的终端设备或服务器)40的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、平板电脑(PAD)、便携式多媒体播放器(Portable Media Player,PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字电视(Television,TV)、台式计算机等等的固定终端。图4示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图4所示,电子设备40可以包括处理装置(例如中央处理器、图形处理器等)41,其可以根据存储在只读存储器(Read-Only Memory,ROM)42中的程序或者从存储装置48加载到随机访问存储器(Random Access Memory,RAM)43中的程序而执行各种适当的动作和处理。在RAM 43中,还存储有电子设备40操作所需的各种程序和数据。处理装置41、ROM 42以及RAM 43通过总线45彼此相连。编辑/输出(Input/Output,I/O)接口44也连接至总线45。
通常,以下装置可以连接至I/O接口44:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置46;包括例如液晶显示器(Liquid Crystal Display,LCD)、扬声器、振动器等的输出装置47;包括例如磁带、硬盘等的存储装置48;以及通信装置49。通信装置49可以允许电子设备40与其他设备进行无线或有线通信以交换数据。虽然图4示出了具有各种装置的电子设备40,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置49从网络上被下载和安装,或者从存储装置48被安装,或者从ROM 42被 安装。在该计算机程序被处理装置41执行时,执行本公开实施例的方法中限定的上述功能。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
本公开实施例提供的电子设备与上述实施例提供的特效图标的生成方法属于同一发明构思,未在本实施例中详尽描述的技术细节可参见上述实施例,并且本实施例与上述实施例具有相同的有益效果。
实施例五
本公开实施例提供了一种计算机存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述实施例所提供的特效图标的生成方法。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)或闪存、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。
在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通 信网络的示例包括局域网(Local Area Network,LAN),广域网(Wide Area Network,WAN),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行上述实施例描述的特效图标的生成方法。
存储介质可以是非暂态(non-transitory)存储介质。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一获取单元还可以被描述为“获取至少两个网际协议地址的单元”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(Field Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Product,ASSP)、片上系统(System on Chip,SOC)、复杂可编程逻辑设备(Complex Programmable Logic Device,CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM)或快闪存储器、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,【示例一】提供了一种特效图标的生成方法,该方法包括:响应于目标特效的图标制作操作,显示所述目标特效的图标制作窗口;接收图片选定操作,获得所选定的原始图片,所述图片选定操作为在所述图标制作窗口中选定一张图片;处理所述原始图片,显示处理后的目标图片并作为目标特效图标,所述目标图片为所述原始图片与所述目标特效所对应特效效果的叠加。
根据本公开的一个或多个实施例,【示例二】提供了一种特效图标的生成方法,该方法中包括了:所述目标特效的特效制作主窗口中包含有特效预览界面,且所述特效预览界面通过预先创建的特效预览实例呈现;
相应的,所述处理所述原始图片,显示处理后的目标图片并作为目标特效图标,包括:通过创建的图标生成线程,结合所述特效预览实例,为所述原始图片添加所述目标特效的特效效果,生成目标图片;显示所述目标图片,并将所述目标图片作为所述目标特效的目标特效图标。
根据本公开的一个或多个实施例,【示例三】提供了一种特效图标的生成方法,该方法中的步骤:通过创建的图标生成线程,结合所述特效预览实例,为所述原始图片添加所述目标特效的特效效果,生成目标图片,可以包括:
创建图标生成线程;通过所述图标生成线程,基于设定接口调用所述特效 预览实例,并将所述原始图片转换为原始视频帧,传入所述特效预览实例;通过所述图标生成线程,重复执行原始视频帧传入操作,直至满足传入结束条件,获得所述特效预览实例输出的目标视频帧,并将所述目标视频帧作为目标图片;
其中,所述目标视频帧为所述目标特效的特效效果在所述原始图片上的叠加后的图片。
根据本公开的一个或多个实施例,【示例四】提供了一种特效图标的生成方法,该方法中的步骤:通过所述图标生成线程,重复执行原始视频帧传入操作,直至满足传入结束条件,获得所述特效预览实例输出的目标视频帧,可包括:通过所述图标生成线程,在执行所述原始视频帧到所述特效预览实例的当前传入后,确定相应的累计传入次数;如果所述累计传入次数未达到设定累计阈值,则重新执行原始视频帧到特效预览实例的传入操作;否则,获取所述特效预览实例当前输出的视频帧,并记为目标视频帧。
根据本公开的一个或多个实施例,【示例五】提供了一种特效图标的生成方法,该方法中的步骤:通过所述图标生成线程,重复执行原始视频帧传入操作,直至满足传入结束条件,获得所述特效预览实例输出的目标视频帧,可以包括:通过所述图标生成线程,在执行所述原始视频帧到所述特效预览实例的当前传入后,对所述特效预览实例相应获得的当前视频帧进行特征分析;如果确定所述当前视频帧中包含所述目标特效的特效效果特征,则获得所述当前视频帧并记为目标视频帧;否则,重新执行原始视频帧到特效预览实例的传入操作。
根据本公开的一个或多个实施例,【示例六】提供了一种特效图标的生成方法,该方法中的步骤:通过所述图标生成线程,重复执行原始视频帧传入操作,直至满足传入结束条件,获得所述特效预览实例输出的目标视频帧,可包括:通过所述图标生成线程,获得所述特效预览实例在接收到当前所传入原始视频帧后输出的当前视频帧并展示;如果接收用户相对所述当前视频帧的选定操作,则将所述当前视频帧记为目标视频帧;否则,在接收到用户触发的继续传入操作后,重新执行原始视频帧到特效预览实例的传入操作。
根据本公开的一个或多个实施例,【示例七】提供了一种特效图标的生成方法,该方法可以在在所述通过创建的图标生成线程,结合所述特效预览实例,为所述原始图片添加所述目标特效的特效效果,生成目标图片之前,增加:停止所述特效预览实例向所述特效预览界面输出相对所述目标特效的特效预览视频帧。
根据本公开的一个或多个实施例,【示例八】提供了一种特效图标的生成方 法,该方法可以在在处理所述原始图片的过程中,增加步骤:接收图片切换操作,获得切换后的切换图片,所述图片切换操作为在所述图标制作窗口中重新选定一张图片;终止对所述原始图片的处理,将所述切换图片作为新的原始图片;重新执行处理所述原始图片,显示处理后的目标图片并作为目标特效图标。
根据本公开的一个或多个实施例,【示例九】提供了一种特效图标的生成方法,该方法中的步骤:终止对所述原始图片的处理,可以为:查找执行处理所述原始图片的创建图标生成线程,修改所述图标生成线程中的线程运行参数;通过所述图标生成线程,检测到所述线程运行参数发生变更时,结束线程运行。
本公开实施例提供了一种特效图标的生成方法、装置、设备及存储介质,有效保证了所生成特效图标与所制作特效的关联性。
本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的实施例,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它实施例。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的实施例。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了如果干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (12)

  1. 一种特效图标的生成方法,包括:
    响应于目标特效的图标制作操作,显示所述目标特效的图标制作窗口;
    接收图片选定操作,获得所选定的原始图片,所述图片选定操作为在所述图标制作窗口中选定一张图片;
    处理所述原始图片,显示处理后的目标图片并作为目标特效图标,所述目标图片为所述原始图片与所述目标特效所对应特效效果的叠加。
  2. 根据权利要求1所述的方法,其中,所述目标特效的特效制作主窗口中包含有特效预览界面,且所述特效预览界面通过预先创建的特效预览实例呈现;
    相应的,所述处理所述原始图片,显示处理后的目标图片并作为目标特效图标,包括:
    通过创建的图标生成线程,结合所述特效预览实例,为所述原始图片添加所述目标特效的特效效果,生成目标图片;
    显示所述目标图片,并将所述目标图片作为所述目标特效的目标特效图标。
  3. 根据权利要求2所述的方法,其中,所述通过创建的图标生成线程,结合所述特效预览实例,为所述原始图片添加所述目标特效的特效效果,生成目标图片,包括:
    创建图标生成线程;
    通过所述图标生成线程,基于设定接口调用所述特效预览实例,并将所述原始图片转换为原始视频帧,传入所述特效预览实例;
    通过所述图标生成线程,重复执行原始视频帧传入操作,直至满足传入结束条件,获得所述特效预览实例输出的目标视频帧,并将所述目标视频帧作为目标图片;
    其中,所述目标视频帧为所述目标特效的特效效果在所述原始图片上的叠加后的图片。
  4. 根据权利要求3所述的方法,其中,通过所述图标生成线程,重复执行原始视频帧传入操作,直至满足传入结束条件,获得所述特效预览实例输出的目标视频帧,包括:
    通过所述图标生成线程,在执行所述原始视频帧到所述特效预览实例的当前传入后,确定相应的累计传入次数;
    响应于所述累计传入次数未达到设定累计阈值,重新执行原始视频帧到特效预览实例的传入操作;
    响应于所述累计传入次数达到设定累计阈值,获取所述特效预览实例当前 输出的视频帧,并记为目标视频帧。
  5. 根据权利要求3所述的方法,其中,通过所述图标生成线程,重复执行原始视频帧传入操作,直至满足传入结束条件,获得所述特效预览实例输出的目标视频帧,包括:
    通过所述图标生成线程,在执行所述原始视频帧到所述特效预览实例的当前传入后,对所述特效预览实例相应获得的当前视频帧进行特征分析;
    响应于确定所述当前视频帧中包含所述目标特效的特效效果特征,获得所述当前视频帧并记为目标视频帧;
    响应于确定所述当前视频帧中不包含所述目标特效的特效效果特征,重新执行原始视频帧到特效预览实例的传入操作。
  6. 根据权利要求3所述的方法,其中,通过所述图标生成线程,重复执行原始视频帧传入操作,直至满足传入结束条件,获得所述特效预览实例输出的目标视频帧,包括:
    通过所述图标生成线程,获得所述特效预览实例在接收到当前所传入原始视频帧后输出的当前视频帧并展示;
    响应于接收用户相对所述当前视频帧的选定操作,将所述当前视频帧记为目标视频帧;
    响应于未接收用户相对所述当前视频帧的选定操作,在接收到用户触发的继续传入操作后,重新执行原始视频帧到特效预览实例的传入操作。
  7. 根据权利要求2所述的方法,在所述通过创建的图标生成线程,结合所述特效预览实例,为所述原始图片添加所述目标特效的特效效果,生成目标图片之前,还包括:
    停止所述特效预览实例向所述特效预览界面输出相对所述目标特效的特效预览视频帧。
  8. 根据权利要求1或2所述的方法,在处理所述原始图片的过程中,还包括:
    接收图片切换操作,获得切换后的切换图片,所述图片切换操作为在所述图标制作窗口中重新选定一张图片;
    终止对所述原始图片的处理,将所述切换图片作为新的原始图片;
    重新执行处理所述原始图片,显示处理后的目标图片并作为目标特效图标。
  9. 根据权利要求8所述的方法,其中,所述终止对所述原始图片的处理,包括:
    查找执行处理所述原始图片的创建图标生成线程,修改所述图标生成线程中的线程运行参数;
    响应于通过所述图标生成线程检测到所述线程运行参数发生变更,结束线程运行。
  10. 一种特效图标的生成装置,包括:
    初始显示模块,设置为响应于目标特效的图标制作操作,显示所述目标特效的图标制作窗口;
    第一接收模块,设置为接收图片选定操作,获得所选定的原始图片,所述图片选定操作为在所述图标制作窗口中选定一张图片;
    显示模块,设置为处理所述原始图片,显示处理后的目标图片并作为目标特效图标,所述目标图片为所述原始图片与所述目标特效所对应特效效果的叠加。
  11. 一种电子设备,包括:
    一个或多个处理器;
    存储装置,设置为存储一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-9中任一项所述的特效图标的生成方法。
  12. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-9中任一项所述的特效图标的生成方法。
PCT/CN2023/079964 2022-04-02 2023-03-07 特效图标的生成方法、装置、设备及存储介质 WO2023185392A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210351905.8A CN116931792A (zh) 2022-04-02 2022-04-02 一种特效图标的生成方法、装置、设备及存储介质
CN202210351905.8 2022-04-02

Publications (1)

Publication Number Publication Date
WO2023185392A1 true WO2023185392A1 (zh) 2023-10-05

Family

ID=88198989

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/079964 WO2023185392A1 (zh) 2022-04-02 2023-03-07 特效图标的生成方法、装置、设备及存储介质

Country Status (2)

Country Link
CN (1) CN116931792A (zh)
WO (1) WO2023185392A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111754607A (zh) * 2019-03-27 2020-10-09 北京小米移动软件有限公司 图片处理方法及装置、电子设备、计算机可读存储介质
US20210006867A1 (en) * 2018-08-17 2021-01-07 Tencent Technology (Shenzhen) Company Limited Picture generation method and apparatus, device, and storage medium
CN113240777A (zh) * 2021-04-25 2021-08-10 北京达佳互联信息技术有限公司 特效素材处理方法、装置、电子设备及存储介质
CN113315924A (zh) * 2020-02-27 2021-08-27 北京字节跳动网络技术有限公司 图像特效处理方法及装置
CN113949820A (zh) * 2020-07-15 2022-01-18 北京破壁者科技有限公司 特效处理方法、装置、电子设备和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210006867A1 (en) * 2018-08-17 2021-01-07 Tencent Technology (Shenzhen) Company Limited Picture generation method and apparatus, device, and storage medium
CN111754607A (zh) * 2019-03-27 2020-10-09 北京小米移动软件有限公司 图片处理方法及装置、电子设备、计算机可读存储介质
CN113315924A (zh) * 2020-02-27 2021-08-27 北京字节跳动网络技术有限公司 图像特效处理方法及装置
CN113949820A (zh) * 2020-07-15 2022-01-18 北京破壁者科技有限公司 特效处理方法、装置、电子设备和存储介质
CN113240777A (zh) * 2021-04-25 2021-08-10 北京达佳互联信息技术有限公司 特效素材处理方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN116931792A (zh) 2023-10-24

Similar Documents

Publication Publication Date Title
CN111913628B (zh) 分享方法、装置和电子设备
WO2021052141A1 (zh) 列表流的实现方法、装置、电子设备及存储介质
WO2022048478A1 (zh) 多媒体数据的处理方法、生成方法及相关设备
WO2020029526A1 (zh) 视频特效添加方法、装置、终端设备及存储介质
WO2020082870A1 (zh) 即时视频显示方法、装置、终端设备及存储介质
WO2021218325A1 (zh) 视频处理方法、装置、计算机可读介质和电子设备
WO2021031850A1 (zh) 图像处理的方法、装置、电子设备及存储介质
US20240062443A1 (en) Video sharing method and apparatus, device, and medium
WO2020042350A1 (zh) 一种桌面投屏方法、装置、设备及存储介质
WO2022017184A1 (zh) 交互方法、装置、电子设备及计算机可读存储介质
KR102248799B1 (ko) 타겟 대상 디스플레이 방법, 장치 및 전자 기기
WO2021218318A1 (zh) 视频传输方法、电子设备和计算机可读介质
WO2022237571A1 (zh) 图像融合方法、装置、电子设备和存储介质
WO2021180198A1 (zh) 信息交互方法、装置、电子设备及存储介质
CN114598815B (zh) 一种拍摄方法、装置、电子设备和存储介质
WO2021197024A1 (zh) 视频特效配置文件生成方法、视频渲染方法及装置
WO2023165370A1 (zh) 一种信息交互方法、装置、显示设备及存储介质
US11818491B2 (en) Image special effect configuration method, image recognition method, apparatus and electronic device
WO2023143299A1 (zh) 消息展示方法、装置、设备及存储介质
WO2023169356A1 (zh) 图像处理方法、装置、设备及存储介质
JP7471510B2 (ja) ピクチャのビデオへの変換の方法、装置、機器および記憶媒体
CN112601042B (zh) 显示设备、服务器及视频通话兼容不同协议信令的方法
WO2023221941A1 (zh) 图像处理方法、装置、设备及存储介质
WO2023241427A1 (zh) 图像处理方法、装置、设备及存储介质
WO2024022179A1 (zh) 媒体内容的显示方法、装置、电子设备和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23777770

Country of ref document: EP

Kind code of ref document: A1