WO2019237982A1 - Sticker setting method and apparatus - Google Patents

Sticker setting method and apparatus Download PDF

Info

Publication number
WO2019237982A1
WO2019237982A1 PCT/CN2019/090199 CN2019090199W WO2019237982A1 WO 2019237982 A1 WO2019237982 A1 WO 2019237982A1 CN 2019090199 W CN2019090199 W CN 2019090199W WO 2019237982 A1 WO2019237982 A1 WO 2019237982A1
Authority
WO
WIPO (PCT)
Prior art keywords
sticker
preview window
background
texture
display area
Prior art date
Application number
PCT/CN2019/090199
Other languages
French (fr)
Chinese (zh)
Inventor
黄旭
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2019237982A1 publication Critical patent/WO2019237982A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Abstract

Disclosed are a sticker setting method and apparatus, the method comprising: determining the quantity and the shape of preview windows to generate a first sticker setting interface; performing a background sticker setting operation on each preview window to generate a second sticker setting interface, the background sticker setting operation being used for setting a background sticker for an image of each preview window; performing a foreground sticker setting operation on the second sticker setting interface to generate a third sticker setting interface, the foreground sticker setting operation being used for setting a foreground sticker for the second sticker setting interface; upon detecting a photographing instruction, capturing display content of the third sticker setting interface to obtain a sticker photo. Also disclosed is a corresponding sticker setting apparatus. The embodiments of the present application facilitates the implementation of synchronous and quick setting of stickers for at least one selected preview window, and can make photography using an electronic device more interesting and diversified.

Description

贴纸设置方法及装置Method and device for setting stickers
本发明要求2018年6月15日递交的发明名称为“贴纸设置方法及装置”的申请号201810622816.6的在先申请优先权,上述在先申请的内容以引入的方式并入本文本中。The present invention claims the priority of the prior application with application number 201810622816.6 with the invention name “sticker setting method and device” submitted on June 15, 2018, and the content of the above prior application is incorporated into this text by way of introduction.
技术领域Technical field
本申请涉及电子设备技术领域,具体涉及一种贴纸设置方法及装置。The present application relates to the technical field of electronic equipment, and in particular, to a method and device for setting stickers.
背景技术Background technique
随着智能电子设备(如智能手机等)技术的迅速发展,以及越来越普及,现已成为用户日常生活中不可缺少的电子产品。智能手机上安装的美图类应用一般支持针对图片进行编辑,如设置贴纸等功能。With the rapid development of smart electronic equipment (such as smart phones, etc.) technology and its increasing popularity, it has become an indispensable electronic product in users' daily lives. The beautiful picture application installed on the smart phone generally supports functions such as editing pictures, such as setting stickers.
发明内容Summary of the Invention
本发明实施例提供了一种贴纸设置方法及装置,有利于实现一种针对选择的至少一个预览视窗的贴纸的同步、快捷设置,提升电子设备拍照的趣味性和多样性。The embodiments of the present invention provide a sticker setting method and device, which is beneficial to achieve a synchronous and quick setting of stickers for at least one preview window selected, and enhance the fun and diversity of taking pictures by electronic devices.
第一方面,本发明实施例提供了一种贴纸设置方法,包括:In a first aspect, an embodiment of the present invention provides a sticker setting method, including:
确定预览视窗的数量和形状,以生成第一贴纸设置界面;Determine the number and shape of the preview windows to generate the first sticker setting interface;
针对每个预览视窗执行后景贴纸设置操作,以生成第二贴纸设置界面,所述后景贴纸设置操作用于针对每个预览视窗的影像设置后景贴纸,所述后景贴纸为针对预览视窗中的影像进行装饰的虚拟装饰物;Perform a background sticker setting operation for each preview window to generate a second sticker setting interface. The background sticker setting operation is used to set a background sticker for each preview window image, and the background sticker is for the preview window. Virtual decoration with images in the decoration;
针对所述第二贴纸设置界面执行前景贴纸设置操作,以生成第三贴纸设置界面,所述前景贴纸设置操作用于针对所述第二贴纸设置界面设置前景贴纸,所述前景贴纸为针对所述第二贴纸设置界面进行装饰的虚拟装饰物;A foreground sticker setting operation is performed on the second sticker setting interface to generate a third sticker setting interface. The foreground sticker setting operation is used to set a foreground sticker for the second sticker setting interface, and the foreground sticker is for the second sticker setting interface. A virtual decoration for decoration on the second sticker setting interface;
在检测到拍照指令时,捕捉所述第三贴纸设置界面的显示内容,得到贴纸照片。When a photographing instruction is detected, the display content of the third sticker setting interface is captured to obtain a sticker photo.
第二方面,本发明实施例提供了一种贴纸设置装置,包括:In a second aspect, an embodiment of the present invention provides a sticker setting device, including:
确定单元,用于确定预览视窗的数量和形状,以生成第一贴纸设置界面;A determining unit for determining the number and shape of the preview windows to generate a first sticker setting interface;
设置单元,用于针对每个预览视窗执行后景贴纸设置操作,以生成第二贴纸设置界面,所述后景贴纸设置操作用于针对每个预览视窗的影像设置后景贴纸,所述后景贴纸为针对预览视窗中的影像进行装饰的虚拟装饰物;A setting unit, configured to perform a background sticker setting operation for each preview window to generate a second sticker setting interface, the background sticker setting operation is used to set a background sticker for each preview window image, and the background Stickers are virtual decorations that decorate images in the preview window;
所述设置单元,还用于针对所述第二贴纸设置界面执行前景贴纸设置操作,以生成第三贴纸设置界面,所述前景贴纸设置操作用于针对所述第二贴纸设置界面设置前景贴纸,所述前景贴纸为针对所述第二贴纸设置界面进行装饰的虚拟装饰物;The setting unit is further configured to perform a foreground sticker setting operation on the second sticker setting interface to generate a third sticker setting interface, and the foreground sticker setting operation is used to set a foreground sticker on the second sticker setting interface. The foreground sticker is a virtual decoration object decorated for the second sticker setting interface;
捕捉单元,用于在检测到拍照指令时,捕捉所述第三贴纸设置界面的显示内容,得到贴纸照片。The capturing unit is configured to capture a display content of the third sticker setting interface when a photographing instruction is detected to obtain a sticker photo.
第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。According to a third aspect, an embodiment of the present application provides an electronic device including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by the foregoing. The program executes, and the program includes instructions for executing steps in any method in the first aspect of the embodiments of the present application.
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。According to a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute a computer program as described in the first embodiment of the present application. Some or all of the steps described in any method in one aspect.
第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行 如本申请实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute the implementation of the present application. Example Some or all of the steps described in any of the methods of the first aspect. The computer program product may be a software installation package.
可以看出,本申请实施例提供的贴纸设置方法,电子设备确定预览视窗的数量和形状,以生成第一贴纸设置界面,然后针对每个预览视窗执行后景贴纸设置操作,以生成第二贴纸设置界面,所述后景贴纸设置操作用于针对每个预览视窗的影像设置后景贴纸,所述后景贴纸为针对预览视窗中的影像进行装饰的虚拟装饰物,进而针对所述第二贴纸设置界面执行前景贴纸设置操作,以生成第三贴纸设置界面,所述前景贴纸设置操作用于针对所述第二贴纸设置界面设置前景贴纸,所述前景贴纸为针对所述第二贴纸设置界面进行装饰的虚拟装饰物,在检测到拍照指令时,捕捉所述第三贴纸设置界面的显示内容,得到贴纸照片。可见,电子设备能够实现一种针对选择的至少一个预览视窗的贴纸的同步、快捷设置,从而得到包括至少一个预览视窗的贴纸照片,提升了电子设备拍照的趣味性和多样性。It can be seen that in the sticker setting method provided in the embodiment of the present application, the electronic device determines the number and shape of preview windows to generate a first sticker setting interface, and then performs a background sticker setting operation for each preview window to generate a second sticker. A setting interface, wherein the background sticker setting operation is used to set a background sticker for each image of the preview window, and the background sticker is a virtual decoration for decorating the image in the preview window, and then for the second sticker The setting interface performs a foreground sticker setting operation to generate a third sticker setting interface. The foreground sticker setting operation is used to set a foreground sticker for the second sticker setting interface, and the foreground sticker is performed for the second sticker setting interface. The decorated virtual ornament captures the display content of the third sticker setting interface when a photographing instruction is detected to obtain a sticker photo. It can be seen that the electronic device can implement a synchronization and quick setting of the stickers for the selected at least one preview window, so as to obtain a sticker photo including at least one preview window, which enhances the fun and diversity of taking pictures by the electronic device.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present application more clearly, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. Those of ordinary skill in the art can obtain other drawings according to these drawings without paying creative labor.
图1-1是一种智能手机的程序运行空间的示意图;Figure 1-1 is a schematic diagram of a program running space of a smart phone;
图1-2是一种安卓系统的系统架构图;Figure 1-2 is a system architecture diagram of an Android system;
图2是本申请实施例公开的一种贴纸设置方法的流程示意图;2 is a schematic flowchart of a sticker setting method disclosed in an embodiment of the present application;
图2-1是本申请实施例公开的一种第一贴纸设置界面的示意图;FIG. 2-1 is a schematic diagram of a first sticker setting interface disclosed in an embodiment of the present application; FIG.
图2-2是本申请实施例公开的另一种第一贴纸设置界面的示意图;2-2 is a schematic diagram of another first sticker setting interface disclosed in the embodiment of the present application;
图3是本申请实施例公开的另一种贴纸设置方法的流程示意图;3 is a schematic flowchart of another sticker setting method disclosed in an embodiment of the present application;
图4是本申请实施例公开的另一种贴纸设置方法的流程示意图;4 is a schematic flowchart of another sticker setting method disclosed in an embodiment of the present application;
图5是本申请实施例公开的一种贴纸设置装置的单元组成框图;FIG. 5 is a block diagram showing a unit composition of a sticker setting device disclosed in an embodiment of the present application; FIG.
图6是本申请实施例公开的一种电子设备的结构示意图;6 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application;
图7是本申请实施例公开的另一种电子设备的结构示意图。FIG. 7 is a schematic structural diagram of another electronic device disclosed in an embodiment of the present application.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本发明方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part, but not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second", and the like in the description and claims of the present invention and the above-mentioned drawings are used to distinguish different objects and are not used to describe a specific order. Furthermore, the terms "including" and "having", as well as any of them, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device containing a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes Other steps or units inherent to these processes, methods, products or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference to "an embodiment" herein means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the invention. The appearances of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they independent or alternative embodiments that are mutually exclusive with other embodiments. It is clearly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
为了更好理解本申请实施例公开的一种贴纸设置方法及装置,下面对本申请实施例进行详细介绍。In order to better understand a sticker setting method and device disclosed in the embodiments of the present application, the embodiments of the present application are described in detail below.
如图1-1所示,目前智能手机等电子设备一般设置有程序运行空间,该程序运行空间包括用户空间和操作系统空间,其中,用户空间运行有一个或多个应用程序,本申请实施例所 描述的贴纸设置方法对应软件算法就运行在用户空间,操作系统空间运行有电子设备的操作系统。As shown in Figure 1-1, current electronic devices such as smart phones are generally provided with a program running space, and the program running space includes user space and operating system space, where one or more application programs run in the user space. Embodiments of the present application The corresponding software algorithm of the described sticker setting method runs in the user space, and the operating system space runs the operating system of the electronic device.
该电子设备具体可以运行安卓Android系统、苹果公司开发的移动操作系统iOS等,此处不做唯一限定。如图1-2所示,以所述电子设备运行有Android系统为例,对应的用户空间包括该Android系统中的应用层(Applications),操作系统空间可以包括该Android系统中的应用程序框架层(Application Framework)、系统运行库层(包括系统运行库层Libraries和Android运行时Android Runtime)、Linux内核层(Linux Kernel)。其中,应用层上包括各类与用户直接交互的应用程序,或由Java语言编写的运行于后台的服务程序。例如,智能手机上实现的常见基本功能的程序,诸如短消息业务(Short Messaging Service,SMS)短信,电话拨号,图片浏览器,日历,游戏,地图,万维网(World Wide Web,Web)浏览器等程序,以及开发人员开发的其他应用程序。应用程序框架层提供开发Android应用程序所需的一系列类库,能够用于重用组件,也可以通过继承实现个性化的扩展。系统运行库层是应用程序框架的支撑,为Android系统中的各个组件提供服务。系统运行库层由系统类库和Android运行时构成。Android运行时包含核心库和Dalvik虚拟机两部分。Linux内核层用于实现硬件设备驱动,进程和内存管理,网络协议栈,电源管理,无线通信等核心功能。The electronic device can specifically run Android Android system, mobile operating system iOS developed by Apple, etc., and is not limited here. As shown in Figure 1-2, taking the electronic device running the Android system as an example, the corresponding user space includes the application layer (Applications) in the Android system, and the operating system space may include the application framework layer in the Android system. (Application framework), system runtime layer (including system runtime library layer Libraries and Android runtime Android Runtime), Linux kernel layer (Linux Kernel). Among them, the application layer includes various types of applications that directly interact with users, or service programs running in the background written in the Java language. For example, programs for common basic functions implemented on smartphones, such as Short Messaging Service (SMS) text messages, phone dialing, picture browsers, calendars, games, maps, World Wide Web (Web) browsers, etc. Programs, and other applications developed by developers. The application framework layer provides a series of class libraries required for developing Android applications, which can be used to reuse components, and can also be personalized to extend through inheritance. The system runtime layer is the support of the application framework and provides services for various components in the Android system. The system runtime layer consists of the system class library and the Android runtime. The Android runtime contains two parts, the core library and the Dalvik virtual machine. The Linux kernel layer is used to implement core functions such as hardware device drivers, process and memory management, network protocol stacks, power management, and wireless communications.
电子设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备(例如智能手表、智能手环、计步器等)、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),电子设备(terminal device)等等。为方便描述,上面提到的设备统称为电子设备。下面对本申请实施例进行详细介绍。Electronic devices can include various handheld devices with wireless communication capabilities, vehicle-mounted devices, wearable devices (e.g., smart watches, smart bracelets, pedometers, etc.), computing devices or other processing devices connected to a wireless modem, and various User equipment (User Equipment, UE), mobile stations (MS), electronic devices (terminal), and so on. For ease of description, the devices mentioned above are collectively referred to as electronic devices. The embodiments of the present application are described in detail below.
请参阅图2,图2是本申请实施例提供的一种贴纸设置方法的流程示意图,如图2所示,本申请实施例中的贴纸设置方法包括以下步骤:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of a sticker setting method according to an embodiment of the present application. As shown in FIG. 2, the sticker setting method in the embodiment of the present application includes the following steps:
S201、电子设备确定预览视窗的数量和形状,以生成第一贴纸设置界面。S201. The electronic device determines the number and shape of the preview windows to generate a first sticker setting interface.
其中,预览视窗的启用方式可以是多种多样的,如在相册或相机等应用中启用,或者系统设置选项中启用,此处不做位移限定。Among them, there are various ways to enable the preview window, such as enabling in applications such as albums or cameras, or enabling in the system setting options, and no displacement limitation is made here.
电子设备在启用预览视窗时,可以默认首先开启一个预览视窗,然后检测针对预览视窗的数量和形状的选择操作,从而生成包括至少一个预览视窗的第一贴纸设置界面。When the electronic device enables the preview window, a preview window can be opened by default first, and then a selection operation for the number and shape of the preview windows is detected, thereby generating a first sticker setting interface including at least one preview window.
例如,当数量为4个时,该包含4个预览视窗的第一贴纸设置界面可以是如图2-1所示的4宫格样式,其中,第一、第二个预览视窗可以是圆形,第三第四个预览视窗可以是矩形,又例如,当数量为2个时,该包含2个预览视窗的第一贴纸设置界面可以是如图2-2所示的2宫格样式。For example, when the number is 4, the first sticker setting interface including 4 preview windows may be in a 4-grid style as shown in FIG. 2-1, where the first and second preview windows may be circular. The third and fourth preview windows may be rectangular. For example, when the number is two, the first sticker setting interface including the two preview windows may be a 2-grid style as shown in FIG. 2-2.
其中,预览窗口的配置项如下:The configuration items of the preview window are as follows:
"素材名":"LeftRabbitSticker","Material name": "LeftRabbitSticker",
"16_9比例标注基准像素":"1280x720","16_9 scaled reference pixels": "1280x720",
"该素材在16_9比例中显示区域标注":"0,0,353,633","This material displays the area label in the 16_9 scale": "0,0,353,633",
"4_3比例标注基准像素":"960x720","4_3 scaled reference pixels": "960x720",
"该素材在4_3比例中显示区域标注":"0,0,353,473","This material displays the area label in the 4_3 scale": "0,0,353,473",
"1_1比例标注基准像素":"720x720","1_1 scale reference pixel": "720x720",
"该素材在1_1比例中显示区域标注":"0,0,353,353""This material displays the area label in the 1_1 scale": "0,0,353,353"
说明:上述是一个预览窗口的配置,需要几个预览窗口,就配置几个上述配置项。Note: The above is the configuration of a preview window. If several preview windows are needed, configure some of the above configuration items.
S202、电子设备针对每个预览视窗执行后景贴纸设置操作,以生成第二贴纸设置界面,所述后景贴纸设置操作用于针对每个预览视窗的影像设置后景贴纸,所述后景贴纸为针对预览视窗中的影像进行装饰的虚拟装饰物。S202. The electronic device performs a background sticker setting operation for each preview window to generate a second sticker setting interface. The background sticker setting operation is used to set a background sticker for each preview window image. The background sticker A virtual decoration to decorate the image in the preview window.
其中,每个预览视窗所设置的贴纸可以相同,也可以不同。上述多个预览视窗的后景贴纸的设置过程可以是逐个录入和设置,也可以是交互录入和设置,此处不做唯一限定。The stickers set in each preview window can be the same or different. The setting process of the background stickers of the multiple preview windows may be input and set one by one, or interactive input and setting, which is not limited here.
可见,本示例中,由于预览视窗包括多个,且视窗之间没有贴纸设置约束,故而电子设备可实现对第一贴纸设置界面中包括的每个预览视窗执行后景贴纸设置操作,以完成每个预览视窗的贴纸设置,提高电子设备针对多个预览视窗进行贴纸设置的准确度和稳定性。It can be seen that, in this example, because there are multiple preview windows and there is no sticker setting constraint between the windows, the electronic device can implement a background sticker setting operation on each preview window included in the first sticker setting interface to complete each The sticker setting of each preview window improves the accuracy and stability of the sticker setting of the electronic device for multiple preview windows.
其中,针对预览视窗中的影像进行装饰的虚拟装饰物可以包括但不限于以下:眼镜、帽子、头饰、猫耳朵、桃心、胡须、面具等人物装饰类贴纸。Among them, the virtual decoration object for decorating the image in the preview window may include but is not limited to the following: glasses, hats, headwear, cat ears, peach hearts, beards, masks and other character decoration stickers.
S203、电子设备针对所述第二贴纸设置界面执行前景贴纸设置操作,以生成第三贴纸设置界面,所述前景贴纸设置操作用于针对所述第二贴纸设置界面设置前景贴纸,所述前景贴纸为针对所述第二贴纸设置界面进行装饰的虚拟装饰物。S203. The electronic device performs a foreground sticker setting operation on the second sticker setting interface to generate a third sticker setting interface. The foreground sticker setting operation is used to set a foreground sticker on the second sticker setting interface. A virtual decoration for decorating the interface for the second sticker.
其中,所述针对所述第二贴纸设置界面进行装饰的虚拟装饰物可以包括但不限定于以下:前景相框、前景特效等。The virtual decoration object decorated for the second sticker setting interface may include, but is not limited to, the following: a foreground photo frame, a foreground special effect, and the like.
S204、电子设备在检测到拍照指令时,捕捉所述第三贴纸设置界面的显示内容,得到贴纸照片。S204. When the electronic device detects a photographing instruction, capture the display content of the third sticker setting interface to obtain a sticker photo.
其中,电子设备在检测到拍照指令时,会同步捕获当前第三贴纸设置界面中每个预览视窗中显示的内容,从而得到贴纸照片。When the electronic device detects a photographing instruction, it will synchronously capture the content displayed in each preview window in the current third sticker setting interface, so as to obtain a sticker photo.
可以看出,本申请实施例提供的贴纸设置方法,电子设备确定预览视窗的数量和形状,以生成第一贴纸设置界面,然后针对每个预览视窗执行后景贴纸设置操作,以生成第二贴纸设置界面,所述后景贴纸设置操作用于针对每个预览视窗的影像设置后景贴纸,所述后景贴纸为针对预览视窗中的影像进行装饰的虚拟装饰物,进而针对所述第二贴纸设置界面执行前景贴纸设置操作,以生成第三贴纸设置界面,所述前景贴纸设置操作用于针对所述第二贴纸设置界面设置前景贴纸,所述前景贴纸为针对所述第二贴纸设置界面进行装饰的虚拟装饰物,在检测到拍照指令时,捕捉所述第三贴纸设置界面的显示内容,得到贴纸照片。可见,电子设备能够实现一种针对选择的至少一个预览视窗的贴纸的同步、快捷设置,根据用户的选择灵活设置预览视窗的数量和形状,从而得到包括至少一个预览视窗的贴纸照片,一方面能够更符合用户的实时的个性化需求,另一方面也提升了电子设备拍照的趣味性和多样性。It can be seen that in the sticker setting method provided in the embodiment of the present application, the electronic device determines the number and shape of preview windows to generate a first sticker setting interface, and then performs a background sticker setting operation for each preview window to generate a second sticker. A setting interface, wherein the background sticker setting operation is used to set a background sticker for each image of the preview window, and the background sticker is a virtual decoration for decorating the image in the preview window, and then for the second sticker The setting interface performs a foreground sticker setting operation to generate a third sticker setting interface. The foreground sticker setting operation is used to set a foreground sticker for the second sticker setting interface, and the foreground sticker is performed for the second sticker setting interface. The decorated virtual ornament captures the display content of the third sticker setting interface when a photographing instruction is detected to obtain a sticker photo. It can be seen that the electronic device can implement a synchronous and quick setting of the stickers for the selected at least one preview window, and flexibly set the number and shape of the preview windows according to the user's selection, so as to obtain a sticker photo including at least one preview window. More in line with the user's real-time personalization needs, on the other hand, it also enhances the fun and diversity of electronic device photography.
在一个实施例中,电子设备针对每个预览视窗执行后景贴纸设置操作执行预设操作的具体实现方式可以是:In one embodiment, the specific implementation of the electronic device performing a background sticker setting operation and performing a preset operation for each preview window may be:
获取为当前的预览视窗配置的后景贴纸;在所述当前的预览视窗对应的纹理中缓存所述后景贴纸的图像数据,所述纹理为缓存图像数据的容器,上述容器可以为电子设备的存储器等,例如随机存取存贮器、非易失性存储器以及外部存储器等,本申请实施例不作限制;获取所述当前的预览视窗的显示区域标注,所述显示区域标注用于标识所述当前的预览视窗的显示区域;根据所述显示区域标注在第一纹理拷贝所述纹理中的图像数据,以使得所述后景贴纸在所述当前的预览视窗的预设显示区域显示,所述第一纹理对应所述当前的预览视窗的显示区域。Obtain a background sticker configured for the current preview window; cache the image data of the background sticker in a texture corresponding to the current preview window, the texture is a container for caching image data, and the container may be an electronic device A memory, such as a random access memory, a non-volatile memory, and an external memory, etc., which are not limited in the embodiment of the present application; obtain a display area label of the current preview window, and the display area label is used to identify the A display area of a current preview window; copying the image data in the texture marked on the first texture according to the display area, so that the background sticker is displayed in a preset display area of the current preview window, The first texture corresponds to a display area of the current preview window.
其中,电子设备显示后景贴纸和显示用户的面部影像的前后时序不做限定。The timing before and after the electronic device displays the background sticker and the face image of the user is not limited.
此外,由于电子设备能够控制在预览视窗的预设显示区域显示后景贴纸,从而丰富拍摄的趣味性和多样性。其中上述预设显示区域可以是预先设置的一显示区域,或是根据用户针对后景贴纸位置的调整记录,确定出的显示频率最高的一显示区域。In addition, the electronic device can control the display of the background sticker in the preset display area of the preview window, thereby enriching the fun and variety of shooting. The preset display area may be a display area set in advance, or a display area with the highest display frequency determined according to a user ’s adjustment record for the position of the background sticker.
在一个实施例中,电子设备针对每个预览视窗执行后景贴纸设置操作的具体实现方式可以是:In one embodiment, the specific implementation of the electronic device performing the background sticker setting operation for each preview window may be:
获取为当前的预览视窗配置的后景贴纸;在所述当前的预览视窗对应的纹理中缓存所述后景贴纸的图像数据,所述纹理为缓存图像数据的容器;获取所述当前的预览视窗的显示区域标注,所述显示区域标注用于标识所述当前的预览视窗的显示区域;根据所述显示区域标注在第一纹理拷贝所述纹理中的图像数据,以使得所述后景贴纸在所述当前的预览视窗的显示区域显示,所述第一纹理对应所述当前的预览视窗的显示区域;获取采集的面部影像;控制所述后景贴纸匹配所述采集的面部影像的动作。Obtaining a background sticker configured for the current preview window; buffering the image data of the background sticker in a texture corresponding to the current preview window, the texture being a container for buffering image data; obtaining the current preview window Display area labeling, the display area labeling is used to identify the display area of the current preview window; copying the image data in the texture according to the display area labeling in the first texture, so that the background sticker is in the The display area of the current preview window is displayed, and the first texture corresponds to the display area of the current preview window; acquiring a captured facial image; and controlling the action of the background sticker to match the captured facial image.
其中,电子设备显示后景贴纸和显示用户的面部影像的前后时序不做限定,本示例以电子设备先显示后景贴纸,再显示用户的面部影像为例进行说明。The front and rear timings of the electronic device displaying the background sticker and displaying the user's face image are not limited. This example uses the electronic device to display the background sticker first and then display the user's face image as an example for illustration.
此外,由于电子设备能够控制后景贴纸实时跟随调整对应预览视窗中的面部影像的动作,实现增强现实AR贴纸功能,故而可以提高贴纸设置智能性。In addition, since the electronic device can control the background sticker to follow the action of adjusting the facial image in the corresponding preview window in real time to implement the AR sticker function, it can improve the sticker setting intelligence.
进一步地,由于后景贴纸是作为独立素材存储在素材库中,故而后景贴纸的图像数据采用独立的存储和显示控制逻辑,可以降低贴纸设置过程与用户的面部影像的设置过程之间的耦合,提高预览视窗中影像显示的稳定性和效率。Further, since the background sticker is stored in the material library as an independent material, the image data of the background sticker uses independent storage and display control logic, which can reduce the coupling between the sticker setting process and the user's facial image setting process. To improve the stability and efficiency of image display in the preview window.
在一个实施例中,电子设备针对所述第二贴纸设置界面执行前景贴纸设置操作的具体实现方式可以是:In one embodiment, a specific implementation manner for the electronic device to perform a foreground sticker setting operation on the second sticker setting interface may be:
获取所述前景贴纸的图像数据;在所述第二贴纸设置界面对应的纹理中缓存所述前景贴纸的图像数据;在第二纹理拷贝所述纹理中的图像数据,以使得所述前景贴纸在所述第二贴纸设置界面的有效显示区域显示,所述第二纹理对应所述第二贴纸设置界面的有效显示区域。Acquiring the image data of the foreground sticker; buffering the image data of the foreground sticker in a texture corresponding to the second sticker setting interface; copying the image data in the texture in a second texture so that the foreground sticker is in the The effective display area of the second sticker setting interface is displayed, and the second texture corresponds to the effective display area of the second sticker setting interface.
可见,由于前景贴纸作为独立的素材保存在素材库中,故而该前景贴纸的图像数据采用独立的处理逻辑可以降低数据耦合,提高图像处理和显示效率。It can be seen that, because the foreground sticker is stored in the material library as an independent material, the image data of the foreground sticker uses independent processing logic to reduce data coupling and improve image processing and display efficiency.
在一个实施例中,电子设备在检测到拍照指令时,捕捉所述第三贴纸设置界面的显示内容,得到贴纸照片的具体实现方式可以是:In one embodiment, when the electronic device detects the photographing instruction, the display content of the third sticker setting interface is captured, and a specific implementation manner of obtaining the sticker photo may be:
在检测到拍照指令时,读取缓存在所述第三贴纸设置界面对应的纹理中的像素;保存所述缓存在所述第三贴纸设置界面对应的纹理中的像素,以得到所述贴纸照片。When a photographing instruction is detected, read the pixels cached in the texture corresponding to the third sticker setting interface; save the pixels cached in the texture corresponding to the third sticker setting interface to obtain the sticker photo .
可见,电子设备执行后景贴纸设置操作以及前景贴纸设置操作之后,可以进一步通过摄像头捕捉用户的面部动作或手势动作,以检测用户的拍照指令。It can be seen that after the electronic device performs the background sticker setting operation and the foreground sticker setting operation, the user can further capture the user's facial motion or gesture motion through the camera to detect the user's photographing instruction.
在一个实施例中,所述每个预览视窗支持滤镜设置功能,从而进一步增强预览视窗的功能性,提升拍照效果和多样性。In one embodiment, each of the preview windows supports a filter setting function, thereby further enhancing the functionality of the preview windows and improving the photographing effect and diversity.
在一个实施例中,所述每个预览视窗支持背景画面设置功能,从而进一步增强预览视窗的功能性,提升拍照效果和多样性。In one embodiment, each of the preview windows supports a background picture setting function, thereby further enhancing the functionality of the preview windows and improving the photographing effect and diversity.
与上述图2所示的实施例一致的,请参阅图3,图3是本申请实施例提供的另一种贴纸设置方法的流程示意图。如图3所示,本申请实施例中的贴纸设置方法包括以下步骤:Consistent with the embodiment shown in FIG. 2 described above, please refer to FIG. 3. FIG. 3 is a schematic flowchart of another sticker setting method according to an embodiment of the present application. As shown in FIG. 3, the sticker setting method in the embodiment of the present application includes the following steps:
S301、电子设备确定预览视窗的数量和形状,以生成第一贴纸设置界面。S301. The electronic device determines the number and shape of the preview windows to generate a first sticker setting interface.
S302、电子设备获取为当前的预览视窗配置的后景贴纸。S302. The electronic device obtains a background sticker configured for the current preview window.
S303、电子设备在所述当前的预览视窗对应的纹理中缓存所述后景贴纸的图像数据,所述纹理为缓存图像数据的容器。S303. The electronic device buffers the image data of the background sticker in a texture corresponding to the current preview window, where the texture is a container for buffering the image data.
S304、电子设备获取所述当前的预览视窗的显示区域标注,所述显示区域标注用于标识所述当前的预览视窗的显示区域。S304. The electronic device obtains a display area label of the current preview window, where the display area label is used to identify a display area of the current preview window.
S305、电子设备根据所述显示区域标注在第一纹理拷贝所述纹理中的图像数据,以使得所述后景贴纸在所述当前的预览视窗的预设显示区域显示,以生成第二贴纸设置界面,所述第一纹理对应所述当前的预览视窗的显示区域,所述后景贴纸设置操作用于针对每个预览视窗的影像设置后景贴纸,所述后景贴纸为针对预览视窗中的影像进行装饰的虚拟装饰物。S305. The electronic device copies the image data in the texture marked on the first texture according to the display area, so that the background sticker is displayed in a preset display area of the current preview window to generate a second sticker setting. Interface, the first texture corresponds to the display area of the current preview window, and the background sticker setting operation is used to set a background sticker for each image of the preview window, and the background sticker is for the preview window. A virtual decoration decorated with images.
S306、电子设备获取所述前景贴纸的图像数据。S306. The electronic device obtains image data of the foreground sticker.
S307、电子设备在所述第二贴纸设置界面对应的纹理中缓存所述前景贴纸的图像数据。S307. The electronic device buffers the image data of the foreground sticker in a texture corresponding to the second sticker setting interface.
S308、电子设备在第二纹理拷贝所述纹理中的图像数据,以使得所述前景贴纸在所述第二贴纸设置界面的有效显示区域显示,以生成第三贴纸设置界面,所述第二纹理对应所述第二贴纸设置界面的有效显示区域。所述前景贴纸设置操作用于针对所述第二贴纸设置界面设置前景贴纸,所述前景贴纸为针对所述第二贴纸设置界面进行装饰的虚拟装饰物。S308. The electronic device copies the image data in the texture on the second texture so that the foreground sticker is displayed in an effective display area of the second sticker setting interface to generate a third sticker setting interface and the second texture. Corresponds to an effective display area of the second sticker setting interface. The foreground sticker setting operation is used to set a foreground sticker for the second sticker setting interface, and the foreground sticker is a virtual decoration object decorated for the second sticker setting interface.
S309、在检测到拍照指令时,电子设备读取缓存在所述第三贴纸设置界面对应的纹理中 的像素。S309. When the photographing instruction is detected, the electronic device reads the pixels buffered in the texture corresponding to the third sticker setting interface.
S310、电子设备保存所述缓存在所述第三贴纸设置界面对应的纹理中的像素,以得到所述贴纸照片。S310: The electronic device saves the pixels cached in the texture corresponding to the third sticker setting interface to obtain the sticker photo.
其中,所述每个预览视窗支持滤镜设置功能。Wherein, each preview window supports a filter setting function.
其中,所述每个预览视窗支持背景画面设置功能。Wherein, each preview window supports a background picture setting function.
可以看出,本申请实施例提供的贴纸设置方法,电子设备确定预览视窗的数量和形状,以生成第一贴纸设置界面,然后针对每个预览视窗执行后景贴纸设置操作,以生成第二贴纸设置界面,所述后景贴纸设置操作用于针对每个预览视窗的影像设置后景贴纸,所述后景贴纸为针对预览视窗中的影像进行装饰的虚拟装饰物,进而针对所述第二贴纸设置界面执行前景贴纸设置操作,以生成第三贴纸设置界面,所述前景贴纸设置操作用于针对所述第二贴纸设置界面设置前景贴纸,所述前景贴纸为针对所述第二贴纸设置界面进行装饰的虚拟装饰物,在检测到拍照指令时,捕捉所述第三贴纸设置界面的显示内容,得到贴纸照片。可见,电子设备能够实现一种针对选择的至少一个预览视窗的贴纸的同步、快捷设置,从而得到包括至少一个预览视窗的贴纸照片,提升了电子设备拍照的趣味性和多样性。It can be seen that in the sticker setting method provided in the embodiment of the present application, the electronic device determines the number and shape of preview windows to generate a first sticker setting interface, and then performs a background sticker setting operation for each preview window to generate a second sticker. A setting interface, wherein the background sticker setting operation is used to set a background sticker for each image of the preview window, and the background sticker is a virtual decoration for decorating the image in the preview window, and then for the second sticker The setting interface performs a foreground sticker setting operation to generate a third sticker setting interface. The foreground sticker setting operation is used to set a foreground sticker for the second sticker setting interface, and the foreground sticker is performed for the second sticker setting interface. The decorated virtual ornament captures the display content of the third sticker setting interface when a photographing instruction is detected to obtain a sticker photo. It can be seen that the electronic device can implement a synchronization and quick setting of the stickers for the selected at least one preview window, so as to obtain a sticker photo including at least one preview window, which enhances the fun and diversity of taking pictures by the electronic device.
与上述图2或图3所示的实施例一致的,请参阅图4,图4是本申请实施例提供的另一种贴纸设置方法的流程示意图。如图4所示,本申请实施例中的贴纸设置方法包括以下步骤:Consistent with the embodiment shown in FIG. 2 or FIG. 3 described above, please refer to FIG. 4, which is a schematic flowchart of another sticker setting method according to an embodiment of the present application. As shown in FIG. 4, the sticker setting method in the embodiment of the present application includes the following steps:
S401、电子设备确定预览视窗的数量和形状,以生成第一贴纸设置界面。S401. The electronic device determines the number and shape of the preview windows to generate a first sticker setting interface.
S402、电子设备获取为当前的预览视窗配置的后景贴纸。S402. The electronic device obtains a background sticker configured for the current preview window.
S403、电子设备在所述当前的预览视窗对应的纹理中缓存所述后景贴纸的图像数据,所述纹理为缓存图像数据的容器。S403. The electronic device buffers the image data of the background sticker in a texture corresponding to the current preview window, where the texture is a container for buffering the image data.
S404、电子设备获取所述当前的预览视窗的显示区域标注,所述显示区域标注用于标识所述当前的预览视窗的显示区域。S404. The electronic device obtains a display area label of the current preview window, where the display area label is used to identify a display area of the current preview window.
S405、电子设备根据所述显示区域标注在第一纹理拷贝所述纹理中的图像数据,以使得所述后景贴纸在所述当前的预览视窗的显示区域显示,所述第一纹理对应所述当前的预览视窗的显示区域。S405. The electronic device copies the image data in the texture marked on the first texture according to the display area, so that the background sticker is displayed in the display area of the current preview window, and the first texture corresponds to the The display area of the current preview window.
S406、电子设备获取采集的面部影像。S406. The electronic device acquires the acquired facial image.
S407、电子设备控制所述后景贴纸匹配所述采集的面部影像的动作。S407. The electronic device controls an action of the background sticker to match the captured facial image.
S408、电子设备获取所述前景贴纸的图像数据。S408. The electronic device obtains image data of the foreground sticker.
S409、电子设备在所述第二贴纸设置界面对应的纹理中缓存所述前景贴纸的图像数据。S409. The electronic device buffers the image data of the foreground sticker in a texture corresponding to the second sticker setting interface.
S410、电子设备在第二纹理拷贝所述纹理中的图像数据,以使得所述前景贴纸在所述第二贴纸设置界面的有效显示区域显示,以生成第三贴纸设置界面,所述第二纹理对应所述第二贴纸设置界面的有效显示区域。所述前景贴纸设置操作用于针对所述第二贴纸设置界面设置前景贴纸,所述前景贴纸为针对所述第二贴纸设置界面进行装饰的虚拟装饰物。S410. The electronic device copies the image data in the texture on the second texture so that the foreground sticker is displayed in an effective display area of the second sticker setting interface to generate a third sticker setting interface and the second texture. Corresponds to an effective display area of the second sticker setting interface. The foreground sticker setting operation is used to set a foreground sticker for the second sticker setting interface, and the foreground sticker is a virtual decoration object decorated for the second sticker setting interface.
S411、在检测到拍照指令时,电子设备读取缓存在所述第三贴纸设置界面对应的纹理中的像素。S411. When a photographing instruction is detected, the electronic device reads the pixels buffered in the texture corresponding to the third sticker setting interface.
S412、电子设备保存所述缓存在所述第三贴纸设置界面对应的纹理中的像素,以得到所述贴纸照片。S412. The electronic device saves the pixels cached in the texture corresponding to the third sticker setting interface to obtain the sticker photo.
其中,所述每个预览视窗支持滤镜设置功能。Wherein, each preview window supports a filter setting function.
其中,所述每个预览视窗支持背景画面设置功能。Wherein, each preview window supports a background picture setting function.
可以看出,本申请实施例提供的贴纸设置方法,电子设备确定预览视窗的数量和形状,以生成第一贴纸设置界面,然后针对每个预览视窗执行后景贴纸设置操作,以生成第二贴纸设置界面,所述后景贴纸设置操作用于针对每个预览视窗的影像设置后景贴纸,所述后景贴纸为针对预览视窗中的影像进行装饰的虚拟装饰物,进而针对所述第二贴纸设置界面执行前景贴纸设置操作,以生成第三贴纸设置界面,所述前景贴纸设置操作用于针对所述第二贴纸 设置界面设置前景贴纸,所述前景贴纸为针对所述第二贴纸设置界面进行装饰的虚拟装饰物,在检测到拍照指令时,捕捉所述第三贴纸设置界面的显示内容,得到贴纸照片。可见,电子设备能够实现一种针对选择的至少一个预览视窗的贴纸的同步、快捷设置,从而得到包括至少一个预览视窗的贴纸照片,提升了电子设备拍照的趣味性和多样性。It can be seen that in the sticker setting method provided in the embodiment of the present application, the electronic device determines the number and shape of preview windows to generate a first sticker setting interface, and then performs a background sticker setting operation for each preview window to generate a second sticker. A setting interface, wherein the background sticker setting operation is used to set a background sticker for each image of the preview window, and the background sticker is a virtual decoration for decorating the image in the preview window, and then for the second sticker The setting interface performs a foreground sticker setting operation to generate a third sticker setting interface. The foreground sticker setting operation is used to set a foreground sticker for the second sticker setting interface, and the foreground sticker is performed for the second sticker setting interface. The decorated virtual ornament captures the display content of the third sticker setting interface when a photographing instruction is detected to obtain a sticker photo. It can be seen that the electronic device can implement a synchronization and quick setting of the stickers for the selected at least one preview window, so as to obtain a sticker photo including at least one preview window, which enhances the fun and diversity of taking pictures by the electronic device.
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The above mainly introduces the solution of the embodiment of the present application from the perspective of the method-side execution process. It can be understood that, in order to realize the above functions, the electronic device includes a hardware structure and / or a software module corresponding to each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments provided herein, this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is performed by hardware or computer software-driven hardware depends on the specific application and design constraints of the technical solution. Professional technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例对电子装置进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the embodiment of the present application, the electronic device may be divided into functional units according to the foregoing method examples. For example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional unit. It should be noted that the division of the units in the embodiments of the present application is schematic, and is only a logical function division. In actual implementation, there may be another division manner.
下面为本发明装置实施例,本发明装置实施例用于执行本发明方法实施例所实现的方法。请参阅图5,图5是本申请实施例公开的一种贴纸设置装置的单元组成框图,如图5所示,该贴纸设置装置可以包括确定单元501、设置单元502以捕捉单元503,其中:The following is a device embodiment of the present invention. The device embodiment of the present invention is used to execute the method implemented by the method embodiment of the present invention. Please refer to FIG. 5. FIG. 5 is a block diagram of a unit of a sticker setting device disclosed in an embodiment of the present application. As shown in FIG. 5, the sticker setting device may include a determining unit 501 and a setting unit 502 to capture a unit 503, among which:
确定单元501,用于确定预览视窗的数量和形状,以生成第一贴纸设置界面;A determining unit 501, configured to determine the number and shape of the preview windows to generate a first sticker setting interface;
设置单元502,用于针对每个预览视窗执行后景贴纸设置操作,以生成第二贴纸设置界面,所述后景贴纸设置操作用于针对每个预览视窗的影像设置后景贴纸,所述后景贴纸为针对预览视窗中的影像进行装饰的虚拟装饰物;A setting unit 502 is configured to perform a background sticker setting operation for each preview window to generate a second sticker setting interface. The background sticker setting operation is used to set a background sticker for each preview window image. Scenery stickers are virtual decorations that decorate images in the preview window;
所述设置单元502,还用于针对所述第二贴纸设置界面执行前景贴纸设置操作,以生成第三贴纸设置界面,所述前景贴纸设置操作用于针对所述第二贴纸设置界面设置前景贴纸,所述前景贴纸为针对所述第二贴纸设置界面进行装饰的虚拟装饰物;The setting unit 502 is further configured to perform a foreground sticker setting operation on the second sticker setting interface to generate a third sticker setting interface, and the foreground sticker setting operation is used to set a foreground sticker on the second sticker setting interface. The foreground sticker is a virtual decoration object decorated for the second sticker setting interface;
捕捉单元503,用于在检测到拍照指令时,捕捉所述第三贴纸设置界面的显示内容,得到贴纸照片。The capturing unit 503 is configured to capture a display content of the third sticker setting interface when a photographing instruction is detected, to obtain a sticker photo.
在一个实施例中,在用于针对每个预览视窗执行后景贴纸设置操作,所述设置单元502具体用于:In one embodiment, the background unit sticker setting operation is performed for each preview window, and the setting unit 502 is specifically configured to:
获取为当前的预览视窗配置的后景贴纸;在所述当前的预览视窗对应的纹理中缓存所述后景贴纸的图像数据,所述纹理为缓存图像数据的容器;获取所述当前的预览视窗的显示区域标注,所述显示区域标注用于标识所述当前的预览视窗的显示区域;根据所述显示区域标注在第一纹理拷贝所述纹理中的图像数据,以使得所述后景贴纸在所述当前的预览视窗的预设显示区域显示,所述第一纹理对应所述当前的预览视窗的显示区域。Obtaining a background sticker configured for the current preview window; buffering the image data of the background sticker in a texture corresponding to the current preview window, the texture being a container for buffering image data; obtaining the current preview window Display area labeling, the display area labeling is used to identify the display area of the current preview window; copying the image data in the texture according to the display area labeling in the first texture, so that the background sticker is in the The preset display area of the current preview window is displayed, and the first texture corresponds to the display area of the current preview window.
在一个实施例中,在用于针对每个预览视窗执行后景贴纸设置操作,所述设置单元502具体用于:In one embodiment, the background unit sticker setting operation is performed for each preview window, and the setting unit 502 is specifically configured to:
获取为当前的预览视窗配置的后景贴纸;在所述当前的预览视窗对应的纹理中缓存所述后景贴纸的图像数据,所述纹理为缓存图像数据的容器;获取所述当前的预览视窗的显示区域标注,所述显示区域标注用于标识所述当前的预览视窗的显示区域;根据所述显示区域标注在第一纹理拷贝所述纹理中的图像数据,以使得所述后景贴纸在所述当前的预览视窗的显示区域显示,所述第一纹理对应所述当前的预览视窗的显示区域;获取采集的面部影像;控制所述后景贴纸匹配所述采集的面部影像的动作。Obtaining a background sticker configured for the current preview window; buffering the image data of the background sticker in a texture corresponding to the current preview window, the texture being a container for buffering image data; obtaining the current preview window Display area labeling, the display area labeling is used to identify the display area of the current preview window; copying the image data in the texture according to the display area labeling in the first texture, so that the background sticker is in the The display area of the current preview window is displayed, and the first texture corresponds to the display area of the current preview window; acquiring a captured facial image; and controlling the action of the background sticker to match the captured facial image.
在一个实施例中,在用于针对所述第二贴纸设置界面执行前景贴纸设置操作,所述设置单元502具体用于:In one embodiment, the foreground sticker setting operation is performed on the second sticker setting interface, and the setting unit 502 is specifically configured to:
获取所述前景贴纸的图像数据;在所述第二贴纸设置界面对应的纹理中缓存所述前景贴纸的图像数据;在第二纹理拷贝所述纹理中的图像数据,以使得所述前景贴纸在所述第二贴纸设置界面的有效显示区域显示,所述第二纹理对应所述第二贴纸设置界面的有效显示区域。Acquiring the image data of the foreground sticker; buffering the image data of the foreground sticker in a texture corresponding to the second sticker setting interface; copying the image data in the texture in a second texture so that the foreground sticker is in the The effective display area of the second sticker setting interface is displayed, and the second texture corresponds to the effective display area of the second sticker setting interface.
在一个实施例中,在用于在检测到拍照指令时,捕捉所述第三贴纸设置界面的显示内容,得到贴纸照片,所述捕捉单元503具体用于:In one embodiment, when used to capture a display content of the third sticker setting interface when a photographing instruction is detected, to obtain a sticker photo, the capturing unit 503 is specifically configured to:
所述在检测到拍照指令时,读取缓存在所述第三贴纸设置界面对应的纹理中的像素;保存所述缓存在所述第三贴纸设置界面对应的纹理中的像素,以得到所述贴纸照片。When detecting a photographing instruction, reading the pixels cached in the texture corresponding to the third sticker setting interface; and saving the pixels cached in the texture corresponding to the third sticker setting interface to obtain the Sticker photo.
在一个实施例中,所述每个预览视窗支持滤镜设置功能。In one embodiment, each preview window supports a filter setting function.
在一个实施例中,所述每个预览视窗支持背景画面设置功能。具体的,上述各个单元的具体实现可参考图2对应实施例中相关步骤的描述,在此不赘述。In one embodiment, each preview window supports a background picture setting function. Specifically, for specific implementation of the foregoing units, reference may be made to the description of related steps in the embodiment corresponding to FIG. 2, and details are not described herein.
需要注意的是,本发明装置实施例所描述的贴纸设置装置是以功能单元的形式呈现。这里所使用的术语“单元”应当理解为尽可能最宽的含义,用于实现各个“单元”所描述功能的对象例如可以是集成电路ASIC,单个电路,用于执行一个或多个软件或固件程序的处理器(共享的、专用的或芯片组)和存储器,组合逻辑电路,和/或提供实现上述功能的其他合适的组件。It should be noted that the sticker setting device described in the device embodiment of the present invention is presented in the form of a functional unit. The term "unit" used herein should be understood as the widest possible meaning. The object used to implement the functions described by each "unit" may be, for example, an integrated circuit ASIC, a single circuit, used to execute one or more software or firmware The program's processor (shared, dedicated, or chipset) and memory, combinational logic circuits, and / or other suitable components that provide the functions described above.
举例来说,上述确定单元501确定预览视窗的数量和形状的功能可以由图6所示的电子设备来实现,具体可以通过处理器601通过调用存储器602中的可执行程序代码,确定预览视窗的数量和形状。For example, the function of determining the number and shape of the preview windows by the determining unit 501 can be implemented by the electronic device shown in FIG. 6. Specifically, the processor 601 can determine the preview window by calling executable program code in the memory 602 Number and shape.
可以看出,本申请实施例提供的贴纸设置装置,确定预览视窗的数量和形状,以生成第一贴纸设置界面,然后针对每个预览视窗执行后景贴纸设置操作,以生成第二贴纸设置界面,所述后景贴纸设置操作用于针对每个预览视窗的影像设置后景贴纸,所述后景贴纸为针对预览视窗中的影像进行装饰的虚拟装饰物,进而针对所述第二贴纸设置界面执行前景贴纸设置操作,以生成第三贴纸设置界面,所述前景贴纸设置操作用于针对所述第二贴纸设置界面设置前景贴纸,所述前景贴纸为针对所述第二贴纸设置界面进行装饰的虚拟装饰物,在检测到拍照指令时,捕捉所述第三贴纸设置界面的显示内容,得到贴纸照片。可见,电子设备能够实现一种针对选择的至少一个预览视窗的贴纸的同步、快捷设置,从而得到包括至少一个预览视窗的贴纸照片,提升了电子设备拍照的趣味性和多样性。It can be seen that the sticker setting device provided in the embodiment of the present application determines the number and shape of preview windows to generate a first sticker setting interface, and then performs a background sticker setting operation for each preview window to generate a second sticker setting interface. The background sticker setting operation is used to set a background sticker for each image of the preview window, and the background sticker is a virtual decoration for decorating the image in the preview window, and then set an interface for the second sticker Performing a foreground sticker setting operation to generate a third sticker setting interface, the foreground sticker setting operation is used to set a foreground sticker for the second sticker setting interface, and the foreground sticker is a decoration for the second sticker setting interface The virtual decoration object captures the display content of the third sticker setting interface when a photographing instruction is detected to obtain a sticker photo. It can be seen that the electronic device can implement a synchronization and quick setting of the stickers for the selected at least one preview window, so as to obtain a sticker photo including at least one preview window, which enhances the fun and diversity of taking pictures by the electronic device.
请参阅图6,图6为本申请实施例公开的另一种电子设备的结构示意图。电子装置包括处理器601、存储器602、通信接口603以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器602中,并且被配置由上述处理器601执行,上述程序包括用于执行以下步骤的指令:Please refer to FIG. 6, which is a schematic structural diagram of another electronic device disclosed in an embodiment of the present application. The electronic device includes a processor 601, a memory 602, a communication interface 603, and one or more programs. The one or more programs are stored in the memory 602 and configured to be executed by the processor 601. The programs include For performing the following steps:
确定预览视窗的数量和形状,以生成第一贴纸设置界面;Determine the number and shape of the preview windows to generate the first sticker setting interface;
针对每个预览视窗执行后景贴纸设置操作,以生成第二贴纸设置界面,所述后景贴纸设置操作用于针对每个预览视窗的影像设置后景贴纸,所述后景贴纸为针对预览视窗中的影像进行装饰的虚拟装饰物;Perform a background sticker setting operation for each preview window to generate a second sticker setting interface. The background sticker setting operation is used to set a background sticker for each preview window image, and the background sticker is for the preview window. Virtual decoration with images in the decoration;
针对所述第二贴纸设置界面执行前景贴纸设置操作,以生成第三贴纸设置界面,所述前景贴纸设置操作用于针对所述第二贴纸设置界面设置前景贴纸,所述前景贴纸为针对所述第二贴纸设置界面进行装饰的虚拟装饰物;A foreground sticker setting operation is performed on the second sticker setting interface to generate a third sticker setting interface. The foreground sticker setting operation is used to set a foreground sticker for the second sticker setting interface, and the foreground sticker is for the second sticker setting interface. A virtual decoration for decoration on the second sticker setting interface;
在检测到拍照指令时,捕捉所述第三贴纸设置界面的显示内容,得到贴纸照片。When a photographing instruction is detected, the display content of the third sticker setting interface is captured to obtain a sticker photo.
在一个实施例中,在针对每个预览视窗执行后景贴纸设置操作方面,所述程序中的指令具体用于执行以下操作:In one embodiment, in terms of performing a background sticker setting operation for each preview window, the instructions in the program are specifically used to perform the following operations:
获取为当前的预览视窗配置的后景贴纸;Get the background sticker configured for the current preview window;
在所述当前的预览视窗对应的纹理中缓存所述后景贴纸的图像数据,所述纹理为缓存图 像数据的容器;Cache the image data of the background sticker in a texture corresponding to the current preview window, and the texture is a container for caching image data;
获取所述当前的预览视窗的显示区域标注,所述显示区域标注用于标识所述当前的预览视窗的显示区域;Acquiring a display area label of the current preview window, where the display area label is used to identify a display area of the current preview window;
根据所述显示区域标注在第一纹理拷贝所述纹理中的图像数据,以使得所述后景贴纸在所述当前的预览视窗的预设显示区域显示,所述第一纹理对应所述当前的预览视窗的显示区域。Copy the image data in the texture marked with the first texture according to the display area, so that the background sticker is displayed in the preset display area of the current preview window, and the first texture corresponds to the current The display area of the preview window.
在一个实施例中,在针对每个预览视窗执行后景贴纸设置操作方面,所述程序中的指令具体用于执行以下操作:In one embodiment, in terms of performing a background sticker setting operation for each preview window, the instructions in the program are specifically used to perform the following operations:
获取为当前的预览视窗配置的后景贴纸;Get the background sticker configured for the current preview window;
在所述当前的预览视窗对应的纹理中缓存所述后景贴纸的图像数据,所述纹理为缓存图像数据的容器;Buffering the image data of the background sticker in a texture corresponding to the current preview window, and the texture is a container for buffering the image data;
获取所述当前的预览视窗的显示区域标注,所述显示区域标注用于标识所述当前的预览视窗的显示区域;Acquiring a display area label of the current preview window, where the display area label is used to identify a display area of the current preview window;
根据所述显示区域标注在第一纹理拷贝所述纹理中的图像数据,以使得所述后景贴纸在所述当前的预览视窗的显示区域显示,所述第一纹理对应所述当前的预览视窗的显示区域;Copy the image data in the texture marked with the first texture according to the display area, so that the background sticker is displayed in the display area of the current preview window, and the first texture corresponds to the current preview window Display area
获取采集的面部影像;Acquiring captured facial images;
控制所述后景贴纸匹配所述采集的面部影像的动作。Controlling the action of the background sticker to match the captured facial image.
在一个实施例中,在针对所述第二贴纸设置界面执行前景贴纸设置操作方面,所述程序中的指令具体用于执行以下操作:In one embodiment, in terms of performing a foreground sticker setting operation on the second sticker setting interface, the instructions in the program are specifically used to perform the following operations:
获取所述前景贴纸的图像数据;Obtaining image data of the foreground sticker;
在所述第二贴纸设置界面对应的纹理中缓存所述前景贴纸的图像数据;Buffering the image data of the foreground sticker in a texture corresponding to the second sticker setting interface;
在第二纹理拷贝所述纹理中的图像数据,以使得所述前景贴纸在所述第二贴纸设置界面的有效显示区域显示,所述第二纹理对应所述第二贴纸设置界面的有效显示区域。Copy the image data in the texture on a second texture so that the foreground sticker is displayed in an effective display area of the second sticker setting interface, and the second texture corresponds to the effective display area of the second sticker setting interface .
在一个实施例中,在在检测到拍照指令时,捕捉所述第三贴纸设置界面的显示内容,得到贴纸照片方面,所述程序中的指令具体用于执行以下操作:In one embodiment, when a photographing instruction is detected, the display content of the third sticker setting interface is captured to obtain a sticker photo. The instructions in the program are specifically used to perform the following operations:
所述在检测到拍照指令时,读取缓存在所述第三贴纸设置界面对应的纹理中的像素;Reading a pixel cached in a texture corresponding to the third sticker setting interface when a photographing instruction is detected;
保存所述缓存在所述第三贴纸设置界面对应的纹理中的像素,以得到所述贴纸照片。The pixels cached in the texture corresponding to the third sticker setting interface are saved to obtain the sticker photo.
在一个实施例中,所述每个预览视窗支持滤镜设置功能。In one embodiment, each preview window supports a filter setting function.
在一个实施例中,所述每个预览视窗支持背景画面设置功能。In one embodiment, each preview window supports a background picture setting function.
其中,通信接口603包括但不限于天线、放大器、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。存储器602包括以下至少一种:随机存取存贮器、非易失性存储器以及外部存储器。The communication interface 603 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. The memory 602 includes at least one of the following: a random access memory, a non-volatile memory, and an external memory.
具体的,上述各个单元的具体实现可参考图2至图4对应实施例中相关步骤的描述,在此不赘述。Specifically, for specific implementation of the foregoing units, reference may be made to the description of related steps in the embodiments corresponding to FIG. 2 to FIG. 4, and details are not described herein.
可以看出,本申请实施例提供的电子设备,确定预览视窗的数量和形状,以生成第一贴纸设置界面,然后针对每个预览视窗执行后景贴纸设置操作,以生成第二贴纸设置界面,所述后景贴纸设置操作用于针对每个预览视窗的影像设置后景贴纸,所述后景贴纸为针对预览视窗中的影像进行装饰的虚拟装饰物,进而针对所述第二贴纸设置界面执行前景贴纸设置操作,以生成第三贴纸设置界面,所述前景贴纸设置操作用于针对所述第二贴纸设置界面设置前景贴纸,所述前景贴纸为针对所述第二贴纸设置界面进行装饰的虚拟装饰物,在检测到拍照指令时,捕捉所述第三贴纸设置界面的显示内容,得到贴纸照片。可见,电子设备能够实现一种针对选择的至少一个预览视窗的贴纸的同步、快捷设置,从而得到包括至少一个预览视窗的贴纸照片,提升了电子设备拍照的趣味性和多样性。It can be seen that the electronic device provided in the embodiment of the present application determines the number and shape of preview windows to generate a first sticker setting interface, and then performs a background sticker setting operation for each preview window to generate a second sticker setting interface. The background sticker setting operation is used to set a background sticker for each image of the preview window, and the background sticker is a virtual decoration for decorating the image in the preview window, and then is executed for the second sticker setting interface. A foreground sticker setting operation to generate a third sticker setting interface, the foreground sticker setting operation is used to set a foreground sticker for the second sticker setting interface, and the foreground sticker is a virtual decoration for the second sticker setting interface The decorative object captures the display content of the third sticker setting interface when a photographing instruction is detected to obtain a sticker photo. It can be seen that the electronic device can implement a synchronization and quick setting of the stickers for the selected at least one preview window, so as to obtain a sticker photo including at least one preview window, which enhances the fun and diversity of taking pictures by the electronic device.
本发明实施例还提供另一种电子设备。上述电子设备中包括图像处理电路,该图像处理 电路可以利用硬件和/或软件组件实现,具体可以包括各种处理单元。图7为一种图像处理电路的示例图。如图7所示,为便于说明,仅示出与本申请实施例相关的图像处理方面的相关处理单元。An embodiment of the present invention also provides another electronic device. The electronic device includes an image processing circuit, and the image processing circuit may be implemented by using hardware and / or software components, and may specifically include various processing units. FIG. 7 is an example diagram of an image processing circuit. As shown in FIG. 7, for convenience of explanation, only relevant processing units in the aspect of image processing related to the embodiment of the present application are shown.
如图7所示,该图像处理电路可以包括图像信号处理(Image Signal Processing,ISP)处理器740和控制逻辑器750。成像设备710捕捉的图像数据首先由ISP处理器740处理,ISP处理器740对图像数据进行分析,以捕捉用于确定成像设备710的控制参数的图像统计信息。成像设备710可以是具有透镜712和图像传感器714的照相机。图像传感器714可包括色彩滤镜阵列(如Bayer滤镜),图像传感器714的每个成像像素可以捕捉环境光的光强和波长信息,该图像传感器714向ISP处理器740传输原始图像数据。传感器720可基于预设接口把原始图像数据提供给ISP处理器740。预设接口包括标准移动成像架构(Standard Mobile Imaging Architecture,SMIA)接口、其它串行或并行照相机接口或上述接口的组合。As shown in FIG. 7, the image processing circuit may include an image signal processing (ISP) processor 740 and a control logic 750. The image data captured by the imaging device 710 is first processed by the ISP processor 740, and the ISP processor 740 analyzes the image data to capture image statistical information used to determine control parameters of the imaging device 710. The imaging device 710 may be a camera having a lens 712 and an image sensor 714. The image sensor 714 may include a color filter array (such as a Bayer filter). Each imaging pixel of the image sensor 714 may capture light intensity and wavelength information of ambient light. The image sensor 714 transmits the original image data to the ISP processor 740. The sensor 720 may provide the original image data to the ISP processor 740 based on a preset interface. The preset interfaces include a Standard Mobile Imaging Architecture (SMIA) interface, other serial or parallel camera interfaces, or a combination of the foregoing interfaces.
ISP处理器740按多种格式逐个像素地处理原始图像数据。例如,每个图像像素可具有8、10、12或14比特的位深度,ISP处理器740可对原始图像数据进行一个或多个图像处理操作、收集关于图像数据的统计信息。其中,图像处理操作可按相同或不同的位深度精度进行。The ISP processor 740 processes the original image data pixel by pixel in a variety of formats. For example, each image pixel may have a bit depth of 8, 10, 12, or 14 bits, and the ISP processor 740 may perform one or more image processing operations on the original image data and collect statistical information about the image data. The image processing operations may be performed with the same or different bit depth accuracy.
ISP处理器740还可从图像存储器730接收像素数据。例如,从预设接口将原始像素数据发送给图像存储器730,图像存储器730中的原始像素数据再提供给ISP处理器740以供处理。图像存储器730可为存储器的部分存储空间、或者独立的专用存储器,其类型可以是直接存储器存取(Direct Memory Access,DMA)。The ISP processor 740 may also receive pixel data from the image memory 730. For example, the original pixel data is sent to the image memory 730 from a preset interface, and the original pixel data in the image memory 730 is then provided to the ISP processor 740 for processing. The image memory 730 may be a partial storage space of the memory, or an independent dedicated memory, and its type may be a direct memory access (DMA).
当接收到来自预设接口或来自图像存储器730的原始图像数据时,ISP处理器740可进行图像处理操作,如滤波处理。处理后的图像数据可发送给图像存储器730,以便在显示之前进行其他处理。ISP处理器740从图像存储器730接收处理数据,并对该处理数据进行原始域以及RGB和YCbCr颜色空间中的图像数据处理。处理后的图像数据可输出给显示器770,以供用户观看和/或由图形引擎或图形处理器(Graphics Processing Unit,GPU)进一步处理。此外,ISP处理器740的输出还可发送给图像存储器730,且显示器770可从图像存储器730读取图像数据。在一个实施例中,图像存储器730可被配置为实现一个或多个帧缓冲器。此外,ISP处理器740的输出可发送给编码器/解码器760,以实现编码/解码图像数据。编码的图像数据可被保存,并在显示于显示器770设备上之前解压缩。编码器/解码器760可由CPU或GPU或协处理器实现。When receiving raw image data from a preset interface or from the image memory 730, the ISP processor 740 may perform image processing operations, such as filtering processing. The processed image data may be sent to the image memory 730 for further processing before display. The ISP processor 740 receives the processing data from the image memory 730, and performs image data processing on the processing data in the original domain and in the RGB and YCbCr color spaces. The processed image data may be output to a display 770 for viewing by a user and / or further processed by a graphics engine or a graphics processing unit (Graphics Processing Unit, GPU). In addition, the output of the ISP processor 740 may also be sent to the image memory 730, and the display 770 may read image data from the image memory 730. In one embodiment, the image memory 730 may be configured to implement one or more frame buffers. In addition, the output of the ISP processor 740 may be sent to an encoder / decoder 760 to implement encoding / decoding of image data. The encoded image data can be saved and decompressed before being displayed on the display 770 device. The encoder / decoder 760 may be implemented by a CPU or a GPU or a coprocessor.
ISP处理器740确定的统计数据可发送给控制逻辑器750单元。例如,统计数据可包括自动曝光、自动白平衡、自动聚焦、闪烁检测、黑电平补偿、透镜712阴影校正等图像传感器714统计信息。控制逻辑器750可以是处理器和/或微控制器,一个或多个例程可根据接收的统计数据,确定成像设备710的控制参数。例如,控制参数可包括传感器720控制参数(例如增益、曝光控制的积分时间)、照相机闪光控制参数、透镜712控制参数(例如聚焦或变焦用焦距)、或这些参数的组合。ISP控制参数可包括用于自动白平衡和颜色调整(例如,在RGB处理期间)的增益水平和色彩校正矩阵,以及透镜712阴影校正参数。The statistical data determined by the ISP processor 740 may be sent to the control logic 750 unit. For example, the statistical data may include image sensor 714 statistical information such as auto exposure, auto white balance, auto focus, flicker detection, black level compensation, and lens 712 shading correction. The control logic 750 may be a processor and / or a microcontroller, and one or more routines may determine control parameters of the imaging device 710 according to the received statistical data. For example, the control parameters may include sensor 720 control parameters (such as gain, integration time for exposure control), camera flash control parameters, lens 712 control parameters (such as focal length for focusing or zooming), or a combination of these parameters. ISP control parameters may include gain levels and color correction matrices for automatic white balance and color adjustment (eg, during RGB processing), and lens 712 shading correction parameters.
本申请实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任何一种贴纸设置方法的部分或全部步骤。An embodiment of the present application further provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute the method described in the foregoing method embodiment. Part or all of the steps for any kind of sticker setting method.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种贴纸设置方法的部分或全部步骤。An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a program, and when the program is executed, includes part or all of the steps of any one of the sticker setting methods described in the foregoing method embodiments.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说 明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because according to the present invention, certain steps may be performed in another order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the description are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the description of each embodiment has its own emphasis. For a part that is not described in detail in one embodiment, reference may be made to related descriptions in other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or may be combined. Integration into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, the indirect coupling or communication connection of the device or unit, and may be electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable memory. Based on this understanding, the technical solution of the present invention essentially or part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory, Several instructions are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in various embodiments of the present invention. The foregoing memory includes: a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk, and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(read-only memory,ROM)、随机存取器(random access memory,RAM)、磁盘或光盘等。Those of ordinary skill in the art may understand that all or part of the steps in the various methods of the foregoing embodiments may be completed by a program instructing related hardware. The program may be stored in a computer-readable memory, and the memory may include: a flash disk , Read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The embodiments of the present application have been described in detail above. Specific examples have been used to explain the principles and implementation of the present invention. The descriptions of the above embodiments are only used to help understand the method and core idea of the present invention. Persons of ordinary skill in the art may change the specific implementation and application scope according to the idea of the present invention. In summary, the content of this specification should not be construed as a limitation on the present invention.

Claims (20)

  1. 一种贴纸设置方法,其特征在于,包括:A sticker setting method, comprising:
    确定预览视窗的数量和形状,以生成第一贴纸设置界面;Determine the number and shape of the preview windows to generate the first sticker setting interface;
    针对每个预览视窗执行后景贴纸设置操作,以生成第二贴纸设置界面,所述后景贴纸设置操作用于针对每个预览视窗的影像设置后景贴纸,所述后景贴纸为针对预览视窗中的影像进行装饰的虚拟装饰物;Perform a background sticker setting operation for each preview window to generate a second sticker setting interface. The background sticker setting operation is used to set a background sticker for each preview window image, and the background sticker is for the preview window. Virtual decoration with images in the decoration;
    针对所述第二贴纸设置界面执行前景贴纸设置操作,以生成第三贴纸设置界面,所述前景贴纸设置操作用于针对所述第二贴纸设置界面设置前景贴纸,所述前景贴纸为针对所述第二贴纸设置界面进行装饰的虚拟装饰物;A foreground sticker setting operation is performed on the second sticker setting interface to generate a third sticker setting interface. The foreground sticker setting operation is used to set a foreground sticker for the second sticker setting interface, and the foreground sticker is for the second sticker setting interface. A virtual decoration for decoration on the second sticker setting interface;
    在检测到拍照指令时,捕捉所述第三贴纸设置界面的显示内容,得到贴纸照片。When a photographing instruction is detected, the display content of the third sticker setting interface is captured to obtain a sticker photo.
  2. 如权利要求1所述的方法,其特征在于,所述针对每个预览视窗执行后景贴纸设置操作,包括:The method of claim 1, wherein the performing a background sticker setting operation for each preview window comprises:
    获取当前的预览视窗配置的后景贴纸;Get the background sticker configured by the current preview window;
    在所述当前的预览视窗对应的纹理中缓存所述后景贴纸的图像数据,所述纹理为缓存图像数据的容器;Buffering the image data of the background sticker in a texture corresponding to the current preview window, and the texture is a container for buffering the image data;
    获取所述当前的预览视窗的显示区域标注,所述显示区域标注用于标识所述当前的预览视窗的显示区域;Acquiring a display area label of the current preview window, where the display area label is used to identify a display area of the current preview window;
    根据所述显示区域标注在第一纹理拷贝所述纹理中的图像数据,以使得所述后景贴纸在所述当前的预览视窗的预设显示区域显示,所述第一纹理对应所述当前的预览视窗的显示区域。Copy the image data in the texture marked with the first texture according to the display area, so that the background sticker is displayed in the preset display area of the current preview window, and the first texture corresponds to the current The display area of the preview window.
  3. 如权利要求1所述的方法,其特征在于,所述针对每个预览视窗执行后景贴纸设置操作,包括:The method of claim 1, wherein the performing a background sticker setting operation for each preview window comprises:
    获取当前的预览视窗配置的后景贴纸;Get the background sticker configured by the current preview window;
    在所述当前的预览视窗对应的纹理中缓存所述后景贴纸的图像数据,所述纹理为缓存图像数据的容器;Buffering the image data of the background sticker in a texture corresponding to the current preview window, and the texture is a container for buffering the image data;
    获取所述当前的预览视窗的显示区域标注,所述显示区域标注用于标识所述当前的预览视窗的显示区域;Acquiring a display area label of the current preview window, where the display area label is used to identify a display area of the current preview window;
    根据所述显示区域标注在第一纹理拷贝所述纹理中的图像数据,以使得所述后景贴纸在所述当前的预览视窗的显示区域显示,所述第一纹理对应所述当前的预览视窗的显示区域;Copy the image data in the texture marked with the first texture according to the display area, so that the background sticker is displayed in the display area of the current preview window, and the first texture corresponds to the current preview window Display area
    获取采集的面部影像;Acquiring captured facial images;
    控制所述后景贴纸匹配所述采集的面部影像的动作。Controlling the action of the background sticker to match the captured facial image.
  4. 如权利要求1至3任一项所述的方法,其特征在于,所述针对所述第二贴纸设置界面执行前景贴纸设置操作,包括:The method according to any one of claims 1 to 3, wherein the performing a foreground sticker setting operation on the second sticker setting interface comprises:
    获取所述前景贴纸的图像数据;Obtaining image data of the foreground sticker;
    在所述第二贴纸设置界面对应的纹理中缓存所述前景贴纸的图像数据;Buffering the image data of the foreground sticker in a texture corresponding to the second sticker setting interface;
    在第二纹理拷贝所述纹理中的图像数据,以使得所述前景贴纸在所述第二贴纸设置界面的有效显示区域显示,所述第二纹理对应所述第二贴纸设置界面的有效显示区域。Copy the image data in the texture on a second texture so that the foreground sticker is displayed in an effective display area of the second sticker setting interface, and the second texture corresponds to the effective display area of the second sticker setting interface .
  5. 如权利要求1至4任一项所述的方法,其特征在于,所述在检测到拍照指令时,捕捉所述第三贴纸设置界面的显示内容,得到贴纸照片,包括:The method according to any one of claims 1 to 4, wherein, when detecting a photographing instruction, capturing a display content of the third sticker setting interface to obtain a sticker photo, comprising:
    在检测到拍照指令时,读取缓存在所述第三贴纸设置界面对应的纹理中的像素;Reading a pixel cached in a texture corresponding to the third sticker setting interface when a photographing instruction is detected;
    保存所述缓存在所述第三贴纸设置界面对应的纹理中的像素,以得到所述贴纸照片。The pixels cached in the texture corresponding to the third sticker setting interface are saved to obtain the sticker photo.
  6. 如权利要求1至5项中任一项所述的方法,其特征在于,所述每个预览视窗支持滤镜设置功能。The method according to any one of claims 1 to 5, wherein each preview window supports a filter setting function.
  7. 如权利要求1至6项中任一项所述的方法,其特征在于,所述每个预览视窗支持背景画面设置功能。The method according to any one of claims 1 to 6, wherein each preview window supports a background picture setting function.
  8. 如权利要求1至7项中任一项所述的方法,其特征在于,所述后景贴纸包括人物装饰类贴纸。The method according to any one of claims 1 to 7, wherein the background sticker comprises a character decoration sticker.
  9. 如权利要求1至8项中任一项所述的方法,其特征在于,所述前景贴纸包括前景相框或前景特效。The method according to any one of claims 1 to 8, wherein the foreground sticker comprises a foreground photo frame or a foreground special effect.
  10. 如权利要求1至9项中任一项所述的方法,其特征在于,所述前景贴纸和所述后景贴纸分别作为单独的素材保存在素材库中。The method according to any one of claims 1 to 9, wherein the foreground sticker and the background sticker are saved as separate materials in a material library, respectively.
  11. 一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行以下步骤的指令:An electronic device, comprising a processor, a memory, a communication interface, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the processor. The program includes instructions for performing the following steps:
    确定预览视窗的数量和形状,以生成第一贴纸设置界面;Determine the number and shape of the preview windows to generate the first sticker setting interface;
    针对每个预览视窗执行后景贴纸设置操作,以生成第二贴纸设置界面,所述后景贴纸设置操作用于针对每个预览视窗的影像设置后景贴纸,所述后景贴纸为针对预览视窗中的影像进行装饰的虚拟装饰物;Perform a background sticker setting operation for each preview window to generate a second sticker setting interface. The background sticker setting operation is used to set a background sticker for each preview window image, and the background sticker is for the preview window. Virtual decoration with images in the decoration;
    针对所述第二贴纸设置界面执行前景贴纸设置操作,以生成第三贴纸设置界面,所述前景贴纸设置操作用于针对所述第二贴纸设置界面设置前景贴纸,所述前景贴纸为针对所述第二贴纸设置界面进行装饰的虚拟装饰物;A foreground sticker setting operation is performed on the second sticker setting interface to generate a third sticker setting interface. The foreground sticker setting operation is used to set a foreground sticker for the second sticker setting interface, and the foreground sticker is for the second sticker setting interface. A virtual decoration for decoration on the second sticker setting interface;
    在检测到拍照指令时,捕捉所述第三贴纸设置界面的显示内容,得到贴纸照片。When a photographing instruction is detected, the display content of the third sticker setting interface is captured to obtain a sticker photo.
  12. 如权利要求11所述的电子设备,其特征在于,在针对每个预览视窗执行后景贴纸设置操作方面,所述程序包括用于执行以下步骤的指令:The electronic device according to claim 11, wherein in performing a background sticker setting operation for each preview window, the program includes instructions for performing the following steps:
    获取当前的预览视窗配置的后景贴纸;Get the background sticker configured by the current preview window;
    在所述当前的预览视窗对应的纹理中缓存所述后景贴纸的图像数据,所述纹理为缓存图像数据的容器;Buffering the image data of the background sticker in a texture corresponding to the current preview window, and the texture is a container for buffering the image data;
    获取所述当前的预览视窗的显示区域标注,所述显示区域标注用于标识所述当前的预览视窗的显示区域;Acquiring a display area label of the current preview window, where the display area label is used to identify a display area of the current preview window;
    根据所述显示区域标注在第一纹理拷贝所述纹理中的图像数据,以使得所述后景贴纸在所述当前的预览视窗的预设显示区域显示,所述第一纹理对应所述当前的预览视窗的显示区域。Copy the image data in the texture marked with the first texture according to the display area, so that the background sticker is displayed in the preset display area of the current preview window, and the first texture corresponds to the current The display area of the preview window.
  13. 如权利要求11所述的电子设备,其特征在于,在针对每个预览视窗执行后景贴纸设置操作方面,所述程序包括用于执行以下步骤的指令:The electronic device according to claim 11, wherein in performing a background sticker setting operation for each preview window, the program includes instructions for performing the following steps:
    获取当前的预览视窗配置的后景贴纸;Get the background sticker configured by the current preview window;
    在所述当前的预览视窗对应的纹理中缓存所述后景贴纸的图像数据,所述纹理为缓存图像数据的容器;Buffering the image data of the background sticker in a texture corresponding to the current preview window, and the texture is a container for buffering the image data;
    获取所述当前的预览视窗的显示区域标注,所述显示区域标注用于标识所述当前的预览视窗的显示区域;Acquiring a display area label of the current preview window, where the display area label is used to identify a display area of the current preview window;
    根据所述显示区域标注在第一纹理拷贝所述纹理中的图像数据,以使得所述后景贴纸在所述当前的预览视窗的显示区域显示,所述第一纹理对应所述当前的预览视窗的显示区域;Copy the image data in the texture marked with the first texture according to the display area, so that the background sticker is displayed in the display area of the current preview window, and the first texture corresponds to the current preview window Display area
    获取采集的面部影像;Acquiring captured facial images;
    控制所述后景贴纸匹配所述采集的面部影像的动作。Controlling the action of the background sticker to match the captured facial image.
  14. 如权利要求11至13任一项所述的电子设备,其特征在于,在针对所述第二贴纸设置界面执行前景贴纸设置操作方面,所述程序包括用于执行以下步骤的指令:The electronic device according to any one of claims 11 to 13, wherein in performing a foreground sticker setting operation on the second sticker setting interface, the program includes instructions for performing the following steps:
    获取所述前景贴纸的图像数据;Obtaining image data of the foreground sticker;
    在所述第二贴纸设置界面对应的纹理中缓存所述前景贴纸的图像数据;Buffering the image data of the foreground sticker in a texture corresponding to the second sticker setting interface;
    在第二纹理拷贝所述纹理中的图像数据,以使得所述前景贴纸在所述第二贴纸设置界面的有效显示区域显示,所述第二纹理对应所述第二贴纸设置界面的有效显示区域。Copy the image data in the texture on a second texture so that the foreground sticker is displayed in an effective display area of the second sticker setting interface, and the second texture corresponds to the effective display area of the second sticker setting interface .
  15. 如权利要求11至14任一项所述的电子设备,其特征在于,在在检测到拍照指令时,捕捉所述第三贴纸设置界面的显示内容,得到贴纸照片方面,所述程序包括用于执行以下步骤的指令:The electronic device according to any one of claims 11 to 14, wherein, when a photographing instruction is detected, capturing a display content of the third sticker setting interface to obtain a sticker photo, the program includes a program for: Perform the following steps:
    在检测到拍照指令时,读取缓存在所述第三贴纸设置界面对应的纹理中的像素;Reading a pixel cached in a texture corresponding to the third sticker setting interface when a photographing instruction is detected;
    保存所述缓存在所述第三贴纸设置界面对应的纹理中的像素,以得到所述贴纸照片。The pixels cached in the texture corresponding to the third sticker setting interface are saved to obtain the sticker photo.
  16. 如权利要求11至15项中任一项所述的电子设备,其特征在于,所述每个预览视窗支持滤镜设置功能。The electronic device according to any one of claims 11 to 15, wherein each preview window supports a filter setting function.
  17. 如权利要求11至16项中任一项所述的电子设备,其特征在于,所述每个预览视窗支持背景画面设置功能。The electronic device according to any one of claims 11 to 16, wherein each preview window supports a background picture setting function.
  18. 如权利要求11至17项中任一项所述的电子设备,其特征在于,所述后景贴纸包括人物装饰类贴纸。The electronic device according to any one of claims 11 to 17, wherein the background sticker includes a character decoration sticker.
  19. 如权利要求11至18项中任一项所述的电子设备,其特征在于,所述前景贴纸包括前景相框或前景特效。The electronic device according to any one of claims 11 to 18, wherein the foreground sticker comprises a foreground photo frame or a foreground special effect.
  20. 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-10任一项所述的方法。A computer-readable storage medium, characterized in that it stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the method according to any one of claims 1-10.
PCT/CN2019/090199 2018-06-15 2019-06-05 Sticker setting method and apparatus WO2019237982A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810622816.6 2018-06-15
CN201810622816.6A CN108965692B (en) 2018-06-15 2018-06-15 Sticker setting method and device

Publications (1)

Publication Number Publication Date
WO2019237982A1 true WO2019237982A1 (en) 2019-12-19

Family

ID=64489261

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/090199 WO2019237982A1 (en) 2018-06-15 2019-06-05 Sticker setting method and apparatus

Country Status (2)

Country Link
CN (1) CN108965692B (en)
WO (1) WO2019237982A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667130A (en) * 2020-12-23 2021-04-16 网易(杭州)网络有限公司 Game screenshot method and device and electronic equipment

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965692B (en) * 2018-06-15 2021-03-09 Oppo广东移动通信有限公司 Sticker setting method and device
CN110070496B (en) * 2019-02-28 2020-07-31 北京字节跳动网络技术有限公司 Method and device for generating image special effect and hardware device
CN110070481B (en) * 2019-03-13 2020-11-06 北京达佳互联信息技术有限公司 Image generation method, device, terminal and storage medium for virtual object of face
CN114584599B (en) * 2022-03-18 2023-05-16 北京字跳网络技术有限公司 Game data processing method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013077946A (en) * 2011-09-30 2013-04-25 Furyu Kk Photograph seal creation apparatus, control method thereof, and program
CN104333699A (en) * 2014-11-25 2015-02-04 广州视源电子科技股份有限公司 Synthetic method and device of user-defined photographing area
CN105335451A (en) * 2014-08-15 2016-02-17 宇龙计算机通信科技(深圳)有限公司 Processing method and apparatus for display data in finder frame, shooting method and terminal
CN105957123A (en) * 2016-04-19 2016-09-21 乐视控股(北京)有限公司 Picture editing method, picture editing device and terminal equipment
CN107197341A (en) * 2017-06-02 2017-09-22 福建星网视易信息系统有限公司 It is a kind of that screen display methods, device and a kind of storage device are dazzled based on GPU
US9807278B2 (en) * 2015-03-17 2017-10-31 Furyu Corporation Image processing apparatus and method in which an image processor generates image data of an image size corresponding to an application based on acquired content image data
CN108965692A (en) * 2018-06-15 2018-12-07 Oppo广东移动通信有限公司 Paster setting method and device

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878247A (en) * 2006-07-06 2006-12-13 北京中星微电子有限公司 Image frame handling method for digital pick-up device and its system
CN101750865B (en) * 2008-11-28 2012-07-18 康佳集团股份有限公司 Method for realizing photo stickers through television and television
CN102065205A (en) * 2009-11-12 2011-05-18 康佳集团股份有限公司 Set top box and method thereof for processing and displaying pictures
CN103024167A (en) * 2012-12-07 2013-04-03 广东欧珀移动通信有限公司 Photographing method and system for mobile terminal
CN104778712B (en) * 2015-04-27 2018-05-01 厦门美图之家科技有限公司 A kind of face chart pasting method and system based on affine transformation
CN105554364A (en) * 2015-07-30 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Image processing method and terminal
CN105096330A (en) * 2015-08-20 2015-11-25 厦门美图之家科技有限公司 Image processing method capable of automatically recognizing pure-color borders, system and a photographing terminal
CN106611412A (en) * 2015-10-20 2017-05-03 成都理想境界科技有限公司 Map video generation method and device
CN107105332A (en) * 2016-02-19 2017-08-29 宇龙计算机通信科技(深圳)有限公司 A kind of method of decorative picture, device and intelligent terminal
CN106060368A (en) * 2016-08-04 2016-10-26 深圳Tcl数字技术有限公司 Shooting method and system
CN106780304A (en) * 2016-12-06 2017-05-31 仙桃市寒悦社美图有限公司 Picture of mobile telephone processes software
CN107133939A (en) * 2017-04-24 2017-09-05 努比亚技术有限公司 A kind of picture synthesis method, equipment and computer-readable recording medium
CN107392984B (en) * 2017-07-26 2020-09-15 厦门美图之家科技有限公司 Method for generating animation based on face image and computing equipment
CN107562415A (en) * 2017-08-18 2018-01-09 武汉斗鱼网络科技有限公司 A kind of paster functional framework implementation method and equipment
CN107767430A (en) * 2017-09-21 2018-03-06 努比亚技术有限公司 One kind shooting processing method, terminal and computer-readable recording medium
CN107707815B (en) * 2017-09-26 2019-10-15 北京金山安全软件有限公司 Image processing method and device, electronic equipment and storage medium
CN107864335B (en) * 2017-11-20 2020-06-12 Oppo广东移动通信有限公司 Image preview method and device, computer readable storage medium and electronic equipment
CN107948506A (en) * 2017-11-22 2018-04-20 珠海格力电器股份有限公司 A kind of image processing method, device and electronic equipment
CN108093171A (en) * 2017-11-30 2018-05-29 努比亚技术有限公司 A kind of photographic method, terminal and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013077946A (en) * 2011-09-30 2013-04-25 Furyu Kk Photograph seal creation apparatus, control method thereof, and program
CN105335451A (en) * 2014-08-15 2016-02-17 宇龙计算机通信科技(深圳)有限公司 Processing method and apparatus for display data in finder frame, shooting method and terminal
CN104333699A (en) * 2014-11-25 2015-02-04 广州视源电子科技股份有限公司 Synthetic method and device of user-defined photographing area
US9807278B2 (en) * 2015-03-17 2017-10-31 Furyu Corporation Image processing apparatus and method in which an image processor generates image data of an image size corresponding to an application based on acquired content image data
CN105957123A (en) * 2016-04-19 2016-09-21 乐视控股(北京)有限公司 Picture editing method, picture editing device and terminal equipment
CN107197341A (en) * 2017-06-02 2017-09-22 福建星网视易信息系统有限公司 It is a kind of that screen display methods, device and a kind of storage device are dazzled based on GPU
CN108965692A (en) * 2018-06-15 2018-12-07 Oppo广东移动通信有限公司 Paster setting method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667130A (en) * 2020-12-23 2021-04-16 网易(杭州)网络有限公司 Game screenshot method and device and electronic equipment

Also Published As

Publication number Publication date
CN108965692A (en) 2018-12-07
CN108965692B (en) 2021-03-09

Similar Documents

Publication Publication Date Title
WO2019237982A1 (en) Sticker setting method and apparatus
CN110177218B (en) Photographing image processing method of android device
CN108810277B (en) Photographing preview method and device
CN111225150B (en) Method for processing interpolation frame and related product
CN110072052B (en) Image processing method and device based on multi-frame image and electronic equipment
WO2020034737A1 (en) Imaging control method, apparatus, electronic device, and computer-readable storage medium
WO2020057199A1 (en) Imaging method and device, and electronic device
US10270988B2 (en) Method for generating high-dynamic range image, camera device, terminal and imaging method
US20150244916A1 (en) Electronic device and control method of the same
WO2020207261A1 (en) Image processing method and apparatus based on multiple frames of images, and electronic device
CN110198417A (en) Image processing method, device, storage medium and electronic equipment
KR102207633B1 (en) Image photographing apparatus and control methods thereof
WO2018098677A1 (en) Video stream processing method and terminal
CN105516610A (en) Method and device for shooting local dynamic image
CN113810604B (en) Document shooting method, electronic device and storage medium
CN107615745A (en) A kind of photographic method and terminal
EP4318383A1 (en) Video processing method and apparatus
CN112017137A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN108986062A (en) Image processing method and device, electronic device, storage medium and computer equipment
CN108898650B (en) Human-shaped material creating method and related device
WO2019238001A1 (en) Photograph capturing control method and related device
CN108874343B (en) Preview window sharing method and device
US20220385814A1 (en) Method for generating plurality of content items and electronic device therefor
US20220414847A1 (en) High dynamic range image processing
CN113891008B (en) Exposure intensity adjusting method and related equipment

Legal Events

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

Ref document number: 19820206

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19820206

Country of ref document: EP

Kind code of ref document: A1