Image processing method and device, electronic equipment and readable storage medium

By acquiring and determining the image style parameters of the target user and processing the captured images, the problem that image effects in traditional technology cannot meet users' personalized needs is solved, and an image processing effect is more in line with user preferences is achieved.

CN119653248APending Publication Date: 2025-03-18GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411756058.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-02
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

In traditional technology, the scene effect of the output image cannot meet the user's personalized needs, especially in terms of tone and color.

Method used

By acquiring the image style parameters of the target user, determining these parameters based on the historical image and at least one reference image, the captured image is then processed to generate an image that meets the user's personalized needs.

Benefits of technology

The scene effect of outputting images is realized to meet users' personalized needs and improve the user experience of image processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119653248A_ABST
    Figure CN119653248A_ABST
Patent Text Reader

Abstract

The invention relates to an image processing method and device, electronic equipment and a readable storage medium. The method comprises the following steps: acquiring an image style parameter of a target user; the image style parameter is determined according to a historical image and at least one reference image; the at least one reference image is obtained by performing simulation processing of at least one image dimension on the historical image; and processing a shot image according to the image style parameter to generate a first target image. By adopting the method, the scene effect of the output image can meet the personalized requirements of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing technology, and in particular to an image processing method, device, electronic device and readable storage medium. Background Art

[0002] With the development of terminal technology, images can be captured through terminals in more and more scenarios.

[0003] In traditional technology, the scene effects of images output for the same scene by terminals of the same brand under the same software version are basically the same. However, different users have different preferences, especially in terms of tone and color. Therefore, there is a problem in traditional technology that the scene effects of output images cannot meet the personalized needs of users. Summary of the invention

[0004] The embodiments of the present application provide an image processing method, device, electronic device and readable storage medium, which can make the scene effect of the output image meet the personalized needs of users.

[0005] In a first aspect, an embodiment of the present application provides an image processing method, the method comprising:

[0006] Acquire image style parameters of the target user; the image style parameters are determined according to the historical image and at least one reference image; the at least one reference image is obtained by performing simulation processing on at least one image dimension of the historical image;

[0007] The captured image is processed according to the image style parameters to generate a first target image.

[0008] In a second aspect, an embodiment of the present application provides an image processing device, the device comprising:

[0009] An acquisition module, used to acquire image style parameters of a target user; the image style parameters are determined based on a historical image and at least one reference image; the at least one reference image is obtained by performing simulation processing on at least one image dimension of the historical image;

[0010] The processing module is used to process the captured image according to the image style parameters to generate a first target image.

[0011] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the image processing method described in the first aspect.

[0012] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the image processing method described in the first aspect are implemented.

[0013] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the image processing method described in the first aspect.

[0014] The above-mentioned image processing method, device, electronic device and readable storage medium can obtain at least one reference image by simulating at least one image dimension of the historical image, so that the image style parameters of the target user can be determined based on the historical image and the at least one reference image. In this way, when the electronic device takes an image, it can process the captured image according to the image style parameters of the target user to generate a first target image. Since the first target image is processed according to the image style parameters of the target user, the first target image can meet the image style preference of the target user, so that the generated first target image can meet the personalized needs of the target user. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0016] Figure 1 A diagram showing an application environment of an image processing method in an embodiment;

[0017] Figure 2 is a flowchart of an image processing method in one embodiment;

[0018] Figure 3 is a flowchart of an image processing method in another embodiment;

[0019] Figure 4 is a flowchart of an image processing method in another embodiment;

[0020] Figure 5 is a flowchart of an image processing method in another embodiment;

[0021] Figure 6 is a flowchart of an image processing method in another embodiment;

[0022] Figure 7 is a flowchart of an image processing method in another embodiment;

[0023] Figure 8 is a flowchart of an image processing method in another embodiment;

[0024] Fig. 9 is a structural block diagram of an image processing device in one embodiment;

[0025] Fig.10 is a structural block diagram of an image processing device in another embodiment;

[0026] Fig.11 is a structural block diagram of an image processing device in another embodiment;

[0027] Fig.12 is a structural block diagram of an image processing device in another embodiment;

[0028] Fig.13 Schematic diagram of the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0030] The image processing method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown in the figure, the electronic device 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices and portable wearable devices. The IoT devices may be smart TVs, smart car devices, etc. The portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc.

[0031] In one embodiment, Figure 2 As shown, an image processing method is provided, which is applied to Figure 1 The electronic device in the example is used to illustrate, and the following steps are included:

[0032] S201, obtaining image style parameters of a target user.

[0033] Among them, the target user may be the user of the electronic device, and the image style parameters may include tone parameters, color parameters and other image parameters that meet the preferences of the target user. Optionally, in this embodiment, the historical image may be an image generated after the target user performs post-processing on the image taken by the electronic device. For example, the historical image may be an image after adding a filter, or the historical image may be an image after adjusting the image parameters such as color and tone. Optionally, the image dimension in this embodiment may include at least one of the tone dimension, color dimension, saturation dimension and other image dimensions. Exemplarily, in this embodiment, the simulation processing of the color dimension of the historical image is taken as an example. Optionally, the historical image can be converted from the RGB color gamut to the LAB color gamut, and then the color coordinates of the main colors in the historical image can be extracted. According to the calculation formula of the color space, the mapping function from the current color coordinates to the simulated color coordinates is derived, and the historical image is color simulated to obtain a reference image.

[0034] Optionally, in this embodiment, the image style parameters of the target user can be determined in advance based on the historical images and at least one reference image, and the image style parameters of the target user can be stored in a database. When the target user triggers the electronic device to process the captured image, the electronic device can obtain the image style parameters of the target user from the database. It is understandable that the image style preferences of the target user may change. Therefore, as an optional implementation, the above-mentioned image style parameters can be updated based on the images processed by the target user in the recent time period by obtaining the images processed by the target user in the recent time period. For example, the electronic device can determine the image style parameters of the images processed by the target user in the recent time period as new image style parameters.

[0035] Optionally, in the present embodiment, scene information classification and environmental information classification may be performed on historical images, and then image style parameters of the target user for different classifications may be determined based on historical images and at least one reference image to obtain the image style parameters of the target user. For example, scene information classification of historical images may be divided into portraits, scenery, pets, etc., and environmental information classification of historical images may be divided into low light, indoor, outdoor, etc., and then image style parameters of the target user's portrait in a low light environment, image style parameters of scenery in a low light environment, image style parameters of portraits in an indoor environment, image style parameters of pets in an indoor environment, etc. may be determined based on historical images and at least one reference image.

[0036] S202: Process the captured image according to the image style parameter to generate a first target image.

[0037] The captured image may be an unprocessed image directly output by the electronic device, for example, a raw image. Optionally, the scene in which the captured image is processed in this embodiment may be a scene in which the electronic device processes the captured image taken by a camera, or may be a scene in which the electronic device processes the captured image input into an image processing application. This embodiment does not limit the scene in which the captured image is processed.

[0038] Optionally, in this embodiment, the image processing parameters of the electronic device, for example, the processing parameters of the image processor or the processing parameters of the image processing model, can be adjusted according to the image style parameters, so that the first target image generated by processing the captured image according to the adjusted image processing parameters is an image that satisfies the image style preference of the user. Optionally, in this embodiment, before processing the captured image according to the image style parameters, the captured image can also be pre-processed such as denoising and smoothing.

[0039] In the above-mentioned image processing method, by simulating at least one image dimension of the historical image, at least one reference image can be obtained, so that the image style parameters of the target user can be determined based on the historical image and at least one reference image. In this way, when the electronic device takes an image, it can process the captured image according to the image style parameters of the target user to generate a first target image. Since the first target image is processed according to the image style parameters of the target user, the first target image can meet the image style preference of the target user, so that the generated first target image can meet the personalized needs of the target user.

[0040] In this embodiment, the specific process of obtaining the image style parameters of the target user is explained in detail. Figure 3 As shown, the above S201 includes:

[0041] S301, analyzing the historical image to determine the scene information and image style information of the historical image.

[0042] The classification information may include scene classification information and environment classification information. Optionally, in this embodiment, the historical images may be parsed according to the scene classification algorithm to determine the scene classification information of the historical images, and the historical images may be parsed according to the environment classification algorithm to determine the environment classification information of the historical images. Optionally, the scene classification information may include portrait scenes, landscape scenes, pet scenes, etc., and the environment classification information may include dark light environments, indoor environments, outdoor environments, etc.

[0043] Optionally, in this embodiment, the image style evaluation quantization value of the target user on the historical image can be obtained according to a preset image style evaluation index, and the image style information of the historical image can be determined according to the image style evaluation quantization value of the target user on the historical image. Optionally, the preset image style evaluation index can include an image tone evaluation index and an image color evaluation index.

[0044] S302: Perform simulation processing on at least one image dimension of the historical image according to the classification information and the image style information to obtain at least one reference image.

[0045] Optionally, in this embodiment, different classified images in the historical images can be determined based on the classification information of the historical images, for example, pet images in indoor environments, portrait images in outdoor environments, portrait images in dim light environments, etc., and image style information of different classified images in the historical images can be determined based on the image style information of the historical images. Then, based on the image style information of the different classified images, simulation processing of at least one image dimension is performed on the different classified images in the historical images to obtain the at least one reference image mentioned above.

[0046] S303: Determine image style parameters according to the historical image and at least one reference image.

[0047] Optionally, in this embodiment, image style information of at least one reference image may be determined, and then image style parameters of the target user may be determined based on the image style information of the historical image and the image style information of at least one reference image. For example, the image style information of at least one reference image and the image style information of the historical image may be fused, and the image style parameters of the target user may be determined based on the fused image style information.

[0048] In this embodiment, by analyzing historical images, the classification information and image style information of the historical images can be accurately determined, so that at least one image dimension of the historical images can be accurately simulated based on the classification information and image style information of the historical images, thereby ensuring the accuracy of at least one reference image obtained, and further, based on at least one reference image with higher accuracy and the historical images, the image style parameters of the target user can be accurately determined, thereby ensuring the accuracy of the determined image style parameters.

[0049] In some scenarios, at least one image dimension may include a color dimension and a tone dimension. In this embodiment, the acquisition process of at least one reference image is explained in detail. In one embodiment, the at least one reference image may include a color simulation image and a tone simulation image, such as Figure 4 As shown, the above S302 includes:

[0050] S401, performing color dimension simulation processing on the historical image according to the classification information and the image style information to obtain a plurality of color simulation images.

[0051] Optionally, in this embodiment, different classified images in the historical images can be determined based on the classification information of the historical images, and then the color information of the different classified images can be determined based on the image style information of the historical images. For example, the color information of pet images in indoor environments and the color information of portrait images in indoor environments can be determined, and then the different classified images can be simulated in color dimension based on the color information of the different classified images to obtain color simulated images of the different classified images, and multiple color simulated images can be obtained based on the color simulated images of the different classified images.

[0052] S402, performing simulation processing on the tone dimension of the historical image according to the classification information and the image style information to obtain a plurality of tone simulation images.

[0053] Optionally, in this embodiment, different classified images in the historical images can be determined based on the classification information of the historical images, and then the tone information of the different classified images can be determined based on the image style information of the historical images. For example, the tone information of pet images in indoor environments and the tone information of portrait images in indoor environments can be determined, and then the different classified images can be simulated in tone dimension based on the tone information of the different classified images to obtain tone simulated images of the different classified images, and multiple tone simulated images can be obtained based on the tone simulated images of the different classified images.

[0054] In this embodiment, based on the classification information of the historical images and the image style information of the historical images, the color dimension of the historical images and the tone dimension of the historical images can be quickly simulated, thereby ensuring the efficiency of obtaining multiple color simulated images and multiple tone simulated images.

[0055] In some scenarios, the image style parameters of the target user may be determined based on the target user's favorite image selected from the historical images and at least one reference image. In this embodiment, the process of determining the image style parameters of the target user will be explained in detail. Figure 5 As shown, the above S303 includes:

[0056] S501, determining a second target image from a historical image and at least one reference image.

[0057] Optionally, in this embodiment, the electronic device may display the historical image and at least one reference image, and in response to the target user's selection operation on the displayed historical image and at least one reference image, determine the second target image from the historical image and the at least one reference image. It can be understood that the second target image is the image selected by the target user from the historical image and the at least one reference image, and therefore, the second target image may be the image that best meets the user's image style preference.

[0058] S502: Determine image style parameters according to image style information of the second target image.

[0059] Optionally, in this embodiment, the image style information of the second target image may be displayed, the target user's evaluation quantization value of the image style information of the second target image may be obtained, and the image style parameters of the target user may be determined based on the evaluation quantization value of the image style information of the second target image. As an example, the electronic device may obtain the parameters corresponding to the image style information of the second target image, and then adjust the parameters corresponding to the image style information with a lower evaluation quantization value to obtain the adjusted parameters, and determine the adjusted parameters and the parameters corresponding to the image style information with a higher evaluation quantization value as the image style parameters of the target user; or, as another embodiment, the electronic device may obtain the parameters corresponding to the image style information with a higher evaluation quantization value, and determine the parameters corresponding to the image style information with a higher evaluation quantization value as the image style parameters of the target user.

[0060] In this embodiment, since the second target image determined from the historical images and at least one reference image is an image that satisfies the image style preferences of the target user, the image style parameters determined based on the image style information of the second target image can be image style parameters that satisfy the image style preferences of the target user, thereby ensuring that the determined image style parameters satisfy the image style preferences of the target user and achieving that the determined image style parameters are image style parameters that meet the personalized needs of the user.

[0061] In some scenarios, the captured image may be processed through a hardware processing link to generate a first target image, or the captured image may be processed through a software processing link to generate a first target image. The following will explain in detail the two different ways of generating the first target image:

[0062] The first one: In one embodiment, Figure 6 As shown, the above S202 includes:

[0063] S601, adjusting processing parameters of an image processor according to image style parameters.

[0064] Optionally, in this embodiment, the processing parameters of the image processor may include auto focus, auto exposure and auto white balance, i.e., 3A parameters and image signal processing parameters. That is, in this embodiment, the 3A parameters and image signal processing parameters can be adjusted according to the image style parameters.

[0065] S602, controlling the image processor to process the captured image using the adjusted processing parameters to generate a first target image.

[0066] Optionally, in this embodiment, during the process of processing the captured image, the image processor may be controlled to process the captured image using the adjusted 3A parameters and image signal processing parameters to generate the above-mentioned first target image.

[0067] In this embodiment, since the processing parameters of the image processor are processing parameters adjusted according to the image style parameters of the target user, when the electronic device controls the image processor to process the captured image using the adjusted processing parameters, the generated first target image can be an image that meets the image style preference of the target user, so that the generated first target image can meet the personalized needs of the target user.

[0068] The first one: In one embodiment, Figure 7 As shown, the above S202 includes:

[0069] S701, adjusting parameters of an image processing model according to image style parameters to obtain an adjusted image processing model.

[0070] Optionally, in this embodiment, the tone parameters and color parameters in the image processing model can be adjusted according to the image style parameters of the target user to obtain an adjusted image processing model. Optionally, the image processing model in this embodiment can be a neural network, and adjusting the parameters of the image processing model can be adjusting the parameters of the neural network for processing the tone and color of the image.

[0071] S702: Process the captured image using the adjusted image processing model to generate a first target image.

[0072] Optionally, in this embodiment, the captured image may be input into an adjusted image processing model, and the tone and color of the captured image may be processed by the adjusted image processing model to generate a first target image.

[0073] In this embodiment, the process of adjusting the parameters of the image processing model according to the image style parameters of the target user is relatively simple, and the adjusted image processing model can be quickly obtained, so that the adjusted image processing model can be used to quickly process the captured images, thereby improving the processing efficiency of the captured images, thereby improving the efficiency of generating the first target image, so that the target user can obtain the first target image that meets his or her own image style preferences in a timely manner.

[0074] In order to facilitate the understanding of those skilled in the art, Figure 8 As shown, the image processing method provided by the present disclosure is described in detail below, and the method may include:

[0075] S1, analyze the historical images to determine the classification information and image style information of the historical images.

[0076] S2, performing color dimension simulation processing on the historical image according to the classification information and the image style information to obtain a plurality of color simulation images.

[0077] S3, performing simulation processing on the tone dimension of the historical image according to the classification information and the image style information to obtain a plurality of tone simulation images.

[0078] S4, determining a second target image from the historical image, the plurality of color simulation images, and the plurality of tone simulation images.

[0079] S5, obtaining an evaluation quantization value of the image style information of the second target image.

[0080] S6, determining image style parameters according to the evaluation quantization value of the image style information.

[0081] S7, adjusting the processing parameters of the image processor according to the image style parameters, controlling the image processor to process the captured image using the adjusted processing parameters to generate a first target image; or, adjusting the parameters of the image processing model according to the image style parameters to obtain the adjusted image processing model, and using the adjusted image processing model to process the captured image to generate a first target image.

[0082] It should be noted that for the description of the above steps, reference may be made to the relevant description in the above embodiment, and the effects are similar, so this embodiment will not be repeated here.

[0083] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0084] Based on the same inventive concept, the embodiment of the present application also provides an image processing device for implementing the above-mentioned image processing method. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above-mentioned method, so the specific limitations in one or more image processing device embodiments provided below can refer to the limitations on the image processing method above, and will not be repeated here.

[0085] In one embodiment, Fig. 9 As shown, an image processing device is provided, comprising: an acquisition module 10 and a processing module 11, wherein:

[0086] The acquisition module 10 is used to acquire the image style parameters of the target user; the image style parameters are determined based on the historical image and at least one reference image; the at least one reference image is obtained by simulating at least one image dimension of the historical image.

[0087] The processing module 11 is used to process the captured image according to the image style parameter to generate a first target image.

[0088] The image processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0089] Based on the above embodiments, Fig.10 As shown, optionally, the acquisition module 10 includes: a first determination unit 101, a processing unit 102, and a second determination unit 103, wherein:

[0090] The first determining unit 101 is used to analyze the historical image and determine the classification information and image style information of the historical image.

[0091] The processing unit 102 is used to perform simulation processing on at least one image dimension of the historical image according to the classification information and the image style information to obtain at least one reference image.

[0092] The second determining unit 103 is configured to determine an image style parameter according to the historical image and at least one reference image.

[0093] The image processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0094] Based on the above examples, please continue to refer to Fig.10 Optionally, the reference image includes a color simulation image and a tone simulation image. The processing unit 102 is specifically used to simulate the color dimension of the historical image according to the classification information and the image style information to obtain a plurality of color simulation images; and simulate the tone dimension of the historical image according to the classification information and the image style information to obtain a plurality of tone simulation images.

[0095] The image processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0096] Based on the above examples, please continue to refer to Fig.10 Optionally, the second determination unit 103 is specifically configured to determine a second target image from the historical image and at least one reference image; and determine the image style parameters according to the image style information of the second target image.

[0097] The image processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0098] Based on the above examples, please continue to refer to Fig.10 Optionally, the second determining unit 103 is specifically configured to obtain an evaluation quantization value of the image style information of the second target image; and determine the image style parameter according to the evaluation quantization value of the image style information.

[0099] The image processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0100] Based on the above embodiments, Fig.11 As shown, optionally, the processing module 11 includes: a first adjustment unit 111 and a first processing unit 112, wherein:

[0101] The first adjustment unit 111 is used to adjust processing parameters of the image processor according to the image style parameters.

[0102] The first processing unit 112 is used to control the image processor to process the captured image using the adjusted processing parameters to generate a first target image.

[0103] The image processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0104] Based on the above embodiments, Fig.12 As shown, optionally, the processing module 11 includes: a second adjustment unit 113 and a second processing unit 114, wherein:

[0105] The second adjustment unit 113 is used to adjust the parameters of the image processing model according to the image style parameters to obtain an adjusted image processing model.

[0106] The second processing unit 114 is used to process the captured image using the adjusted image processing model to generate a first target image.

[0107] The image processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0108] Each module in the above image processing device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0109] In one embodiment, a computer device is provided. The computer device may be an electronic device, and its internal structure diagram may be as shown in FIG. Fig.13As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, an image processing method is realized. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0110] Those skilled in the art will understand that Fig.13 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0111] In one embodiment, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0112] Acquire image style parameters of the target user; the image style parameters are determined according to the historical image and at least one reference image; the at least one reference image is obtained by simulating at least one image dimension of the historical image;

[0113] The captured image is processed according to the image style parameters to generate a first target image.

[0114] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0115] Analyze historical images to determine their classification information and image style information;

[0116] Performing simulation processing on at least one image dimension of the historical image according to the classification information and the image style information to obtain at least one reference image;

[0117] An image style parameter is determined based on the historical image and at least one reference image.

[0118] In one embodiment, the reference image includes a color simulation image and a tone simulation image, and the processor further implements the following steps when executing the computer program:

[0119] According to the classification information and the image style information, the historical image is simulated in terms of color dimension to obtain multiple color simulation images;

[0120] According to the classification information and the image style information, the historical images are simulated in terms of tone dimension to obtain a plurality of tone simulation images.

[0121] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0122] Determining a second target image from the historical image and at least one reference image;

[0123] An image style parameter is determined according to the image style information of the second target image.

[0124] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0125] Obtaining an evaluation quantization value of the image style information of the second target image;

[0126] The image style parameters are determined according to the evaluation quantization value of the image style information.

[0127] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0128] Adjusting processing parameters of an image processor according to image style parameters;

[0129] The image processor is controlled to process the captured image using the adjusted processing parameters to generate a first target image.

[0130] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0131] Adjusting parameters of the image processing model according to the image style parameters to obtain an adjusted image processing model;

[0132] The captured image is processed using the adjusted image processing model to generate a first target image.

[0133] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0134] Acquire image style parameters of the target user; the image style parameters are determined according to the historical image and at least one reference image; the at least one reference image is obtained by simulating at least one image dimension of the historical image;

[0135] The captured image is processed according to the image style parameters to generate a first target image.

[0136] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0137] Analyze historical images to determine their classification information and image style information;

[0138] Performing simulation processing on at least one image dimension of the historical image according to the classification information and the image style information to obtain at least one reference image;

[0139] An image style parameter is determined based on the historical image and at least one reference image.

[0140] In one embodiment, the reference image includes a color simulation image and a tone simulation image, and when the computer program is executed by the processor, the following steps are further implemented:

[0141] According to the classification information and the image style information, the historical image is simulated in terms of color dimension to obtain multiple color simulation images;

[0142] According to the classification information and the image style information, the historical images are simulated in terms of tone dimension to obtain a plurality of tone simulation images.

[0143] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0144] Determining a second target image from the historical image and at least one reference image;

[0145] An image style parameter is determined according to the image style information of the second target image.

[0146] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0147] Obtaining an evaluation quantization value of the image style information of the second target image;

[0148] The image style parameters are determined according to the evaluation quantization value of the image style information.

[0149] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0150] Adjusting processing parameters of an image processor according to image style parameters;

[0151] The image processor is controlled to process the captured image using the adjusted processing parameters to generate a first target image.

[0152] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0153] Adjusting parameters of the image processing model according to the image style parameters to obtain an adjusted image processing model;

[0154] The captured image is processed using the adjusted image processing model to generate a first target image.

[0155] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0156] Acquire image style parameters of the target user; the image style parameters are determined according to the historical image and at least one reference image; the at least one reference image is obtained by simulating at least one image dimension of the historical image;

[0157] The captured image is processed according to the image style parameters to generate a first target image.

[0158] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0159] Analyze historical images to determine their classification information and image style information;

[0160] Performing simulation processing on at least one image dimension of the historical image according to the classification information and the image style information to obtain at least one reference image;

[0161] An image style parameter is determined based on the historical image and at least one reference image.

[0162] In one embodiment, the reference image includes a color simulation image and a tone simulation image, and when the computer program is executed by the processor, the following steps are further implemented:

[0163] According to the classification information and the image style information, the historical image is simulated in terms of color dimension to obtain multiple color simulation images;

[0164] According to the classification information and the image style information, the historical images are simulated in terms of tone dimension to obtain a plurality of tone simulation images.

[0165] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0166] Determining a second target image from the historical image and at least one reference image;

[0167] An image style parameter is determined according to the image style information of the second target image.

[0168] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0169] Obtaining an evaluation quantization value of the image style information of the second target image;

[0170] The image style parameters are determined according to the evaluation quantization value of the image style information.

[0171] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0172] Adjusting processing parameters of an image processor according to image style parameters;

[0173] The image processor is controlled to process the captured image using the adjusted processing parameters to generate a first target image.

[0174] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0175] Adjusting parameters of the image processing model according to the image style parameters to obtain an adjusted image processing model;

[0176] The captured image is processed using the adjusted image processing model to generate a first target image.

[0177] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0178] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0179] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0180] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. An image processing method, characterized in that: The method comprises: Acquire image style parameters of the target user; the image style parameters are determined according to the historical image and at least one reference image; the at least one reference image is obtained by performing simulation processing on at least one image dimension of the historical image; The captured image is processed according to the image style parameters to generate a first target image.

2. The method according to claim 1, characterized in that The step of obtaining the image style parameters of the target user includes: Analyzing the historical image to determine classification information and image style information of the historical image; According to the classification information and the image style information, performing simulation processing on at least one image dimension of the historical image to obtain the at least one reference image; The image style parameter is determined according to the historical image and the at least one reference image.

3. The method according to claim 2, characterized in that The reference image includes a color simulation image and a tone simulation image, and the simulation processing of at least one image dimension of the historical image is performed according to the classification information and the image style information to obtain the at least one reference image, including: According to the classification information and the image style information, the historical image is simulated in terms of color dimension to obtain a plurality of color simulation images; According to the classification information and the image style information, the historical image is simulated in terms of tone dimension to obtain a plurality of tone simulation images.

4. The method according to claim 2 or 3, characterized in that: The determining the image style parameter according to the historical image and the at least one reference image comprises: Determining a second target image from the historical image and the at least one reference image; The image style parameter is determined according to the image style information of the second target image.

5. The method according to claim 4, characterized in that The determining the image style parameter according to the image style information of the second target image includes: Obtaining an evaluation quantization value of the image style information of the second target image; The image style parameter is determined according to the evaluation quantization value of the image style information.

6. The method according to any one of claims 1 to 3, characterized in that: The step of processing the captured image according to the image style parameter to generate a first target image includes: adjusting processing parameters of an image processor according to the image style parameters; The image processor is controlled to process the captured image using the adjusted processing parameters to generate the first target image.

7. The method according to any one of claims 1 to 3, characterized in that: The step of processing the captured image according to the image style parameter to generate a first target image includes: Adjusting parameters of the image processing model according to the image style parameters to obtain an adjusted image processing model; The captured image is processed using the adjusted image processing model to generate the first target image.

8. An image processing device, characterized in that: The device comprises: An acquisition module, used to acquire image style parameters of a target user; the image style parameters are determined based on a historical image and at least one reference image; the at least one reference image is obtained by performing simulation processing on at least one image dimension of the historical image; The processing module is used to process the captured image according to the image style parameters to generate a first target image.

9. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the computer program is executed by the processor, the processor is caused to perform the steps of the image processing method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Friend recommendation method and device, storage medium and electronic equipment

    CN111400582A

  • Image processing method, computer terminal and storage medium

    CN113962850A

  • Shooting method, electronic equipment and readable storage medium

    CN114422682A

  • Video processing method and device, electronic equipment and storage medium

    CN114449199A

  • Image shooting method and device, electronic equipment and computer readable storage medium

    CN117412156A