CN114071016B - Image processing method, device, electronic equipment and storage medium - Google Patents
Image processing method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN114071016B CN114071016B CN202111335693.6A CN202111335693A CN114071016B CN 114071016 B CN114071016 B CN 114071016B CN 202111335693 A CN202111335693 A CN 202111335693A CN 114071016 B CN114071016 B CN 114071016B
- Authority
- CN
- China
- Prior art keywords
- image
- area
- clothing
- input
- determining
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 26
- 238000000034 method Methods 0.000 claims description 32
- 230000004044 response Effects 0.000 claims description 5
- 230000006870 function Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 239000003086 colorant Substances 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- FFRBMBIXVSCUFS-UHFFFAOYSA-N 2,4-dinitro-1-naphthol Chemical compound C1=CC=C2C(O)=C([N+]([O-])=O)C=C([N+]([O-])=O)C2=C1 FFRBMBIXVSCUFS-UHFFFAOYSA-N 0.000 description 1
- 241000699670 Mus sp. Species 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
Description
技术领域Technical field
本申请属于图像处理技术领域,具体涉及一种图像处理方法、装置、电子设备及存储介质。The present application belongs to the field of image processing technology, and specifically relates to an image processing method, device, electronic equipment and storage medium.
背景技术Background technique
随着移动通信技术的发展,使用电子设备的拍摄功能拍摄图像已经成为人们日常生活中不可或缺的部分。通常,人们在拍摄图像时,拍摄背景都是随机确定的,因此,经常会遇到用户当前衣着的色彩风格与拍摄背景色彩风格不协调的问题。With the development of mobile communication technology, capturing images using the shooting function of electronic devices has become an indispensable part of people's daily lives. Usually, when people take images, the shooting background is randomly determined. Therefore, they often encounter the problem that the color style of the user's current clothing is incompatible with the color style of the shooting background.
在相关技术中,用户可以提前考察拍摄地点的风景,从而选择相应的穿着,例如,去沙滩拍照就穿红色,去海滩拍照就穿白色。然而,若出游地点风景多样,则用户很难随时随地拍摄出穿着与背景相融洽的照片,因此会提高用户后期修图的操作复杂度。In related technologies, users can examine the scenery of the shooting location in advance and choose corresponding clothing. For example, if you go to the beach to take pictures, wear red, and if you go to the beach to take pictures, wear white. However, if the scenery of the travel location is diverse, it will be difficult for the user to take photos that match the clothing and the background anytime and anywhere, which will increase the complexity of the user's post-retouching operations.
发明内容Contents of the invention
本申请实施例的目的是提供一种图像处理方法、装置、电子设备及存储介质,能够解决用户无法随时随地拍摄出穿着与背景相融洽的照片的问题。The purpose of the embodiments of the present application is to provide an image processing method, device, electronic device and storage medium that can solve the problem of users being unable to take photos of clothing that matches the background anytime and anywhere.
第一方面,本申请实施例提供了一种图像处理方法,该方法包括:获取第一图像;在满足预设触发条件的情况下,识别所述第一图像中拍摄对象的服装区域,并根据第二图像中背景区域的图像参数调整所述服装区域的图像参数;其中,所述预设触发条件包括以下至少一项:所述服装区域与所述背景区域之间的色彩匹配度小于预设阈值;接收到第一输入。In a first aspect, embodiments of the present application provide an image processing method, which method includes: acquiring a first image; and when preset trigger conditions are met, identifying the clothing area of the subject in the first image, and based on The image parameters of the background area in the second image adjust the image parameters of the clothing area; wherein the preset trigger condition includes at least one of the following: the color matching degree between the clothing area and the background area is less than the preset Threshold; first input received.
第二方面,本申请实施例提供了一种图像处理装置,包括:获取模块和处理模块;所述获取模块,用于获取第一图像;所述处理模块,用于在满足预设触发条件的情况下,识别所述第一图像中拍摄对象的服装区域,并根据第二图像中背景区域的图像参数调整所述服装区域的图像参数;其中,所述预设触发条件包括以下至少一项:所述服装区域与所述背景区域之间的色彩匹配度小于预设阈值;接收到第一输入。In a second aspect, embodiments of the present application provide an image processing device, including: an acquisition module and a processing module; the acquisition module is used to acquire a first image; and the processing module is used to perform processing when preset trigger conditions are met. In this case, identify the clothing area of the subject in the first image, and adjust the image parameters of the clothing area according to the image parameters of the background area in the second image; wherein the preset trigger condition includes at least one of the following: The color matching degree between the clothing area and the background area is less than a preset threshold; the first input is received.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device. The electronic device includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor. The program or instructions are When executed by the processor, the steps of the method described in the first aspect are implemented.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, embodiments of the present application provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the steps of the method described in the first aspect are implemented. .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, embodiments of the present application provide a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the first aspect. the method described.
在本申请实施例中,可以识别第一图像中拍摄对象的服装区域,并在满足预设触发条件的情况下,根据第二图像中背景区域的图像参数调整该服装区域的图像参数,因此,一方面,由于目标拍摄对象的服装区域的图像参数为可调节的,因此,无论拍摄对象在拍照时的穿着色彩风格如何,都可以通过调整图像参数得到服装区域与背景区域色彩协调的图像;另一方面,由于可以根据第二图像中背景区域的图像参数调整服装区域的图像参数,因此,不仅可以为图像处理过程提供处理依据,还可以降低用户操作的复杂度。In the embodiment of the present application, the clothing area of the subject in the first image can be identified, and if the preset trigger conditions are met, the image parameters of the clothing area can be adjusted according to the image parameters of the background area in the second image. Therefore, On the one hand, since the image parameters of the clothing area of the target subject are adjustable, no matter what the color style of the subject is when taking the photo, an image with coordinated colors between the clothing area and the background area can be obtained by adjusting the image parameters; on the other hand, On the one hand, since the image parameters of the clothing area can be adjusted according to the image parameters of the background area in the second image, this not only provides a processing basis for the image processing process, but also reduces the complexity of user operations.
附图说明Description of the drawings
图1是本申请实施例提供的图像处理方法的示意图;Figure 1 is a schematic diagram of an image processing method provided by an embodiment of the present application;
图2是本申请实施例提供的图像处理方法的界面操作示意图之一;Figure 2 is one of the interface operation schematic diagrams of the image processing method provided by the embodiment of the present application;
图3是本申请实施例提供的图像处理方法的界面操作示意图之二;Figure 3 is the second schematic diagram of the interface operation of the image processing method provided by the embodiment of the present application;
图4是本申请实施例提供的图像处理装置的结构示意图;Figure 4 is a schematic structural diagram of an image processing device provided by an embodiment of the present application;
图5是本申请实施例提供的电子设备的硬件示意图之一;Figure 5 is one of the hardware schematic diagrams of the electronic device provided by the embodiment of the present application;
图6是本申请实施例提供的电子设备的硬件示意图之二。FIG. 6 is a second hardware schematic diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art fall within the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first," "second," etc. are distinguished Objects are usually of one type, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the related objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的图像处理方法进行详细地说明。The image processing method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios.
本申请实施例提供的图像处理方法,该图像处理方法的执行主体可以为电子设备或者电子设备中能够实现该图像处理方法的功能模块或功能实体,本申请实施例提及的电子设备包括但不限于手机、平板电脑、电脑、相机、可穿戴设备等,下面以电子设备作为执行主体为例对本申请实施例提供的图像处理方法进行说明。For the image processing method provided by the embodiments of the present application, the execution subject of the image processing method may be an electronic device or a functional module or functional entity in the electronic device that can implement the image processing method. The electronic devices mentioned in the embodiments of the present application include but are not Limited to mobile phones, tablets, computers, cameras, wearable devices, etc., the following describes the image processing method provided by the embodiment of the present application, taking an electronic device as an execution subject as an example.
如图1所示,本申请实施例提供了一种图像处理方法,该方法可以包括步骤101-102:As shown in Figure 1, this embodiment of the present application provides an image processing method, which may include steps 101-102:
步骤101、获取第一图像。Step 101: Obtain the first image.
可选地,上述第一图像可以为用户通过电子设备即时拍摄的图像,也可以为电子设备图库中的图像,还可以为用户通过电子设备从网络上下载的图像,具体可以根据实际使用需求确定,本申请实施例对此不作限定。Optionally, the above-mentioned first image can be an image taken by the user in real time through the electronic device, or it can be an image in the gallery of the electronic device, or it can also be an image downloaded from the network by the user through the electronic device. The details can be determined according to actual usage requirements. , the embodiment of the present application does not limit this.
步骤102、在满足预设触发条件的情况下,识别第一图像中拍摄对象的服装区域,并根据第二图像中背景区域的图像参数调整服装区域的图像参数。Step 102: When the preset trigger conditions are met, identify the clothing area of the subject in the first image, and adjust the image parameters of the clothing area according to the image parameters of the background area in the second image.
其中,上述预设触发条件可以包括以下至少一项:所述服装区域与所述背景区域之间的色彩匹配度小于预设阈值;接收到第一输入。Wherein, the above-mentioned preset trigger condition may include at least one of the following: the color matching degree between the clothing area and the background area is less than a preset threshold; receiving the first input.
以第一图像为用户通过电子设备即时拍摄的图像为例。如图2所示,若用户想要拍摄图像,则可以触发电子设备显示相机的拍摄预览界面,待拍摄对象出现在拍摄预览界面中时,电子设备可以采集包含拍摄对象的第一图像,并在满足预设触发条件的情况下,从第一图像中识别出拍摄对象的服装区域21,之后,电子设备可以根据第二图像中背景区域的图像参数调整该服装区域的图像参数。Take the first image as an example that is instantly captured by the user through an electronic device. As shown in Figure 2, if the user wants to take an image, the electronic device can be triggered to display the camera's shooting preview interface. When the shooting object appears in the shooting preview interface, the electronic device can collect the first image containing the shooting object and display it in the shooting preview interface. When the preset trigger conditions are met, the clothing area 21 of the subject is identified from the first image, and then the electronic device can adjust the image parameters of the clothing area according to the image parameters of the background area in the second image.
可选地,电子设备可以先确定服装区域与背景区域之间的色彩匹配度;在色彩匹配度小于预设阈值的情况下,电子设备可以根据背景区域的图像参数调整服装区域的图像参数。其中,调整后得到的第一图像的服装区域与背景区域之间的色彩匹配度高于调整前第一图像中的服装区域与所述背景区域之间的色彩匹配度。Optionally, the electronic device can first determine the color matching degree between the clothing area and the background area; if the color matching degree is less than the preset threshold, the electronic device can adjust the image parameters of the clothing area according to the image parameters of the background area. Wherein, the color matching degree between the clothing area and the background area of the first image obtained after adjustment is higher than the color matching degree between the clothing area and the background area in the first image before adjustment.
可选地,在色彩匹配度小于预设阈值的情况下,电子设备可以显示换装提示信息,在接收到第一输入的换装指示后,电子设备可以根据背景区域的图像参数调整服装区域的图像参数。Optionally, when the color matching degree is less than a preset threshold, the electronic device can display the dressing prompt information, and after receiving the first input dressing instruction, the electronic device can adjust the clothing area according to the image parameters of the background area. Image parameters.
基于上述方案,由于可以根据服装区域和背景区域之间的色彩匹配度确定是否调整服装区域的图像参数,因此,不仅可以提高服装区域和背景区域之间的色彩匹配度,从而满足用户的变装需求,还可以避免在色彩匹配度较高的情况下运行图像参数调整进程。Based on the above solution, since it can be determined whether to adjust the image parameters of the clothing area based on the color matching degree between the clothing area and the background area, it can not only improve the color matching degree between the clothing area and the background area, thereby satisfying the user's cross-dressing requirements, and can also avoid running the image parameter adjustment process when the color matching is high.
可选地,电子设备可以从第一图像中识别到至少一个服装区域,在至少一个服装区域的数量大于1时,电子设备可以从该至少一个服装区域中确定目标服装区域。Optionally, the electronic device can identify at least one clothing area from the first image, and when the number of at least one clothing area is greater than 1, the electronic device can determine the target clothing area from the at least one clothing area.
具体的,电子设备可以从第一图像中识别到至少一个拍摄对象的至少一个服装区域,一个拍摄对象至少对应一个服装区域。之后,电子设备可以按照第一预设规则从至少一个服装区域中确定目标服装区域,并根据背景区域的图像参数调整目标服装区域的图像参数;其中,第一预设规则为:在第一时间内接收到第二输入的情况下,根据第二输入确定目标服装区域;在第一时间内未接收到第二输入的情况下,将优先级最高的服装区域确定为目标服装区域。Specifically, the electronic device can identify at least one clothing area of at least one photographed object from the first image, and one photographed object corresponds to at least one clothing area. After that, the electronic device can determine the target clothing area from at least one clothing area according to the first preset rule, and adjust the image parameters of the target clothing area according to the image parameters of the background area; wherein the first preset rule is: at the first time If the second input is received within the first time, the target clothing area is determined according to the second input; if the second input is not received within the first time, the clothing area with the highest priority is determined as the target clothing area.
示例性的,以至少一个服装区域包括服装区域1和服装区域2、第二输入为点击输入、第一时间为3s、服装区域2的优先级高于服装区域1的优先级为例。在电子设备识别到服装区域1和服装区域2后,可以突出显示服装区域1和服装区域2,用户可以从这两个服装区域中选择一个服装区域进行图像参数调整,若用户想要先调整服装区域1,则可以在3秒内对突出显示的服装区域1进行点击输入,电子设备在接收到该点击输入后就可以将服装区域1确定为目标服装区域,并根据背景区域的图像参数调整服装区域1的图像参数。若电子设备在3s内未接收到用户对服装区域的点击输入,则电子设备可以分别确定服装区域1和服装区域2的优先级,再将优先级较高的服装区域2确定为目标服装区域,并根据背景区域的图像参数调整服装区域2的图像参数。For example, take at least one clothing area including clothing area 1 and clothing area 2, the second input is a click input, the first time is 3 seconds, and the priority of clothing area 2 is higher than the priority of clothing area 1. After the electronic device recognizes clothing area 1 and clothing area 2, clothing area 1 and clothing area 2 can be highlighted. The user can select one clothing area from these two clothing areas to adjust the image parameters. If the user wants to adjust the clothing first Area 1, you can perform click input on the highlighted clothing area 1 within 3 seconds. After receiving the click input, the electronic device can determine clothing area 1 as the target clothing area, and adjust the clothing according to the image parameters of the background area. Image parameters for area 1. If the electronic device does not receive the user's click input on the clothing area within 3 seconds, the electronic device can determine the priorities of clothing area 1 and clothing area 2 respectively, and then determine the clothing area 2 with a higher priority as the target clothing area. And adjust the image parameters of clothing area 2 according to the image parameters of the background area.
基于上述方案,由于可以识别到多个服装区域,且可以从中确定目标服装区域,因此,不仅可以对第一图像中每个拍摄对象进行换装,还可以对同一个拍摄对象的不同服装区域进行换装,因此,提高了图像处理的灵活性。Based on the above solution, since multiple clothing areas can be identified and the target clothing area can be determined from them, not only can each subject in the first image be dressed up, but also different clothing areas of the same subject can be changed. Dressup, therefore, improves image processing flexibility.
可选地,上述至少一个服装区域可以包括一个拍摄对象的多个服装区域,也可以包括多个拍摄对象中每个拍摄对象的服装区域。例如,在第一图像中包括一个拍摄对象的情况下,若该拍摄对象穿的是连体衣,则电子设备可以识别到一个服装区域,若该拍摄对象的穿着包括上衣和下衣,则电子设备可以识别到两个服装区域;在第一图像中包括多个拍摄对象的情况下,电子设备可以从每个拍摄对象身上识别到至少一个服装区域。Optionally, the at least one clothing area may include multiple clothing areas of one photographic subject, or may include clothing areas of each of multiple photographic subjects. For example, in the case where a subject is included in the first image, if the subject is wearing a jumpsuit, the electronic device can identify a clothing area, and if the subject is wearing a top and bottoms, the electronic device The device can identify two clothing areas; in the case where multiple subjects are included in the first image, the electronic device can identify at least one clothing area from each subject.
可选地,服装区域的优先级可以根据区域面积确定,区域面积越大,对应的服装区域的优先级越高。Optionally, the priority of the clothing area can be determined based on the area of the area. The larger the area, the higher the priority of the corresponding clothing area.
可选地,上述第二图像可以为第一图像;或者,第二图像可以为即时采集图像;或者,第二图像可以为用户从图库中确定的任意图像。Optionally, the above-mentioned second image may be the first image; or the second image may be an immediately collected image; or the second image may be any image determined by the user from the gallery.
可选的,背景区域可以为用户从第二图像中指定的区域,也可以为电子设备自动确定的区域。下面通过两个示例进行详细的说明。Optionally, the background area may be an area specified by the user from the second image, or may be an area automatically determined by the electronic device. Detailed explanation is given below through two examples.
示例1:背景区域为电子设备自动确定的区域。Example 1: The background area is an area automatically determined by the electronic device.
在第二图像为第一图像的情况下,背景区域可以为第一图像中的拍摄背景区域。也就是说,在显示第一图像的情况下,电子设备可以识别拍摄对象的拍摄背景,并根据该拍摄背景区域对拍摄对象的服装区域进行图像参数调整。When the second image is the first image, the background area may be the shooting background area in the first image. That is to say, when the first image is displayed, the electronic device can identify the shooting background of the shooting subject, and adjust the image parameters of the clothing area of the shooting subject based on the shooting background area.
基于上述方案,由于在第二图像为第一图像的情况下,背景区域可以为第一图像中的拍摄背景区域,因此,可以根据拍摄背景区域对拍摄对象的服装区域进行图像参数调整,从而使拍摄对象的衣着与拍摄背景更加协调。Based on the above solution, when the second image is the first image, the background area can be the shooting background area in the first image. Therefore, the image parameters of the clothing area of the shooting subject can be adjusted according to the shooting background area, so that the The subject's clothing is more coordinated with the background.
示例2:背景区域为用户从第二图像中指定的区域。Example 2: The background area is the area specified by the user from the second image.
在显示第二图像的情况下,电子设备可以接收用户对第二图像的第三输入;并响应于第三输入,确定至少一个中心点;再根据该至少一个中心点和服装区域的轮廓信息确定至少一个图像区域,一个中心点对应一个图像区域;之后,按照第二预设规则从至少一个图像区域中确定背景区域;其中,第二预设规则可以为:在第二时间内接收到第四输入的情况下,根据第四输入确定背景区域;在第二时间内未接收到第四输入的情况下,将优先级最高的图像区域确定为背景区域。In the case of displaying the second image, the electronic device may receive a third input from the user on the second image; and in response to the third input, determine at least one center point; and then determine based on the at least one center point and the outline information of the clothing area. At least one image area, and one center point corresponds to one image area; then, determine the background area from the at least one image area according to a second preset rule; wherein the second preset rule may be: receiving the fourth If an input is received, the background area is determined based on the fourth input; if the fourth input is not received within the second time, the image area with the highest priority is determined as the background area.
示例性的,以第二图像为第一图像为例。如图3中的(a)所示,在显示第一图像的情况下,用户可以对第一图像的任意区域进行长按输入,电子设备可以根据该长按输入确定中心点31和中心点32,之后,电子设备可以根据服装区域21的轮廓信息确定与中心点31对应的图像区域33,以及与中心点32对应的图像区域34。最后,若用户在第二时间内对图像区域33进行第四输入,则电子设备可以将图像区域33确定为背景区域;若用户未在第二时间内对任何图像区域进行第四输入,则电子设备可以将图像区域33和图像区域34中优先级较高的图像区域确定为背景区域。For example, take the second image as the first image. As shown in (a) of Figure 3, when the first image is displayed, the user can perform a long press input on any area of the first image, and the electronic device can determine the center point 31 and the center point 32 based on the long press input. , and then the electronic device can determine the image area 33 corresponding to the center point 31 and the image area 34 corresponding to the center point 32 according to the outline information of the clothing area 21 . Finally, if the user makes a fourth input to the image area 33 within the second time, the electronic device can determine the image area 33 as the background area; if the user does not make a fourth input to any image area within the second time, the electronic device The device may determine the image area with higher priority among the image area 33 and the image area 34 as the background area.
基于上述方案,由于可以根据用户输入确定背景区域,因此,可以使换装后的拍摄对象的服装符合用户的审美需求。Based on the above solution, since the background area can be determined according to the user input, the clothing of the changed subject can be made to meet the user's aesthetic needs.
可选地,电子设备可以根据以下至少一项确定至少一个图像区域中每个图像区域的优先级:图像区域的完整性、图像区域中的色彩种类、色彩数量等。Optionally, the electronic device may determine the priority of each image area in the at least one image area according to at least one of the following: completeness of the image area, color type, color quantity, etc. in the image area.
可选地,电子设备根据第二图像中背景区域的图像参数调整服装区域的图像参数可以包括以下两种实现方式:Optionally, the electronic device adjusts the image parameters of the clothing area according to the image parameters of the background area in the second image, which may include the following two implementation methods:
实现方式1、电子设备可以将服装区域中每个像素点的图像参数一一对应的调整为背景区域的图像参数。也就是说,电子设备可以直接将服装区域中的图像替换为背景区域中的图像。Implementation method 1: The electronic device can adjust the image parameters of each pixel in the clothing area to the image parameters of the background area in one-to-one correspondence. That is to say, the electronic device can directly replace the image in the clothing area with the image in the background area.
需要说明的是,上述背景区域的像素点的数量大于或等于服装区域的像素点的数量,且背景区域的轮廓范围包含服装区域的轮廓范围。It should be noted that the number of pixels in the background area is greater than or equal to the number of pixels in the clothing area, and the outline range of the background area includes the outline range of the clothing area.
实现方式2、电子设备可以根据色彩搭配规则确定与背景区域的图像参数对应的目标图像参数,并将服装区域中的图像参数调整为目标图像参数。Implementation method 2: The electronic device can determine the target image parameters corresponding to the image parameters of the background area according to the color matching rules, and adjust the image parameters in the clothing area to the target image parameters.
电子设备可以包括色彩搭配规则,在确定背景区域的图像参数后,电子设备可以根据色彩搭配规则确定与背景区域的图像参数对应的目标图像参数,例如,若背景区域的图像参数指示背景区域为金黄色,根据色彩搭配规则,金黄色与白色的匹配度较高,因此,电子设备可以将白色对应图像参数确定为目标图像参数。The electronic device may include color matching rules. After determining the image parameters of the background area, the electronic device may determine the target image parameters corresponding to the image parameters of the background area according to the color matching rules. For example, if the image parameters of the background area indicate that the background area is gold According to the color matching rules, golden yellow has a higher matching degree with white. Therefore, the electronic device can determine the image parameters corresponding to white as the target image parameters.
可选地,若根据色彩搭配规则可以确定与背景区域的图像参数对应的多个图像参数,则电子设备可以根据用户输入确定目标图像参数,或者将与背景区域的图像参数匹配度最高的图像参数确定为目标图像参数。例如,以根据用户输入确定目标图像参数为例。电子设备可以显示每个图像参数对应的图像显示效果,用户可以根据每个图像参数对应的图像显示效果进行一个选择输入,电子设备接收到该选择输入后,可以根据该选择输入确定目标图像参数。Optionally, if multiple image parameters corresponding to the image parameters of the background area can be determined according to the color matching rules, the electronic device can determine the target image parameters according to the user input, or use the image parameter with the highest matching degree with the image parameters of the background area. Determine the target image parameters. For example, take determining target image parameters based on user input. The electronic device can display the image display effect corresponding to each image parameter. The user can make a selection input based on the image display effect corresponding to each image parameter. After receiving the selection input, the electronic device can determine the target image parameters based on the selection input.
基于上述方案,由于不仅可以将服装区域中每个像素点的图像参数一一对应的调整为背景区域的图像参数,还可以根据色彩搭配规则确定与所述背景区域的图像参数对应的目标图像参数,并将所述服装区域中的图像参数调整为所述目标图像参数,因此,不仅可以增加图像处理方式的多样性,还可以增加用户换装的趣味性。Based on the above solution, not only can the image parameters of each pixel in the clothing area be adjusted to the image parameters of the background area in a one-to-one correspondence, but also the target image corresponding to the image parameters of the background area can be determined according to the color matching rules. parameters, and adjust the image parameters in the clothing area to the target image parameters. Therefore, not only can the diversity of image processing methods be increased, but also the fun of the user's dressing up can be increased.
在本申请实施例中,可以识别第一图像中拍摄对象的服装区域,并在满足预设触发条件的情况下,根据第二图像中背景区域的图像参数调整该服装区域的图像参数,因此,一方面,由于目标拍摄对象的服装区域的图像参数为可调节的,因此,无论拍摄对象在拍照时的穿着色彩风格如何,都可以通过调整图像参数得到服装区域与背景区域色彩协调的图像;另一方面,由于可以根据第二图像中背景区域的图像参数调整服装区域的图像参数,因此,不仅可以为图像处理过程提供处理依据,还可以降低用户操作的复杂度。In the embodiment of the present application, the clothing area of the subject in the first image can be identified, and if the preset trigger conditions are met, the image parameters of the clothing area can be adjusted according to the image parameters of the background area in the second image. Therefore, On the one hand, since the image parameters of the clothing area of the target subject are adjustable, no matter what the color style of the subject is when taking the photo, an image with coordinated colors between the clothing area and the background area can be obtained by adjusting the image parameters; on the other hand, On the one hand, since the image parameters of the clothing area can be adjusted according to the image parameters of the background area in the second image, this not only provides a processing basis for the image processing process, but also reduces the complexity of user operations.
需要说明的是,本申请实施例提供的图像处理方法,执行主体可以为图像处理装置,或者该图像处理装置中的用于执行图像处理方法的控制模块。本申请实施例中以图像处理装置执行图像处理方法为例,说明本申请实施例提供的图像处理装置。It should be noted that, for the image processing method provided by the embodiments of the present application, the execution subject may be an image processing device, or a control module in the image processing device for executing the image processing method. In the embodiments of the present application, an image processing device executing an image processing method is used as an example to describe the image processing device provided by the embodiments of the present application.
如图4所示,本申请实施例还提供一种图像处理装置400,包括:获取模块401和处理模块402。获取模块401,可以用于获取第一图像;所述处理模块402,可以用于在满足预设触发条件的情况下,识别所述第一图像中拍摄对象的服装区域,并根据第二图像中背景区域的图像参数调整所述服装区域的图像参数;其中,所述预设触发条件包括以下至少一项:所述服装区域与所述背景区域之间的色彩匹配度小于预设阈值;接收到第一输入。As shown in Figure 4, this embodiment of the present application also provides an image processing device 400, including: an acquisition module 401 and a processing module 402. The acquisition module 401 can be used to acquire the first image; the processing module 402 can be used to identify the clothing area of the subject in the first image and determine the clothing area of the subject in the second image based on the preset trigger conditions. The image parameters of the background area adjust the image parameters of the clothing area; wherein the preset trigger condition includes at least one of the following: the color matching degree between the clothing area and the background area is less than a preset threshold; receiving First input.
可选地,处理模块402,具体可以用于:识别至少一个拍摄对象的至少一个服装区域,一个拍摄对象至少对应一个服装区域;按照第一预设规则从所述至少一个服装区域中确定目标服装区域,并根据所述背景区域的图像参数调整所述目标服装区域的图像参数;其中,所述第一预设规则为:在第一时间内接收到第二输入的情况下,根据所述第二输入确定所述目标服装区域;在所述第一时间内未接收到所述第二输入的情况下,将优先级最高的服装区域确定为所述目标服装区域。Optionally, the processing module 402 may be specifically configured to: identify at least one clothing area of at least one photographed object, and one photographed object corresponds to at least one clothing area; determine the target clothing from the at least one clothing area according to the first preset rule area, and adjust the image parameters of the target clothing area according to the image parameters of the background area; wherein the first preset rule is: when the second input is received within the first time, according to the first Two inputs determine the target clothing area; if the second input is not received within the first time, the clothing area with the highest priority is determined as the target clothing area.
可选地,继续参考图4,上述装置400还可以包括接收模块403;所述接收模块403,可以用于在显示所述第二图像的情况下,接收用户对所述第二图像的第三输入;所述处理模块402,还可以用于响应于所述第三输入,确定至少一个中心点;根据所述至少一个中心点和所述服装区域的轮廓信息确定至少一个图像区域,一个中心点对应一个图像区域;按照第二预设规则从所述至少一个图像区域中确定所述背景区域;其中,所述第二预设规则为:在第二时间内接收到第四输入的情况下,根据所述第四输入确定所述背景区域;在所述第二时间内未接收到所述第四输入的情况下,将优先级最高的图像区域确定为所述背景区域。Optionally, continuing to refer to Figure 4, the above-mentioned device 400 may also include a receiving module 403; the receiving module 403 may be used to receive the user's third response to the second image when the second image is displayed. Input; the processing module 402 may also be configured to determine at least one center point in response to the third input; determine at least one image area, a center point according to the at least one center point and the outline information of the clothing area Corresponding to one image area; determining the background area from the at least one image area according to a second preset rule; wherein the second preset rule is: when the fourth input is received within the second time, The background area is determined according to the fourth input; if the fourth input is not received within the second time, the image area with the highest priority is determined as the background area.
可选地,处理模块402,具体可以用于:将所述服装区域中每个像素点的图像参数一一对应的调整为所述背景区域的图像参数;或者,根据色彩搭配规则确定与所述背景区域的图像参数对应的目标图像参数,并将所述服装区域中的图像参数调整为所述目标图像参数。Optionally, the processing module 402 may be configured to: adjust the image parameters of each pixel in the clothing area to the image parameters of the background area in one-to-one correspondence; or, determine the image parameters corresponding to the background area according to the color matching rules. The target image parameters corresponding to the image parameters of the background area are determined, and the image parameters in the clothing area are adjusted to the target image parameters.
在本申请实施例中,可以识别第一图像中拍摄对象的服装区域,并在满足预设触发条件的情况下,根据第二图像中背景区域的图像参数调整该服装区域的图像参数,因此,一方面,由于目标拍摄对象的服装区域的图像参数为可调节的,因此,无论拍摄对象在拍照时的穿着色彩风格如何,都可以通过调整图像参数得到服装区域与背景区域色彩协调的图像;另一方面,由于可以根据第二图像中背景区域的图像参数调整服装区域的图像参数,因此,不仅可以为图像处理过程提供处理依据,还可以降低用户操作的复杂度。In the embodiment of the present application, the clothing area of the subject in the first image can be identified, and if the preset trigger conditions are met, the image parameters of the clothing area can be adjusted according to the image parameters of the background area in the second image. Therefore, On the one hand, since the image parameters of the clothing area of the target subject are adjustable, no matter what the color style of the subject is when taking the photo, an image with coordinated colors between the clothing area and the background area can be obtained by adjusting the image parameters; on the other hand, On the one hand, since the image parameters of the clothing area can be adjusted according to the image parameters of the background area in the second image, this not only provides a processing basis for the image processing process, but also reduces the complexity of user operations.
本申请实施例中的图像处理装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personaldigital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(NetworkAttached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The image processing device in the embodiment of the present application may be a device, or may be a component, integrated circuit, or chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (personal digital assistant). , PDA), etc., the non-mobile electronic device can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., embodiments of the present application No specific limitation is made.
本申请实施例中的图像处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The image processing device in the embodiment of the present application may be a device with an operating system. The operating system can be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of this application.
本申请实施例提供的图像处理装置能够实现图1至图3的方法实施例实现的各个过程,为避免重复,这里不再赘述。The image processing device provided by the embodiments of the present application can implement various processes implemented by the method embodiments of Figures 1 to 3. To avoid repetition, they will not be described again here.
可选地,如图5所示,本申请实施例还提供一种电子设备500,包括处理器501,存储器502,存储在存储器502上并可在所述处理器501上运行的程序或指令,该程序或指令被处理器501执行时实现上述图像处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 5, this embodiment of the present application also provides an electronic device 500, including a processor 501, a memory 502, and programs or instructions stored on the memory 502 and executable on the processor 501. When the program or instruction is executed by the processor 501, each process of the above image processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, the details will not be described here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图6为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 6 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。The electronic device 1000 includes but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, processor 1010, etc. part.
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1000 may also include a power supply (such as a battery) that supplies power to various components. The power supply may be logically connected to the processor 1010 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions. The structure of the electronic device shown in Figure 6 does not constitute a limitation on the electronic device. The electronic device may include more or less components than shown in the figure, or combine certain components, or arrange different components, which will not be described again here. .
其中,处理器1010,可以用于获取第一图像;在满足预设触发条件的情况下,识别所述第一图像中拍摄对象的服装区域,并根据第二图像中背景区域的图像参数调整所述服装区域的图像参数;其中,所述预设触发条件包括以下至少一项:所述服装区域与所述背景区域之间的色彩匹配度小于预设阈值;接收到第一输入。The processor 1010 may be used to obtain the first image; when the preset trigger conditions are met, identify the clothing area of the subject in the first image, and adjust the clothing area according to the image parameters of the background area in the second image. The image parameters of the clothing area; wherein the preset trigger condition includes at least one of the following: the color matching degree between the clothing area and the background area is less than a preset threshold; receiving the first input.
在本申请实施例中,可以识别第一图像中拍摄对象的服装区域,并在满足预设触发条件的情况下,根据第二图像中背景区域的图像参数调整该服装区域的图像参数,因此,一方面,由于目标拍摄对象的服装区域的图像参数为可调节的,因此,无论拍摄对象在拍照时的穿着色彩风格如何,都可以通过调整图像参数得到服装区域与背景区域色彩协调的图像;另一方面,由于可以根据第二图像中背景区域的图像参数调整服装区域的图像参数,因此,不仅可以为图像处理过程提供处理依据,还可以降低用户操作的复杂度。In the embodiment of the present application, the clothing area of the subject in the first image can be identified, and if the preset trigger conditions are met, the image parameters of the clothing area can be adjusted according to the image parameters of the background area in the second image. Therefore, On the one hand, since the image parameters of the clothing area of the target subject are adjustable, no matter what the color style of the subject is when taking the photo, an image with coordinated colors between the clothing area and the background area can be obtained by adjusting the image parameters; on the other hand, On the one hand, since the image parameters of the clothing area can be adjusted according to the image parameters of the background area in the second image, this not only provides a processing basis for the image processing process, but also reduces the complexity of user operations.
可选地,处理器1010具体可以用于:识别至少一个拍摄对象的至少一个服装区域,一个拍摄对象至少对应一个服装区域;按照第一预设规则从所述至少一个服装区域中确定目标服装区域,并根据所述背景区域的图像参数调整所述目标服装区域的图像参数;其中,所述第一预设规则为:在第一时间内接收到第二输入的情况下,根据所述第二输入确定所述目标服装区域;在所述第一时间内未接收到所述第二输入的情况下,将优先级最高的服装区域确定为所述目标服装区域。Optionally, the processor 1010 may be specifically configured to: identify at least one clothing area of at least one photographic subject, and one photographic object corresponds to at least one clothing area; determine the target clothing area from the at least one clothing area according to the first preset rule , and adjust the image parameters of the target clothing area according to the image parameters of the background area; wherein the first preset rule is: when the second input is received within the first time, according to the second The input determines the target clothing area; if the second input is not received within the first time, the clothing area with the highest priority is determined as the target clothing area.
在本申请实施例中,由于可以识别到多个服装区域,且可以从中确定目标服装区域,因此,不仅可以对第一图像中每个拍摄对象进行换装,还可以对同一个拍摄对象的不同服装区域进行换装,因此,提高了图像处理的灵活性。In the embodiment of the present application, since multiple clothing areas can be identified and the target clothing area can be determined from them, not only can each subject in the first image be dressed up, but also different clothing areas of the same subject can be changed. The clothing area is changed, therefore, the flexibility of image processing is improved.
可选地,用户输入单元1007,可以用于在显示所述第二图像的情况下,接收用户对所述第二图像的第三输入;处理器1010,还可以用于响应于所述第三输入,确定至少一个中心点;根据所述至少一个中心点和所述服装区域的轮廓信息确定至少一个图像区域,一个中心点对应一个图像区域;按照第二预设规则从所述至少一个图像区域中确定所述背景区域;其中,所述第二预设规则为:在第二时间内接收到第四输入的情况下,根据所述第四输入确定所述背景区域;在所述第二时间内未接收到所述第四输入的情况下,将优先级最高的图像区域确定为所述背景区域。Optionally, the user input unit 1007 may be configured to receive a third user input to the second image when the second image is displayed; the processor 1010 may also be configured to respond to the third Input, determine at least one center point; determine at least one image area according to the at least one center point and the outline information of the clothing area, and one center point corresponds to one image area; according to the second preset rule, from the at least one image area Determine the background area in; wherein, the second preset rule is: when a fourth input is received within a second time, the background area is determined based on the fourth input; If the fourth input is not received, the image area with the highest priority is determined as the background area.
在本申请实施例中,由于可以根据用户输入确定背景区域,因此,可以使换装后的拍摄对象的服装符合用户的审美需求。In this embodiment of the present application, since the background area can be determined based on user input, the clothing of the photographed subject after dressing can be made to meet the user's aesthetic needs.
可选地,处理器1010具体可以用于:将所述服装区域中每个像素点的图像参数一一对应的调整为所述背景区域的图像参数;或者,根据色彩搭配规则确定与所述背景区域的图像参数对应的目标图像参数,并将所述服装区域中的图像参数调整为所述目标图像参数。Optionally, the processor 1010 may be specifically configured to: adjust the image parameters of each pixel point in the clothing area to the image parameters of the background area in one-to-one correspondence; or, determine the image parameters corresponding to the background area according to color matching rules. The image parameters of the background area correspond to the target image parameters, and the image parameters in the clothing area are adjusted to the target image parameters.
在本申请实施例中,由于不仅可以将服装区域中每个像素点的图像参数一一对应的调整为背景区域的图像参数,还可以根据色彩搭配规则确定与所述背景区域的图像参数对应的目标图像参数,并将所述服装区域中的图像参数调整为所述目标图像参数,因此,不仅可以增加图像处理方式的多样性,还可以增加用户换装的趣味性。In the embodiment of the present application, not only can the image parameters of each pixel in the clothing area be adjusted to the image parameters of the background area in a one-to-one correspondence, but the corresponding image parameters of the background area can also be determined according to the color matching rules. target image parameters, and adjust the image parameters in the clothing area to the target image parameters. Therefore, not only can the diversity of image processing methods be increased, but also the fun of the user's dressing up can be increased.
应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(GraphicsProcessing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1009可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042. The graphics processor 10041 is used for recording data generated by an image capture device (such as Process the image data of still pictures or videos obtained by the camera). The display unit 1006 may include a display panel 10061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. Touch panel 10071, also known as touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here. Memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 1010 can integrate an application processor and a modem processor, where the application processor mainly processes operating systems, user interfaces, application programs, etc., and the modem processor mainly processes wireless communications. It can be understood that the above modem processor may not be integrated into the processor 1010.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述图像处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application also provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the program or instructions are executed by a processor, each process of the above image processing method embodiment is implemented and the same can be achieved. The technical effects will not be repeated here to avoid repetition.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage media, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述图像处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the above image processing method embodiments. Each process can achieve the same technical effect. To avoid duplication, it will not be described again here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-chip, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the terms "comprising", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article or apparatus that includes that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions may be performed, for example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to related technologies. The computer software product is stored in a storage medium (such as ROM/RAM, disk, CD), including several instructions to cause a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Inspired by this application, many forms can be made without departing from the purpose of this application and the scope protected by the claims, all of which fall within the protection of this application.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111335693.6A CN114071016B (en) | 2021-11-11 | 2021-11-11 | Image processing method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111335693.6A CN114071016B (en) | 2021-11-11 | 2021-11-11 | Image processing method, device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114071016A CN114071016A (en) | 2022-02-18 |
CN114071016B true CN114071016B (en) | 2023-10-27 |
Family
ID=80275150
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111335693.6A Active CN114071016B (en) | 2021-11-11 | 2021-11-11 | Image processing method, device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114071016B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102917158A (en) * | 2012-09-07 | 2013-02-06 | 中兴通讯股份有限公司 | Dynamic color replacing device and method as well as cellphone |
JP2018142352A (en) * | 2018-04-23 | 2018-09-13 | 株式会社リコー | Image processing system, image processing method, and program |
CN111654635A (en) * | 2020-06-30 | 2020-09-11 | 维沃移动通信有限公司 | Shooting parameter adjustment method, device and electronic device |
CN112422828A (en) * | 2020-11-17 | 2021-02-26 | 维沃移动通信有限公司 | Image processing method, image processing apparatus, electronic device, and readable storage medium |
CN112532891A (en) * | 2020-11-25 | 2021-03-19 | 维沃移动通信有限公司 | Photographing method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6337430B2 (en) * | 2013-08-22 | 2018-06-06 | 株式会社リコー | Image processing system, image processing method, and program |
US20210166399A1 (en) * | 2019-10-14 | 2021-06-03 | EyeQ Imaging Inc. | Background Balancing in a Collection of Digital Images |
US11615507B2 (en) * | 2020-04-29 | 2023-03-28 | Adobe Inc. | Automatic content-aware collage |
-
2021
- 2021-11-11 CN CN202111335693.6A patent/CN114071016B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102917158A (en) * | 2012-09-07 | 2013-02-06 | 中兴通讯股份有限公司 | Dynamic color replacing device and method as well as cellphone |
JP2018142352A (en) * | 2018-04-23 | 2018-09-13 | 株式会社リコー | Image processing system, image processing method, and program |
CN111654635A (en) * | 2020-06-30 | 2020-09-11 | 维沃移动通信有限公司 | Shooting parameter adjustment method, device and electronic device |
CN112422828A (en) * | 2020-11-17 | 2021-02-26 | 维沃移动通信有限公司 | Image processing method, image processing apparatus, electronic device, and readable storage medium |
CN112532891A (en) * | 2020-11-25 | 2021-03-19 | 维沃移动通信有限公司 | Photographing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN114071016A (en) | 2022-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112135046B (en) | Video shooting method, video shooting device and electronic equipment | |
CN112954210B (en) | Photographing method and device, electronic equipment and medium | |
CN107172345B (en) | Image processing method and terminal | |
CN109089043B (en) | Captured image preprocessing method, device, storage medium and mobile terminal | |
CN113794834B (en) | Image processing method and device and electronic equipment | |
CN109639896A (en) | Obstruction detection method and device, storage medium and mobile terminal | |
CN104135609A (en) | A method and a device for assisting in photographing, and a terminal | |
CN112734661A (en) | Image processing method and device | |
CN112911147A (en) | Display control method, display control device and electronic equipment | |
US10216381B2 (en) | Image capture | |
CN112532904B (en) | Video processing method and device and electronic equipment | |
WO2023083089A1 (en) | Photographing control display method and apparatus, and electronic device and medium | |
CN112532885A (en) | Anti-shake method and device and electronic equipment | |
CN113794831B (en) | Video shooting method, device, electronic equipment and medium | |
CN113271378B (en) | Image processing method, device and electronic equipment | |
WO2023005908A1 (en) | Photographing method and apparatus, device, and storage medium | |
CN114071016B (en) | Image processing method, device, electronic equipment and storage medium | |
CN113873081B (en) | Method and device for sending associated image and electronic equipment | |
CN112367562B (en) | Image processing method, device and electronic equipment | |
CN113709370B (en) | Image generation method, device, electronic device and readable storage medium | |
CN112367470B (en) | Image processing method and device and electronic equipment | |
CN113962840A (en) | Image processing method, image processing device, electronic equipment and storage medium | |
CN114245017A (en) | A shooting method, device and electronic device | |
CN112165584A (en) | Video recording method, device, electronic device and readable storage medium | |
CN114143454B (en) | Photography methods, devices, electronic equipment and readable storage media |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |