Special effect processing method and apparatus, electronic device, storage medium, and program product
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-08
- Publication Date
- 2026-08-11
AI Technical Summary
这就使得特效制作者难以对预设的特效效果进行调整和修改,从而,使得特效制作场景中的可操作的信息以及特效编辑的方式较为局限,采用此种方式制作得到的特效文件呈现的特效效果也较为单调,影响特效制作体验
[0017]本公开实施例的技术方案,通过于特效编辑界面显示第一特效编辑项,实现了对第一特效编辑项的可视化呈现;由于所述第一特效编辑项中包括算法配置项;所述算法配置项用于指示为所述第一特效编辑项配置的图像处理算法,相比较于相关技术中对图像处理算法不可见的设置方式,使得用户在特效编辑的过程中能够直观地了解到所采用的图像处理算法,且以第一特效编辑项的方式呈现,能够实现对第一特效编辑项的灵活设置,而不仅仅局限于预设的、固定的特效选项。这为用户提供了更大的创作空间和自由度,丰富图像处理算法在特效编辑场景中的应用,使得特效编辑更加多样化和个性化;然后,通过确定与所述第一特效编辑项对应的第一图像,对所述第一图像执行与所述算法配置项对应的所述图像处理算法,得到与所述第一特效编辑项对应的媒体数据,能够将图像处理算法将第一图像处理为媒体数据,解决了相关技术中由于特效制作场景中的可操作的信息以及特效编辑的方式较为局限以及制作得到的特效文件呈现的特效效果也较为单调的技术问题,丰富了特效数据的生成方式,使得特效编辑效果更为多样化,更大程度地满足了差异化的特效编辑需求,提升了特效编辑体验。
Smart Images

Figure CN122547264A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer processing technology, and in particular to a special effects processing method, apparatus, electronic device, storage medium, and program product. Background Technology
[0002] In image processing scenarios, special effects are increasingly widely used because they can quickly and easily enhance the presentation of images or videos. Therefore, creating richer and more diverse special effects has become a key focus for special effects creators.
[0003] In related technologies, the creation of special effects files is often limited to the application of a preset special effects or the combination of multiple special effects. Furthermore, these special effects often require developers to program specific image processing logic using data and encapsulate it before releasing it to special effects creators. This makes it difficult for special effects creators to adjust and modify preset effects, thus limiting the operable information and editing methods within the special effects production scene. The resulting special effects files tend to be monotonous, negatively impacting the special effects production experience. Summary of the Invention
[0004] This disclosure provides a special effects processing method, apparatus, electronic device, storage medium, and program product, which enriches the interactive content in special effects editing scenarios and improves the special effects editing effect.
[0005] In a first aspect, embodiments of this disclosure provide a special effects processing method, the method comprising:
[0006] The first special effects editing item is displayed in the special effects editing interface; wherein, the first special effects editing item includes an algorithm configuration item; the algorithm configuration item is used to indicate the image processing algorithm configured for the first special effects editing item;
[0007] A first image corresponding to the first special effects editing item is determined, and the image processing algorithm corresponding to the algorithm configuration item is executed on the first image to obtain media data corresponding to the first special effects editing item.
[0008] Secondly, this disclosure also provides a special effects processing apparatus, which includes:
[0009] A special effects editing interface display module is used to display a first special effects editing item in the special effects editing interface; wherein, the first special effects editing item includes an algorithm configuration item; the algorithm configuration item is used to indicate the image processing algorithm configured for the first special effects editing item;
[0010] The media data generation module is used to determine the first image corresponding to the first special effects editing item, execute the image processing algorithm corresponding to the algorithm configuration item on the first image, and obtain media data corresponding to the first special effects editing item.
[0011] Thirdly, embodiments of this disclosure also provide an electronic device, the electronic device comprising:
[0012] One or more processors;
[0013] Storage device for storing one or more programs.
[0014] When the one or more programs are executed by the one or more processors, the one or more processors implement the special effects processing method as described in any of the embodiments of this disclosure.
[0015] Fourthly, embodiments of this disclosure also provide a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform special effects processing methods as described in any of the embodiments of this disclosure.
[0016] Fifthly, embodiments of this disclosure also provide a computer program product, including a computer program that, when executed by a processor, implements the special effects processing method as described in any of the embodiments of this disclosure.
[0017] The technical solution of this disclosure embodiment achieves a visual presentation of the first special effects editing item by displaying it on the special effects editing interface. Since the first special effects editing item includes an algorithm configuration item, which is used to indicate the image processing algorithm configured for the first special effects editing item, compared with the setting method in related technologies where the image processing algorithm is not visible, the user can intuitively understand the image processing algorithm used during the special effects editing process. Moreover, the algorithm is presented as the first special effects editing item, which enables flexible settings for the first special effects editing item, rather than being limited to preset and fixed special effects options. This provides users with greater creative space and freedom, enriches the application of image processing algorithms in special effects editing scenarios, and makes special effects editing more diverse and personalized. Then, by determining the first image corresponding to the first special effects editing item, the image processing algorithm corresponding to the algorithm configuration item is executed on the first image to obtain media data corresponding to the first special effects editing item. This can process the first image into media data through the image processing algorithm, solving the technical problems in related technologies where the operable information and special effects editing methods in special effects production scenarios are relatively limited, and the special effects effects presented in the produced special effects files are also relatively monotonous. It enriches the generation methods of special effects data, makes the special effects editing effects more diverse, better meets the differentiated special effects editing needs, and improves the special effects editing experience. Attached Figure Description
[0018] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.
[0019] Figure 1A A flowchart illustrating a special effects processing method provided in an embodiment of this disclosure;
[0020] Figure 1B A schematic diagram of the style of a first special effects editing component for a special effects processing method provided in an embodiment of the present disclosure;
[0021] Figure 1C A schematic diagram of a special effects editing interface for a special effects processing method provided in this embodiment of the disclosure;
[0022] Figure 2 A flowchart illustrating another special effects processing method provided in this embodiment of the disclosure;
[0023] Figure 3 A flowchart illustrating another special effects processing method provided in this embodiment of the disclosure;
[0024] Figure 4 This is a schematic diagram of the structure of a special effects processing device provided in an embodiment of the present disclosure;
[0025] Figure 5 This is a schematic diagram of the structure of an electronic device for implementing an embodiment of the present disclosure. Detailed Implementation
[0026] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0027] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0028] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0029] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0030] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0031] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0032] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0033] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
[0034] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0035] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0036] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.
[0037] Figure 1A This is a flowchart illustrating a special effects processing method provided in an embodiment of the present disclosure. The embodiments of the present disclosure are applicable to special effects production scenarios, and are particularly applicable to scenarios in which image processing algorithms are edited in a visual manner in special effects editing scenarios. The method can be executed by a special effects processing device, which can be implemented in the form of software and / or hardware, or optionally, by an electronic device, such as a mobile terminal, a PC, or a server.
[0038] like Figure 1A As shown, the method in this embodiment may specifically include:
[0039] S110. Display a first special effects editing item in the special effects editing interface; wherein, the first special effects editing item includes an algorithm configuration item; the algorithm configuration item is used to indicate the image processing algorithm configured for the first special effects editing item.
[0040] In this embodiment, the special effects editing interface can be configured as an interactive interface for receiving and responding to special effects editing operations. The special effects editing interface can also be configured as an interface for visually presenting the content of the image generated during the special effects editing process. For example, the special effects editing interface is an interface displayed in a special effects production tool and / or special effects application platform that supports special effects editing operations. Exemplarily, the special effects editing interface may include a layer editing area and / or a visual programming area, which can support users to perform special effects editing through layer editing and / or graphical programming. The visual programming area can be understood as an area in the target interface used for special effects editing of images in a graphical programming manner. In this embodiment, the visual programming area can provide users with an intuitive image special effects programming environment, allowing them to construct image processing logic by dragging and / or placing graphical programming nodes. The layer editing area can be understood as an area in the target interface used for special effects editing of one or more special effects elements in a layer editing manner. In this embodiment, the layer editing area can provide users with a simple, convenient, and flexible image special effects editing interface, allowing them to set image special effects logic by setting and editing layers. The special effects editing interface may also include a preview area. The preview area can be used to preview the visual content generated during the special effects editing process, such as special effects images, etc.
[0041] As an optional implementation of this disclosure, optionally, displaying the first special effect editing item in the special effect editing interface includes: displaying the special effect editing interface; wherein the special effect editing interface includes a visual programming area; in response to a target node addition operation input in the visual programming area, displaying the first special effect editing item in the visual programming area as a graphical programming node. The visual programming area can be understood as a graphical programming area. The visual programming area can graphically display and manipulate special effect editing items. Users can program within this area by dragging nodes, connecting lines, etc., to achieve the purpose of creating or modifying special effect processing methods. When it is necessary to add a new special effect editing item (target node) in the visual programming area, this addition process can be triggered by inputting a target node addition operation. The input target node addition operation may be clicking a button, selecting a menu item, or performing one or more operations such as a specific gesture on the interface. After triggering the target node addition operation, a graphical programming node corresponding to the first special effect editing item will be added to the visual programming area in response to the target node addition operation. By adopting this technical solution, the first special effects editing item can be applied to the scenario of graphical programming, and special effects editing can be realized in a graphical programming way. Users can intuitively see and manage their special effects editing items in a visual environment without writing complex code.
[0042] The presentation of the first special effects editing item 10 in the visual programming area can be as follows: Figure 1B As shown. The first special effects editing item 10 may include an image configuration item 101, an algorithm type editing item (first parameter editing item) 102, specific parameter editing items (second parameter editing item) Algorithm A 104 and Algorithm B 105, and an effect configuration item 103 for characterizing the expected quality of the target feature data of the first special effects editing item 10. The image configuration item 101 specifically includes an "image" identifier and an attribute value display box. Similarly, the algorithm type editing item 102 includes an "algorithm type" identifier and a type attribute value display box. When the type attribute value of the algorithm type is determined, the algorithm corresponding to the determined algorithm type can be further displayed, such as Algorithm A and Algorithm B. Graphical identifiers can also be used to distinguish which algorithm is used. For example, when using short hair A, the graphical identifier corresponding to Algorithm A can be displayed differently from the graphical identifier corresponding to Algorithm B.
[0043] As an optional implementation of this disclosure, where the special effects editing interface includes a layer editing area, to facilitate user operation, displaying the first special effects editing item in the special effects editing interface may include: responding to an interface access request for the special effects editing interface, displaying the special effects editing interface including the layer editing area, and displaying the first special effects editing item in the layer editing area. By adopting this technical solution, the first special effects editing item can be displayed in the layer editing area when the special effects editing interface is opened, achieving an intuitive display of the first special effects editing control, so that users can quickly find and conveniently edit it.
[0044] Based on this, if the special effects editing interface also includes a visual programming area, then the layer editing area and the visual programming area can be edited in tandem. After displaying the first special effects editing item in the layer editing area, the interface may further include: displaying the first special effects editing item as a graphical programming node in the visual programming area; wherein the graphical programming node corresponding to the first special effects editing item displays the editable parameters corresponding to the first special effects editing item. This technical solution enriches the presentation of the first special effects editing item in the special effects editing interface, enables multi-dimensional data display, and intuitively presents the data relationships in the special effects editing scene, reducing the user's understanding cost and facilitating special effects editing in a more familiar way, thereby improving special effects editing efficiency.
[0045] In this embodiment of the disclosure, the trigger condition for displaying the first special effect editing item as a graphical programming node in the visual programming area may be detecting that the first special effect editing item is displayed in the layer editing area, or receiving an editing trigger operation for the first special effect editing item displayed in the layer editing area, etc.
[0046] In the layer editing area, the first special effect editing item can be presented as a preset editing item identifier. The image processing parameters used to execute the image processing algorithm can be fixed or editable. If the image processing parameters corresponding to the image processing algorithm configured for the first special effect editing item are editable, the editable parameters corresponding to the first special effect editing item can be displayed in the visual programming area. Alternatively, when editing the first special effect editing item is triggered, the first special effect editing item can be displayed in the visual programming area as a graphical programming node. That is, in response to an editing trigger operation on the first special effect editing item displayed in the layer editing area, the editable parameters corresponding to the first special effect editing item are displayed in the visual programming area, and the editable parameters corresponding to the first special effect editing item are displayed in the graphical programming node corresponding to the first special effect editing item.
[0047] like Figure 1C As shown, the special effects editing interface 20 may include a layer editing area 201 and a visual programming area 202. The first special effects editing item can be displayed in the layer editing area 201 as a layer editing control 2011, or in the visual programming area 202 as a graphical programming element 2021. In other words, the first special effects editing item can be presented in multiple forms in the special effects editing interface 20. Furthermore, the first special effects editing item can be presented simultaneously in different areas of the special effects editing interface 20 to accommodate diverse editing needs of users.
[0048] In this embodiment of the disclosure, special effects editing items are configured as interactive information items in a special effects editing scene. Specifically, special effects editing items can be understood as a collection of various special effects elements or functions that users can edit, adjust, or apply in a special effects editing scene. For example, special effects editing items can be used to implement one or more special effects editing operations such as color adjustment, filter application, animation effects, transition effects, and audio processing. Users can modify or enhance their media content by operating specific special effects editing items. In the special effects editing interface, special effects editing items are typically presented to the user in the form of icons, buttons, drop-down menus, or sliders. Users can interact with these special effects editing items by clicking, dragging, or entering values to adjust the parameters and effects of the special effects. Each special effects editing item may contain a set of parameters that allow users to further customize the appearance and behavior of the special effects. For example, a color correction special effects editing item may allow users to adjust parameters such as brightness, contrast, saturation, and hue. Multiple special effects editing items are equipped with a real-time preview function, meaning that users can instantly see the adjustments they have made to the special effects without saving changes. This helps users more accurately determine the special effects they want. Special effects editing items can be editable, allowing users to adjust the effects by changing their settings, enabling them to flexibly optimize the edited effects during the creation process. The first special effects editing item can be understood as at least one that can be used to display the image processing algorithm associated with it, or, in other words, at least one that can be used to indicate the image processing algorithm used when generating special effects data using the first special effects editing item. The main function of the first special effects editing item is to allow users to select and adjust the image processing algorithm. An image processing algorithm is a series of steps or rules for processing and analyzing digital images, aiming to extract information, improve image quality, or achieve specific image processing goals. In terms of type, image processing algorithms include, but are not limited to, image processing algorithms based on mathematical and statistical methods, and / or machine learning algorithms that learn image features based on training data, etc. Functionally, image processing algorithms may include, but are not limited to, one or more of the following algorithms: image segmentation algorithms, object recognition algorithms, object deformation algorithms, video rendering algorithms, and audio processing algorithms.
[0049] As an optional technical solution in this embodiment, the image processing algorithm corresponding to the first special effects editing item can be a preset, fixed image processing algorithm. That is, the algorithm configuration item is used to display the preset image processing algorithm corresponding to the first special effects editing item. Alternatively, the correspondence between the first special effects editing item and the image processing algorithm is preset and definite. Users can adjust the image processing algorithm by changing the first special effects editing item. Through the algorithm configuration item, users can clearly know what image processing algorithm is currently being used or about to be used, which helps users select a suitable image processing algorithm according to their needs to achieve the expected special effects. For example, displaying the first special effects editing item in the special effects editing interface may include: displaying preset editing item identifiers corresponding to multiple first special effects editing items; receiving an identifier trigger operation for the preset editing item identifier; determining the first special effects editing item to be displayed according to the identifier trigger operation; and displaying the first special effects editing item to be displayed in the special effects editing interface.
[0050] As another optional technical solution in this disclosure, the image processing algorithm corresponding to the first special effects editing item can also be user-configurable, that is, allowing users to select and adjust the image processing algorithm corresponding to the first special effects editing item. For example, after displaying the first special effects editing item in the special effects editing interface, the process may further include: receiving a parameter editing operation for the algorithm configuration item, and updating the image processing algorithm corresponding to the first special effects editing item according to the parameter editing operation. By adopting this technical solution, flexible settings for the image processing algorithm associated with the first special effects editing item can be achieved, making it applicable to various special effects processing scenarios, meeting users' differentiated special effects processing needs, saving development costs, and improving the flexibility of special effects editing.
[0051] The parameter editing operation for the algorithm configuration item may include setting which image processing algorithm to use and / or which data to use for the attribute values of at least one image processing parameter included in the image processing algorithm. For example, the parameter editing operation for the algorithm configuration item may include editing the attribute values of the image processing algorithm and / or the image processing parameters. The image processing parameters can be understood as the computational parameters used to execute the image processing algorithm. For example, the parameter editing operation for the algorithm configuration item may include, but is not limited to, at least one of the following operations: selecting the attribute values of the image processing algorithm and / or the image processing parameters; switching the attribute values of the image processing algorithm and / or the image processing parameters; adjusting the attribute values of the image processing parameters; and inputting the attribute values of the image processing algorithm and / or the image processing parameters. For example, the algorithm configuration item may include one or more interface elements such as drop-down menus, sliders, and input boxes, through which users can select algorithm types, configure specific algorithms, and adjust at least one operation such as the image processing parameters, thereby achieving fine control over the image processing effect.
[0052] As an optional implementation of this disclosure, the algorithm configuration item includes a first parameter editing item and a second parameter editing item. The first parameter editing item can be used to edit the target algorithm type corresponding to the image processing algorithm to be selected, and the second parameter editing item can be used to edit the specific image processing algorithm used under the target algorithm type. Based on this, receiving the parameter editing operation for the algorithm configuration item may specifically include: receiving a first editing operation for the first parameter editing item, determining a target algorithm type from preset algorithm types based on the first editing operation, and determining candidate special effects algorithms from preset special effects algorithms based on the target algorithm type; and receiving a second editing operation for the second parameter editing item, determining the image processing algorithm corresponding to the first special effects editing item from the candidate special effects algorithms based on the second parameter editing operation. In practical applications, there are often many image processing algorithms that can be used. Using this technical solution, image processing algorithms can be screened first by selecting the algorithm type, determining a certain type of image processing algorithm, and then determining the image processing algorithm within that algorithm type. That is, the image processing algorithm can be quickly located within a small range, improving the efficiency of setting the image processing algorithm and thus improving the efficiency of special effects editing.
[0053] The first editing operation on the first parameter editing item can be understood as an editing operation on the attribute value corresponding to the first parameter editing item, or, in other words, an editing operation on the algorithm type of the image processing algorithm. For example, receiving the first editing operation on the first parameter editing item, determining a target algorithm type from preset algorithm types based on the first editing operation, and determining candidate effect algorithms from preset effect algorithms based on the target algorithm type, may specifically include: receiving an editing trigger operation on the first parameter editing item, displaying preset type identifiers corresponding to multiple preset algorithm types; receiving a first trigger operation on the preset type identifier, determining a target algorithm type from preset algorithm types based on the first trigger operation, and determining candidate effect algorithms from preset effect algorithms based on the target algorithm type.
[0054] Receiving a second editing operation for the second parameter editing item can be understood as an editing operation for the attribute value corresponding to the second parameter editing item, or, in other words, an editing operation for an image processing algorithm of the target algorithm type edited by the first parameter editing item. Specifically, receiving a second editing operation for the second parameter editing item and determining the image processing algorithm corresponding to the first effect editing item from the candidate effect algorithms based on the second parameter editing operation may include: receiving a second parameter editing operation for the second parameter editing item and displaying a preset algorithm identifier corresponding to the candidate effect algorithm; and receiving a second parameter editing operation for the preset algorithm identifier and determining the image processing algorithm from the candidate effect algorithms based on the second parameter editing operation.
[0055] In this embodiment of the disclosure, the first special effects editing item displayed in the special effects editing interface allows for algorithm settings for image processing algorithms. This setting enables the visualization of the image processing algorithms used in the special effects editing scene and allows for more flexible application of these algorithms in special effects processing scenarios. It expands the application of existing image processing algorithm resources without incurring significant additional development costs.
[0056] S120. Determine the first image corresponding to the first special effects editing item, and execute the image processing algorithm corresponding to the algorithm configuration item on the first image to obtain media data corresponding to the first special effects editing item.
[0057] In this embodiment, media data includes, but is not limited to, at least one of image data, text data, audio data, video data, and animation data. The media data corresponding to the first special effects editing item can be understood as the result data obtained by executing the image processing logic corresponding to the first special effects editing item. It should be noted that the image processing logic corresponding to the first special effects editing item includes, but is not limited to, the algorithm processing logic of the image processing algorithm corresponding to the first special effects editing item. In other words, the image processing logic corresponding to the first special effects editing item may also include data processing logic other than the algorithm processing logic of the image processing algorithm, which may be the processing of the first image before applying the image processing algorithm and / or the reprocessing of the data obtained after processing the first image using the image processing algorithm. In this embodiment, it is necessary to determine the processing object of the image processing algorithm configured in the first special effects editing item, that is, to determine which image will be applied to the image processing algorithm specified by the first special effects editing item. That is, to determine the first image corresponding to the first special effects editing item. The first image can be understood as an image or video frame that needs to be processed by the image processing algorithm corresponding to the algorithm configuration item. Optionally, the first image corresponding to the first special effects editing item can be an image from a pre-set fixed source. For example, the first image corresponding to the first special effects editing item can be an image from one or more image sources, such as an image acquired by the shooting device, an image in a preset storage path, or an output image from the target image processing model. The first image corresponding to the first special effects editing item can also be a user-defined image, etc.
[0058] The media data corresponding to the first special effects editing item can be image data, that is, new image data obtained after the first image has been processed by an image processing algorithm, or feature parameters extracted from the first image, or descriptive data of the first image, etc.
[0059] Specifically, first, the image or video frame to be processed by the image processing algorithm corresponding to the algorithm configuration item is determined. Then, the image or video frame is processed by a specific image processing algorithm and parameters. Finally, the media data corresponding to the first special effects editing item is determined based on the algorithm processing result.
[0060] The technical solution of this disclosure embodiment achieves a visual presentation of the first special effects editing item by displaying it on the special effects editing interface. Since the first special effects editing item includes an algorithm configuration item, which is used to indicate the image processing algorithm configured for the first special effects editing item, compared with the setting method in related technologies where the image processing algorithm is not visible, the user can intuitively understand the image processing algorithm used during the special effects editing process. Moreover, the algorithm is presented as the first special effects editing item, which enables flexible settings for the first special effects editing item, rather than being limited to preset and fixed special effects options. This provides users with greater creative space and freedom, enriches the application of image processing algorithms in special effects editing scenarios, and makes special effects editing more diverse and personalized. Then, by determining the first image corresponding to the first special effects editing item, the image processing algorithm corresponding to the algorithm configuration item is executed on the first image to obtain media data corresponding to the first special effects editing item. This enables the image processing algorithm to process the first image into media data, solving the technical problems in related technologies where the operable information and special effects editing methods in special effects production scenarios are relatively limited, and the special effects effects presented in the produced special effects files are also relatively monotonous. It enriches the generation methods of special effects data, makes the special effects editing effects more diverse, better meets the differentiated special effects editing needs of users, and improves the user's special effects editing experience.
[0061] Figure 2 This is a flowchart illustrating another special effects processing method provided in this embodiment. Based on the above embodiments, the technical solution of this embodiment further refines the presentation and determination method of the first image. Optionally, the first special effects editing item further includes an image configuration item, which is used to indicate the first image associated with the first special effects editing item; the first image corresponding to the first special effects editing item includes: determining the first image corresponding to the first special effects editing item according to the image configuration item. For detailed implementation, please refer to the description of this embodiment. Technical features that are the same as or similar to those in the foregoing embodiments will not be repeated here.
[0062] like Figure 2 As shown, the method in this embodiment may specifically include:
[0063] S210. Display a first special effects editing item in the special effects editing interface; wherein, the first special effects editing item includes an algorithm configuration item and an image configuration item; the algorithm configuration item is used to indicate the image processing algorithm configured for the first special effects editing item; the image configuration item is used to indicate the first image associated with the first special effects editing item.
[0064] In this embodiment of the disclosure, the first image corresponding to the first special effects editing item can be a preset, fixed first image. That is, the image configuration item is used to display the preset first image corresponding to the first special effects editing item. In other words, the correspondence between the first special effects editing item and the first image is preset and definite. Through the "image configuration item," the user can clearly know what the first image currently in use or about to be used is, which helps the user select a suitable first image according to their needs to achieve the desired special effects.
[0065] As another optional technical solution in this disclosure, the first image corresponding to the first special effects editing item can also be user-configurable, that is, allowing users to select and adjust the first image corresponding to the first special effects editing item. For example, after displaying the first special effects editing item in the special effects editing interface, the method further includes: receiving an image editing operation for the image configuration item, and determining the first image corresponding to the first special effects editing item based on the image editing operation. By adopting this technical solution, flexible settings for the first image associated with the first special effects editing item can be achieved, making it applicable to various special effects processing scenarios, meeting users' differentiated special effects processing needs, saving development costs, and improving the flexibility of special effects editing.
[0066] Image editing operations for the image configuration items may include editing operations on the first image and / or the image rendering parameters corresponding to the first image. For example, image editing operations for the image configuration items may include, but are not limited to, at least one of the following operations: selecting the first image and / or image rendering parameters, switching the first image and / or image rendering parameters, adjusting the image rendering parameters, and inputting the first image and / or image rendering parameters. Exemplarily, the image configuration items may include one or more interface elements such as drop-down menus, preset interfaces, and upload controls. Users can use these elements to perform at least one operation such as selecting the first image, receiving the first image, and uploading the first image, thereby achieving fine control over special effects.
[0067] For example, receiving an image editing operation for the image configuration item and determining a first image corresponding to the first special effect editing item based on the image editing operation includes: receiving an image upload operation and adding the uploaded image data to a preset position in the special effect editing interface; receiving an image editing operation for the image configuration item and displaying an image identifier of the image data included in the preset position; receiving an identifier trigger operation for the image identifier and determining a first image corresponding to the first special effect editing item based on the identifier trigger operation and the image identifier. For example, the image data corresponding to the selected image identifier is determined as the first image corresponding to the first special effect editing item. It should be noted that the preset position may correspond to a target storage space, and the image data included in the preset position can be understood as the image data stored in the target storage space. Adding the uploaded image data to the preset position can specifically involve displaying the image identifier of the uploaded image data at the preset position in the special effect editing interface and storing the uploaded image data in the target storage space corresponding to the preset position. For example, the preset position in the special effects editing interface may be in the resource panel of the special effects editing interface, in the position of the first special effects editing item used to display the image attribute value corresponding to the image configuration item, or in the preview area of the special effects editing interface, etc.
[0068] S220. Determine the first image corresponding to the first special effects editing item according to the image configuration item, and execute the image processing algorithm corresponding to the algorithm configuration item on the first image to obtain media data corresponding to the first special effects editing item.
[0069] As can be seen from the foregoing, the image configuration item is used to indicate the first image associated with the first special effects editing item. Therefore, the first image corresponding to the first special effects editing item can be determined according to the image attribute values in the image configuration item (such as the associated image acquisition source or image identifier).
[0070] As an optional implementation of this disclosure, the special effects editing interface may display a second special effects editing item. The output data of the second special effects editing item may include image data. In this scenario, determining the first image corresponding to the first special effects editing item based on the image editing operation may specifically include: receiving an association establishment operation between the image configuration item of the first special effects editing item and the second special effects editing item, establishing an association relationship between the second image output by the second special effects editing item and the image configuration item of the first special effects editing item, so as to determine the second image output by the second special effects editing item as the first image corresponding to the first special effects editing item. By adopting this technical solution, by establishing an association relationship between the second image output by the second special effects editing item and the image configuration item of the first special effects editing item, the first image corresponding to the first special effects editing item can be set as the second image output by the second special effects editing item. This enriches the setting methods for the image to be processed corresponding to the first special effects editing item, and also realizes data interoperability between multiple special effects editing items, enriching the special effects editing methods and helping to further improve the special effects editing effect.
[0071] In some embodiments of this disclosure, receiving an association establishment operation for the image configuration item of the first special effects editing item and the second special effects editing item, and establishing an association relationship between the second image output by the second special effects editing item and the image configuration item of the first special effects editing item, includes: receiving a setting trigger operation for the image configuration item of the first special effects editing item, displaying a preset editing item identifier for a candidate special effects editing item corresponding to the image configuration item; receiving an identifier trigger operation for the preset editing item identifier, determining the second special effects editing item from the candidate special effects editing items according to the identifier trigger operation and the preset editing item identifier, and establishing an association relationship between the second image output by the second special effects editing item and the image configuration item of the first special effects editing item. Wherein, the candidate special effects editing item is a special effects editing item whose output data includes image data.
[0072] In some other embodiments of this disclosure, the image configuration item of the first special effects editing item may include a first connection port, and the second special effects editing item may include a second connection port for outputting image data. Based on this, receiving an association establishment operation for the image configuration item of the first special effects editing item and the second special effects editing item includes: receiving a port connection operation for the first connection port of the image configuration item of the first special effects editing item and the second connection port of the second special effects editing item. For example, this could be an operation of drawing a connection line from the first connection port of the image configuration item of the first special effects editing item to the second connection port of the second special effects editing item; or, after selecting the first connection port of the image configuration item of the first special effects editing item and selecting the second connection port of the second special effects editing item, a preset connection control or a preset connection operation (e.g., a double-click operation) is triggered, etc.
[0073] The technical solution of this disclosure embodiment, by displaying an image configuration item in the first special effects editing item to indicate the first image associated with the first special effects editing item, and determining the first image corresponding to the first special effects editing item according to the image configuration item, realizes an intuitive presentation of the first image processed by the image processing algorithm, enriches the presentation information of the first special effects editing item, and enables users to conveniently and quickly understand the image processing algorithm of the first special effects editing item and the image to be processed during the special effects editing process, so as to effectively distinguish and accurately apply the special effects processing information of the first special effects editing item, thereby reducing errors in special effects editing, improving the convenience of special effects editing operations, and improving the efficiency of special effects editing.
[0074] Figure 3 This is a flowchart illustrating another special effects processing method provided in this embodiment. Based on the above embodiments, the technical solution of this embodiment further refines the method for determining the generation quality of special effects data. Optionally, the first special effects editing item further includes an effect configuration item, which is used to indicate the expected quality of the media data corresponding to the first special effects editing item; the step of executing the image processing algorithm corresponding to the algorithm configuration item on the first image to obtain the media data corresponding to the first special effects editing item includes: determining image processing parameters and image processing logic corresponding to the image processing algorithm according to the effect configuration item, and processing the first image according to the image processing algorithm and the image processing parameters to obtain media data of the expected quality corresponding to the first special effects editing item. For detailed implementation, please refer to the description of this embodiment. Technical features that are the same as or similar to those in the foregoing embodiments will not be repeated here.
[0075] like Figure 3 As shown, the method in this embodiment may specifically include:
[0076] S310. Display a first special effects editing item in the special effects editing interface; wherein, the first special effects editing item includes an algorithm configuration item and an effect configuration item; the algorithm configuration item is used to indicate the image processing algorithm configured for the first special effects editing item; the effect configuration item is used to indicate the expected quality of the media data corresponding to the first special effects editing item.
[0077] The expected quality of the media data corresponding to the first special effects editing item can be understood as a parameter used to measure the quality of the media data's presentation. Specifically, the expected quality of the media data corresponding to the first special effects editing item can be used to adjust or determine the image processing parameters and / or image processing logic of the image processing algorithm corresponding to the first special effects editing item (indicated by the algorithm configuration item).
[0078] In this embodiment of the disclosure, the expected quality of the media data corresponding to the first special effect editing item can be a preset, fixed image processing algorithm. That is, the effect configuration item is at least used to display the expected quality of the media data corresponding to the first special effect editing item. Alternatively, the correspondence between the first special effect editing item and the expected quality of its corresponding media data is preset and definite. That is, the parameters and execution logic of the image processing algorithm are fixed, and the quality data presented by its execution result is also relatively fixed. Users can adjust the expected quality of the media data corresponding to the first special effect editing item by changing it. Through the effect configuration item, users can clearly know the quality data presented by the media data corresponding to the first special effect editing item, which helps users choose appropriate special effects according to their needs. For example, displaying the first special effect editing item in the special effect editing interface may include: displaying preset editing item identifiers corresponding to multiple first special effect editing items; receiving an identifier trigger operation for the preset editing item identifier; determining the first special effect editing item to be displayed according to the identifier trigger operation; and displaying the first special effect editing item to be displayed in the special effect editing interface. Furthermore, displaying preset editing item identifiers corresponding to multiple first special effects editing items may include: receiving a search request for a first special effects editing item, wherein the search request carries quality data; determining multiple first special effects editing items to be displayed based on the quality data carried in the search request and the effect attribute values corresponding to the effect configuration items of the first special effects editing items, and displaying preset editing item identifiers corresponding to the multiple first special effects editing items to be displayed. Using this technical solution, the first special effects editing items capable of handling the expected quality can be located more quickly and accurately, improving the efficiency of special effects editing.
[0079] As another optional technical solution in this disclosure, the expected quality of the media data corresponding to the first special effects editing item can also be configured by the user, that is, the user can select and adjust the expected quality of the media data corresponding to the first special effects editing item. For example, after displaying the first special effects editing item in the special effects editing interface, the method further includes: receiving an effect editing operation for the effect configuration item, and determining the expected quality of the media data corresponding to the first special effects editing item based on the effect editing operation. By adopting this technical solution, the expected quality of the media data corresponding to the first special effects editing item can be flexibly set, which is applicable to various special effects processing scenarios, meets the differentiated special effects processing needs of users, saves development costs, and improves the flexibility of special effects editing.
[0080] For example, the parameter editing operations for the effect configuration item may include, but are not limited to, at least one of the following operations: selecting the expected quality, switching the expected quality, adjusting the expected quality, and inputting the expected quality. For example, the effect configuration item may include one or more interface elements such as drop-down menus, sliders, and input boxes, allowing users to perform at least one operation such as selecting, configuring, and adjusting the expected quality through these elements, thereby achieving fine control over the special effects.
[0081] In one embodiment of this disclosure, a quality level can be preset for the first special effects editing item. Further, receiving an effect editing operation for the effect configuration item may include: receiving a parameter trigger operation for the effect configuration item, displaying a level identifier of the preset quality level corresponding to the first special effects editing item; receiving an identifier trigger operation for the level identifier, and determining a target quality level, i.e., the expected quality of the media data corresponding to the first special effects editing item, based on the identifier trigger operation and the preset quality level.
[0082] S320. Determine the first image corresponding to the first special effects editing item, determine the image processing parameters and image processing logic corresponding to the image processing algorithm according to the effect configuration item, and process the first image according to the image processing algorithm and the image processing parameters to obtain media data of expected quality corresponding to the first special effects editing item.
[0083] As previously stated, the effect configuration item is used to indicate the expected quality of the media data corresponding to the first special effect editing item. In the disclosed embodiment, the image processing parameters and image processing logic corresponding to the image processing algorithm can be determined based on the effect attribute value of the effect configuration item, that is, the attribute value used to characterize the expected quality of the media data corresponding to the first special effect editing item. The image processing parameters can be understood as a series of values or options used to adjust and control the specific performance of the special effect. Specifically, the image processing parameters can be understood as one or more adjustable parameters involved in the image processing logic, such as size and preset adjustment coefficients. The image processing logic can be understood as whether and in what order multiple special effect processing operations are executed when the image processing algorithm is executed. For example, which branch of logic in the image processing algorithm is used.
[0084] As an optional implementation of this disclosure, a correspondence between the effect attribute values of the effect configuration item and the image processing parameters and / or image processing logic is preset, and then the image processing parameters and image processing logic corresponding to the image processing algorithm are determined according to the effect attribute values of the effect configuration item and the correspondence.
[0085] As another optional implementation of this disclosure, a pre-defined correspondence is established between one effect attribute value of the effect configuration item and image processing parameters and / or image processing logic, and other effect attribute values are adjusted based on known effect attribute values of image processing parameters and / or image processing logic. Furthermore, based on the effect attribute value of the effect configuration item and the predefined effect attribute value and its corresponding image processing parameters and / or image processing logic, the image processing parameters and image processing logic corresponding to the image processing algorithm are determined. Specifically, when the effect attribute value of the effect configuration item matches the predefined effect attribute value, the predefined effect attribute value and its corresponding image processing parameters and / or image processing logic are determined as the image processing parameters and image processing logic corresponding to the image processing algorithm. When the effect attribute value of the effect configuration item does not match the predefined effect attribute value, the image processing parameters and / or image processing logic corresponding to the predefined effect attribute value are adjusted according to a preset adjustment method between the effect attribute value of the effect configuration item and the predefined effect attribute value to obtain the image processing parameters and image processing logic corresponding to the image processing algorithm.
[0086] The technical solution of this disclosure, by displaying an effect configuration item in the first special effects editing item to indicate the expected quality of the media data corresponding to the first special effects editing item, can support an intuitive presentation of the generated quality of the media data, so that users can intuitively understand the quality data of the generated media data. By determining the image processing parameters and image processing logic corresponding to the image processing algorithm according to the effect configuration item, and processing the first image according to the image processing algorithm and the image processing parameters to obtain media data of the expected quality corresponding to the first special effects editing item, the quality of the generated media data can meet expectations, achieving more refined control over the special effects presented by the media data, adapting to the differentiated needs of users for special effects production, and improving the special effects editing experience.
[0087] Figure 4 This is a schematic diagram of the structure of a special effects processing device provided in an embodiment of the present disclosure, as shown below. Figure 4 As shown, the special effects processing device includes: a special effects editing interface display module 410 and a media data generation module 420. The special effects editing interface display module 410 is used to display a first special effects editing item on the special effects editing interface, wherein the first special effects editing item includes an algorithm configuration item, which indicates an image processing algorithm configured for the first special effects editing item; the media data generation module 420 is used to determine a first image corresponding to the first special effects editing item, and execute the image processing algorithm corresponding to the algorithm configuration item on the first image to obtain media data corresponding to the first special effects editing item.
[0088] The technical solution of this embodiment displays a first special effects editing item on the special effects editing interface through a special effects editing interface display module, thereby realizing the visual presentation of the first special effects editing item. Since the first special effects editing item includes an algorithm configuration item, which is used to indicate the image processing algorithm configured for the first special effects editing item, compared with the setting method of not being able to see the image processing algorithm in related technologies, the user can intuitively understand the image processing algorithm used during the special effects editing process, and it is presented as the first special effects editing item, which can realize the flexible setting of the first special effects editing item, and is not limited to preset, fixed special effects options. This provides users with greater creative space and freedom, enriches the application of image processing algorithms in special effects editing scenarios, and makes special effects editing more diverse and personalized. Then, the media data generation module determines the first image corresponding to the first special effects editing item, executes the image processing algorithm corresponding to the algorithm configuration item on the first image, and obtains the media data corresponding to the first special effects editing item. This can process the first image into media data through the image processing algorithm, solving the technical problems in related technologies where the operable information and special effects editing methods in special effects production scenarios are relatively limited, and the special effects files produced are also relatively monotonous. It enriches the generation methods of special effects data, makes the special effects editing effects more diverse, better meets the differentiated special effects editing needs of users, and improves the user's special effects editing experience.
[0089] Optionally, based on any of the optional technical solutions in the embodiments of this disclosure, the special effects processing device further includes an image processing algorithm editing module. The image processing algorithm editing module is configured to, after the first special effects editing item is displayed on the special effects editing interface, receive parameter editing operations for the algorithm configuration item, and update the image processing algorithm corresponding to the first special effects editing item according to the parameter editing operations.
[0090] Based on any optional technical solution in the embodiments of this disclosure, optionally, the algorithm configuration item includes a first parameter editing item and a second parameter editing item; the image processing algorithm editing module includes a first algorithm editing unit and a second algorithm editing unit. The first algorithm editing unit is configured to receive a first editing operation on the first parameter editing item, determine a target algorithm type from preset algorithm types based on the first editing operation, and determine candidate special effects algorithms from preset special effects algorithms based on the target algorithm type; and the second algorithm editing unit is configured to receive a second editing operation on the second parameter editing item, and determine an image processing algorithm corresponding to the first special effects editing item from the candidate special effects algorithms based on the second parameter editing operation.
[0091] Based on any optional technical solution in the embodiments of this disclosure, the first special effects editing item may optionally include an image configuration item, which is used to indicate a first image associated with the first special effects editing item; the media data generation module is specifically used to: determine the first image corresponding to the first special effects editing item according to the image configuration item.
[0092] Optionally, based on any of the optional technical solutions in the embodiments of this disclosure, the special effects processing device further includes a first image editing module. The first image editing module is configured to, after the first special effects editing item is displayed on the special effects editing interface, receive an image editing operation for the image configuration item, and determine a first image corresponding to the first special effects editing item based on the image editing operation.
[0093] Based on any optional technical solution in the embodiments of this disclosure, optionally, the special effects editing interface displays a second special effects editing item; the output data of the second special effects editing item includes image data. Further, the media data generation module 420 is specifically configured to: receive an association establishment operation for the image configuration item of the first special effects editing item and the second special effects editing item, establish an association relationship between the second image output by the second special effects editing item and the image configuration item of the first special effects editing item, so as to determine the image data output by the second special effects editing item as the first image corresponding to the first special effects editing item.
[0094] Optionally, based on any of the optional technical solutions in the embodiments of this disclosure, the special effects editing interface includes a layer editing area. Further, the special effects editing interface display module 410 is configured to, in response to an interface access request for the special effects editing interface, display the special effects editing interface including the layer editing area, and display the first special effects editing item in the layer editing area.
[0095] Optionally, based on any optional technical solution in the embodiments of this disclosure, the special effects editing interface includes a visual programming area. Further, the special effects processing device also includes a special effects editing linkage display module. The special effects editing linkage display module is used to display the first special effects editing item as a graphical programming node in the visual programming area after the first special effects editing item is displayed in the layer editing area; wherein the graphical programming node corresponding to the first special effects editing item displays the editable parameters corresponding to the first special effects editing item.
[0096] Based on any optional technical solution in the embodiments of this disclosure, the special effects editing interface display module 410 optionally includes a visual programming area display unit and a first special effects editing item display unit. The visual programming area display unit is used to display the special effects editing interface, which includes a visual programming area; the first special effects editing item display unit is used to display the first special effects editing item in the visual programming area as a graphical programming node in response to a target node addition operation input in the visual programming area.
[0097] Based on any optional technical solution in the embodiments of this disclosure, optionally, the first special effects editing item further includes an effect configuration item, the effect configuration item being used to indicate the expected quality of the media data corresponding to the first special effects editing item. Further, the media data generation module 420 is specifically used to determine the image processing parameters and image processing logic corresponding to the image processing algorithm according to the effect configuration item, and to process the first image according to the image processing algorithm and the image processing parameters to obtain media data of the expected quality corresponding to the first special effects editing item.
[0098] Optionally, based on any of the optional technical solutions in the embodiments of this disclosure, the special effects processing device further includes a special effects data generation quality editing module. The special effects data generation quality editing module is configured to, after the first special effects editing item is displayed on the special effects editing interface, receive an effect editing operation for the effect configuration item, and determine the expected quality of the media data corresponding to the first special effects editing item based on the effect editing operation.
[0099] The special effects processing apparatus provided in this disclosure can execute the special effects processing method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects for executing the special effects processing method.
[0100] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the protection scope of the embodiments of this disclosure.
[0101] The following is for reference. Figure 5The diagram illustrates a structural schematic of an electronic device (e.g., a terminal device or a server) 500 suitable for implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 5 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[0102] like Figure 5 As shown, the electronic device 500 may include a processing unit (e.g., a central processing unit, a graphics processor, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. The RAM 503 also stores various programs and data required for the operation of the electronic device 500. The processing unit 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0103] Typically, the following devices can be connected to I / O interface 505: input devices 506 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 507 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 508 including, for example, magnetic tapes, hard disks, etc.; and communication devices 509. Communication device 509 allows electronic device 500 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 5 An electronic device 500 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0104] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, it performs the functions defined in the methods of embodiments of this disclosure.
[0105] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0106] The electronic device provided in this disclosure and the special effects processing method provided in the above embodiments belong to the same inventive concept. Technical details not described in detail in this disclosure can be found in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.
[0107] This disclosure provides a computer storage medium storing a computer program that, when executed by a processor, implements the special effects processing method provided in the above embodiments.
[0108] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, 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 thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0109] According to one or more embodiments of this disclosure, [Example 1] provides a special effects processing method, including: displaying a first special effects editing item in a special effects editing interface; wherein the first special effects editing item includes an algorithm configuration item; the algorithm configuration item is used to indicate an image processing algorithm configured for the first special effects editing item; determining a first image corresponding to the first special effects editing item, and executing the image processing algorithm corresponding to the algorithm configuration item on the first image to obtain media data corresponding to the first special effects editing item.
[0110] According to one or more embodiments of this disclosure, [Example 2] provides the method of Example 1, which further includes: optionally, after the first special effect editing item is displayed on the special effect editing interface, the method further includes: receiving a parameter editing operation for the algorithm configuration item, and updating the image processing algorithm corresponding to the first special effect editing item according to the parameter editing operation.
[0111] According to one or more embodiments of this disclosure, Example 3 provides the method of Example 2, further comprising: optionally, the algorithm configuration item includes a first parameter editing item and a second parameter editing item; the step of receiving a parameter editing operation for the algorithm configuration item includes: receiving a first editing operation for the first parameter editing item, determining a target algorithm type from preset algorithm types based on the first editing operation, and determining a candidate special effect algorithm from preset special effect algorithms based on the target algorithm type; and receiving a second editing operation for the second parameter editing item, determining an image processing algorithm corresponding to the first special effect editing item from the candidate special effect algorithms based on the second parameter editing operation.
[0112] According to one or more embodiments of this disclosure, Example 4 provides the method of Example 1, which further includes: optionally, the first special effects editing item further includes an image configuration item, the image configuration item being used to indicate a first image associated with the first special effects editing item; determining the first image corresponding to the first special effects editing item includes: determining the first image corresponding to the first special effects editing item according to the image configuration item.
[0113] According to one or more embodiments of this disclosure, Example 5 provides the method of Example 4, which further includes: optionally, after the first special effects editing item is displayed in the special effects editing interface, the method further includes: receiving an image editing operation for the image configuration item, and determining a first image corresponding to the first special effects editing item based on the image editing operation.
[0114] According to one or more embodiments of this disclosure, Example Six provides the method of Example Five, which further includes: optionally, a second special effects editing item is displayed in the special effects editing interface; the output data of the second special effects editing item includes image data; the step of determining the first image corresponding to the first special effects editing item according to the image editing operation includes: receiving an association establishment operation for the image configuration item of the first special effects editing item and the second special effects editing item, establishing an association relationship between the second image output by the second special effects editing item and the image configuration item of the first special effects editing item, so as to determine the image data output by the second special effects editing item as the first image corresponding to the first special effects editing item.
[0115] According to one or more embodiments of this disclosure, [Example Seven] provides the method of Example One, further comprising: optionally, the special effects editing interface includes a layer editing area; displaying the first special effects editing item in the special effects editing interface includes:
[0116] In response to an interface access request for the special effects editing interface, the special effects editing interface, including the layer editing area, is displayed, and the first special effects editing item is displayed in the layer editing area.
[0117] According to one or more embodiments of this disclosure, Example 8 provides the method of Example 7, which further includes: optionally, the special effects editing interface includes a visual programming area; after displaying the first special effects editing item in the layer editing area, it further includes: displaying the first special effects editing item in the visual programming area in the form of a graphical programming node; wherein, the graphical programming node corresponding to the first special effects editing item displays the editable parameters corresponding to the first special effects editing item.
[0118] According to one or more embodiments of this disclosure, Example Nine provides the method of Example One, which further includes: optionally, displaying the first special effects editing item in the special effects editing interface includes: displaying the special effects editing interface; wherein the special effects editing interface includes a visual programming area; in response to a target node addition operation input in the visual programming area, displaying the first special effects editing item in the form of a graphical programming node in the visual programming area.
[0119] According to one or more embodiments of this disclosure, Example 10 provides a method of Example 1, further comprising: optionally, the first special effects editing item further comprising an effect configuration item, the effect configuration item being used to indicate the expected quality of media data corresponding to the first special effects editing item; the step of performing the image processing algorithm corresponding to the algorithm configuration item on the first image to obtain media data corresponding to the first special effects editing item comprises: determining image processing parameters and image processing logic corresponding to the image processing algorithm according to the effect configuration item, and processing the first image according to the image processing algorithm and the image processing parameters to obtain media data of the expected quality corresponding to the first special effects editing item.
[0120] According to one or more embodiments of this disclosure, Example 11 provides the method of Example 10, which further includes: optionally, after displaying the first special effects editing item in the special effects editing interface, the method further includes: receiving an effect editing operation for the effect configuration item, and determining the expected quality of the media data corresponding to the first special effects editing item based on the effect editing operation.
[0121] According to one or more embodiments of this disclosure, [Example Twelve] provides a special effects processing apparatus, including: a special effects editing interface display module, used to display a first special effects editing item on the special effects editing interface; wherein the first special effects editing item includes an algorithm configuration item; the algorithm configuration item is used to indicate an image processing algorithm configured for the first special effects editing item; and a media data generation module, used to determine a first image corresponding to the first special effects editing item, execute the image processing algorithm corresponding to the algorithm configuration item on the first image, and obtain media data corresponding to the first special effects editing item.
[0122] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0123] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0124] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to: display a first special effects editing item on a special effects editing interface; wherein the first special effects editing item includes an algorithm configuration item; the algorithm configuration item is used to indicate an image processing algorithm configured for the first special effects editing item; determine a first image corresponding to the first special effects editing item, execute the image processing algorithm corresponding to the algorithm configuration item on the first image, and obtain media data corresponding to the first special effects editing item.
[0125] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including but not limited to object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0126] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0127] The units described in the embodiments of this disclosure can be implemented in software or in hardware. The names of the units are not necessarily limiting in certain circumstances; for example, the first algorithm editing unit can also be described as a "unit for editing algorithm types".
[0128] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0129] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, 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 devices, magnetic storage devices, or any suitable combination of the foregoing.
[0130] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0131] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0132] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A method of special effects processing, characterized by, include: The first special effects editing item is displayed in the special effects editing interface; wherein, the first special effects editing item includes an algorithm configuration item; the algorithm configuration item is used to indicate the image processing algorithm configured for the first special effects editing item; A first image corresponding to the first special effects editing item is determined, and the image processing algorithm corresponding to the algorithm configuration item is executed on the first image to obtain media data corresponding to the first special effects editing item.
2. The special effect processing method according to claim 1, wherein After the first special effects editing item is displayed in the special effects editing interface, the following is also included: Receive parameter editing operations for the algorithm configuration item, and update the image processing algorithm corresponding to the first special effect editing item according to the parameter editing operations.
3. The special effect processing method according to claim 2, wherein The algorithm configuration items include a first parameter editing item and a second parameter editing item; receiving parameter editing operations for the algorithm configuration items includes: Receive a first edit operation on the first parameter edit item, determine a target algorithm type from preset algorithm types based on the first edit operation, and determine candidate special effects algorithms from preset special effects algorithms based on the target algorithm type; and, Receive a second editing operation for the second parameter editing item, and determine an image processing algorithm corresponding to the first effect editing item from the candidate effect algorithms based on the second parameter editing operation.
4. The special effect processing method according to claim 1, wherein The first special effects editing item also includes an image configuration item, which is used to indicate a first image associated with the first special effects editing item; The determination of the first image corresponding to the first special effects editing item includes: The first image corresponding to the first special effects editing item is determined based on the image configuration item.
5. The special effect processing method according to claim 4, wherein After the first special effects editing item is displayed in the special effects editing interface, the following is also included: Receive an image editing operation for the image configuration item, and determine a first image corresponding to the first special effect editing item based on the image editing operation.
6. The special effect processing method according to claim 5, wherein The special effects editing interface displays a second special effects editing item; the output data of the second special effects editing item includes image data; determining the first image corresponding to the first special effects editing item based on the image editing operation includes: Receive an association establishment operation for the image configuration item of the first special effect editing item and the second special effect editing item, establish an association relationship between the second image output by the second special effect editing item and the image configuration item of the first special effect editing item, so as to determine the image data output by the second special effect editing item as the first image corresponding to the first special effect editing item.
7. The special effect processing method according to claim 1, wherein The special effects editing interface includes a layer editing area; displaying the first special effects editing item in the special effects editing interface includes: In response to an interface access request for the special effects editing interface, the special effects editing interface, including the layer editing area, is displayed, and the first special effects editing item is displayed in the layer editing area.
8. The special effect processing method according to claim 7, wherein The special effects editing interface includes a visual programming area; After displaying the first special effects editing item in the layer editing area, the method further includes: The first special effect editing item is displayed in the visual programming area in the form of a graphical programming node; wherein, the graphical programming node corresponding to the first special effect editing item displays the editable parameters corresponding to the first special effect editing item.
9. The special effect processing method according to claim 1, wherein The first special effects editing item displayed in the special effects editing interface includes: The special effects editing interface is displayed; wherein, the special effects editing interface includes a visual programming area; In response to a target node addition operation entered in the visual programming area, the first effect editing item is displayed in the visual programming area as a graphical programming node.
10. The special effect processing method according to claim 1, wherein The first special effects editing item also includes an effect configuration item, which indicates the expected quality of the media data corresponding to the first special effects editing item; the step of performing the image processing algorithm corresponding to the algorithm configuration item on the first image to obtain the media data corresponding to the first special effects editing item includes: Based on the effect configuration item, determine the image processing parameters and image processing logic corresponding to the image processing algorithm, and process the first image according to the image processing algorithm and the image processing parameters to obtain media data of the expected quality corresponding to the first special effect editing item.
11. The special effect processing method according to claim 10, wherein After the first special effects editing item is displayed in the special effects editing interface, the following is also included: Receive effect editing operations for the effect configuration item, and determine the expected quality of the media data corresponding to the first special effect editing item based on the effect editing operations.
12. A special effect processing apparatus characterized by comprising: include: A special effects editing interface display module is used to display a first special effects editing item in the special effects editing interface; wherein, the first special effects editing item includes an algorithm configuration item; the algorithm configuration item is used to indicate the image processing algorithm configured for the first special effects editing item; The media data generation module is used to determine the first image corresponding to the first special effects editing item, execute the image processing algorithm corresponding to the algorithm configuration item on the first image, and obtain media data corresponding to the first special effects editing item.
13. An electronic device, comprising: The electronic device includes: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the special effects processing method as described in any one of claims 1-11.
14. A storage medium containing computer-executable instructions, wherein: The computer-executable instructions, when executed by a computer processor, are used to perform the special effects processing method as described in any one of claims 1-11.
15. A computer program product comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the special effects processing method as described in any one of claims 1-11.