[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN112700513A - Image processing method and device - Google Patents

Image processing method and device Download PDF

Info

Publication number
CN112700513A
CN112700513A CN201911008138.5A CN201911008138A CN112700513A CN 112700513 A CN112700513 A CN 112700513A CN 201911008138 A CN201911008138 A CN 201911008138A CN 112700513 A CN112700513 A CN 112700513A
Authority
CN
China
Prior art keywords
image
template
color
layer
adjusting
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.)
Granted
Application number
CN201911008138.5A
Other languages
Chinese (zh)
Other versions
CN112700513B (en
Inventor
张晟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201911008138.5A priority Critical patent/CN112700513B/en
Priority to PCT/CN2020/120550 priority patent/WO2021078036A1/en
Publication of CN112700513A publication Critical patent/CN112700513A/en
Application granted granted Critical
Publication of CN112700513B publication Critical patent/CN112700513B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

The embodiment of the application provides an image processing method, an image processing device and computing equipment, and relates to the technical field of computer application. Receiving an image processing request of a user; acquiring an original image and an image template corresponding to the original image; adjusting the image template; and synthesizing the adjusted image template and the original image into a target image. The technical scheme provided by the embodiment of the application realizes automatic template adjustment and improves the visual effect of the image.

Description

Image processing method and device
Technical Field
The embodiment of the application relates to the technical field of computer application, in particular to an image processing method and device.
Background
At present, the object publicity is often performed in the form of an image, and the publicity image is usually obtained by processing an original image containing the object content, for example, adding a decoration element such as a file, and if the image processing is performed by a person, the image processing is time-consuming and expensive.
In the prior art, an image template is also provided, the image template has a specific visual effect, and the specific visual effect can be formed by superposing the image template on an original image, so that the object propaganda effect is increased.
However, the visual effect of the image synthesized by superimposing the image template on the original image is still not ideal, and therefore, how to improve the visual effect of the image becomes a technical problem to be solved.
Disclosure of Invention
The embodiment of the application provides an image processing method and device, which are used for improving the visual effect of an image.
In a first aspect, an embodiment of the present application provides an image processing method, including:
receiving an image processing request of a user;
acquiring an original image and an image template corresponding to the original image;
adjusting the image template;
and synthesizing the adjusted image template and the original image into a target image.
In a second aspect, an embodiment of the present application provides an image processing method, including:
receiving an image processing request of a user; wherein the image processing request comprises an adjusting instruction;
acquiring an original image and an image template corresponding to the original image;
adjusting the image template according to the adjusting instruction;
and synthesizing the adjusted image template and the original image into a target image.
In a third aspect, an embodiment of the present application provides an image processing method, including:
receiving an image processing request of a user;
acquiring an original image and an image template corresponding to the original image;
carrying out fuzzy processing on a background image area in the original image;
and combining the original image after the blurring processing and the image template into a target image.
In a fourth aspect, an embodiment of the present application provides an image processing method, including:
receiving an image processing request of a user;
acquiring a commodity picture and an image template corresponding to the commodity picture;
adjusting the image template;
and synthesizing the adjusted image template and the commodity picture into a promotion picture.
In a fifth aspect, an embodiment of the present application provides an image processing method, including:
receiving an image processing request of a user; the image processing request comprises an adjusting instruction;
acquiring a commodity picture and an image template corresponding to the commodity picture;
adjusting the image template according to the adjusting instruction;
and synthesizing the adjusted image template and the commodity image into a promotion picture.
In a sixth aspect, an embodiment of the present application provides an image processing method, including:
receiving an image processing request of a user;
acquiring a commodity picture and an image template corresponding to the commodity picture;
carrying out fuzzy processing on a background image area in the commodity picture;
and synthesizing the commodity picture after the fuzzy processing and the image template into a promotion picture.
In a seventh aspect, an embodiment of the present application provides an image processing apparatus, including:
the first request receiving module is used for receiving an image processing request of a user;
the first acquisition module is used for acquiring an original image and an image template corresponding to the original image;
the first adjusting module is used for adjusting the image template;
and the first synthesis template is used for synthesizing the adjusted image template and the original image into a target image.
In an eighth aspect, an embodiment of the present application provides an image processing apparatus, including:
the second request receiving module is used for receiving an image processing request of a user; wherein the image processing request comprises an adjusting instruction;
the second acquisition module is used for acquiring an original image and an image template corresponding to the original image;
the second adjusting module is used for adjusting the image template according to the adjusting instruction;
and the second synthesis template is used for synthesizing the adjusted image template and the original image into a target image.
In a ninth aspect, an embodiment of the present application provides an image processing apparatus, including:
the third request receiving module is used for receiving an image processing request of a user;
the third acquisition module is used for acquiring an original image and an image template corresponding to the original image;
the image processing module is used for carrying out fuzzy processing on a background image area in the original image;
and the third synthesis module is used for synthesizing the original image after the blurring processing and the image template into a target image.
In a tenth aspect, an embodiment of the present application provides an application program, including:
an input interface for receiving an image processing request of a user;
the loading assembly is used for acquiring an original image and an image template corresponding to the original image;
and the processing engine is used for adjusting the image template and synthesizing the adjusted image template and the original image into a target image.
In an eleventh aspect, an embodiment of the present application provides an application program, including:
an input interface for receiving an image processing request of a user; the image processing request comprises an adjusting instruction;
the loading assembly is used for acquiring an original image and an image template corresponding to the original image;
and the processing engine is used for adjusting the image template according to the adjusting instruction and synthesizing the adjusted image template and the original image into a target image.
In a twelfth aspect, an embodiment of the present application provides an application program, including:
an input interface for receiving an image processing request of a user;
the loading assembly is used for acquiring an original image and an image template corresponding to the original image;
and the processing engine is used for carrying out blurring processing on a background image area in the original image and combining the original image after blurring processing and the image template into a target image.
In a thirteenth aspect, a computing device is provided in an embodiment of the present application, comprising a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
receiving an image processing request of a user;
acquiring an original image and an image template corresponding to the original image;
adjusting the image template;
and synthesizing the adjusted image template and the original image into a target image.
In a fourteenth aspect, embodiments of the present application provide a computing device, comprising a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
receiving an image processing request of a user; wherein the image processing request comprises an adjusting instruction;
acquiring an original image and an image template corresponding to the original image;
adjusting the image template according to the adjusting instruction;
and synthesizing the adjusted image template and the original image into a target image.
In a fifteenth aspect, an embodiment of the present application provides a computing device, comprising a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
receiving an image processing request of a user;
acquiring an original image and an image template corresponding to the original image;
carrying out fuzzy processing on a background image area in the original image;
and combining the original image after the blurring processing and the image template into a target image.
In the embodiment of the application, an image processing request of a user is received, an original image and an image template corresponding to the original image are obtained, the image template is adjusted, and the adjusted image template is combined with the original image to form a target image.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow chart illustrating an embodiment of an image processing method provided by the present application;
FIG. 2 is a flow chart illustrating a further embodiment of an image processing method provided by the present application;
FIG. 3a is a schematic diagram showing image composition of the present application in one practical application;
FIG. 3b is a schematic diagram illustrating image blur in one practical application of the present application;
FIG. 3c is a schematic diagram of a target image in a practical application of the present application;
FIG. 3d is a schematic diagram showing image separation in one practical application of the present application;
FIG. 3e is a schematic diagram of at least a portion of an image template of the present application in one implementation;
FIG. 3f is a schematic diagram of a target image in a practical application of the present application;
FIG. 4 is a flow chart illustrating a further embodiment of an image processing method provided by the present application;
FIG. 5 is a flow chart illustrating a further embodiment of an image processing method provided by the present application;
FIG. 6 is a flow chart illustrating a further embodiment of an image processing method provided by the present application;
FIG. 7 is a diagram illustrating image processing in one practical application of the embodiment of the present application;
FIG. 8 is a schematic diagram illustrating an embodiment of an image processing apparatus provided in the present application;
FIG. 9 is a schematic diagram illustrating an embodiment of an application provided herein;
FIG. 10 is a block diagram illustrating one embodiment of a computing device provided herein;
FIG. 11 is a schematic diagram illustrating an image processing apparatus according to another embodiment of the present disclosure;
fig. 12 is a schematic structural diagram illustrating a further embodiment of a computing device provided by the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
In some of the flows described in the specification and claims of this application and in the above-described figures, a number of operations are included that occur in a particular order, but it should be clearly understood that these operations may be performed out of order or in parallel as they occur herein, the number of operations, e.g., 101, 102, etc., merely being used to distinguish between various operations, and the number itself does not represent any order of performance. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
The technical scheme of the embodiment of the application can be applied to a scene of processing the uploaded pictures of merchants, enterprise users, personal users, design scheme providers and the like so as to achieve the purposes of publicizing, popularizing, beautifying and the like of main objects in the uploaded pictures, and in order to distinguish in description, the original images are processed to obtain the pictures called target images. In some scenes, the processed target image can be published as an advertisement picture, a poster picture or a propaganda picture and the like so as to realize the purpose of effective popularization through enhanced visual effect, and under the condition that the target is a commodity, the commodity sales volume can be further improved.
Although the target image can be obtained by artificially processing the original image by adopting a PS (image processing software) technology and the like to increase the popularization effect of the target image, the artificial image processing is time-consuming and labor-consuming, and especially under a batch processing scene, the technical requirement on a processor is high. Therefore, in the prior art, an image template is usually used to implement image processing, at least one template layer is usually defined in the image template, each template layer can implement different visual effects, and the target image can be synthesized by superimposing the image template on the original image, so that the target image has the visual effect of the image template. The inventor finds in research that an image template is composed of at least one template layer, and generally mainly includes a template background layer and a decoration element layer, colors of the layers of the image template are predefined, the layers are sequentially superimposed on an original image, and colors of the background image and the decoration element are not coordinated with colors of a main object in a target image which may be formed, so that a visual effect is more obtrusive. In addition, the image template is usually superimposed on the original image, and only contents with specific visual effects can be superimposed on the original image, and the visual effects are relatively single.
In order to enhance the visual effect of the image, the inventor proposes the technical solution of the present application through a series of studies, and for the convenience of understanding, the following first explains the technical terms that may appear in this document:
layer drawing: the layers are like films containing elements such as characters or figures, and are stacked together in sequence to form the final image effect.
Image template: for synthesizing with the original image to modify the background image of the original image, and/or adding modifying elements and the like to the original image, and the like, the image template generally includes at least one template layer and defines a merging order of the at least one template layer and a color matching and the like of each template layer.
Original image: the image acquired by shooting and acquiring the specific object or the image acquired after correspondingly processing the image acquired by shooting and acquiring the specific object. The specific object forms the subject object in the original image.
Subject object: the subject in the image is the main content in the image, and may also be considered as a foreground image in the image.
Background image: other image regions in the image than the subject object region.
Modification elements: including paperwork, controls, borders, tiles, motifs, and/or other shaped graphics, etc.
HSV: Hue-Saturation-Value, a color model, where Hue refers to the appearanceof various colors to distinguish different colors, such as red, yellow, green, blue, etc., Saturation indicates the degree of color approaching spectral color, and the higher the Saturation, the darker and more brilliant the color, and brightness indicates the degree of color brightness.
RGB: red green blue refers to a color standard, and a variety of colors can be obtained by changing three color channels of red (R), green (G) and blue (B) and superimposing them on each other.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a flowchart of an embodiment of an image processing method provided in an embodiment of the present application, where the method may include the following steps:
101: an image processing request of a user is received.
In a possible implementation manner, the technical solution of this embodiment may be executed by a server, and a user may send the image processing request through a client;
in yet another possible implementation manner, in a scene of picture processing of an individual user, the technical solution of this embodiment may also be executed by an application program, and the application program may directly receive an image processing request of the user. The application may refer to some image processing type application at present, for example.
102: and acquiring an original image and an image template corresponding to the original image.
Wherein, the image template is obtained by pre-configuration, the image template can comprise at least one template layer,
when a plurality of image templates are provided, an image template matching the original image may be acquired.
Alternatively, an image template that does not occlude the subject object may be selected as the image template matching the original image based on the subject object position in the original image. That is, after the original image is merged with the image template, it is only required to ensure that the main object in the original image is not blocked.
In addition, in practical applications, the image templates may be configured in advance according to the object types, and therefore, the corresponding at least one image template may be determined based on the object type of the subject object in the original image, and then the image template that does not occlude the subject object may be selected from the at least one image template. For example, in a commercial poster publicity scene, when a main object in an original image is a commercial product, different image templates can be configured in advance according to the category of the commercial product, and the category of the commercial product can refer to clothing, department goods, food, household appliances and the like, so that the image template matched with the category of the commercial product can be determined based on the category of the commercial product in the original image, and then the image template which does not block the commercial product can be selected from the image templates.
In addition, in the picture processing scenario of the personal user, when the technical solution of the embodiment is executed by an application program, the original image may be provided by the user, and the image template may be obtained by selection of the user, so that the original image and the image template may be included in the image processing request.
103: and adjusting the image template.
The image template may be adjusted according to criteria for highlighting the subject object in the original image. There are many possible implementations of adjusting the image template, which will be described in detail in the following embodiments.
In the picture processing scenario of the individual user, when the application program executes the technical solution of the embodiment, the application program may adjust the image template through the server, and of course, the application program may also execute the adjustment operation.
104: and synthesizing the adjusted image template and the original image into a target image.
It will be understood by those skilled in the art that the original image may be first subjected to necessary processing operations such as corresponding cropping or scaling according to the display requirements of the image template on the size and the like, and this is not particularly limited in this application.
In this embodiment, the image template is adjusted, rather than being directly superimposed on the original image, so that the image template can be adaptively changed, thereby improving the visual image effect of the synthesized target image.
As shown in fig. 2, fig. 2 is a flowchart of an embodiment of an image processing method provided in this embodiment of the present application, where the method may include the following steps:
201: an image processing request of a user is received.
202: and acquiring an original image and an image template corresponding to the original image.
203: at least one of a background image color and a subject object color is extracted from the original image.
Wherein, the background image color may refer to a main color of the background image; the subject object color may refer to a subject color of the subject object, and the subject color extraction is the same as the related art, and will not be further described herein.
204: and adjusting the color of the image template according to at least one of the background image color and the main body object color.
Wherein, the color adjusting standard can be a representation subject object which ensures accuracy and vividness. Alternatively, the color of the image template may be adjusted according to the color of the background image or a color adjacent to the color of the background image or a contrasting color to the color of the subject object.
Furthermore, the image template is mainly used for modifying a background image of the original image and/or adding a modifying element to the original image, and therefore, a template background and a modifying element, and a template background color and a modifying element color are generally defined in the image template, and therefore, optionally, adjusting the color of the image template according to at least one of the background image color and the subject object color may refer to:
and adjusting the template background color and the color of the modifying element of the image template according to at least one of the background image color and the main body object color.
The template background is used for shielding a background image of the original image so as to highlight a main object in the original image, and the template background can be formed by a single color.
The decoration elements are used for enhancing the image publicity effect, and are used for being displayed in the background image area and covering the template background, so that the colors of the decoration elements can be adjusted simultaneously, the decoration elements can be highlighted and checked, and the observability of the decoration elements is enhanced, particularly, when the decoration elements are the documentary information related to the main object, the readability of the documentary information is ensured. And the visual effect of the modifying elements can be ensured by adjusting the colors of the modifying elements, color blocks are not needed to be used as a susceptor, and the overall harmony of the image can be ensured.
In order to improve the visual effect of the image, in this embodiment, the color of the image template may be adjusted according to a rule of displaying the image template in contrast with the main object according to at least one of the color of the background image and the color of the main object.
205: and synthesizing the adjusted image template and the original image into a target image.
The image template after color adjustment and the original image can be synthesized into the target image. The target image may be used as an image required by a service to perform corresponding applications, for example, as an advertisement image to be published in an advertisement slot of a page, or to be published in a specific position of a specific page, or to be downloaded and used by a user.
It will be understood by those skilled in the art that the original image may be first subjected to some necessary processing operations, such as corresponding cropping or scaling, according to the display requirements of the image template on the size and the like, and this is not particularly limited in this application.
In this embodiment, the color of the image template is adjusted according to at least one of the color of the background image in the original image and the color of the main object, and then the image template is combined with the original image, so that the color of the image template can be adaptively adjusted according to different original images, thereby realizing personalized setting.
In an alternative implementation manner, the template background color and the color of the decoration element in the image template may be adjusted according to the background image color.
Thus, in some embodiments, the adjusting the template background color and the modifier element color in the image template according to at least one of the background image color and the subject object color may include:
adjusting the saturation and/or brightness of the background image color to obtain a first color;
adjusting the template background color to the first color;
according to the background image color, obtaining a second color which is displayed in contrast with the background image color;
adjusting the modifying element color to the second color.
That is, under the condition of ensuring that the color of the original image is unchanged from the background image, the first color is obtained by adjusting the saturation and/or the brightness so as to enhance the visual effect, and the first color is the same as the color of the background image, so that the overall visual effect of the original image is not influenced.
The template background in the image template usually has a certain transparency, for example, the transparency is in a semi-transparent state or gradually increases according to the order of the distance from the main object area from small to large, so as to form a gradually transparent effect.
Therefore, if the transparency of the template background is zero, in order to further improve the visual effect, the color of the template background is adjusted to be not only the first color, but also the transparency of the color of the template background can be increased, for example, the transparency of the template background can be adjusted to be a semi-transparent or gradient transparent effect.
Optionally, adjusting the saturation and/or the brightness of the background image color, and obtaining the first color may be:
and increasing the saturation of the background image color to obtain a first color.
The increasing the saturation of the background image color to obtain the first color may be multiplying the saturation of the background image color by a saturation coefficient to obtain the first color.
The value range of the saturation coefficient can be, for example, 1.5-2.5, and in a practical application, the saturation coefficient can be selected to be 1.9.
The template background is used for shielding the background image, and the decoration element is covered on the template background, so that a second color which is displayed in contrast with the background image color can be selected as the decoration element color, and the decoration element can be highlighted after being covered on the template background.
The color with the contrast display effect may refer to, for example, a contrast color of the background image, or an adjacent color of the contrast color, where the color opposite to each color in the hue ring is the contrast color, and the adjacent color on the color band is the adjacent color.
In addition, in order to further improve the visual effect of the image and avoid the occurrence of excessive colors in the image from affecting the visual perception, in some embodiments, the obtaining, according to the color of the background image, the second color displayed in contrast with the color of the background image may include:
if the brightness of the background image color is smaller than the first brightness value, determining that the second color is white;
and if the brightness of the background image color is greater than the first brightness value, adjusting the saturation and/or brightness of the main body object color to obtain a second color.
That is, the second color may be determined according to the brightness of the background image color, and if the background image color is darker, the bright color system color may be selected as the second color, such as white. And if the background image color is lighter, a dark color system color may be selected as the second color.
In order to ensure the overall visual effect of the image, under the condition that the color of the background image is brighter, a second color can be obtained by adjusting the saturation and/or the brightness of the color of the main object, and the second color has the same hue as that of the color of the main object, namely the same color, but different saturation or brightness, so that excessive colors cannot appear in the synthesized target image to influence the highlighting of the main object.
Alternatively, adjusting the saturation and/or the brightness of the subject object color may be adjusting the saturation of the subject object color to a target saturation and adjusting the brightness of the subject object color to a target brightness.
In one practical application, the target saturation may be set to 100 and the target brightness may be set to 30, for example.
The first brightness value may be set in combination with an empirical value, for example, may be set to 80.
The HSV value of the background image color may be obtained by converting the RGB value of the background image color, and the HSV value of the main object color may be obtained by converting the RGB value of the main object color, and the specific conversion method is the same as that in the prior art, and is not described herein again.
Alternatively, the template background color and the decoration element color may be adjusted according to the subject object color and the background image color.
Thus, in some embodiments, the adjusting the template background color and the modifier element color of the image template according to at least one of the background image color and the subject object color may include:
judging whether the color of the background image and the color of the main object meet color matching rules or not;
if yes, adjusting the template background color and the color of the modifying element of the image template according to the background image color;
if not, adjusting the template background color and the color of the modification element of the image template according to the third color which meets the color matching rule with the main object color.
The color matching rule may refer to, for example, a color in which a background image color and a main object color are displayed in contrast, for example, colors that are mutually contrasted.
Because the original image may be obtained by a non-professional user, a main object in the original image may be busiessly displayed by a background image, and the highlight display of the main object is affected, it is first determined whether the color of the background image and the color of the main object satisfy the color matching rule, and if so, the template background color and the color of the decoration element of the image template may be directly adjusted based on the background image color in order to ensure the overall visual effect of the image without destroying the original visual atmosphere. Otherwise, the template background color and the color of the modifying element of the image template can be adjusted according to the third color which meets the color matching rule with the main object color. The third color may be, for example, a contrasting color to the subject object color, or a color adjacent to the contrasting color to the subject object color, or the like.
Wherein adjusting the template background color and the modifier color of the image template based on the background image color may be as described in the above embodiments.
Based on the third color, adjusting the template background color and the modifier element color of the image template may include:
adjusting the saturation and/or brightness of the third color to obtain a first sub-color;
adjusting the template background color to the first sub-color;
according to the third color, obtaining a second sub-color which is displayed in contrast with the third color;
adjusting the modifying element color to the second sub-color.
Wherein, according to the third color, obtaining a second sub-color displayed in contrast with the third color may include:
if the brightness of the third color is smaller than the first brightness value, determining that the second sub-color is white;
and if the brightness of the third color is larger than the first brightness value, adjusting the saturation and/or brightness of the color of the main object to obtain a second sub-color.
The saturation of the subject color may be adjusted to a target saturation and the brightness may be adjusted to a target brightness.
In yet another alternative implementation, the template background color and the modifier element color of the image template may be adjusted according to the subject object color.
Thus, in some embodiments, said adjusting a template background color and a modifier element color of said image template according to at least one of said background image color and said subject object color comprises:
and adjusting the template background color and the color of the modifying element of the image template according to the fourth color which meets the color matching rule with the main object color.
The color matching rule may be a contrast effect with the color of the subject object, for example, the fourth color may be a contrasting color of the subject object, or a color adjacent to the contrasting color of the subject object.
Wherein, according to a fourth color that satisfies the color matching rule with the main object color, adjusting the template background color and the color of the modifying element of the image template may include:
adjusting the saturation and/or brightness of the fourth color to obtain a fifth color;
adjusting the template background color to the fifth color;
according to the fourth color, obtaining a sixth color which is displayed in contrast with the fourth color;
adjusting the color of the modifying element to the sixth color.
Wherein, according to the fourth color, obtaining a sixth color displayed in contrast with the fourth color may include:
if the brightness of the fourth color is smaller than the first brightness value, determining that the sixth color is white;
and if the brightness of the fourth color is greater than the first brightness value, adjusting the saturation and/or brightness of the color of the main object to obtain a sixth color.
The saturation of the subject color may be adjusted to a target saturation and the brightness may be adjusted to a target brightness.
In an actual application, the image template may include a plurality of template layers;
the plurality of template layers at least comprise a template background layer and a decoration element layer; the template background layer is the template background color, and the decoration element layer is used for presenting decoration elements and the like.
For convenience of understanding, as shown in fig. 3a, that is, a display effect diagram of a target image 303 synthesized by an original image 301 and an image template 302 after color adjustment is shown, an example is described in which the image template includes two template layers, namely a template background layer and a modifier layer, it should be noted that, in practical applications, the image template is usually stored in a file form, and is shown in a graphic form for convenience of understanding in the figure. The modifying element 304 is specifically a pattern, and when the brightness of the background image color is smaller than a first brightness value, the modifying element may be directly adjusted to be white, and when the brightness is smaller than the first brightness value, the modifying element 304 and the hue of the main object 305 are kept consistent, and the saturation and/or the brightness are/is changed. The template background image layer may form an occlusion effect on the background image area so that the subject object 305 may be highlighted.
In certain embodiments, the method may further comprise:
carrying out fuzzy processing on a background image area in the original image;
the synthesizing the original image and the adjusted image template into the target image comprises:
and synthesizing the original image after the blurring processing and the adjusted image template into a target image.
By carrying out fuzzy processing on the background image area, the background image in the original image can be blurred, so that the main body object in the original image is more prominently displayed, the visual attractiveness of the main body object in the synthesized target image can be improved, the decoration elements superposed in the background image area can also be prominently displayed, color blocks do not need to be added at the bottoms of the decoration elements, the visual effect is more harmonious, and the readability of the decoration elements can be improved particularly when the decoration elements are character information such as a file case and the like.
Wherein, at least one of the background image color and the main body object color may be extracted from the original image after the blurring processing; whether the background image of the original image is subjected to blurring processing or not does not affect the main body color of the original image, so that the extracted background image color is the same.
To further improve the visual effect, the blurring the background image region in the original image may include:
detecting a background image area and a main body object area in the original image;
and blurring the background image area of the original image according to a rule that the farther the distance from the main object area is, the larger the blurring degree is.
The background image region may be blurred by using a gaussian blur technique, or may also be realized by using other blur techniques, for example, filtering and denoising methods such as mean filtering, median filtering, and vector filtering, or an image sharpening method, a method of changing an image signal-to-noise ratio, and the like, which is not specifically limited in this application.
Under the condition of carrying out fuzzy processing on the original image, the template background image layer in the image template can be blank, and the visual effect of the decoration element can not be influenced.
For ease of understanding, as shown in fig. 3b, an image 312 after blurring processing obtained after blurring processing is performed on the original image 311 is shown. As shown in fig. 3c, an image template, i.e., a composite target image 313, is superimposed on the image 312, the image template may only include a decoration element layer, and in the target image 313, the decoration elements 314 do not need color block setbacks and can be clearly displayed, so that the readability of the decoration elements 314 is improved.
As can be seen from the foregoing description, the image template may include a plurality of template layers; the template layers at least comprise a template background layer and a decoration element layer; the template background layer is the template background color, and the decoration element layer is used for presenting at least one decoration element; the decoration element layer may include a plurality of layers.
Therefore, adjusting the template background color and the color of the decoration element of the image template according to at least one of the background image color and the main object color may specifically refer to:
and adjusting the template background color of a template background layer in the image template and the color of a modifying element in a modifying element layer according to at least one of the background image color and the main body object color.
In addition, the transparency of the template background layer and the like can be adjusted.
The synthesizing the adjusted image template and the original image into the target image may include:
and sequentially superposing a template background layer and a modified element layer in the adjusted image template on the original image to obtain a target image.
The image template may further include other template layers, and the remaining template layers may be sequentially superimposed on the decoration element layer, or sequentially superimposed according to a combining sequence defined in the image template. For example, in a scene where an advertisement picture or a poster picture is generated, a promotional theme often exists, or when a main object is a commodity, a merchant corresponds to the scene, and the like, so a logo (logo) is added to a target image, the logo often stands out, and the display color of the logo often requires no change, so the remaining template layers of the image template may include a logo layer, and the logo layer is superimposed on a decoration element layer.
Furthermore, for further visual effect. In certain embodiments, the method may further comprise:
separating the original image to obtain a background image layer and a main object layer;
the synthesizing the adjusted image template and the original image into the target image comprises:
superposing the template background image layer on the background image layer;
inserting at least one template layer between the template background layer and the main object layer;
and superposing the rest template layer on the main body object layer to obtain a target image.
The at least one template layer may be a pre-configured target template layer with target content, and the target template layer is located below the main object layer, for example, a visual effect that the main object partially blocks the target content may be formed, so that the visual effect of the image may be enriched.
And then, if the residual template image layers exist, superposing the residual template image layers on the main object image layer, and thus obtaining the target image.
In an alternative, the image template includes a target decoration element layer presenting a target decoration element; the target decoration element layer comprises a first decoration layer and a second decoration layer; after the first modification layer and the second modification layer are superposed, forming the target modification element, wherein the first modification layer and the second modification layer respectively comprise partial contents of the target modification element;
inserting at least one template layer between the template background layer and the main object layer comprises:
inserting a first decoration layer between the template background layer and the main object layer;
superposing the residual template layer on the main body object layer to obtain a target image, wherein the step of superposing the residual template layer on the main body object layer comprises the following steps:
and sequentially superposing the second modification layer and the residual template layer on the main object layer to obtain a target image.
The first decoration layer is arranged below the main object layer, the second decoration layer is arranged above the main object layer, at least part of content in the first decoration layer can be shielded by the main object, at least part of content in the second decoration layer shields the main object, a target decoration element part is finally formed and shielded by the main object, the penetrating effect of the main object is shielded partially, the layer interleaving feeling is formed, and therefore the image visual effect is enriched.
For convenience of understanding, as shown in fig. 3d, the original image 321 includes a subject object and a background image, and by processing the original image 321, a subject object layer 322 and a background image layer 323 can be obtained separately.
As shown in fig. 3e, the image template may at least include a target decoration element layer, where the target decoration element layer is used for imaging a target decoration element, and assuming that the target decoration element is a rectangular frame, the target decoration element layer may include a first decoration layer 324 and a second decoration layer 325, and the first decoration layer 324 and the second decoration layer 325 may respectively display at least part of contents of the target decoration element, such as the content 31 presented by the first decoration layer and the content 32 presented by the second decoration layer in fig. 2 e.
When image synthesis is performed, as shown in fig. 3f, the background image layer 323 is located at the lowest, and a template background layer in the image template may be superimposed on the background image layer 323, where the template background layer is blank corresponding to the main object region, and does not block the main object region after superimposition. A first decoration layer 324 is superimposed on the template background layer, a main object layer 322 is superimposed on the first decoration layer 324, a second decoration layer 325 is superimposed on the main object layer 322, if there are remaining template layers, such as other decoration element layers, they are superimposed on the second decoration layer 325, and finally a target image 326 is synthesized, in which the target image 326 has a interpenetration effect that a rectangular frame portion has content to shield the main object 33 and part of the content is shielded by the main object 33, thereby enriching the visual display effect of the image.
The image template may be formed by at least one template layer, and the at least one template layer has a superposition order, that is, a superposition position relationship. Thus in some embodiments, the image template comprises at least one template layer;
the adjusting the image template comprises: and adjusting the superposition position relation of the at least one template image according to the original image.
The stacking position relationship may include the stacking position relationship of each template layer, and the like, so as to determine the stacking sequence between the template layers.
Specifically, as shown in fig. 4, fig. 4 is a flowchart of another embodiment of an image processing method provided in an embodiment of the present application, where the method may include the following steps:
401: an image processing request of a user is received.
402: and acquiring an original image and an image template corresponding to the original image.
Wherein the image template comprises at least one template layer.
403: and separating and obtaining a background image layer and a main body object layer from the original image.
404: and adjusting the superposition position relation of the at least one template image according to the original image.
That is, the overlapping position relationship of the at least one template layer may be adjusted in combination with the background image layer and the main object layer to obtain the background image layer, the main object layer, and the overlapping sequence between the at least one template layer.
405: and inserting one or more template layers between the background image layer and the main object layer according to the adjusted superposition position relationship, and superposing the rest template layers on the main object layer to obtain a target image.
Specifically, according to the stacking sequence of each layer determined by the adjusted stacking position relationship, one or more template layers are inserted between the background image layer and the main object layer, and the rest template layers are stacked on the main object layer to obtain the target image.
In this embodiment, the original image is separated to obtain a background image layer and a main object layer, so that one or more template layers may be inserted between the background image layer and the main object layer, and the contents of the one or more template layer programs are located below the main object layer, so as to form a visual effect of layer interleaving display with the main object, thereby enriching the visual effect of the image.
In some embodiments, inserting one or more template layers between the background image layer and the main object layer according to the adjusted stacking position relationship, and stacking the remaining template layers on the main object layer to obtain the target image may include:
and according to the adjusted superposition position relationship, inserting a target template layer between the background image layer and the main body object layer, and superposing the rest template layers on the main body object layer to obtain a target image.
That is, only one preconfigured target template layer may be inserted between the background image layer and the main object layer, where the target template layer includes target content, and the target content may be a decoration element or other content, and the at least one template layer may be a preconfigured target template layer with target content, and the target template layer is located below the main object layer, for example, a visual effect that the main object partially blocks the target content may be formed, so as to enrich the image visual effect. And then, if the residual template layers exist, superposing the residual template layers on the main body object layer to obtain the target image.
In some embodiments, the image template includes a target modifier layer; the target decoration element layer is used for presenting a target decoration element; the target decoration element layer comprises a first decoration layer and a second decoration layer;
inserting one or more template layers between the background image layer and the main object layer according to the adjusted superposition position relationship, and superposing the rest template layers on the main object layer comprises:
and inserting the first modification layer between the background image layer and the main object layer according to the adjusted superposition position relationship, and superposing the second modification layer on the main object layer.
The image template may include at least one decoration element layer, and the first decoration layer and the second decoration layer included in the target decoration element layer may be pre-configured, and are used to form a template layer with an interpenetration effect with the main object.
In some embodiments, the image template includes a template background layer;
the inserting the first decoration layer between the background image layer and the main object layer according to the adjusted superposition position relationship, and superposing the second decoration layer and the rest template layer on the main object layer comprises:
according to the adjusted superposition position relationship, superposing the template background image layer on the background image layer;
and inserting the first decoration layer between the template background layer and the main object layer, and superposing the second decoration layer and the rest template layer on the main object layer.
Wherein, the remaining template graph layers may be zero.
In certain embodiments, the method may further comprise:
extracting at least one of a background image color and a subject object color from the original image;
and adjusting the template background color of the template background layer and the color of a decorative element in the decorative element layer according to at least one of the background image color and the main body object color.
In a practical application, the image processing request may include an original image, that is, the original image is uploaded by a user.
In an optional mode, the decoration element in the image template is a document element, and specific document content can also be provided by a user for the main object, so that a target image with document content added according with the requirements of the user can be generated. Therefore, in some embodiments, the target image may also be sent to the user terminal, so that the user may conveniently view and download the target image.
In addition, in some scenes, such as e-commerce scenes, in order to attract users, a lot of popularization activities are usually launched, the users participate in the popularization activities, commodity pictures can be uploaded, and the system can automatically generate a target image and publish the target image.
Therefore, in some embodiments, before receiving the original image uploaded by the user, the method may further include:
sending promotion activity participation prompt information to a user side;
after the synthesizing the adjusted image template and the original image into the target image, the method may further include:
and issuing the target image on a corresponding page corresponding to the promotion activity.
As yet another alternative, the image processing request includes an adjustment instruction;
the adjusting the image template comprises:
and adjusting the image template according to the adjusting instruction.
In some embodiments, the adjustment instruction may include a target color;
the adjusting the image template according to the adjusting instruction comprises:
and adjusting the color of the image template according to the target color.
Optionally, the adjusting the color of the image template according to the target color may be:
adjusting the template background color to the target color;
according to the target color, obtaining a color which is displayed in contrast with the target color;
adjusting the modifying element color to the second color.
Or;
adjusting the color of the modifying element to the target color;
according to the target color, obtaining a color which is displayed in contrast with the target color;
and adjusting the background color of the template to the second color.
The target color is provided by the user, the personalized requirements of the user can be met, the user only needs to provide the target color, the color of the template can be adjusted, and the method is convenient and quick.
In some embodiments, the adjustment instruction may further include a target superimposition position relationship of different template layers;
the adjusting the image template according to the adjustment instruction may include:
the target stack position relationship may further include a stack position relationship between a main object layer and a background layer in the original image.
For example, one possible target overlay location relationship may include: and inserting one or more template layers between the background image layer and the main object layer, and superposing the rest template layers on the main object layer.
Therefore, the adjusting of each template layer in the image template to the target superimposition position relationship may include:
and inserting one or more template layers between the background image layer and the main object layer according to the target superposition position relationship, and superposing the rest template layers on the main object layer to obtain a target image.
Optionally, the image template includes a target decoration element layer; the target decoration element layer is used for presenting a target decoration element; the target decoration element layer comprises a first decoration layer and a second decoration layer;
the target overlapping position relationship may include an overlapping position relationship between a first modified image and a second modified image, and therefore, the inserting one or more template layers between the background image layer and the main object layer, and the overlapping remaining template layers on the main object layer may include:
and inserting the first modification layer between the background image layer and the main object layer according to the adjusted superposition position relationship, and superposing the second modification layer and the residual template layer on the main object layer.
Optionally, inserting the first decoration layer between the background image layer and the main object layer, and superimposing the second decoration layer and the remaining template layer on the main object layer may include:
superposing the template background image layer on the background image layer;
and inserting the first decoration layer between the template background layer and the main object layer, and superposing the second decoration layer and the rest template layer on the main object layer.
In some embodiments, the adjustment instruction may include an image processing instruction and a template adjustment instruction;
the adjusting the image template comprises:
adjusting the original image according to the image processing instruction;
adjusting the image template according to the template adjusting instruction;
the synthesizing the adjusted image template and the original image into the target image comprises:
and synthesizing the adjusted image template and the adjusted original image into a target image.
The template adjustment instruction may include, for example, a target color and/or a target superimposition positional relationship, and the specific adjustment method for combining the target color or the target superimposition positional relationship may be as described above.
The image processing instruction may include, for example, a blur processing instruction; thus, the adjusting the original image according to the image processing instructions may comprise:
carrying out fuzzy processing on a background image area in the original image;
the specific implementation of the blurring process can be referred to the above description, and is not described herein again.
As described above, the original image may be adjusted by combining an adjustment instruction or a pre-configured adjustment manner. Moreover, as yet another optional implementation manner, the adjusting the image template includes:
determining a user characteristic of the user;
and adjusting the image template according to an adjusting mode matched with the user characteristics.
That is, the user characteristics may be combined to determine an adjustment mode of the user preference, so as to adjust the image template according to the adjustment mode.
The adjustment manner may include, for example, an adjustment manner in the embodiment shown in fig. 2 or fig. 4, which is used to adjust a color of the image template or a superposition position relationship of template layers in the image template.
Of course, the adjustment mode may also include other implementation forms, for example, the adjustment mode may include a target color matching with the user characteristic, or a target overlapping position relationship, and the like.
Fig. 5 is a flowchart of another embodiment of an image processing method provided in an embodiment of the present application, where the method may include:
501: receiving an image processing request of a user; wherein, the image processing request comprises an adjusting instruction.
502: and acquiring an original image and an image template corresponding to the original image.
503: and adjusting the image template according to the adjusting instruction.
504: and synthesizing the adjusted image template and the original image into a target image.
That is, the user can provide the adjustment instruction according to the own requirement to realize the automatic adjustment of the image template. In the picture processing scene of the individual user, the individual requirements of the individual user on picture processing can be met.
The specific implementation manner of adjusting the image template according to the adjustment instruction has been described in detail above, and will not be described herein again.
Fig. 6 is a flowchart of another embodiment of an image processing method provided in an embodiment of the present application, where the method may include:
601: an image processing request of a user is received.
602: and acquiring an original image and an image template corresponding to the original image.
The image template may include at least a decoration element layer for presenting decoration elements.
603: and carrying out fuzzy processing on a background image area in the original image.
604: and combining the original image after the blurring processing and the image template into a target image.
In this embodiment, the background image in the original image can be blurred by performing the blurring processing on the background image region of the original image, so that the main object in the original image is more prominently displayed, thereby ensuring that the visual appeal of the main object can be improved in the synthesized target image, and improving the visual effect. The decoration elements superposed in the background image area can be highlighted without color block setoff and also can be clearly displayed, so that the readability of the decoration elements is improved.
To further improve the visual effect, in some embodiments, the blurring the background image region in the original image may include:
detecting a background image area and a main body object area in the original image;
and blurring the background image area of the original image according to a rule that the farther the distance from the main object area is, the larger the blurring degree is.
The blurring processing method may be as described above, and is not described herein again.
In certain embodiments, the method may further comprise:
extracting at least one of a background image color and a subject object color from the original image;
adjusting the color of the image template according to at least one of the background image color and the main body object color;
the synthesizing the original image after the blurring process and the image template into the target image includes:
and combining the original image after the blurring processing and the image template after the adjustment into a target image.
Optionally, since the image template is usually used to modify a background image of the original image or add a modifying element or the like to the original image, the color of the image template mainly refers to a template background color and a modifying element color, and thus the template background color and the modifying element color of the image template may be adjusted according to at least one of the background image color and the subject object color.
The specific implementation manner of adjusting the template background color and the color of the modifying element of the image template according to at least one of the background image color and the main object color may be as described in the above embodiments, and is not described herein again.
In certain embodiments, the image template comprises at least one template layer;
the synthesizing the original image after the blurring process and the image template into the target image includes:
separating the original image after the fuzzy processing to obtain a background image layer and a main object layer;
and inserting one or more template layers between the background image layer and the main object layer, and superposing the rest template layers on the main object layer to obtain a target image.
By inserting one or more template layers between the background image layer and the main object layer, a layer interleaving feeling can be formed to enrich the visual effect of the image.
Optionally, a template layer may be inserted between the background image layer and the main object layer, and may be a preconfigured target template layer, where the target template layer may include target content, and the target template layer is located below the main object layer, for example, a visual effect that the main object partially blocks the target content may be formed, so that the visual effect of the image may be enriched.
In some embodiments, the image template includes a target modifier layer; the target decoration element layer comprises a first decoration layer and a second decoration layer;
the inserting one or more template layers between the background image layer and the main object layer, and the superimposing the remaining template layers on the main object layer include:
and inserting the first decoration layer between the background image layer and the main object layer, and sequentially overlapping the second decoration layer and the residual template layer on the main object layer.
Wherein, the remaining template graph layers may be zero.
The first decoration layer and the second decoration layer may be template layers that are pre-configured to achieve an insertion effect of the target decoration element and the main object.
In some embodiments, the image template includes a template background layer, the inserting a first decoration layer between the background image layer and the body object layer, and the superimposing the second decoration layer on the body object layer may include:
superposing the template background image layer on the background image layer;
and inserting the first decoration layer between the template background layer and the main object layer, and superposing the second decoration layer and the rest template layer on the main object layer.
Specifically, the template background color of the template background layer and the decoration element color of the decoration element layer may be adjusted according to at least one of the background image color and the main body object color.
In a practical application, the technical scheme of the embodiment of the application can be applied to an electronic commerce scene and used for generating the promotion picture corresponding to the commodity based on the commodity picture.
As shown in the interaction diagram shown in fig. 7, a merchant may submit a commodity picture through a merchant terminal 701, a server terminal 702 searches for an image template based on the commodity picture, and a popularization picture with a high-quality visual effect may be synthesized according to the technical scheme of the embodiment of the present application.
In an optional implementation manner, the promotion picture can be returned to the merchant terminal, and can be viewed or downloaded by the merchant for use, and the like.
In addition, the commodity picture submitted by the merchant may be submitted for a certain promotion activity, and is used to participate in the promotion activity, at this time, the promotion picture may be directly published, for example, the promotion picture is displayed at a specific position in a specific page of the user terminal 703, the specific page may refer to, for example, a home page of the user terminal 703 or an activity page of the promotion activity, and the like, so that the user may view the promotion picture, and in addition, a link address of the promotion picture may be set, so that the description page of the commodity and the like may be indexed by clicking the promotion picture. By adopting the technical scheme of the embodiment of the application, the visual effect of the promoted picture is better, and the promotion picture is more favorable for attracting users, so that the click rate of the promoted picture can be improved, and the commodity sales volume can be further improved.
As another embodiment, an embodiment of the present application further provides an image processing method, where in a case that an original image is a commodity picture, a subject object of the original image is a commodity in the commodity picture, and the method may include:
receiving an image processing request of a user;
acquiring a commodity picture and an image template corresponding to the commodity picture;
adjusting the image template;
and synthesizing the adjusted image template and the commodity picture into a promotion picture.
As another embodiment, an embodiment of the present application further provides an image processing method, where the method may include:
receiving an image processing request of a user; the image processing request comprises an adjusting instruction;
acquiring a commodity picture and an image template corresponding to the commodity picture;
adjusting the image template according to the adjusting instruction;
and synthesizing the adjusted image template and the commodity image into a promotion picture.
As another embodiment, an embodiment of the present application further provides an image processing method, where the method may include:
receiving an image processing request of a user;
acquiring a commodity picture and an image template corresponding to the commodity picture;
carrying out fuzzy processing on a background image area in the commodity picture;
and synthesizing the commodity picture after the fuzzy processing and the image template into a promotion picture.
In some embodiments, obtaining the commodity picture and the image template corresponding to the commodity picture may include:
acquiring a commodity picture in the image processing request;
and searching an image template matched with the commodity picture.
In some embodiments, before the receiving the image processing request, the method may further include:
sending promotion activity participation prompt information to a merchant end;
after synthesizing the target image, the method may further include:
and publishing the promotion picture on a corresponding page corresponding to the promotion activity.
The publishing of the promotion picture in the page may refer to displaying the promotion picture in the page to achieve the purpose of commodity promotion.
Optionally, the promotion picture may be linked to a description page of the commodity, and based on a trigger operation of the user on the promotion picture, the description page of the commodity may be correspondingly output.
In still another practical application, the technical scheme of the embodiment of the application can be applied to a picture processing scene of an individual user, and the user can shoot pictures anytime and anywhere along with the upgrading of shooting hardware such as mobile equipment. In order to improve the visual effect of the picture, the picture may also be processed by an application program of an image processing class, for example, an image template with a specific visual effect is superimposed, and the visual effect of the picture is enhanced. A user can submit an original image in an application program and can select an image template, so that according to the technical scheme of the embodiment of the application, the image template can be adjusted, for example, a main object in the original image is a human body, and the main color of the human body is usually the color of clothes, so that the color of the clothes can be combined, the background color of the template of the image template can be automatically adjusted, and the visual effect of the synthesized target image is better; if the image template includes modified elements such as characters, the original image is subjected to layer separation, and the superposition sequence between layers is readjusted, so that the visual effect of layer staggered display can be realized, or the visual effect of the insertion of the main body object and the characters can be realized, and the like, thereby enriching the visual effect of the image, improving the image processing quality of the application program, meeting the requirements of an individual user on image processing, and improving the user experience.
Fig. 8 is a schematic structural diagram of an embodiment of an image processing apparatus according to an embodiment of the present application, where the apparatus may include:
a first request receiving module 801, configured to receive an image processing request of a user;
a first obtaining module 802, configured to obtain an original image and an image template corresponding to the original image;
a first adjusting module 803, configured to adjust the image template;
a first synthesis template 804, configured to synthesize the adjusted image template and the original image into a target image. In some embodiments, the first adjusting module may be specifically configured to extract at least one of a background image color and a subject object color from the original image; and adjusting the color of the image template according to at least one of the background image color and the main body object color.
In some embodiments, the first adjusting module is specifically configured to adjust a template background color and a modifier element color of the image template according to at least one of the background image color and the subject object color.
In some embodiments, the first adjusting module is specifically configured to adjust saturation and/or brightness of the background image color to obtain a first color; adjusting the template background color to the first color; according to the background image color, obtaining a second color which is displayed in contrast with the background image color; adjusting the modifying element color to the second color.
In some embodiments, the obtaining, by the first adjustment module, a second color displayed in contrast with the background image color according to the background image color comprises:
if the brightness of the background image color is smaller than the first brightness value, determining that the second color is white;
and if the brightness of the background image color is greater than the first brightness value, adjusting the saturation and/or brightness of the main body object color to obtain a second color.
In some embodiments, the first adjusting module is specifically configured to determine whether the color of the background image and the color of the main object satisfy a color matching rule; if yes, adjusting the template background color and the color of the modifying element of the image template according to the background image color; if not, adjusting the template background color and the color of the modification element of the image template according to the third color which meets the color matching rule with the main object color.
In some embodiments, the first adjusting module is specifically configured to adjust the template background color and the color of the modifying element of the image template according to a fourth color that satisfies a color matching rule with the color of the subject object.
In some embodiments, the apparatus may further comprise:
the fuzzy processing module is used for carrying out fuzzy processing on a background image area in the original image;
the first synthesis module is specifically configured to synthesize the original image after the blurring processing and the adjusted image template into a target image.
In some embodiments, the blur processing module is specifically configured to detect a background image region and a subject object region in the original image; and blurring the background image area of the original image according to a rule that the farther the distance from the main object area is, the larger the blurring degree is.
In some embodiments, the image template comprises a plurality of template layers; the plurality of template layers comprise a template background layer and a decorative element layer; the decoration element layer is used for presenting at least one decoration element;
the device further comprises:
the image separation module is used for separating the original image to obtain a background image layer and a main object layer;
the first synthesis module is specifically configured to superimpose the template background image layer on the background image layer; inserting at least one template layer between the template background layer and the main object layer; and superposing the rest template layer on the main body object layer to obtain a target image.
In some embodiments, the image template includes a target modifier layer; the target decoration element layer comprises a first decoration layer and a second decoration layer; the image synthesized by the first modified layer and the second modified layer comprises modified elements, and the first modified layer and the second modified layer respectively comprise partial contents of the modified elements;
the first synthesis module inserts at least one template layer between the template background layer and the main object layer, and the first synthesis module comprises:
inserting a first decoration layer between the template background layer and the main object layer;
superposing the residual template layer on the main body object layer to obtain a target image, wherein the step of superposing the residual template layer on the main body object layer comprises the following steps:
and sequentially superposing the second modification layer and the residual template layer on the main object layer to obtain a target image.
In some embodiments, the first obtaining module is specifically configured to receive an original image uploaded by a user; and searching an image template matched with the original image.
In some embodiments, the apparatus may further comprise:
the activity promotion module is used for sending promotion activity participation prompt information to the user side;
and the business processing module is used for publishing the target image on the corresponding page corresponding to the promotion activity.
In certain embodiments, the image template comprises at least one template layer;
the first adjusting module is specifically configured to adjust a stacking position relationship of the at least one template image according to the original image.
In some embodiments, the first synthesis module may be specifically configured to separate and obtain a background image layer and a main object layer from the original image; and inserting one or more template layers between the background image layer and the main object layer according to the adjusted superposition position relationship, and superposing the rest template layers on the main object layer to obtain a target image.
In some embodiments, the image template includes a target modifier layer; the target decoration element layer is used for presenting a target decoration element; the target decoration element layer comprises a first decoration layer and a second decoration layer;
the first synthesizing module is specifically configured to insert the first decoration layer between the background image layer and the main object layer according to the adjusted stacking position relationship, and stack the second decoration layer and the remaining template layer on the main object layer.
In some embodiments, the image template includes a template background layer;
the first synthesizing module inserts the first decoration layer between the background image layer and the main object layer, and the superimposing the second decoration image and the remaining template image layers on the main object layer includes:
superposing the template background image layer on the background image layer;
and inserting the first decoration layer between the template background layer and the main object layer, and superposing the second decoration layer and the rest template layer on the main object layer.
In some embodiments, the apparatus may further comprise:
the color adjusting module is used for extracting at least one of a background image color and a main body object color from the original image; and adjusting the template background color of the template background layer and the color of a decorative element in the decorative element layer according to at least one of the background image color and the main body object color.
In some embodiments, the image processing request includes adjustment instructions;
the first adjusting module is specifically configured to adjust the image template according to the adjusting instruction.
In some embodiments, the first adjustment module is specifically configured to determine a user characteristic of the user; and adjusting the image template according to an adjusting mode matched with the user characteristics.
The image processing apparatus shown in fig. 8 can execute the image processing method shown in the embodiment shown in fig. 1, and the implementation principle and the technical effect are not repeated. The specific manner in which each module and unit of the image processing apparatus in the above embodiments perform operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
In addition, an embodiment of the present application further provides an application program, as shown in fig. 9, the application program may include:
an input interface 901 for receiving an image processing request of a user;
a loading component 902, configured to obtain an original image and an image template corresponding to the original image;
and a processing engine 903, configured to adjust the image template, and combine the adjusted image template and the original image into a target image.
The application program shown in fig. 9 may execute the image processing method shown in fig. 1, and the implementation principle and technical effects thereof are not described in detail.
In one possible design, the image processing apparatus of the embodiment shown in fig. 8 may be implemented as a computing device, which may include a storage component 1001 and a processing component 1002 as shown in fig. 10;
the storage component 1001 stores one or more computer instructions for the processing component 1002 to invoke for execution.
The processing component 1002 is configured to:
receiving an image processing request of a user;
acquiring an original image and an image template corresponding to the original image;
adjusting the image template;
and synthesizing the adjusted image template and the original image into a target image.
Of course, a computing device may also necessarily include other components, such as input/output interfaces, communication components, and so forth.
The input/output interface provides an interface between the processing components and peripheral interface modules, which may be output devices, input devices, etc.
The communication component is configured to facilitate wired or wireless communication between the computing device and other devices, and the like.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the image processing method according to the embodiment shown in fig. 1 may be implemented.
In another embodiment, an embodiment of the present application further provides an image processing apparatus, including:
the second request receiving module is used for receiving an image processing request of a user; wherein the image processing request comprises an adjusting instruction;
the second acquisition module is used for acquiring an original image and an image template corresponding to the original image;
the second adjusting module is used for adjusting the image template according to the adjusting instruction;
and the second synthesis template is used for synthesizing the adjusted image template and the original image into a target image.
In one possible design, the image processing apparatus may be implemented as a computing device that may include a storage component and a processing component;
the storage component stores one or more computer instructions, wherein the one or more computer instructions are for execution invoked by the processing component.
The processing component is to:
receiving an image processing request of a user; wherein the image processing request comprises an adjusting instruction;
acquiring an original image and an image template corresponding to the original image;
adjusting the image template according to the adjusting instruction;
and synthesizing the adjusted image template and the original image into a target image.
In addition, an embodiment of the present application further provides an application program, including:
an input interface for receiving an image processing request of a user; the image processing request comprises an adjusting instruction;
the loading assembly is used for acquiring an original image and an image template corresponding to the original image;
and the processing engine is used for adjusting the image template according to the adjusting instruction and synthesizing the adjusted image template and the original image into a target image.
In addition, an embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the computer program can implement the image processing method according to the embodiment shown in fig. 5.
Fig. 11 is a schematic structural diagram of another embodiment of an image processing apparatus according to an embodiment of the present application, where the apparatus may include:
a third request receiving module 1101 for receiving an image processing request of a user;
a third obtaining module 1102, configured to obtain an original image and an image template corresponding to the original image;
an image processing module 1103, configured to perform blur processing on a background image region in the original image;
a third synthesis module 1104, configured to synthesize the original image after the blurring processing and the image template into a target image.
In some embodiments, the apparatus may further comprise: the color adjusting module is used for extracting at least one of a background image color and a main body object color from the original image; adjusting the color of the image template according to at least one of the background image color and the main body object color;
the second synthesis module is specifically configured to synthesize the original image after the blurring process and the image template after the adjustment into a target image.
In certain embodiments, the image template comprises at least one template layer;
the second synthesis module is specifically configured to separate a background image layer and a main object layer from the original image after the blurring processing; and inserting one or more template layers between the background image layer and the main object layer, and superposing the rest template layers on the main object layer to obtain a target image.
In some embodiments, the image template includes a target modifier layer; the target decoration element layer comprises a first decoration layer and a second decoration layer;
the second synthesis module inserts one or more template layers between the background image layer and the main object layer, and the step of superposing the rest template layers on the main object layer comprises the following steps:
and inserting the first decoration layer between the background image layer and the main object layer, and sequentially overlapping the second decoration layer and the residual template layer on the main object layer.
In some embodiments, the image template includes a template background layer;
the second synthesis module inserts a first decoration layer between the background image layer and the main object layer, and the second decoration layer is superimposed on the main object layer, and the second synthesis module includes:
superposing the template background image layer on the background image layer;
and inserting the first decoration layer between the template background layer and the main object layer, and superposing the second decoration layer and the rest template layer on the main object layer.
The image processing apparatus shown in fig. 11 may execute the image processing method shown in the embodiment shown in fig. 6, and the implementation principle and the technical effect are not described again. The specific manner in which each module and unit of the image processing apparatus in the above embodiments perform operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
In one possible design, the image processing apparatus of the embodiment shown in fig. 11 may be implemented as a computing device, which may include a storage component 1201 and a processing component 1202 as shown in fig. 12;
the storage component 1201 stores one or more computer instructions for the processing component 1202 to invoke for execution.
The processing component 1202 is configured to:
receiving an image processing request of a user;
acquiring an original image and an image template corresponding to the original image;
carrying out fuzzy processing on a background image area in the original image;
and combining the original image after the blurring processing and the image template into a target image.
Of course, a computing device may also necessarily include other components, such as input/output interfaces, communication components, and so forth.
The input/output interface provides an interface between the processing components and peripheral interface modules, which may be output devices, input devices, etc.
The communication component is configured to facilitate wired or wireless communication between the computing device and other devices, and the like.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the image processing method according to the embodiment shown in fig. 6 can be implemented.
In addition, an embodiment of the present application further provides an application program, which may include:
an input interface for receiving an image processing request of a user;
the loading assembly is used for acquiring an original image and an image template corresponding to the original image;
and the processing engine is used for carrying out blurring processing on a background image area in the original image and combining the original image after blurring processing and the image template into a target image.
In this case, the computing device may be a cloud server, and the processing component, the storage component, and the like may be basic server resources leased or purchased from the cloud computing platform. Thus, in actual practice, a "computing device" may be a remote web server, a computer networking device, a chipset, a desktop computer, a notebook computer, a workstation, or any other processing device or equipment.
Of course, the computing device may also refer to a portable mobile terminal, such as a mobile phone, a tablet computer, a personal computer, and the like.
The processing components described above may include one or more processors executing computer instructions to perform all or part of the steps of the methods described above. Of course, the processing elements may also be implemented as one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components configured to perform the above-described methods.
The storage component is configured to store various types of data to support operations in the computing device. The memory components may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (39)

1. An image processing method, comprising:
receiving an image processing request of a user;
acquiring an original image and an image template corresponding to the original image;
adjusting the image template;
and synthesizing the adjusted image template and the original image into a target image.
2. The method of claim 1, wherein the adjusting the image template comprises:
extracting at least one of a background image color and a subject object color from the original image;
and adjusting the color of the image template according to at least one of the background image color and the main body object color.
3. The method of claim 2, wherein the adjusting the color of the image template according to at least one of the background image color and the subject object color comprises:
and adjusting the template background color and the color of the modifying element of the image template according to at least one of the background image color and the main body object color.
4. The method of claim 3, wherein the adjusting the template background color and the modifier element color in the image template according to at least one of the background image color and the subject object color comprises:
adjusting the saturation and/or brightness of the background image color to obtain a first color;
adjusting the template background color to the first color;
according to the background image color, obtaining a second color which is displayed in contrast with the background image color;
adjusting the modifying element color to the second color.
5. The method of claim 4, wherein obtaining the second color displayed in contrast to the background image color according to the background image color comprises:
if the brightness of the background image color is smaller than the first brightness value, determining that the second color is white;
and if the brightness of the background image color is greater than the first brightness value, adjusting the saturation and/or brightness of the main body object color to obtain a second color.
6. The method of claim 3, wherein the adjusting the template background color and the modifier color of the image template according to at least one of the background image color and the subject object color comprises:
judging whether the color of the background image and the color of the main object meet color matching rules or not;
if yes, adjusting the template background color and the color of the modifying element of the image template according to the background image color;
if not, adjusting the template background color and the color of the modification element of the image template according to the third color which meets the color matching rule with the main object color.
7. The method of claim 3, wherein the adjusting the template background color and the modifier color of the image template according to at least one of the background image color and the subject object color comprises:
and adjusting the template background color and the color of the modifying element of the image template according to the fourth color meeting the color matching rule with the main object color.
8. The method of claim 1, further comprising:
carrying out fuzzy processing on a background image area in the original image;
the synthesizing the adjusted image template and the original image into the target image comprises:
and synthesizing the original image after the blurring processing and the adjusted image template into a target image.
9. The method of claim 8, wherein blurring the background image region in the original image comprises:
detecting a background image area and a main body object area in the original image;
and blurring the background image area of the original image according to a rule that the farther the distance from the main object area is, the larger the blurring degree is.
10. The method of claim 2, wherein the image template comprises a plurality of template layers; the plurality of template layers comprise a template background layer and a decorative element layer; the decoration element layer is used for presenting at least one decoration element;
the method further comprises the following steps:
separating the original image to obtain a background image layer and a main object layer;
the synthesizing the adjusted image template and the original image into the target image comprises:
superposing the adjusted template background image layer in the image template on the background image layer;
inserting at least one template layer in the adjusted image template between the template background layer and the main object layer;
and superposing the rest template layers in the adjusted image template on the main object layer to obtain a target image.
11. The method of claim 10, wherein the image template comprises a target modifier layer; the target decoration element layer comprises a first decoration layer and a second decoration layer; the image synthesized by the first modified layer and the second modified layer comprises modified elements, and the first modified layer and the second modified layer respectively comprise partial contents of the modified elements;
inserting at least one template layer of the adjusted image template between the template background layer and the main object layer comprises:
inserting a first decoration layer between the template background layer and the main object layer;
superposing the residual template layer on the main body object layer to obtain a target image, wherein the step of superposing the residual template layer on the main body object layer comprises the following steps:
and sequentially superposing the second modification layer and the residual template layer on the main object layer to obtain a target image.
12. The method of claim 2, wherein the original image is included in the image processing request.
13. The method of claim 12, wherein prior to receiving the user's image processing request, the method further comprises:
sending promotion activity participation prompt information to a user side;
after the synthesizing the adjusted image template and the original image into the target image, the method further comprises:
and issuing the target image on a corresponding page corresponding to the promotion activity.
14. The method of claim 1, wherein the image template comprises at least one template layer;
the adjusting the image template comprises: and adjusting the superposition position relation of the at least one template image according to the original image.
15. The method of claim 14, wherein compositing the adjusted image template and the original image into a target image comprises:
separating and obtaining a background image layer and a main body object layer from the original image;
and inserting one or more template layers between the background image layer and the main object layer according to the adjusted superposition position relationship, and superposing the rest template layers on the main object layer to obtain a target image.
16. The method of claim 15, wherein the image template comprises a target modifier layer; the target decoration element layer is used for presenting a target decoration element; the target decoration element layer comprises a first decoration layer and a second decoration layer;
inserting one or more template layers between the background image layer and the main object layer according to the adjusted overlapping position relationship, and overlapping the rest template layers on the main object layer comprises:
and inserting the first modification layer between the background image layer and the main object layer according to the adjusted superposition position relationship, and superposing the second modification layer and the residual template layer on the main object layer.
17. The method of claim 16, wherein the image template comprises a template background layer;
the inserting the first decoration layer between the background image layer and the main object layer according to the adjusted superposition position relationship, and superposing the second decoration layer and the rest template layer on the main object layer comprises:
according to the adjusted superposition position relationship, superposing the template background image layer on the background image layer;
and inserting the first decoration layer between the template background layer and the main object layer, and superposing the second decoration layer and the rest template layer on the main object layer.
18. The method of claim 17, further comprising:
extracting at least one of a background image color and a subject object color from the original image;
and adjusting the template background color of the template background layer and the color of a decorative element in the decorative element layer according to at least one of the background image color and the main body object color.
19. The method of claim 1, wherein the image processing request includes an adjustment instruction;
the adjusting the image template comprises:
and adjusting the image template according to the adjusting instruction.
20. The method of claim 19, wherein the adjustment instruction includes a target color;
the adjusting the image template comprises:
and adjusting the color of the image template according to the target color.
21. The method according to claim 1, wherein the adjustment instruction comprises an image processing instruction and a template adjustment instruction;
the adjusting the image template comprises:
adjusting the original image according to the image processing instruction;
adjusting the image template according to the template adjusting instruction;
the synthesizing the adjusted image template and the original image into the target image comprises:
and synthesizing the adjusted image template and the adjusted original image into a target image.
22. The method of claim 1, wherein the adjusting the image template comprises:
determining a user characteristic of the user;
and adjusting the image template according to an adjusting mode matched with the user characteristics.
23. An image processing method, comprising:
receiving an image processing request of a user; wherein the image processing request comprises an adjusting instruction;
acquiring an original image and an image template corresponding to the original image;
adjusting the image template according to the adjusting instruction;
and synthesizing the adjusted image template and the original image into a target image.
24. The method according to claim 23, wherein the adjustment instruction comprises an image processing instruction and a template adjustment instruction;
the adjusting the image template according to the adjusting instruction comprises:
adjusting the image template according to the template adjusting instruction;
adjusting the original image according to an image processing instruction;
the synthesizing the adjusted image template and the original image into the target image comprises:
and synthesizing the adjusted image template and the adjusted original image into a target image.
25. The method of claim 23, wherein the adjustment instruction comprises a target color, and wherein adjusting the image template according to the adjustment instruction comprises:
and adjusting the template background color and the color of the modifying element of the image template according to the target color.
26. The method of claim 25, wherein the adjusting the template background color and the modifier color of the image template according to the target color comprises:
adjusting the template background color of the image template to the target color;
according to the target color, obtaining a color which is displayed in contrast with the target color;
adjusting the color of the modifying element to a color that is displayed in contrast to the target color.
27. An image processing method, comprising:
receiving an image processing request of a user;
acquiring an original image and an image template corresponding to the original image;
carrying out fuzzy processing on a background image area in the original image;
and combining the original image after the blurring processing and the image template into a target image.
28. An image processing method, comprising:
receiving an image processing request of a user;
acquiring a commodity picture and an image template corresponding to the commodity picture;
adjusting the image template;
and synthesizing the adjusted image template and the commodity picture into a promotion picture.
29. An image processing method, comprising:
receiving an image processing request of a user; the image processing request comprises an adjusting instruction;
acquiring a commodity picture and an image template corresponding to the commodity picture;
adjusting the image template according to the adjusting instruction;
and synthesizing the adjusted image template and the commodity image into a promotion picture.
30. An image processing method, comprising:
receiving an image processing request of a user;
acquiring a commodity picture and an image template corresponding to the commodity picture;
carrying out fuzzy processing on a background image area in the commodity picture;
and synthesizing the commodity picture after the fuzzy processing and the image template into a promotion picture.
31. An image processing apparatus characterized by comprising:
the first request receiving module is used for receiving an image processing request of a user;
the first acquisition module is used for acquiring an original image and an image template corresponding to the original image;
the first adjusting module is used for adjusting the image template;
and the first synthesis template is used for synthesizing the adjusted image template and the original image into a target image.
32. An image processing apparatus characterized by comprising:
the second request receiving module is used for receiving an image processing request of a user; wherein the image processing request comprises an adjusting instruction;
the second acquisition module is used for acquiring an original image and an image template corresponding to the original image;
the second adjusting module is used for adjusting the image template according to the adjusting instruction;
and the second synthesis template is used for synthesizing the adjusted image template and the original image into a target image.
33. An image processing apparatus characterized by comprising:
the third request receiving module is used for receiving an image processing request of a user;
the third acquisition module is used for acquiring an original image and an image template corresponding to the original image;
the image processing module is used for carrying out fuzzy processing on a background image area in the original image;
and the third synthesis module is used for synthesizing the original image after the blurring processing and the image template into a target image.
34. An application program, comprising:
an input interface for receiving an image processing request of a user;
the loading assembly is used for acquiring an original image and an image template corresponding to the original image;
and the processing engine is used for adjusting the image template and synthesizing the adjusted image template and the original image into a target image.
35. An application program, comprising:
an input interface for receiving an image processing request of a user; the image processing request comprises an adjusting instruction;
the loading assembly is used for acquiring an original image and an image template corresponding to the original image;
and the processing engine is used for adjusting the image template according to the adjusting instruction and synthesizing the adjusted image template and the original image into a target image.
36. An application program, comprising:
an input interface for receiving an image processing request of a user;
the loading assembly is used for acquiring an original image and an image template corresponding to the original image;
and the processing engine is used for carrying out blurring processing on a background image area in the original image and combining the original image after blurring processing and the image template into a target image.
37. A computing device comprising a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
receiving an image processing request of a user;
acquiring an original image and an image template corresponding to the original image;
adjusting the image template;
and synthesizing the adjusted image template and the original image into a target image.
38. A computing device comprising a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
receiving an image processing request of a user; wherein the image processing request comprises an adjusting instruction;
acquiring an original image and an image template corresponding to the original image;
adjusting the image template according to the adjusting instruction;
and synthesizing the adjusted image template and the original image into a target image.
39. A computing device comprising a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
receiving an image processing request of a user;
acquiring an original image and an image template corresponding to the original image;
carrying out fuzzy processing on a background image area in the original image;
and combining the original image after the blurring processing and the image template into a target image.
CN201911008138.5A 2019-10-22 2019-10-22 Image processing method and device Active CN112700513B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911008138.5A CN112700513B (en) 2019-10-22 2019-10-22 Image processing method and device
PCT/CN2020/120550 WO2021078036A1 (en) 2019-10-22 2020-10-13 Image processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911008138.5A CN112700513B (en) 2019-10-22 2019-10-22 Image processing method and device

Publications (2)

Publication Number Publication Date
CN112700513A true CN112700513A (en) 2021-04-23
CN112700513B CN112700513B (en) 2024-10-22

Family

ID=75504969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911008138.5A Active CN112700513B (en) 2019-10-22 2019-10-22 Image processing method and device

Country Status (2)

Country Link
CN (1) CN112700513B (en)
WO (1) WO2021078036A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113298921A (en) * 2021-05-19 2021-08-24 广州虎牙科技有限公司 Theme template color matching method and device, electronic equipment and storage medium
CN113407087A (en) * 2021-08-23 2021-09-17 成都统信软件技术有限公司 Picture processing method, computing device and readable storage medium
CN113692215A (en) * 2021-07-30 2021-11-23 广州佳帆计算机有限公司 System, method and device for adjusting position of patch element
CN113947529A (en) * 2021-10-14 2022-01-18 万翼科技有限公司 Image enhancement method, model training method, component identification method and related equipment
CN115205416A (en) * 2022-08-12 2022-10-18 广州鼎甲计算机科技有限公司 Image generation method and device, computer equipment and storage medium
WO2024051467A1 (en) * 2022-09-09 2024-03-14 北京字跳网络技术有限公司 Image processing method and apparatus, electronic device, and storage medium

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101587586A (en) * 2008-05-20 2009-11-25 株式会社理光 Device and method for processing images
CN101753851A (en) * 2008-12-17 2010-06-23 华为终端有限公司 Method for replacing background, method for synthesizing virtual scene, as well as relevant system and equipment
CN102436666A (en) * 2011-08-31 2012-05-02 上海大学 Object and scene fusion method based on IHS (Intensity, Hue, Saturation) transform
CN103530848A (en) * 2013-09-27 2014-01-22 中国人民解放军空军工程大学 Double exposure implementation method for inhomogeneous illumination image
CN104885120A (en) * 2012-12-31 2015-09-02 基文影像公司 System and method for displaying an image stream
US20160028969A1 (en) * 2011-12-21 2016-01-28 Samsung Electronics Co., Ltd. Digital photographing apparatus and method of controlling the digital photographing apparatus
CN105335939A (en) * 2014-08-15 2016-02-17 腾讯科技(深圳)有限公司 Image processing method and apparatus
CN107230182A (en) * 2017-08-03 2017-10-03 腾讯科技(深圳)有限公司 A kind of processing method of image, device and storage medium
CN107392832A (en) * 2017-06-30 2017-11-24 广东欧珀移动通信有限公司 Image processing method and related product
CN108874482A (en) * 2018-05-30 2018-11-23 北京小米移动软件有限公司 Image processing method and device
CN108989678A (en) * 2018-07-27 2018-12-11 维沃移动通信有限公司 A kind of image processing method, mobile terminal
CN109240689A (en) * 2018-08-15 2019-01-18 腾讯科技(深圳)有限公司 A kind of generation method of application icon, device, server and medium
CN109300013A (en) * 2018-10-25 2019-02-01 百度在线网络技术(北京)有限公司 Method and apparatus for generating information
CN109345612A (en) * 2018-09-13 2019-02-15 腾讯数码(天津)有限公司 A kind of image generating method, device, equipment and storage medium
CN110148102A (en) * 2018-02-12 2019-08-20 腾讯科技(深圳)有限公司 Image composition method, ad material synthetic method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9832373B2 (en) * 2014-06-24 2017-11-28 Cyberlink Corp. Systems and methods for automatically capturing digital images based on adaptive image-capturing templates
CN105550980B (en) * 2014-10-29 2018-11-27 阿里巴巴集团控股有限公司 A kind of Picture Generation Method and relevant apparatus
CN105426438A (en) * 2015-11-05 2016-03-23 深圳市金立通信设备有限公司 Information display method and terminal
CN107517303A (en) * 2016-06-17 2017-12-26 中兴通讯股份有限公司 Wallpaper treatment method and device
CN107133939A (en) * 2017-04-24 2017-09-05 努比亚技术有限公司 A kind of picture synthesis method, equipment and computer-readable recording medium
CN108550101B (en) * 2018-04-19 2023-07-25 腾讯科技(深圳)有限公司 Image processing method, device and storage medium

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101587586A (en) * 2008-05-20 2009-11-25 株式会社理光 Device and method for processing images
CN101753851A (en) * 2008-12-17 2010-06-23 华为终端有限公司 Method for replacing background, method for synthesizing virtual scene, as well as relevant system and equipment
CN102436666A (en) * 2011-08-31 2012-05-02 上海大学 Object and scene fusion method based on IHS (Intensity, Hue, Saturation) transform
US20160028969A1 (en) * 2011-12-21 2016-01-28 Samsung Electronics Co., Ltd. Digital photographing apparatus and method of controlling the digital photographing apparatus
CN104885120A (en) * 2012-12-31 2015-09-02 基文影像公司 System and method for displaying an image stream
CN103530848A (en) * 2013-09-27 2014-01-22 中国人民解放军空军工程大学 Double exposure implementation method for inhomogeneous illumination image
CN105335939A (en) * 2014-08-15 2016-02-17 腾讯科技(深圳)有限公司 Image processing method and apparatus
CN107392832A (en) * 2017-06-30 2017-11-24 广东欧珀移动通信有限公司 Image processing method and related product
CN107230182A (en) * 2017-08-03 2017-10-03 腾讯科技(深圳)有限公司 A kind of processing method of image, device and storage medium
CN110148102A (en) * 2018-02-12 2019-08-20 腾讯科技(深圳)有限公司 Image composition method, ad material synthetic method and device
CN108874482A (en) * 2018-05-30 2018-11-23 北京小米移动软件有限公司 Image processing method and device
CN108989678A (en) * 2018-07-27 2018-12-11 维沃移动通信有限公司 A kind of image processing method, mobile terminal
CN109240689A (en) * 2018-08-15 2019-01-18 腾讯科技(深圳)有限公司 A kind of generation method of application icon, device, server and medium
CN109345612A (en) * 2018-09-13 2019-02-15 腾讯数码(天津)有限公司 A kind of image generating method, device, equipment and storage medium
CN109300013A (en) * 2018-10-25 2019-02-01 百度在线网络技术(北京)有限公司 Method and apparatus for generating information

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
侯瑞;杨莉;: "视觉观察品牌标示图像优化设计仿真", 计算机仿真, no. 11, 15 November 2017 (2017-11-15) *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113298921A (en) * 2021-05-19 2021-08-24 广州虎牙科技有限公司 Theme template color matching method and device, electronic equipment and storage medium
CN113692215A (en) * 2021-07-30 2021-11-23 广州佳帆计算机有限公司 System, method and device for adjusting position of patch element
CN113407087A (en) * 2021-08-23 2021-09-17 成都统信软件技术有限公司 Picture processing method, computing device and readable storage medium
CN113407087B (en) * 2021-08-23 2022-04-01 成都统信软件技术有限公司 Picture processing method, computing device and readable storage medium
CN113947529A (en) * 2021-10-14 2022-01-18 万翼科技有限公司 Image enhancement method, model training method, component identification method and related equipment
CN115205416A (en) * 2022-08-12 2022-10-18 广州鼎甲计算机科技有限公司 Image generation method and device, computer equipment and storage medium
WO2024051467A1 (en) * 2022-09-09 2024-03-14 北京字跳网络技术有限公司 Image processing method and apparatus, electronic device, and storage medium

Also Published As

Publication number Publication date
WO2021078036A1 (en) 2021-04-29
CN112700513B (en) 2024-10-22

Similar Documents

Publication Publication Date Title
CN112700513B (en) Image processing method and device
US9251169B2 (en) Systems and methods for creating photo collages
US10074193B2 (en) Controlled dynamic detailing of images using limited storage
US20180159971A1 (en) Method and apparatus for generating unlocking interface, and electronic device
CN105185352B (en) The edge method of modifying and edge decorating device of image
CN107408401B (en) User slider for simplified adjustment of images
CN107369188A (en) The synthetic method and device of image
CN112102422B (en) Image processing method and device
US10650488B2 (en) Apparatus, method, and computer program code for producing composite image
CN112800718A (en) PDF document display method, computer equipment and storage medium
EP2711817A2 (en) Theme display method and device thereof
CN112218006B (en) Multimedia data processing method and device, electronic equipment and storage medium
US9460544B2 (en) Device, method and computer program for generating a synthesized image from input images representing differing views
CN106155508B (en) Information processing method and client
CN112541955B (en) Image processing method, device and equipment
US10989600B2 (en) Automated methods and systems to fill background and interstitial space in a visual object layout
CN108134906A (en) Image processing method and its system
CN110533744B (en) Method, device and system for synthesizing picture and mobile terminal
US10885697B1 (en) Systems and methods for generating augmented-reality makeup effects
CN113360820B (en) Page display method, system, equipment and storage medium
US20130054425A1 (en) Web-based system permitting a customer to shop online for clothes with their own picture
CN114266782A (en) Image processing method and system and electronic equipment
CN114565686A (en) Video processing method and device, electronic equipment and readable storage medium
AU2014280984A1 (en) Image processing apparatus, program, and image processing method
CN111104935B (en) Image acquisition method, image display method, device and equipment

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