An intelligent portrait beautification optimization method based on multi-level parameter fine-tuning algorithm
Through multi-level parameter fine-tuning algorithm and multi-module processing technology, the problem of insufficient flexibility in personalized adjustment of Meitu software is solved, and the user's beauty effect control at the level of detail is realized, which improves user satisfaction and efficiency.
Patent Information
- Application Number
- CN202410412223.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-08
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-04-08
AI Technical Summary
The existing beauty software lacks flexibility in adjusting personalized beauty effects, making it difficult for users to fine-tune the preset effects, and applying all effects at one time cannot meet the compound needs.
Using multi-level parameter fine-tuning algorithm, through n main beauty image processing modules and their embedded sub-beauty image processing modules, it provides rich beauty image effect adjustment options, allowing users to make fine adjustments from the macro to the micro level, including skin grinding. With functions such as whitening, dark circle removal, face slimming, etc., users can choose the image that best meets the aesthetic standards and make further fine-grained adjustments.
This greatly increases the flexibility and user satisfaction of Meitu software. Users can adjust the beauty effect at a more subtle level, realize personalized needs, and improve the efficiency and user experience of beauty processing.
Smart Images

Figure CN118195958B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of portrait beautification, and in particular to an intelligent portrait beautification optimization method based on a multi-level parameter fine-tuning algorithm. Background Art
[0002] In the field of digital image processing and photo beautification applications, users have a growing demand for photo beautification effects, which not only involves basic image quality improvements, such as brightness and contrast adjustments, but also includes more complex portrait beautification functions, such as skin smoothing and whitening, dark circle removal, face and body slimming, freckle removal and acne removal. Existing photo beautification software usually provides a set of preset beautification effects, from which users can choose. However, these preset effects often fail to meet the personalized needs of all users, especially at the level of details of photo beautification effects. In addition, once a user selects a preset effect, it becomes quite difficult to fine-tune the effect to suit personal preferences, because most existing technologies lack the ability to provide fine-tuning options.
[0003] In view of the defects of the above-mentioned prior art, this method proposes an intelligent portrait beautification optimization method based on a multi-level parameter fine-tuning algorithm, aiming to solve the limitations of existing beautification software in adjusting personalized beautification effects. By introducing a multi-level parameter fine-tuning algorithm, this method allows users to make fine adjustments to the beautification effects from the macro to the micro level, greatly enhancing the flexibility of the beautification software and user satisfaction.
[0004] First, a major drawback of the prior art is that after a user selects a photo beautification effect, it is difficult to make further detailed adjustments to the effect. For example, a user may be satisfied with a preset skin smoothing effect, but want to reduce or increase the intensity of the effect. In most existing photo beautification software, this type of fine-grained adjustment is either completely infeasible or too complicated to be suitable for ordinary users.
[0005] Second, the existing technology usually adopts the method of applying all the beautification effects at once, which means that all adjustments and effects are completed in a single step. This method lacks flexibility and cannot adapt to the needs of users who have different preferences for different beautification effects. For example, a user may want a stronger skin smoothing effect on the face, but a relatively weaker requirement for the eye enlargement effect. It is difficult for the existing technology to meet such complex needs without sacrificing ease of operation.
[0006] Therefore, how to provide an intelligent portrait beautification optimization method based on a multi-level parameter fine-tuning algorithm is a problem that technical personnel in this field urgently need to solve. Summary of the invention
[0007] One object of the present invention is to propose an intelligent portrait beautification optimization method based on a multi-level parameter fine-tuning algorithm. The present invention provides a wide range of beautification effect adjustment options through n main beautification processing modules and their embedded sub-beautification processing modules. Each module has different beautification parameter settings, which not only provides a rich selection of beautification effects, but also allows users to make fine adjustments according to personal preferences, greatly increasing the flexibility of the beautification software.
[0008] According to an embodiment of the present invention, an intelligent portrait beautification optimization method based on a multi-level parameter fine-tuning algorithm comprises the following steps:
[0009] S1. A set of n main beautification processing modules is initialized in the beautification software. Each main beautification processing module integrates skin smoothing and whitening, dark circle removal, face and body slimming, freckle and acne removal, eye enlargement, wrinkle removal, facial plumping and double eyelid function modules. Each main beautification processing module is configured with a different initial beautification parameter, and the parameter value range is 1 to n, which is used to adjust the processing intensity of the corresponding beautification effect.
[0010] S2, after receiving the portrait image to be processed uploaded by the user, the beautifying software processes the portrait image to be processed independently through each main beautifying processing module in turn, and generates n main beautifying portrait images after being optimized to different degrees, and each processing result reflects the optimization effect under different beautifying parameter settings;
[0011] S3, showing the n optimized main beauty portrait images generated in step S2 to the user, and the user selects a main beauty portrait image that best meets his / her aesthetic standards for further optimization;
[0012] S4, for the main beautification portrait image selected by the user, activating n sub-beautification processing modules embedded in the corresponding main beautification processing module, each sub-module performs fine-grained fine-tuning based on the beautification parameters of the main module, and the parameter range of the fine-tuning is set to start from the current main module parameter, with a step of 0.1 and increase to a maximum of 0.9, so as to achieve more refined beautification effect adjustment;
[0013] S5, using the sub-beautiful image processing module in step S4 to perform secondary optimization processing on the main beautiful image portrait image selected by the user to generate n further optimized sub-beautiful image portrait images;
[0014] S6. Displaying the n sub-beautification portrait images generated in step S5 on the beautification software, so that the user can select the image he likes best as the final beautification result.
[0015] Optionally, the S1 specifically includes the following steps:
[0016] S11, when the software is started, it creates a set of n main image processing modules;
[0017] S12. In each main image processing module, functional modules including skin smoothing and whitening, dark circle removal, face and body slimming, freckle and acne removal, eye enlargement, wrinkle removal, facial plumping and double eyelid enhancement are integrated:
[0018]
[0019] Among them, M i represents the i-th main image processing module, F ij represents the jth functional module in the module, and N is the total number of functional modules;
[0020] S13, configure a unique initial image beautification parameter P for each main image beautification processing module i , where i = 1, 2, ..., n, and P i The value range of P is defined as 1 to n, i = 1, all integrated functional modules are adjusted to the lightest processing intensity to keep the portrait image close to the original state, P i =n, all functional modules are adjusted to the strongest processing intensity:
[0021] P ij =P i +δ ij ;
[0022] Among them, P ij represents the specific image beautification parameters of the jth functional module in the i-th main image beautification processing module, P i is the initial parameter of the main image processing module, δ ij It is a small offset adjusted according to functional requirements, indicating fine-tuning of the functional module details;
[0023] S14, the functional modules within each main image processing module are configured according to the initial image processing parameters P i , dynamically adjust the processing intensity, P i Each unit change of P corresponds to a linear adjustment of the processing strength of the functional module, so that users can select different P i Value, to achieve control of the beauty effect:
[0024]
[0025] Among them, F ij (x) represents the processing effect of the jth functional module in the i-th main image processing module on image x, a ij 、b ij and c ij It is the coefficient adjusted according to the beauty effect, representing the adjustment intensity, exponential growth rate and baseline beauty effect unique to this functional module;
[0026] S15. Based on the relationship between the parameters defined in step S14 and the processing strength of the functional modules, preset the corresponding beautification effect of each main beautification processing module:
[0027]
[0028] Among them, E i (x) represents the overall beautification effect of the i-th main beautification processing module on image x, w ij It is the weight coefficient, which indicates the contribution of different functional modules to the overall image beautification effect.
[0029] Optionally, S2 specifically includes the following steps:
[0030] S21, after the user uploads the portrait image to be processed, the portrait image to be processed uploaded by the user is recorded as X up , Meitu software will X up As input, it is passed to n main image processing modules M respectively. i Conduct independent processing;
[0031] S22, for each main image processing module M i Functional module F ij , the processed image X ij The generation of is expressed by the following formula:
[0032]
[0033] Among them, α ijk , γ ijk and δ ijk They are adjustment coefficient, nonlinearity and enhancement factor respectively. The parameters vary from functional module to functional module. K is the number of layers of parameter adjustment in each functional module.
[0034] S23, after each main beautification processing module in step S22 independently processes the uploaded portrait image, n main beautification portrait images after being optimized to different degrees are generated according to the initial beautification parameters configured by each main beautification processing module, each image represents a specific beautification effect, directly mapping the optimization results under different beautification parameter settings, and each main beautification processing module M i Generated optimized image
[0035]
[0036] Among them, λ ij is the weight coefficient, which represents the relative importance of the jth functional module in the i-th main image processing module in the final impact;
[0037] S24, each main image processing module M i For user uploaded images Xup The overall beauty effect of E i (X up ) is represented by the function:
[0038]
[0039] Among them, ω ij Indicates the contribution weight of different functional modules to the overall image beautification effect, φ ij (X up ,P i ) is a function that is based on the parameter P of the main image processing module. i and specific functional modules to adjust images uploaded by users;
[0040] S25. The beauty image software displays the n main beauty image portrait images generated in step S24 after being optimized to different degrees to the user for selection.
[0041] Optionally, S3 specifically includes the following steps:
[0042] S31. After completing step S25, the beautification software uses the user interface to display the n optimized main beautification portrait images generated in step S24 to different degrees, so that the images are arranged in order from left to right, corresponding to the beautification processing parameters P from the lightest to the strongest. i ;
[0043] S32, the user observes and compares the n optimized main portrait images displayed, and selects an image that best meets his or her aesthetic requirements as a basis for further refinement and optimization based on personal aesthetic standards and preferences;
[0044] S33: The user's selection operation is received by the beauty image software, and the main beauty image processing module M corresponding to the main beauty image portrait image selected by the user is recorded. i The serial number i represents the level of image processing parameters preferred by the user.
[0045] Optionally, the S4 specifically includes the following steps:
[0046] S41, for the main beauty image portrait image selected by the user in step S33, the beauty image software determines the main beauty image processing module M corresponding to the image i The beauty image processing module M is automatically extracted according to the user's selection. i The beauty parameter P i , the beauty picture parameter P i Directly linked to the user's preferred level of photo effects, it also integrates skin smoothing and whitening, dark circle removal, face and body slimming, freckle and acne removal, eye enlargement, wrinkle removal, face plumping and double eyelid function modules;
[0047] S42, the beauty software extracts the beauty parameters P i , automatically calculate the fine-tuning parameter set of the submodule, which consists of incremental parameters ΔP, each incremental parameter represents the original beautification parameter P i A slight tweak to:
[0048] P i,n =P i +ΔP n =P i +0.1×n;
[0049] n∈{0,1,...,9};
[0050] For each main image processing module M i , whose fine-tuning parameters range from P i , starting with the initial parameters selected by the user, with a step size of 0.1 and increasing to a maximum of P i +0.9;
[0051] S43, for each fine-tuning parameter P i,n The image processing software further adjusts the image processing effects in each sub-image processing module through algorithmic operation, including adjusting brightness, contrast, saturation, and applying specific image processing algorithms to achieve skin smoothing, whitening, and dark circle removal effects:
[0052] X i,n =f(X up ,P i,n ,Θ i,n );
[0053] Where f is an image processing function that depends on the image X uploaded by the user. up , the fine-tuning parameter P is selected i,n And the algorithm parameters Θ i,n ,The algorithm parameters include the weights and specific operation indicators of factors such as color ,adjustment, edge enhancement, and texture smoothing.
[0054] Optionally, the S5 specifically includes the following steps:
[0055] S51, after determining the beautification effect level selected by the user and the corresponding main beautification processing module M i After that, the beauty image software performs secondary optimization processing on the main beauty image portrait image selected by the user according to the fine-tuning parameter set calculated in step S42, and each processing adjustment is performed by the corresponding sub-beautification processing module and its fine-tuning parameter P i,n drive;
[0056] S52: for each sub-image processing module, fine-tuning parameters P are allocated to it. i,n, performing fine-grained adjustment of the beauty effect, including using the image processing function f in step S43 to be applied to the main beauty portrait image X selected by the user up , and combined with the current fine-tuning parameter P i,n and algorithm parameters Θ i,n , generate the sub-beauty portrait image X after secondary optimization i,n , the image processing function f is used to perform fine-grained adjustment of the image beautification effect;
[0057]
[0058] Among them, X i,n is the sub-beautification portrait image after the nth fine-tuning by the i-th main beautification processing module, α i,n,k is the adjustment coefficient, which indicates the k-th image processing technique at the current fine-tuning level P i,n The importance of g k is a specific image processing function that depends on the image X uploaded by the user up , the current fine-tuning parameter P i,n And the algorithm parameters Θ i,n,k , including local contrast enhancement, edge sharpening, and color adjustment algorithms;
[0059] Θ i,n,k It is a set of multiple image processing parameters, including the strength of local contrast enhancement, the width of edge sharpening, the color temperature and saturation of color adjustment. The parameters are customized for each sub-image processing module to reflect the fine-tuning parameter P i,n Specific optimization requirements under
[0060] S53, repeating step S52, generating a series of sub-beauty image portrait images that have been optimized twice for each sub-beauty image processing module and its corresponding fine-tuning parameter, generating a total of n different optimized sub-beauty image portrait images, the sub-beauty image portrait images reflecting the sub-beauty image portrait images obtained from the fine-tuning parameter P i To P i +0.9 fine-grained image beautification effect adjustment.
[0061] Optionally, the S6 specifically includes the following steps:
[0062] S61, after completing step S53, the beauty image software displays the n secondary optimized sub-beauty image portrait images on the user interface, and the sub-beauty image portrait images are displayed according to the fine-tuning parameter P i,n The order of the selections is from the closest to the user's original choice P i The effect starts, gradually increase the fine-tuning level until P i +0.9 maximum adjustment strength;
[0063] S62, the displayed sub-beautification portrait images provide an intuitive comparison platform, allowing users to clearly see the difference in beautification effects under different fine-tuning parameters;
[0064] S63, the user observes and compares the displayed images and selects the image he likes best as the final beautification result. The interface provided by the beautification software allows the user to click or touch;
[0065] S64. Once the user makes a selection, the image beautification software records the relevant information of the image selected by the user, including the corresponding fine-tuning parameter P i,n and the sub-beautification processing module used for the image;
[0066] S65. The beautification software finally saves the final beautification result selected by the user or provides a sharing function, so that the user can share the beautification result he likes to a social network or save it to a personal device, thus completing the entire beautification optimization process.
[0067] The beneficial effects of the present invention are:
[0068] (1) The present invention introduces a multi-level parameter fine-tuning algorithm, allowing users to adjust the photo beautification effect at a more subtle level, such as skin smoothing and whitening, dark circle removal, face slimming and body slimming, etc., to meet personalized photo beautification needs.
[0069] (2) The present invention provides a wide range of beauty effect adjustment options through n main beauty processing modules and their embedded sub-beautification processing modules. Each module has different beauty parameter settings, which not only provides a rich selection of beauty effects, but also allows users to make fine adjustments according to personal preferences, greatly increasing the flexibility of the beauty software. Users can select an image that best meets their aesthetic standards from a series of pre-processed main beauty portrait images for further optimization, and then select the final beauty result from the fine-grained adjusted sub-beautification portrait images. This selection process from macro to micro greatly improves user satisfaction because it gives users more control and choice. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0071] Figure 1 This is a flow chart of an intelligent portrait beautification optimization method based on a multi-level parameter fine-tuning algorithm proposed by the present invention. DETAILED DESCRIPTION
[0072] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, which only illustrate the basic structure of the present invention in a schematic manner, and therefore only show the components related to the present invention.
[0073] refer to Figure 1 , an intelligent portrait beautification optimization method based on a multi-level parameter fine-tuning algorithm, comprising the following steps:
[0074] S1. A set of n main beautification processing modules is initialized in the beautification software. Each main beautification processing module integrates skin smoothing and whitening, dark circle removal, face and body slimming, freckle and acne removal, eye enlargement, wrinkle removal, facial plumping and double eyelid function modules. Each main beautification processing module is configured with a different initial beautification parameter, and the parameter value range is 1 to n, which is used to adjust the processing intensity of the corresponding beautification effect.
[0075] In this implementation, S1 specifically includes the following steps:
[0076] S11, when the software is started, it creates a set of n main image processing modules;
[0077] S12. In each main image processing module, functional modules including skin smoothing and whitening, dark circle removal, face and body slimming, freckle and acne removal, eye enlargement, wrinkle removal, facial plumping and double eyelid enhancement are integrated:
[0078]
[0079] Among them, M i represents the i-th main image processing module, F ij represents the jth functional module in the module, and N is the total number of functional modules;
[0080] S13, configure a unique initial image beautification parameter P for each main image beautification processing module i , where i = 1, 2, ..., n, and P i The value range of P is defined as 1 to n, i = 1, all integrated functional modules are adjusted to the lightest processing intensity to keep the portrait image close to the original state, P i =n, all functional modules are adjusted to the strongest processing intensity:
[0081] P ij =P i +δ ij ;
[0082] Among them, P ij represents the specific image beautification parameters of the jth functional module in the i-th main image beautification processing module, P i is the initial parameter of the main image processing module, δ ijIt is a small offset adjusted according to functional requirements, indicating fine-tuning of the functional module details;
[0083] S14, the functional modules within each main image processing module are configured according to the initial image processing parameters P i , dynamically adjust the processing intensity, P i Each unit change of P corresponds to a linear adjustment of the processing strength of the functional module, so that users can select different P i Value, to achieve control of the beauty effect:
[0084]
[0085] Among them, F ij (x) represents the processing effect of the jth functional module in the i-th main image processing module on image x, a ij , b ij and c ij It is the coefficient adjusted according to the beauty effect, representing the adjustment intensity, exponential growth rate and baseline beauty effect unique to this functional module;
[0086] S15. Based on the relationship between the parameters defined in step S14 and the processing strength of the functional modules, preset the corresponding beautification effect of each main beautification processing module:
[0087]
[0088] Among them, E i (x) represents the overall beautification effect of the i-th main beautification processing module on image x, w ij It is the weight coefficient, which indicates the contribution of different functional modules to the overall image beautification effect.
[0089] S2, after receiving the portrait image to be processed uploaded by the user, the beautifying software processes the portrait image to be processed independently through each main beautifying processing module in turn, and generates n main beautifying portrait images after being optimized to different degrees, and each processing result reflects the optimization effect under different beautifying parameter settings;
[0090] In this implementation, S2 specifically includes the following steps:
[0091] S21, after the user uploads the portrait image to be processed, the portrait image to be processed uploaded by the user is recorded as X up , Meitu software will X up As input, it is passed to n main image processing modules M respectively. i Conduct independent processing;
[0092] S22, for each main image processing module M i Functional module F ij , the processed image Xij The generation of is expressed by the following formula:
[0093]
[0094] Among them, α ijk , γ ijk and δ ijk They are adjustment coefficient, nonlinearity and enhancement factor respectively. The parameters vary from functional module to functional module. K is the number of layers of parameter adjustment in each functional module.
[0095] S23, after each main beautification processing module in step S22 independently processes the uploaded portrait image, n main beautification portrait images after being optimized to different degrees are generated according to the initial beautification parameters configured by each main beautification processing module, each image represents a specific beautification effect, directly mapping the optimization results under different beautification parameter settings, and each main beautification processing module M i Generated optimized image
[0096]
[0097] Among them, λ ij is the weight coefficient, which represents the relative importance of the jth functional module in the i-th main image processing module in the final impact;
[0098] S24, each main image processing module M i For user uploaded images X up The overall beauty effect of E i (X up ) is represented by the function:
[0099]
[0100] Among them, ω ij Indicates the contribution weight of different functional modules to the overall image beautification effect, φ ij (X up ,P i ) is a function that is based on the parameter P of the main image processing module. i and specific functional modules to adjust images uploaded by users;
[0101] S25. The beauty image software displays the n main beauty image portrait images generated in step S24 after being optimized to different degrees to the user for selection.
[0102] S3, showing the n optimized main beauty portrait images generated in step S2 to the user, and the user selects a main beauty portrait image that best meets his / her aesthetic standards for further optimization;
[0103] In this implementation, S3 specifically includes the following steps:
[0104] S31. After completing step S25, the beautification software uses the user interface to display the n optimized main beautification portrait images generated in step S24 to different degrees, so that the images are arranged in order from left to right, corresponding to the beautification processing parameters P from the lightest to the strongest. i ;
[0105] S32, the user observes and compares the n optimized main portrait images displayed, and selects an image that best meets his or her aesthetic requirements as a basis for further refinement and optimization based on personal aesthetic standards and preferences;
[0106] S33, the user's selection operation is received by the beauty image software, and the main beauty image processing module M corresponding to the main beauty image portrait image selected by the user is recorded. i The serial number i represents the level of image processing parameters preferred by the user.
[0107] S4, for the main beautification portrait image selected by the user, activating n sub-beautification processing modules embedded in the corresponding main beautification processing module, each sub-module performs fine-grained fine-tuning based on the beautification parameters of the main module, and the parameter range of the fine-tuning is set to start from the current main module parameter, with a step of 0.1 and increase to a maximum of 0.9, so as to achieve more refined beautification effect adjustment;
[0108] In this implementation, S4 specifically includes the following steps:
[0109] S41, for the main beauty image portrait image selected by the user in step S33, the beauty image software determines the main beauty image processing module M corresponding to the image i The beauty image processing module M is automatically extracted according to the user's selection. i The beauty parameter P i , the beauty picture parameter P i Directly linked to the user's preferred level of photo effects, it also integrates skin smoothing and whitening, dark circle removal, face and body slimming, freckle and acne removal, eye enlargement, wrinkle removal, face plumping and double eyelid function modules;
[0110] S42, the beauty software extracts the beauty parameters P i , automatically calculate the fine-tuning parameter set of the submodule, which consists of incremental parameters ΔP, each incremental parameter represents the original beautification parameter P i A slight tweak to:
[0111] P i,n =P i +ΔP n =P i +0.1×n;
[0112] n∈{0,1,...,9};
[0113] For each main image processing module M i , whose fine-tuning parameters range from P i , starting with the initial parameters selected by the user, with a step size of 0.1 and increasing to a maximum of P i +0.9;
[0114] S43, for each fine-tuning parameter P i,n The image processing software further adjusts the image processing effects in each sub-image processing module through algorithmic operation, including adjusting brightness, contrast, saturation, and applying specific image processing algorithms to achieve skin smoothing, whitening, and dark circle removal effects:
[0115] X i,n =f(X up ,P i,n ,Θ i,n );
[0116] Where f is an image processing function that depends on the image X uploaded by the user. up , the fine-tuning parameter P is selected i,n And the algorithm parameters Θ i,n ,The algorithm parameters include the weights and specific operation indicators of factors such as color ,adjustment, edge enhancement, and texture smoothing.
[0117] S5, using the sub-beautiful image processing module in step S4 to perform secondary optimization processing on the main beautiful image portrait image selected by the user to generate n further optimized sub-beautiful image portrait images;
[0118] In this implementation, S5 specifically includes the following steps:
[0119] S51, after determining the beauty effect level selected by the user and the corresponding main beauty processing module Mi, the beauty software performs secondary optimization processing on the main beauty portrait image selected by the user according to the fine-tuning parameter set calculated in step S42, and each processing adjustment is performed by the corresponding sub-beautification processing module and its fine-tuning parameter P i,n drive;
[0120] S52: for each sub-image processing module, fine-tuning parameters P are allocated to it. i,n , performing fine-grained adjustment of the beauty effect, including using the image processing function f in step S43 to be applied to the main beauty portrait image X selected by the user up , and combined with the current fine-tuning parameter P i,n and algorithm parameters Θ i,n , generate the sub-beauty portrait image X after secondary optimization i,n , the image processing function f is used to perform fine-grained adjustment of the image beautification effect;
[0121]
[0122] Among them, X i,n is the sub-beautification portrait image after the nth fine-tuning by the i-th main beautification processing module, α i,n,k is the adjustment coefficient, which indicates the k-th image processing technique at the current fine-tuning level P i,n The importance of g k is a specific image processing function that depends on the image X uploaded by the user up , the current fine-tuning parameter P i,n And the algorithm parameters Θ i,n,k , including local contrast enhancement, edge sharpening, and color adjustment algorithms;
[0123] Θ i,n,k It is a set of multiple image processing parameters, including the strength of local contrast enhancement, the width of edge sharpening, the color temperature and saturation of color adjustment. The parameters are customized for each sub-image processing module to reflect the fine-tuning parameter P i,n Specific optimization requirements under
[0124] S53, repeating step S52, generating a series of sub-beauty image portrait images that have been optimized twice for each sub-beauty image processing module and its corresponding fine-tuning parameter, generating a total of n different optimized sub-beauty image portrait images, the sub-beauty image portrait images reflecting the sub-beauty image portrait images obtained from the fine-tuning parameter P i To P i +0.9 fine-grained image beautification effect adjustment.
[0125] S6. Displaying the n sub-beautification portrait images generated in step S5 on the beautification software, so that the user can select the image he likes best as the final beautification result.
[0126] In this implementation, S6 specifically includes the following steps:
[0127] S61, after completing step S53, the beauty image software displays the n secondary optimized sub-beauty image portrait images on the user interface, and the sub-beauty image portrait images are displayed according to the fine-tuning parameter P i,n The order of the selections is from the closest to the user's original choice P i The effect starts, gradually increase the fine-tuning level until P i +0.9 maximum adjustment strength;
[0128] S62, the displayed sub-beautification portrait images provide an intuitive comparison platform, allowing users to clearly see the difference in beautification effects under different fine-tuning parameters;
[0129] S63, the user observes and compares the displayed images and selects the image he likes best as the final beautification result. The interface provided by the beautification software allows the user to click or touch;
[0130] S64. Once the user makes a selection, the image beautification software records the relevant information of the image selected by the user, including the corresponding fine-tuning parameter P i,n and the sub-beautification processing module used for the image;
[0131] S65. The beautification software finally saves the final beautification result selected by the user or provides a sharing function, so that the user can share the beautification result he likes to a social network or save it to a personal device, thus completing the entire beautification optimization process.
[0132] Embodiment 1:
[0133] In the spring of 2024, the present invention simulates the release of a program named "Meitu Wizard". "Meitu Wizard" adopts the intelligent portrait beautification optimization method based on the multi-level parameter fine-tuning algorithm proposed by the present invention.
[0134] Scenario description: A user named Xiao Zhang plans to attend a friend's wedding and wants to share photos of herself in her best attire on social networks. However, due to poor lighting conditions, Xiao Zhang's face in the photo has dark areas and her skin does not look smooth enough. Using traditional photo beautification software, Xiao Zhang tried several preset effects, but none of them could solve these problems at the same time without over-processing other facial details such as the eyes and mouth.
[0135] How to use: "Meitu Genie" provides a brand new solution. Xiao Zhang first uploaded his photo to the software. The software automatically applied n main beauty processing modules to preliminarily process the photo, and displayed 10 photos with different degrees of optimization for Xiao Zhang to choose from. Xiao Zhang chose a photo that was closest to his expectations in terms of skin smoothing, whitening and dark area removal, and then the software activated the corresponding sub-beautification processing module.
[0136] In the fine-tuning stage, Xiao Zhang can see how each submodule refines the beautification effect of the photo by fine-tuning the parameters starting from the original selection. During this process, Xiao Zhang noticed that at the +0.4 setting, the dark areas of the face were significantly improved, while the skin looked naturally smooth while retaining the natural details of the eyes and mouth. Therefore, he selected the optimized result under this parameter as the final beautification effect.
[0137] During a month in the spring of 2024, "Meitu Wizard" was tested in actual applications among users in Beijing. The test results showed that users who used "Meitu Wizard" had an average increase of 46.64% in satisfaction compared with those who used traditional beauty software. In a survey on satisfaction with photo details, 96.34% of the users who participated in the test said that through the multi-level parameter fine-tuning algorithm of "Meitu Wizard", they were able to achieve the desired beauty effect more accurately, especially in the adjustment of skin texture, facial lighting and detail retention. In addition, the average time spent by users was reduced from 5 minutes using traditional beauty software to 2 minutes, effectively improving the efficiency of beauty processing.
[0138] Example 1 clearly demonstrates that the present invention solves the user's needs for personalized and refined picture beautification adjustment. Through a multi-level parameter fine-tuning algorithm, the user can control the picture beautification effect in detail, greatly improving the user's satisfaction and efficiency.
[0139] The present invention introduces a multi-level parameter fine-tuning algorithm, allowing users to adjust the photo beautification effect at a more subtle level, such as skin smoothing and whitening, dark circle removal, face slimming and body slimming, etc., to achieve personalized photo beautification needs.
[0140] The present invention provides a wide range of beautification effect adjustment options through n main beautification processing modules and their embedded sub-beautification processing modules. Each module has different beautification parameter settings, which not only provides a rich selection of beautification effects, but also allows users to make fine adjustments according to personal preferences, greatly increasing the flexibility of the beautification software. Users can select an image that best meets their aesthetic standards from a series of pre-processed main beautification portrait images for further optimization, and then select the final beautification result from the fine-grained adjusted sub-beautification portrait images. This selection process from macro to micro greatly improves user satisfaction because it gives users more control and choice.
[0141] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. An intelligent portrait beautification optimization method based on a multi-level parameter fine-tuning algorithm, characterized in that: The steps include: S1. A set of 10 main beautification processing modules is initialized in the beautification software. Each main beautification processing module integrates skin smoothing and whitening, dark circle removal, face and body slimming, freckle and acne removal, eye enlargement, wrinkle removal, facial plumping and double eyelid function modules. Each main beautification processing module is configured with a different initial beautification parameter, and the parameter value range is 1 to 10, which is used to adjust the processing intensity of the corresponding beautification effect. S2. After receiving the portrait image to be processed uploaded by the user, the beauty software processes the portrait image to be processed independently through each main beauty processing module in turn, and generates 10 main beauty portrait images after being optimized to different degrees. Each processing result reflects the optimization effect under different beauty parameter settings; S3, showing the 10 optimized main portrait images generated in step S2 to the user, and the user selects a main portrait image that best meets his / her aesthetic standards for further optimization; S4. For the main beautification portrait image selected by the user, 10 sub-beautification processing modules embedded in the corresponding main beautification processing module are activated. Each sub-module performs fine-grained fine-tuning based on the beautification parameters of the main module. The parameter range of the fine-tuning is set to start from the current main module parameter, with a step of 0.1 and increase to a maximum of 0.9, so as to achieve more refined beautification effect adjustment; S5, using the sub-beautiful image processing module in step S4 to perform secondary optimization processing on the main beautiful image portrait image selected by the user, to generate 10 further optimized sub-beautiful image portrait images; S6, displaying the 10 sub-beautification portrait images generated in step S5 on the beautification software, so that the user can select the image he likes best as the final beautification result; The S1 specifically includes the following steps: S11. The software creates a set of 10 main image processing modules when it is started; S12. In each main image processing module, functional modules including skin smoothing and whitening, dark circle removal, face and body slimming, freckle and acne removal, eye enlargement, wrinkle removal, facial plumping and double eyelid enhancement are integrated: Among them, M i represents the i-th main image processing module, F ij represents the jth functional module in the module, and N is the total number of functional modules; S13, configure a unique initial image beautification parameter P for each main image beautification processing module i , where i = 1, 2, ..., 10, and P i The value range of P is defined as 1 to 10. i = 1, all integrated functional modules are adjusted to the lightest processing intensity to keep the portrait image close to the original state, P i =10, all functional modules are adjusted to the strongest processing intensity: P ij =P i +d ij ; Among them, P ij represents the specific image beautification parameters of the jth functional module in the i-th main image beautification processing module, P i is the initial parameter of the main image processing module, δ ij It is a small offset adjusted according to functional requirements, indicating fine-tuning of the functional module details; S14, the functional modules within each main image processing module are configured according to the initial image processing parameters P i , dynamically adjust the processing intensity, P i Each unit change of P corresponds to a linear adjustment of the processing strength of the functional module, so that users can select different P i Value, to achieve control of the beauty effect: Among them, F ij (x) represents the processing effect of the jth functional module in the i-th main image processing module on image x, a ij 、b ij and c ij It is the coefficient adjusted according to the beauty effect, representing the adjustment intensity, exponential growth rate and baseline beauty effect unique to this functional module; S15. Based on the relationship between the parameters defined in step S14 and the processing strength of the functional modules, preset the corresponding beautification effect of each main beautification processing module: Among them, E i (x) represents the overall beautification effect of the i-th main beautification processing module on image x, w ij is the weight coefficient, which indicates the contribution of different functional modules to the overall image beautification effect; The S2 specifically includes the following steps: S21, after the user uploads the portrait image to be processed, the portrait image to be processed uploaded by the user is recorded as X up , Meitu software will X up As input, it is passed to 10 main image processing modules M i Conduct independent processing; S22, for each main image processing module M i Functional module F ij , the processed image X ij The generation of is expressed by the following formula: Among them, α ijk , γ ijk and δ ijk They are adjustment coefficient, nonlinearity and enhancement factor respectively. The parameters vary from functional module to functional module. K is the number of layers of parameter adjustment in each functional module. S23, after each main beautification processing module in step S22 independently processes the uploaded portrait image, 10 main beautification portrait images after being optimized to different degrees are generated according to the initial beautification parameters configured by each main beautification processing module, each image represents a specific beautification effect, directly mapping the optimization results under different beautification parameter settings, and each main beautification processing module M i Generated optimized image Among them, λ ij is the weight coefficient, which represents the relative importance of the jth functional module in the i-th main image processing module in the final impact; S24, each main image processing module M i For user uploaded image X up The overall beauty effect of E i (X up ) is represented by the function: Among them, ω ij Indicates the contribution weight of different functional modules to the overall image beautification effect, φ ij (X up ,P i ) is a function that is based on the parameter P of the main image processing module. i and specific functional modules to adjust images uploaded by users; S25. The beauty image software displays the 10 main beauty image portrait images generated in step S24 after being optimized to different degrees to the user for selection.
2. The intelligent portrait beautification optimization method based on a multi-level parameter fine-tuning algorithm according to claim 1, characterized in that: The S3 specifically includes the following steps: S31. After completing step S25, the beautification software uses the user interface to display the 10 main beautification portrait images generated in step S24 after being optimized to different degrees, so that the images are arranged in order from left to right, corresponding to the beautification processing parameters P from the lightest to the strongest. i ; S32, the user observes and compares the 10 optimized main portrait images displayed, and based on personal aesthetic standards and preferences, selects an image that best meets his or her aesthetic requirements as a basis for further refinement and optimization; S33, the user's selection operation is received by the beauty image software, and the main beauty image processing module M corresponding to the main beauty image portrait image selected by the user is recorded. i The serial number i represents the level of image processing parameters preferred by the user.
3. The intelligent portrait beautification optimization method based on a multi-level parameter fine-tuning algorithm according to claim 2, characterized in that: The S4 specifically includes the following steps: S41, for the main beauty image portrait image selected by the user in step S33, the beauty image software determines the main beauty image processing module M corresponding to the image i The beauty image processing module M is automatically extracted according to the user's selection. i The beauty parameter P i , the beauty picture parameter P i The level of image beauty effect directly related to user preferences; S42, the beauty software extracts the beauty parameters P i , automatically calculate the fine-tuning parameter set of the submodule, which consists of incremental parameters ΔP, each incremental parameter represents the original beautification parameter P i A slight tweak to: P i,n =P i +ΔP n =P i +0.1×n; n∈{0,1,...,9}; For each main image processing module M i , whose fine-tuning parameters range from P i , starting with the initial parameters selected by the user, with a step size of 0.1 and increasing to a maximum of P i +0.9; S43, for each fine-tuning parameter P i,n The image processing software further adjusts the image processing effects in each sub-image processing module through algorithmic operation, including adjusting brightness, contrast, saturation, and applying specific image processing algorithms to achieve skin smoothing, whitening, and dark circle removal effects: X i,n =f(X up ,P i,n ,Θ i,n ); Where f is an image processing function that depends on the image X uploaded by the user. up , the fine-tuning parameter P is selected i,n And the algorithm parameters Θ i,n ,The algorithm parameters include the weights and specific operation indicators of factors such as color ,adjustment, edge enhancement, and texture smoothing.
4. The intelligent portrait beautification optimization method based on a multi-level parameter fine-tuning algorithm according to claim 3, characterized in that: The S5 specifically includes the following steps: S51, after determining the beautification effect level selected by the user and the corresponding main beautification processing module M i After that, the beauty image software performs secondary optimization processing on the main beauty image portrait image selected by the user according to the fine-tuning parameter set calculated in step S42, and each processing adjustment is performed by the corresponding sub-beautification processing module and its fine-tuning parameter P i,n drive; S52: for each sub-image processing module, fine-tuning parameters P are allocated to it. i,n , performing fine-grained adjustment of the beauty effect, including using the image processing function f in step S43 to be applied to the main beauty portrait image X selected by the user up , and combined with the current fine-tuning parameter P i,n and algorithm parameters Θ i,n , generate the sub-beauty portrait image X after secondary optimization i,n , the image processing function f is used to perform fine-grained adjustment of the image beautification effect; Among them, X i,n is the sub-beautification portrait image after the nth fine-tuning of the i-th main beautification processing module, α i,n,k is the adjustment coefficient, which indicates the k-th image processing technique at the current fine-tuning level P i,n The importance of g k is a specific image processing function that depends on the image X uploaded by the user up , the current fine-tuning parameter P i,n And the algorithm parameters Θ i,n,k , including local contrast enhancement, edge sharpening, and color adjustment algorithms; Θ i,n,k It is a set of multiple image processing parameters, including the strength of local contrast enhancement, the width of edge sharpening, the color temperature and saturation of color adjustment. The parameters are customized for each sub-image processing module to reflect the fine-tuning parameter P i,n Specific optimization requirements under S53, repeating step S52, generating a series of sub-beauty image portrait images that have been optimized twice for each sub-beauty image processing module and its corresponding fine-tuning parameter, generating a total of 10 different optimized sub-beauty image portrait images, the sub-beauty image portrait images reflecting the sub-beauty image portrait images obtained from the fine-tuning parameter P i To P i +0.9 fine-grained image beautification effect adjustment.
5. The intelligent portrait beautification optimization method based on a multi-level parameter fine-tuning algorithm according to claim 4, characterized in that: The S6 specifically includes the following steps: S61, after completing step S53, the beauty image software displays the 10 secondary optimized sub-beauty image portrait images on the user interface, and the sub-beauty image portrait images are adjusted according to the fine-tuning parameter P i,n The order of the selections is from the closest to the user's original choice P i The effect starts, gradually increase the fine-tuning level until P i +0.9 maximum adjustment strength; S62, the displayed sub-beautification portrait images provide an intuitive comparison platform, allowing users to clearly see the difference in beautification effects under different fine-tuning parameters; S63, the user observes and compares the displayed images and selects the image he / she likes best as the final beautification result, and the interface provided by the beautification software allows the user to click or touch; S64. Once the user makes a selection, the image beautification software records the relevant information of the image selected by the user, including the corresponding fine-tuning parameter P i,n and the sub-beautification processing module used for the image; S65. The beautification software finally saves the final beautification result selected by the user or provides a sharing function, so that the user can share the beautification result he likes to a social network or save it to a personal device, thus completing the entire beautification optimization process.
Citation Information
Patent Citations
Parameter adjusting method and device
CN113220198A
Method and device for obtaining beauty parameters and storage medium
CN117237183A
Intelligent facial beautification method and system based on image technology
CN117710254A
Image display method and apparatus, and device and medium
EP4276738A1
System and method for processing photographic images
WO2017177259A1
