CN106815803B - Picture processing method and device - Google Patents

Picture processing method and device Download PDF

Info

Publication number
CN106815803B
CN106815803B CN201611263426.1A CN201611263426A CN106815803B CN 106815803 B CN106815803 B CN 106815803B CN 201611263426 A CN201611263426 A CN 201611263426A CN 106815803 B CN106815803 B CN 106815803B
Authority
CN
China
Prior art keywords
picture
evaluation
reference picture
evaluation information
acquiring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201611263426.1A
Other languages
Chinese (zh)
Other versions
CN106815803A (en
Inventor
杨怀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201611263426.1A priority Critical patent/CN106815803B/en
Publication of CN106815803A publication Critical patent/CN106815803A/en
Application granted granted Critical
Publication of CN106815803B publication Critical patent/CN106815803B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map

Landscapes

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

Abstract

The embodiment of the invention discloses a picture processing method and a picture processing device, wherein the method comprises the following steps: obtaining evaluation information of at least one reference picture; screening the reference picture with the optimal evaluation from the at least one reference picture according to the evaluation information to serve as a target picture; acquiring picture parameters corresponding to the target picture as target picture adjustment parameters; and carrying out image processing on the picture to be processed according to the target picture adjusting parameter. By adopting the invention, the picture effect and the user experience can be improved.

Description

Picture processing method and device
Technical Field
The invention relates to the technical field of computers, and mainly relates to a picture processing method and device.
Background
With the rapid development of digital technology, people record the living drops by taking pictures. Nowadays, more and more terminal devices, such as mobile phones, digital cameras, tablets, etc., are available for taking and processing pictures. When users use these terminal devices to process pictures, the users usually need to use retouching software with retouching function. With the increasing popularity of the retouching software, the retouching requirement for the picture processing function is also increasing, and how to realize the truest and most natural picture effect is always the problem that various manufacturers are seeking to solve.
At present, all terminal devices adopt static parameters when performing image processing, that is, after the terminal devices are on the market or the retouching software is installed, the image processing algorithm carried by the terminal devices is determined or updated along with the update of the system version or the software version, and a subsequent user can only select a pre-designed reference scheme to perform retouching (for example, limited options such as the beauty degree, the color, the filter, the pendant and the like). Because everyone does not define the American image at all, the image processing method using the static parameters has a single effect, does not have the functions of real-time image modification and real-time parameter adjustment, and cannot meet the image processing requirements of all people.
Disclosure of Invention
Therefore, the picture processing method is especially provided for solving the technical problem of single picture effect caused by adopting static parameters to process the picture.
A picture processing method comprises the following steps:
obtaining evaluation information of at least one reference picture;
screening the reference picture with the optimal evaluation from the at least one reference picture according to the evaluation information to serve as a target picture;
acquiring picture parameters corresponding to the target picture as target picture adjustment parameters;
and carrying out image processing on the picture to be processed according to the target picture adjusting parameter.
In one embodiment, the target picture adjustment parameter includes one or more of a picture tone adjustment parameter, a picture black and white adjustment parameter, and a picture light effect adjustment parameter.
In one embodiment, the evaluation information is an evaluation value; the obtaining of the evaluation information of the at least one reference picture further includes: when the evaluation information of the reference picture is more than one evaluation value, acquiring an average value of the more than one evaluation values as the evaluation information of the reference picture.
In one embodiment, the obtaining evaluation information of at least one reference picture further includes: acquiring the picture type of the picture to be processed; and acquiring a picture matched with the picture type of the picture to be processed as the reference picture, and executing the step of acquiring the evaluation information of the reference picture.
In one embodiment, the obtaining evaluation information of at least one reference picture further includes: acquiring identity characteristic information corresponding to the picture to be processed; and acquiring a picture matched with the identity characteristic information as the reference picture, and executing the step of acquiring the evaluation information of the reference picture.
In one embodiment, the obtaining evaluation information of the at least one reference picture further includes: and/or acquiring friend evaluation information input by friends on a social relationship chain aiming at the reference picture as evaluation information corresponding to the reference picture.
In addition, in order to solve the technical problem of single picture caused by adopting static parameters to process the picture, a picture processing device is particularly provided.
A picture processing apparatus, comprising:
the evaluation information acquisition module is used for acquiring the evaluation information of at least one reference picture;
the target picture determining module is used for screening the reference picture with the optimal evaluation from the at least one reference picture according to the evaluation information to serve as a target picture;
the adjustment parameter acquisition module is used for acquiring picture parameters corresponding to the target picture as target picture adjustment parameters;
and the picture processing module is used for carrying out image processing on the picture to be processed according to the target picture adjusting parameter.
In one embodiment, the target picture adjustment parameter includes one or more of a picture tone adjustment parameter, a picture black and white adjustment parameter, and a picture light effect adjustment parameter.
In one embodiment, the evaluation information is an evaluation value; the evaluation information acquisition module is further configured to acquire, when the evaluation information of the reference picture includes more than one evaluation value, an average value of the more than one evaluation values as evaluation value information of the reference picture.
In one embodiment, the apparatus further includes a first reference picture obtaining module, configured to obtain a picture type of the picture to be processed; and acquiring a picture matched with the picture type of the picture to be processed as the reference picture, and calling the evaluation information acquisition module.
In one embodiment, the apparatus further includes a second reference picture obtaining module, configured to obtain identity feature information corresponding to the to-be-processed picture; and acquiring a picture matched with the identity characteristic information of the target identity as the reference picture, and calling the evaluation information acquisition module.
In one embodiment, the evaluation information obtaining module is further configured to detect reference evaluation information input for the reference picture, obtain the input reference evaluation information as evaluation information corresponding to the reference picture, and/or obtain friend evaluation information input by a friend on a social relationship chain for the reference picture as evaluation information corresponding to the reference picture.
The embodiment of the invention has the following beneficial effects:
after the image processing method and the image processing device are adopted, the reference image with the optimal evaluation is screened out from the obtained evaluation information of the reference image to be used as the target image, the target image adjustment parameter of the target image is obtained, and the image processing is carried out on the image to be processed according to the target image adjustment parameter. Because the evaluation information is determined according to human subjective factors, the target picture adjustment parameters modify the original static parameters, and the setting of dynamic parameters is realized, so that the picture effect and the user experience are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
fig. 1 is a flowchart of a method for processing a picture according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating obtaining evaluation information of a reference picture according to an embodiment of the present invention;
fig. 3 is a schematic diagram of another embodiment of obtaining evaluation information of a reference picture according to the present invention;
fig. 4 is a schematic view of a scene for selecting a target picture according to an embodiment of the present invention;
FIG. 5 is a block diagram of an apparatus for processing pictures according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer device that executes a processing method of a picture in one embodiment.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the technical problem of single picture effect caused by adopting static parameters to process pictures, in one embodiment, a picture processing method is particularly provided. The implementation of the method may rely on a computer program that can be run on a computer system based on the von neumann architecture, which may be a picture-processing-based application of the photographing and recording software on the terminal device, or a functional option or application plug-in of a picture processing application developed for the photographing and recording software. Including, but not limited to, personal computers, server computers, hand-held or laptop computers, consumer electronics devices, mobile devices (such as smart phones, tablets, media players, etc.), multiprocessor systems, and the like. Preferably, the terminal device is an intelligent mobile device and can be installed in a terminal device running an operating system such as IOS, Android, Windows Phone, and the like.
Specifically, as shown in fig. 1, the method for processing the picture includes the following steps S102 to S108:
step S102: and acquiring evaluation information of at least one reference picture.
The reference picture can be a picture stored after the user takes a picture, can also be a picture stored after the user downloads the picture from a webpage, can also be a screenshot of a certain page, or a picture after the picture is trimmed by a picture beautifying algorithm. The reference pictures should have pictures representing user preferences, and further, the pictures marked as favorite by the user are used as the reference pictures, so that the pictures considered by the user to be good in picture effect are actively screened out, the workload is reduced for subsequently screening the target pictures, and the searching efficiency is improved.
The evaluation information of the reference picture can be one or more evaluation parameters of overall evaluation, color evaluation, focus evaluation and/or beauty effect evaluation of the reference picture, and can also be comments in the evaluation area. When the evaluation information is an evaluation value, a calculation formula for acquiring the evaluation value of the reference picture may be:
EV=b1×ev1+b2×ev2+b3×ev3+…+bn×evn: (1)
in the formula (1), EV is an evaluation value of a reference picture, EV1、ev2、ev3And evnFor different evaluation values, b1、b2、b3And bnAre respectively ev1、ev2、ev3And evnThe corresponding weight. Wherein, b1+b2+b3+…+bn=1,biThe specific value of (i ═ 1, 2, 3, …, n) may be set according to the influence parameters of the evaluation values or recommended settings may be adopted.
For example, an application scenario for obtaining the evaluation information is combined. The evaluation page of the reference picture as shown in fig. 2 includes a comment component for making comments, a score component and an evaluation display component corresponding to the overall evaluation, the color evaluation, the focus evaluation and the beauty effect evaluation. The comment in the comment component for making comments is that the comment is 'entirely satisfactory, has more satisfactory colors, has a common focus and has more satisfactory beautifying effect', the comment is entirely evaluated as five stars, the comment is evaluated as four stars, the comment is evaluated as three stars, and the comment is evaluated as four stars.
For example, as shown in FIG. 2, assume b1=0.4,b2=0.2,b3=0.2,b40.2, wherein b1Weight for Overall evaluation, b2Weight for color evaluation, b3Weights for Focus evaluation and b4Weight for beauty effect evaluation, ev1=100,ev2=80,ev3=60,evnWhen the reference picture is 80, the evaluation value of the reference picture is calculated by equation (1) and is 84.
The evaluation information can be output according to a preset picture evaluation algorithm to obtain scientific evaluation information. Because each person has different aesthetic concepts, the evaluation information can also be the evaluation of the user on the picture, or the evaluation information on the comment component can be read by the terminal after the user uploads the social network. The evaluation information obtained through artificial evaluation can be regarded as a method for realizing picture processing based on a feedback system, and due to the fact that the evaluation information given by the user and/or friends on the social relationship chain is obtained, the evaluation information of different people on the same reference picture can be obtained. Specifically, the method comprises the following steps: the obtaining of the evaluation information of the at least one reference picture further includes: and/or acquiring friend evaluation information input by friends on a social relationship chain aiming at the reference picture as evaluation information corresponding to the reference picture.
For example, after the user finishes shooting, the user evaluates the shot picture, deletes the picture which is considered to be failed in shooting, uses the stored picture as a reference picture, and acquires evaluation information corresponding to the reference picture. Or the user uploads the reference picture to the social network, and the friends on the social relation chain may input corresponding evaluation information after seeing the uploaded reference picture.
After the social network is uploaded, different friends have different senses on picture effects, so that different evaluation information is obtained; or the user gives a plurality of reference evaluations at irregular time of taking a pinch of the evaluation of the picture, and so on. When the number of the evaluation information of the reference picture is more than one, the evaluation information representing the reference picture is obtained through calculation.
Optionally, the evaluation information is an evaluation value; the obtaining of the evaluation information of the at least one reference picture further includes: when the evaluation information of the reference picture is more than one evaluation value, acquiring an average value of the more than one evaluation values as the evaluation information of the reference picture. That is, when a plurality of evaluation values appear in one reference picture, an average value of the evaluation values may be calculated, or a weighted average value calculation of the evaluation values may be performed according to the importance of the evaluation parameters, thereby obtaining an evaluation value closest to the picture effect. The calculation formula is as follows:
EVavg=(x1+x2+x3+…+xn)÷n (2)
in formula (2), EVavgIs the average value of the evaluation values, x1、x2、x3And xnRespectively, the obtained different evaluation values. For example, in another application scenario for acquiring evaluation information shown in fig. 3, three net friends are shared to evaluate the uploaded picture, the evaluation values are 92, 88 and 93, respectively, and if the average value of the evaluation values calculated according to equation (2) is 91, the evaluation information of the reference picture is 91.
For another example, when the evaluation information is an evaluation value, the evaluation of the evaluation information is determined according to the number of praise in the evaluation area, and the calculation formula is as follows:
EV=c÷n×100% (3)
in equation (3), EV is the evaluation value, c is the number of obtained praise, and n is the total number of friends of the social relationship chain. For example, the review interface shown in fig. 3 has 23 friends in total to approve the uploaded pictures, and if there are 30 friends, the evaluation information of the reference picture calculated according to equation (3) is 76.7.
It should be noted that, in order to ensure the correctness of the evaluation information, the total number of reference pictures and the diversity of the comment information may be expanded to obtain a more complete data analysis, or a favorable analysis may be performed on the comment people, for example, friends who are rarely on line or hardly favorable are excluded, people with a high favorable rate adopt a lower weight, and so on.
Step S104: and screening the reference picture with the optimal evaluation from the at least one reference picture according to the evaluation information to serve as a target picture.
The method for acquiring the reference picture with the optimal evaluation can select the reference picture with the highest evaluation from the evaluation information of the reference pictures, also can comprehensively evaluate a plurality of reference pictures with higher evaluation, acquire the reference picture with the highest overall evaluation as a target picture, set the picture parameters with higher evaluation in other reference pictures as the target picture adjustment parameters of the target picture, store the target picture and provide a plurality of selection schemes for the picture to be processed.
For example, if the overall evaluation of the first reference picture is 89, the overall evaluation of the second reference picture is 92, and the overall evaluation of the third reference picture is 88, and the overall evaluation of the third reference picture is higher than that of the second reference picture, the target picture is the second reference picture.
For another example, if the overall evaluation of the first reference picture is 89, the color evaluation is 96, the focus evaluation is 88, and the beauty effect evaluation is 86, the overall evaluation of the second reference picture is 92, the color evaluation is 94, the focus evaluation is 88, and the beauty effect evaluation is 90, the overall evaluation of the third reference picture is 88, the color evaluation is 80, the focus evaluation is 96, and the beauty effect evaluation is 90, the color evaluation of the first reference picture is high, and the focus evaluation of the third reference picture is high, the color parameter of the first reference picture and the focus parameter of the third reference picture can be obtained, and the obtained color parameter and focus parameter are set to the second reference picture.
As another example, the first reference picture is evaluated as "overall satisfactory, color satisfactory, focus general, and beauty effect satisfactory", the second reference picture is evaluated as "overall satisfactory, color satisfactory, focus general, and beauty effect satisfactory", the third reference picture is evaluated as "overall general, color satisfactory, focus general, and beauty effect satisfactory", and the second reference picture is selected as the target picture in consideration of comprehensive consideration.
Step S106: and acquiring picture parameters corresponding to the target picture as target picture adjustment parameters.
The target picture adjusting parameters comprise parameters such as picture tone adjusting parameters, picture black and white adjusting parameters, picture lighting effect adjusting parameters and the like, and specifically comprise exposure, highlight, shadow, brightness, contrast, black points, saturation, color cast, intensity, particle size, face thinning parameters, eye size adjusting parameters, skin grinding and acne removing parameters, skin whitening parameters, tooth whitening parameters, blush parameters and the like.
Step S108: and carrying out image processing on the picture to be processed according to the target picture adjusting parameter.
The picture to be processed can be a picture stored after the user takes a picture, can also be a picture stored after the user downloads the picture from a webpage, can also be a screenshot of a certain page, or a picture after the picture is repaired by a picture beautifying algorithm, and can even be a picture to be taken when the user opens a camera.
It should be noted that the finished picture to be processed should have the picture selected by the user for the picture processing. That is, when the user selects one or more pictures to be processed, the background will perform step S102. The problems of insufficient system operation and storage and the like caused by the fact that the evaluation information of the reference picture is obtained all the time are solved. And the picture to be processed which is not shot is that after the user starts the camera, the step S102 is executed, the preview effect is displayed, the shooting is completed, and the shot picture does not need the subsequent picture processing, so that the picture effect and the user experience are improved.
The image processing can set preference parameters through a preset parameter setting port corresponding to target picture adjustment parameters, original static parameters are modified, adjustment parameters are continuously updated through the existing art beautifying effect, and the setting of dynamic parameters is achieved, so that the user experience is improved. The preset parameter setting port comprises one or more ports of a tone parameter setting port, a black and white parameter setting port and/or a light effect parameter setting port.
Optionally, since everyone feels different about the beauty chart, the target picture adjustment parameter with the identity characteristic can be identified for the photographed object. Specifically, the method comprises the following steps: before the obtaining of the evaluation information of the at least one reference picture, the method further includes: acquiring identity characteristic information corresponding to the picture to be processed; and acquiring a picture matched with the identity characteristic information as the reference picture, and executing the step of acquiring the evaluation information of the reference picture.
And acquiring the identity characteristic information of the picture to be processed after shooting is finished according to an image recognition technology, or acquiring a reference picture according to the identity characteristic information of the shot object. When a plurality of identity characteristic information are recognized on one picture to be processed, a user can select specific identity characteristic information and also can preset one identity characteristic information, so that the representativeness of the reference picture is improved.
The identity characteristic information of the picture to be processed which is not shot can be identified by fingerprint identification, face identification and/or iris identification, and face identification is preferred. That is to say, after the camera is opened, the human face features are collected, the range of the reference picture is determined according to the collected human face features, then one picture with the optimal evaluation in the reference picture is obtained as a target picture, and the picture to be processed is processed according to the picture adjustment parameters of the target picture. The range of the reference picture is reduced, the searching difficulty is reduced, the searched target picture is more fit for the aesthetic concept of the object with the identity characteristic information, and the user experience is further improved.
Optionally, since the picture types of the pictures are different, a target picture can be selected according to each picture type in a targeted manner, so as to obtain the target picture adjustment parameter for the picture type. Specifically, the method comprises the following steps: before the obtaining of the evaluation information of the at least one reference picture, the method further includes: acquiring the picture type of the picture to be processed; and acquiring a picture matched with the picture type of the picture to be processed as the reference picture, and executing the step of acquiring the evaluation information of the reference picture.
That is to say, the picture type of the picture to be processed is obtained, the range of the reference picture is determined according to the selected picture type, then one picture with the optimal evaluation in the reference picture is obtained as the target picture, and the picture to be processed is processed according to the picture adjustment parameter of the target picture. The range of the reference picture is narrowed like the identity characteristic information search, and the search difficulty is reduced. The target pictures searched by the targeted picture types have one-to-one correspondence, so that the user experience and the picture effect are further improved.
In one embodiment, a picture designation instruction is received, and a target picture corresponding to the picture designation instruction is acquired as the target picture. That is to say, when a plurality of target pictures exist, a user determines one target picture by previewing and viewing the picture effect during shooting, and the determined target adjustment parameter of the target picture is the picture parameter set by the shot picture.
For example, an application scene for selecting a target picture is combined. As shown in fig. 4, 3 target pictures are stored, and a user can select a first target picture, a second target picture and a third target picture respectively to view a preview effect, and select the first target picture as the target picture if the first target picture is more suitable for the current application scene according to the preview effect.
In order to solve the technical problem of single picture effect caused by adopting static parameters to process pictures, in one embodiment, a setting device of picture parameters is particularly provided. As shown in fig. 5, the setting device of the picture parameters includes an evaluation information obtaining module 102, a target picture determining module 104, an adjustment parameter obtaining module 106, and a picture processing module 108, where:
an evaluation information obtaining module 102, configured to obtain evaluation information of at least one reference picture;
a target picture determining module 104, configured to screen, according to the evaluation information, the reference picture with an optimal evaluation from the at least one reference picture as a target picture;
an adjustment parameter obtaining module 106, configured to obtain a picture parameter corresponding to the target picture as a target picture adjustment parameter;
and the picture processing module 108 is configured to perform image processing on the picture to be processed according to the target picture adjustment parameter.
In one embodiment, the target picture adjustment parameter includes one or more of a picture tone adjustment parameter, a picture black and white adjustment parameter, and a picture light effect adjustment parameter.
In one embodiment, the evaluation information is an evaluation value; the evaluation information obtaining module 102 is further configured to obtain an average value of more than one evaluation value as the evaluation value information of the reference picture when the evaluation information of the reference picture includes more than one evaluation value.
In one embodiment, the apparatus further includes a first reference picture obtaining module 1022 for obtaining a picture type of the to-be-processed picture; and acquiring a picture matched with the picture type of the picture to be processed as the reference picture, and calling the evaluation information acquisition module 102.
In one embodiment, the apparatus further includes a second reference picture obtaining module 1024, configured to obtain identity feature information corresponding to the to-be-processed picture; and acquiring a picture matched with the identity characteristic information of the target identity as the reference picture, and calling the evaluation information acquisition module 102.
In one embodiment, the evaluation information obtaining module 102 is further configured to detect reference evaluation information input for the reference picture, obtain the input reference evaluation information as evaluation information corresponding to the reference picture, and/or obtain friend evaluation information input by a friend on a social relationship chain for the reference picture as evaluation information corresponding to the reference picture.
The embodiment of the invention has the following beneficial effects:
after the image processing method and the image processing device are adopted, the reference image with the optimal evaluation is screened out from the obtained evaluation information of the reference image to be used as the target image, the target image adjustment parameter of the target image is obtained, and the image processing is carried out on the image to be processed according to the target image adjustment parameter. Because the evaluation information is determined according to human subjective factors, the target picture adjustment parameters modify the original static parameters, and the setting of dynamic parameters is realized, so that the picture effect and the user experience are improved.
In one embodiment, as shown in fig. 6, fig. 6 illustrates a terminal of a computer system based on von neumann system that runs a processing method of pictures. The computer system can be terminal equipment such as a smart phone, a tablet computer, a palm computer, a notebook computer or a personal computer. Specifically, an external input interface 1001, a processor 1002, a memory 1003, and an output interface 1004 connected through a system bus may be included. The external input interface 1001 may optionally include at least a network interface 10012. Memory 1003 can include external memory 10032 (e.g., a hard disk, optical or floppy disk, etc.) and internal memory 10034. The output interface 1004 may include at least a display 10042 or the like.
In this embodiment, the method is executed based on a computer program, program files of the computer program are stored in the external memory 10032 of the computer system based on the von neumann system, loaded into the internal memory 10034 during the execution, then compiled into machine code, and then transferred to the processor 1002 for execution, so that the evaluation information acquiring module 102, the target picture determining module 104, the adjustment parameter acquiring module 106, the picture processing module 108, the first reference picture acquiring module 1022, and the second reference picture acquiring module 1024 are logically formed in the computer system based on the von neumann system. In the execution process of the setting method of the picture parameters, the input parameters are all received through the external input interface 1001, transferred to the memory 1003 for buffering, and then input into the processor 1002 for processing, and the processed result data is buffered in the memory 1003 for subsequent processing, or transferred to the output interface 1004 for outputting.
Specifically, the external input interface 1001 is configured to obtain evaluation information of at least one reference picture;
the processor 1002 is configured to screen the reference picture with the optimal evaluation from the at least one reference picture according to the evaluation information to serve as a target picture; acquiring picture parameters corresponding to the target picture as target picture adjustment parameters; and carrying out image processing on the picture to be processed according to the target picture adjusting parameter.
In an alternative embodiment, the processor 1002 is further configured to, when the evaluation information of the reference picture includes more than one evaluation value, obtain an average value of the more than one evaluation values as the evaluation value information of the reference picture.
In an optional embodiment, the external input interface 1001 is further configured to obtain a picture type of the picture to be processed; and acquiring a picture matched with the picture type of the picture to be processed as the reference picture, and calling the evaluation information acquisition module.
In an optional embodiment, the external input interface 1001 is further configured to obtain identity feature information corresponding to the to-be-processed picture; and acquiring a picture matched with the identity characteristic information of the target identity as the reference picture, and calling the evaluation information acquisition module.
In an optional embodiment, the external input interface 1001 is further configured to detect reference evaluation information input for the reference picture, acquire the input reference evaluation information as evaluation information corresponding to the reference picture, and/or acquire friend evaluation information input by a friend on a social relationship chain for the reference picture as evaluation information corresponding to the reference picture.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (12)

1. A picture processing method is characterized by comprising the following steps:
acquiring evaluation information of at least one reference picture, wherein the evaluation information is one or more evaluation parameters of overall evaluation, color evaluation, focus evaluation and/or beauty effect evaluation of the reference picture, or is a comment in an evaluation area; when the evaluation information is an evaluation value, a calculation formula for obtaining the evaluation value of the reference picture is as follows: EV ═ b1×ev1+b2×ev2+b3×ev3+…+bn×evn(1)
In the formula (1), EV is the evaluation value of the reference picture, EV1、ev2、ev3And evnFor different evaluation values, b1、b2、b3And bnAre respectively ev1、ev2、ev3And evnA corresponding weight; wherein, b1+b2+b3+…+bn=1,biThe specific value of i-1, 2, 3, …, n is set or recommended according to the influence parameters of the evaluation value;
screening the reference picture with the optimal evaluation from the at least one reference picture according to the evaluation information to serve as a target picture;
acquiring picture parameters corresponding to the target picture as target picture adjustment parameters;
performing image processing on the picture to be processed according to the target picture adjusting parameter;
the reference picture is a picture stored after a user takes a picture, a picture stored after the user downloads from a webpage, a screenshot of a certain page, or a picture after the picture is trimmed by a picture beautifying algorithm, and the reference picture has a picture representing the preference of the user.
2. The method according to claim 1, wherein the target picture adjustment parameter comprises one or more of a picture tone adjustment parameter, a picture black and white adjustment parameter, and a picture light effect adjustment parameter.
3. The picture processing method according to claim 1, wherein the evaluation information is an evaluation value;
the obtaining of the evaluation information of the at least one reference picture further includes:
when the evaluation information of the reference picture is more than one evaluation value, acquiring an average value of the more than one evaluation values as the evaluation information of the reference picture.
4. The picture processing method according to claim 1, wherein the obtaining evaluation information of the at least one reference picture further comprises:
acquiring the picture type of the picture to be processed;
and acquiring a picture matched with the picture type of the picture to be processed as the reference picture, and executing the step of acquiring the evaluation information of the reference picture.
5. The picture processing method according to claim 1, wherein the obtaining evaluation information of the at least one reference picture further comprises:
acquiring identity characteristic information corresponding to the picture to be processed;
and acquiring a picture matched with the identity characteristic information as the reference picture, and executing the step of acquiring the evaluation information of the reference picture.
6. The picture processing method according to claim 1, wherein the obtaining evaluation information of the at least one reference picture further comprises:
detecting reference evaluation information input by a user for the reference picture, acquiring the input reference evaluation information as evaluation information corresponding to the reference picture,
and/or the presence of a gas in the gas,
and acquiring friend evaluation information input by the friends on the social relation chain of the user aiming at the reference picture as evaluation information corresponding to the reference picture.
7. An apparatus for processing pictures, comprising:
the evaluation information acquisition module is used for acquiring evaluation information of at least one reference picture, wherein the evaluation information is one or more evaluation parameters of overall evaluation, color evaluation, focus evaluation and/or beauty effect evaluation of the reference picture, or is a comment in an evaluation area; when the evaluation information is an evaluation value, a calculation formula for obtaining the evaluation value of the reference picture is as follows: EV ═ b1×ev1+b2×ev2+b3×ev3+…+bn×evn(1)
In the formula (1), EV is the evaluation value of the reference picture, EV1、ev2、ev3And evnFor different evaluation values, b1、b2、b3And bnAre respectively ev1、ev2、ev3And evnA corresponding weight; wherein, b1+b2+b3+…+bn=1,biThe specific value of i is 1, 2, 3, …, and n is determined according to the influence parameter of the evaluation valueSetting or adopting recommended setting;
the target picture determining module is used for screening the reference picture with the optimal evaluation from the at least one reference picture according to the evaluation information to serve as a target picture;
the adjustment parameter acquisition module is used for acquiring picture parameters corresponding to the target picture as target picture adjustment parameters;
the picture processing module is used for carrying out image processing on the picture to be processed according to the target picture adjusting parameter;
the reference picture is a picture stored after a user takes a picture, a picture stored after the user downloads from a webpage, a screenshot of a certain page, or a picture after the picture is trimmed by a picture beautifying algorithm, and the reference picture has a picture representing the preference of the user.
8. The apparatus for processing pictures according to claim 7, wherein the target picture adjustment parameter comprises one or more of a picture tone adjustment parameter, a picture black and white adjustment parameter, and a picture light effect adjustment parameter.
9. The apparatus for processing a picture according to claim 7, wherein the evaluation information is an evaluation value;
the evaluation information acquisition module is further configured to acquire, when the evaluation information of the reference picture includes more than one evaluation value, an average value of the more than one evaluation values as evaluation value information of the reference picture.
10. The apparatus according to claim 7, further comprising a first reference picture obtaining module, configured to obtain a picture type of the picture to be processed; and acquiring a picture matched with the picture type of the picture to be processed as the reference picture, and calling the evaluation information acquisition module.
11. The apparatus according to claim 7, further comprising a second reference picture obtaining module, configured to obtain identity feature information corresponding to the picture to be processed; and acquiring a picture matched with the identity characteristic information as the reference picture, and calling the evaluation information acquisition module.
12. The apparatus for processing the picture according to claim 7, wherein the evaluation information obtaining module is further configured to detect reference evaluation information input by a user with respect to the reference picture, obtain the input reference evaluation information as evaluation information corresponding to the reference picture, and/or obtain friend evaluation information input by friends on a social relationship chain of the user with respect to the reference picture as evaluation information corresponding to the reference picture.
CN201611263426.1A 2016-12-30 2016-12-30 Picture processing method and device Expired - Fee Related CN106815803B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611263426.1A CN106815803B (en) 2016-12-30 2016-12-30 Picture processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611263426.1A CN106815803B (en) 2016-12-30 2016-12-30 Picture processing method and device

Publications (2)

Publication Number Publication Date
CN106815803A CN106815803A (en) 2017-06-09
CN106815803B true CN106815803B (en) 2020-06-16

Family

ID=59110083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611263426.1A Expired - Fee Related CN106815803B (en) 2016-12-30 2016-12-30 Picture processing method and device

Country Status (1)

Country Link
CN (1) CN106815803B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107463373B (en) * 2017-07-10 2021-01-29 北京小米移动软件有限公司 Picture beautifying method, friend color value management method and device
CN107945106B (en) * 2017-11-30 2022-02-15 Oppo广东移动通信有限公司 Image processing method, image processing device, electronic equipment and computer readable storage medium
CN108280001A (en) * 2017-12-29 2018-07-13 深圳市艾特智能科技有限公司 Parameter testing method, system, control terminal, test terminal and terminal device
CN108446025B (en) * 2018-03-21 2021-04-23 Oppo广东移动通信有限公司 Shooting control method and related product
CN110930338B (en) * 2019-11-29 2023-06-23 Oppo广东移动通信有限公司 Image processing method, image processing apparatus, electronic device, and computer-readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103338329A (en) * 2013-05-31 2013-10-02 广东欧珀移动通信有限公司 Method and device for photograph shooting
CN103678445A (en) * 2012-09-14 2014-03-26 富士胶片株式会社 Image synthesizing system, image processing apparatus, and image processing method
CN103761536A (en) * 2014-01-28 2014-04-30 五邑大学 Human face beautifying method based on non-supervision optimal beauty features and depth evaluation model
CN105204850A (en) * 2015-08-31 2015-12-30 深圳市金立通信设备有限公司 Image processing method and terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105225212B (en) * 2014-06-27 2018-09-28 腾讯科技(深圳)有限公司 A kind of image processing method and device
CN104751408B (en) * 2015-03-26 2018-01-19 广东欧珀移动通信有限公司 The method of adjustment and device of face head portrait
CN105512615B (en) * 2015-11-26 2019-02-19 小米科技有限责任公司 Image processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678445A (en) * 2012-09-14 2014-03-26 富士胶片株式会社 Image synthesizing system, image processing apparatus, and image processing method
CN103338329A (en) * 2013-05-31 2013-10-02 广东欧珀移动通信有限公司 Method and device for photograph shooting
CN103761536A (en) * 2014-01-28 2014-04-30 五邑大学 Human face beautifying method based on non-supervision optimal beauty features and depth evaluation model
CN105204850A (en) * 2015-08-31 2015-12-30 深圳市金立通信设备有限公司 Image processing method and terminal

Also Published As

Publication number Publication date
CN106815803A (en) 2017-06-09

Similar Documents

Publication Publication Date Title
CN106815803B (en) Picture processing method and device
US11503205B2 (en) Photographing method and device, and related electronic apparatus
US11386699B2 (en) Image processing method, apparatus, storage medium, and electronic device
CN110110118B (en) Dressing recommendation method and device, storage medium and mobile terminal
CN104767933B (en) A method of having the portable digital equipment and screening photo of camera function
US9633462B2 (en) Providing pre-edits for photos
CN109951595A (en) Intelligence adjusts method, apparatus, storage medium and the mobile terminal of screen intensity
CN108810406B (en) Portrait light effect processing method, device, terminal and computer readable storage medium
CN107124548A (en) A kind of photographic method and terminal
CN106101541A (en) A kind of terminal, photographing device and image pickup method based on personage's emotion thereof
CN112019739A (en) Shooting control method and device, electronic equipment and storage medium
CN112785488A (en) Image processing method and device, storage medium and terminal
CN105960801A (en) Enhancing video conferences
CN107623819A (en) A kind of method taken pictures and mobile terminal and related media production
CN112036209A (en) Portrait photo processing method and terminal
CN113411498A (en) Image shooting method, mobile terminal and storage medium
CN112532885A (en) Anti-shake method and device and electronic equipment
CN111316628A (en) Image shooting method and image shooting system based on intelligent terminal
CN108564537B (en) Image processing method, image processing device, electronic equipment and medium
CN113194256B (en) Shooting method, shooting device, electronic equipment and storage medium
WO2021190625A1 (en) Image capture method and device
CN110570383A (en) image processing method and device, electronic equipment and storage medium
WO2016079609A1 (en) Generation apparatus and method for evaluation information, electronic device and server
CN114143429B (en) Image shooting method, device, electronic equipment and computer readable storage medium
CN115623313A (en) Image processing method, image processing apparatus, electronic device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200616