CN110248104A - A kind of image processing method, device and electronic equipment - Google Patents

A kind of image processing method, device and electronic equipment Download PDF

Info

Publication number
CN110248104A
CN110248104A CN201910661458.4A CN201910661458A CN110248104A CN 110248104 A CN110248104 A CN 110248104A CN 201910661458 A CN201910661458 A CN 201910661458A CN 110248104 A CN110248104 A CN 110248104A
Authority
CN
China
Prior art keywords
user
image
adjusting parameter
adjustment
frame image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910661458.4A
Other languages
Chinese (zh)
Other versions
CN110248104B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201910661458.4A priority Critical patent/CN110248104B/en
Publication of CN110248104A publication Critical patent/CN110248104A/en
Application granted granted Critical
Publication of CN110248104B publication Critical patent/CN110248104B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)

Abstract

This application discloses a kind of image processing method, device and electronic equipment, method includes: to obtain a frame image, wherein includes at least one display object in the frame image;The biological information of at least one display object described in the one frame image is identified, to obtain the user information of at least one user;Based on the user information, adjusting parameter corresponding with the user at least one described user is determined;Based on adjusting parameter corresponding with the user at least one described user, display object corresponding with the user at least one described user is adjusted in the frame image, so that the presentation effect of the display object being adjusted in the frame image after the adjustment is different from the presentation effect before adjustment.

Description

A kind of image processing method, device and electronic equipment
Technical field
This application involves technical field of image processing more particularly to a kind of image processing methods, device and electronic equipment.
Background technique
Currently, user can reach oneself desired beautiful Yan Xiaoguo when mobile phone photograph by adjusting the U.S. face function of camera.
But user take pictures every time will camera open when U.S. face template on repeatedly adjusted, cause imaging efficiency compared with It is low.
Summary of the invention
In view of this, the application provides a kind of image processing method, device and electronic equipment, to improve imaging efficiency.
This application provides a kind of image processing methods, comprising:
Obtain a frame image, wherein include at least one display object in the frame image;
The biological information of at least one display object described in the one frame image is identified, to obtain at least The user information of one user;
Based on the user information, adjustment ginseng corresponding with the user at least one described user is determined Number;
Based on adjusting parameter corresponding with the user at least one described user, in the frame image Display object corresponding with the user at least one described user is adjusted, so that being adjusted in the frame image The presentation effect of whole display object after the adjustment is different from the presentation effect before adjustment.
The above method, optionally, the corresponding adjusting parameter of the user at least one described user is described Adjustment target is corresponding in one frame image, in which:
Corresponding adjustment target is different between the user at least one described user.
The above method, optionally, the corresponding adjusting parameter of the user at least one described user is described Adjustment target is corresponding in one frame image, in which:
Corresponding adjustment target is identical and in the adjustment mesh between the user at least one described user The adjusting parameter put on is different.
The above method, optionally, the corresponding adjusting parameter of the user at least one described user are one Or it is multiple, the adjusting parameter is corresponding with adjustment target in the frame image;Wherein:
There are different adjustment mesh in corresponding adjustment target between the user at least one described user Mark.
The above method, optionally, in which:
Adjusting parameter between the user at least one described user in identical adjustment target is different.
The above method is optionally joined based on adjustment corresponding with the user at least one described user Number adjusts display object corresponding with the user at least one described user in the frame image, before, The method also includes:
Judge to contain in the frame image and obtained figure is acquired to the corresponding real user of the display object As region;
If so, execute it is described based on adjusting parameter corresponding with the user at least one described user, Display object corresponding with the user at least one described user is adjusted in the frame image;
If not provided, with preset processing parameter, in the frame image at least one described user described in The corresponding display object of user is handled.
The above method, optionally, the processing parameter are as follows: to right respectively with the user at least one described user The adjusting parameter answered is modified obtained parameter;
Wherein, the adjustment incremental value of the display object is less than in the adjusting parameter to described in the processing parameter Show the adjustment incremental value of object.
The above method is optionally based on the user information, the determining user point at least one described user Not corresponding adjusting parameter, comprising:
Based on the user information, the historical operating data of the user at least one described user is obtained, it is described Historical operating data includes the operation data being adjusted when the user carries out image procossing to image;
Based on the historical operating data, adjustment corresponding with the user at least one described user is determined Parameter.
Present invention also provides a kind of image processing apparatus, comprising:
Obtaining unit, for obtaining a frame image, wherein include at least one display object in the frame image;
Recognition unit is known for the biological information at least one display object described in the frame image Not, to obtain the user information of at least one user;
Determination unit, for being based on the user information, the determining user at least one described user distinguishes Corresponding adjusting parameter;
Adjustment unit, for based on adjusting parameter corresponding with the user at least one described user, Display object corresponding with the user at least one described user is adjusted in the one frame image, so that described The presentation effect of the display object being adjusted in one frame image after the adjustment is different from the presentation effect before adjustment.
Present invention also provides a kind of electronic equipment, comprising:
Image collecting device, for obtaining a frame image, wherein include at least one display pair in the frame image As;
Image display device, for rendering frame image;
Processor is known for the biological information at least one display object described in the frame image Not, to obtain the user information of at least one user;Based on the user information, the determining institute at least one described user State the corresponding adjusting parameter of user;Joined based on adjustment corresponding with the user at least one described user Number adjusts display object corresponding with the user at least one described user in the frame image, so that It obtains the presentation effect of the display object being adjusted in the frame image after the adjustment and is different from the presentation effect before adjustment.
It can be seen from the above technical proposal that a kind of image processing method, device and electronic equipment disclosed in the present application, After obtaining image, by showing that the biological information of object identifies in image, and then at least one use is acquired After the user information at family, these user informations are based on, determine adjusting parameter corresponding to user, and then distinguish based on each user Corresponding adjusting parameter to showing that object is adjusted accordingly in image, so that the display object being adjusted in image is being adjusted Presentation effect after whole is different from the presentation effect before adjustment.As it can be seen that obtaining phase respectively for the user in image in the application The adjusting parameter answered, and then user can directly obtain the corresponding adjusting parameter of the user when taking pictures and scheme to the user Corresponding display object is adjusted as in, is repeatedly adjusted without user when taking pictures every time, to reduce adjustment Time-consuming, to improve the imaging efficiency of image.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to required use in embodiment description Attached drawing be briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for this For the those of ordinary skill of field, without creative efforts, it can also be obtained according to these attached drawings others Attached drawing.
Fig. 1 is a kind of flow chart for image processing method that the embodiment of the present application one provides;
Fig. 2-Fig. 4 is respectively the exemplary diagram of the embodiment of the present application;
Fig. 5 is a kind of another flow chart for image processing method that the embodiment of the present application one provides;
Fig. 6 is a kind of structural schematic diagram for image processing apparatus that the embodiment of the present application two provides;
Fig. 7 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present application three provides;
Fig. 8 is another exemplary diagram of the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
As shown in Figure 1, a kind of implementation flow chart of the image processing method provided for the embodiment of the present application one, this method is suitable For being able to carry out in the electronic equipment of image procossing, such as mobile phone, pad have the terminal device of image acquisition component.This reality Apply example be mainly used for electronic equipment carry out Image Acquisition when, display object corresponding to user in image is adjusted, with must It is time-consuming to adjustment is reduced, improve the purpose of the imaging efficiency of image.
Specifically, the method in the present embodiment may comprise steps of:
Step 101: obtaining a frame image.
It wherein, include at least one display object in a frame image.Show that object can be the figure of one or more users As section object, the section object of user here can be understood as the object in the region comprising user's entirety, complete such as user The section object of body or integral head, it is understood that be the object of the partial region comprising user, such as user's side face, Zuo Banshen Or the section object of user's corners of the mouth, as shown in Figure 2.
It should be noted that the frame image in the present embodiment can be understood as the single-frame images in image data, it can also To be interpreted as the single-frame images in image data, correspondingly, image procossing when being suitable for image taking in the present embodiment, is also fitted Image procossing when for filming image is performed both by the image procossing in the present embodiment to each frame image in image data Scheme.
In addition, may include at least one the display object for having a user in a frame image in the present embodiment, it can also To include at least one respective display object of multiple users, that is to say, that a frame image, which can be, carries out a user Shooting is formed by image, is also possible to carry out shooting to multiple users to be formed by image, correspondingly, in one frame of image Display object can correspond to a user, may correspond to multiple users: user A and user B, as shown in Figure 3.
It should be noted that the user in the present embodiment can be real user, such as true human or animal, in self-timer Personage etc., be also possible to the human or animal of the virtual image in image or image, in poster or advertising image or image Human or animal etc. can also also include Virtual User comprising real user, as wrapped in bean vermicelli and the group photo image of idol poster Poster idol user containing true bean vermicelli user and virtual image, as shown in Figure 4.
Step 102: the biological information of object, which identifies, to be shown at least one of frame image, to obtain extremely The user information of a few user.
Wherein, the biological information in the present embodiment can be the features such as face, face's organ, iris, walking posture Information, correspondingly, can be using face recognition algorithms or visual identification algorithm etc. to the display in a frame image in the present embodiment The biological information of object is identified, respectively shows user belonging to object to identify at least one display object, And then obtain the user information of these users.
It should be noted that in one frame of image, display object can correspond to a user, may correspond to multiple Therefore user in the present embodiment when identification shows object, can recognize that a user belonging to display object or display pair As affiliated multiple users, therefore, user information obtained may belong to a user in the present embodiment, also may belong to Multiple users.
Step 103: being based on user information, determine adjusting parameter corresponding with the user at least one user.
Wherein, adjusting parameter is preset for user in the present embodiment, the adjusting parameter of each user corresponds to belonging to it User, for different users, adjusting parameter can be the same or different.For example, user A has adjusting parameter 1, user B has adjusting parameter 2.
It should be noted that adjusting parameter corresponding to a user can have one, can also have it is multiple, to phase The target to be adjusted answered such as nose eyes or tone etc. are adjusted.
Step 104: based on adjusting parameter corresponding with the user at least one user, adjusting in one frame of image Display object corresponding with the user at least one user, so that the display object being adjusted in a frame image is being adjusted Presentation effect after whole is different from the presentation effect before adjustment.
Wherein, corresponding with the user in the present embodiment if showing that object belongs to a user in a frame image Adjusting parameter is adjusted the display object in a frame image, and the display object in a frame image is based on belonging to it as a result, Adjusting parameter is different with presentation effect adjusted before being adjusted, and achievees the purpose that user needs to carry out Image Adjusting.
It is corresponding with each user in the present embodiment if showing that object belongs to multiple users in a frame image Adjusting parameter is adjusted display object corresponding to relative users in a frame image, with the adjusting parameter 1 of user A to a frame The corresponding display object of user A is adjusted in image, corresponding to user B in a frame image aobvious with the adjusting parameter 2 of user B Show that object is adjusted, as a result, in a frame image the corresponding display object of user A before adjustment with it is adjusted Effect is presented to distinguish, and the difference presented in effect meets the needs of user A, so that user B is corresponding aobvious in a frame image Show that object is distinguished with presentation effect after adjustment before adjustment, and the difference presented in effect meets the needs of user B.
By above scheme it is found that a kind of image processing method that the embodiment of the present application one provides leads to after an image is obtained Cross to showing that the biological information of object identifies in image, so acquire at least one user user information it Afterwards, these user informations are based on, determine adjusting parameter corresponding to user, and then be based on the corresponding adjusting parameter of each user To showing that object is adjusted in image accordingly, so that the presentation effect of the display object being adjusted in image after the adjustment Presentation effect before being different from adjustment.As it can be seen that corresponding adjusting parameter is obtained respectively for the user in image in the present embodiment, It is corresponding aobvious in the picture to the user can to directly obtain the corresponding adjusting parameter of the user when taking pictures by user in turn Show that object is adjusted, repeatedly adjusted without user when taking pictures every time, so that adjustment time-consuming is reduced, to improve figure The imaging efficiency of picture.
In one implementation, the adjusting parameter in the present embodiment corresponds to adjustment target in the picture, wherein adjustment Target can be a display object, is also possible to the object composition of multiple display object compositions, is also possible to a display pair Partial region as in.
Wherein, it is corresponding between different users when respectively display object corresponds to multiple users in one frame of image Adjustment target may be the same or different.
That is, the user information of the one or more users identified in acquiring image in the present embodiment it Afterwards, for different users, adjusting parameter is different, is embodied in the difference of adjustment target corresponding to adjusting parameter, such as uses The adjusting parameter 1 of family A is the adjusting parameter to nose, and the adjusting parameter 2 of user B is the adjusting parameter to lip.
In another scenario, for different users, adjusting parameter is different, is embodied in corresponding to adjusting parameter Adjustment target is identical and the value of the adjusting parameter in accordingly adjustment target is different, the adjusting parameter such as user A and user B is equal It is the adjusting parameter to nose, different places is, the adjusting parameter of the parameter value and user B of the adjusting parameter of user A Parameter value is different, and if the user A parameter value adjusted to nose is 2 millimeters of height that nose is turned up, user B adjusts user Parameter value is 4 millimeters of height that nose is turned up.Alternatively, the adjusting parameter of user A and user B are the ginsengs of the adjustment to the colour of skin Number, different places are that the parameter value of the adjusting parameter of user A is different from the parameter value of the adjusting parameter of user B, such as user A is adjusted to brilliant white to the colour of skin, and user B is adjusted to dark red, etc. to the colour of skin.
In one implementation, for the user in image, the adjusting parameter of a user can have one or Multiple, the adjusting parameter of a user is different, correspondingly, corresponding to different adjustment mesh in the corresponding display object of the user Mark, for example, including adjusting parameter 11 and adjusting parameter 12 in the adjusting parameter 1 of user A, adjusting parameter 11 corresponds in the picture Target 11 is adjusted, such as the nose of user A, adjusting parameter 12 corresponds to adjustment target 12 in the picture, such as the colour of skin of user A, In include nose the colour of skin and cheek and the colour of skin of ear, etc..
And when respectively display object corresponds to multiple users in one frame of image, the adjusting parameter of each user corresponds to one Or multiple adjustment targets, and it is directed to different users, adjustment target corresponding to adjusting parameter among different users can be with There is overlapping, can also have different.That is, can have identical adjustment target between different users, there is also different Adjust target.For example, the adjusting parameter 1 of user A corresponds to adjustment target 11 and adjusts target 12, and the adjusting parameter of user B Also it is corresponding with adjustment target 11, it is identical as the adjustment target 11 of user A, in addition, the adjusting parameter of user B is also corresponding with adjustment mesh Mark 21, it is different from each adjustment target in user A.
For example, the adjusting parameter of user A corresponds to adjustment target nose and eyes, and the adjusting parameter of user B corresponds to Adjust target nose and lip.
Correspondingly, adjusting parameter of the different users in its identical adjustment target can be the same or different, have The parameter value that body shows as adjusting parameter of the different users in its identical adjustment target can be the same or different.Example If adjusting parameter of the user A on nose is adjustment height, adjusting parameter of the user B on nose is adjustment width and adjustment Highly, the value of adjustment height can be that 2 millimeters are turned up accordingly, alternatively, adjustment height value of the user A on nose can be with For 2 millimeters are turned up, adjustment height of the user B on nose is that 4 millimeters are turned up.
As known from the above, the image tune for being more in line with user's feature can be realized in the present embodiment for different users It is whole, the adjustment effect for more meeting users ' individualized requirement is presented for user, moreover, can for different users in the present embodiment To realize the adjustment of the parameter value of different adjustment targets and/or different adjusting parameters, to realize the flexibility of adjustment, further Meet the individual demand of user.
In one implementation, the present embodiment identify user in image and obtain user user information it Afterwards, it needs first to judge that the user in image is the user of real user or virtual image, that is, judges that image is used true Family is acquired obtained image or image is acquired to the user in the user of virtual image such as picture or image Obtained image, such as judgement are true man or poster personage etc., and then can be directed to the use of real user and virtual image Family is in the picture adjusted display object according to the corresponding adjusting parameter of user, alternatively, only to real user, according to true The corresponding adjusting parameter of real user is in the picture adjusted display object, alternatively, only to the user of virtual image, according to void The corresponding adjusting parameter of user of quasi- imaging is in the picture adjusted display correspondence.And in real user and virtual image It, can be according to the difference between real user or the user of virtual image, to adjustment when user carries out the adjustment of display object Parameter is appropriately modified optimization and then the use using the adjusting parameter after optimization to corresponding real user or virtual image Corresponding display object is adjusted in the picture at family.
For example, carry out step can also be performed in the present embodiment before executing step 104, as shown in Figure 5:
Step 105: judge a frame image whether contain the corresponding real user of display object is acquired it is obtained Otherwise image-region, executes step 106 if so, executing step 104.
Wherein, it can carry out identification according to the corresponding light of object, brightness, iris etc. is shown in image in the present embodiment and sentence It is disconnected, and then judge whether image contains the image-region being acquired to real user, that is, judge the display object in image Be real user display object or virtual image user display object, such as judge be real person nose eye Eyeball, goes back the nose eyes of the personage of the virtual image in image, and then judges the real user in image.
It should be noted that the display object in the present embodiment in one frame of image may belong to one or more users, That is, may will recognise that one or more users in a frame image, correspondingly, these users may be entirely really to use Family, it is also possible to be entirely virtual image user, it is also possible to a part be real user other be virtual image user, that is, scheme As that may be entirely to be acquired obtained image to real user, it is also possible to be entirely to be acquired institute to the user of imaging Obtained image, it is also possible to which obtained image is acquired together to the user of real user and imaging.For example, in image Identify user A and user B, and user A is real user, user B is the imaging user in poster, such as bean vermicelli and idol poster Group photo image etc..
Step 106: with preset processing parameter, to corresponding aobvious with the user at least one use in a frame image Show that object is handled.
Wherein, in the present embodiment after judging that image has and is acquired to real user and is formed by image-region, Step 104 can be executed, for the display object of real user, based on the corresponding adjusting parameter of real user to corresponding true The display object of real user in the picture is adjusted, so that the presentation effect of the display object being adjusted after the adjustment is different from Presentation effect before adjustment;
And the display object of the user for imaging, can the corresponding adjusting parameter of user based on imaging to corresponding imaging The display object of user in the picture is adjusted, alternatively, the user of display object to(for) imaging, it can be with preset processing Parameter is adjusted the display object of the user of imaging in the picture, and preset processing parameter can be the user in imaging Adjusting parameter on the basis of modify obtained parameter;Alternatively, the user of display object to(for) imaging, it can also not It is adjusted.
It, can be direct and if it is judged that after not being acquired to real user in image and being formed by image-region Step 106 is executed to handle the display object in image with preset processing parameter.
Wherein, if it is judged that not having real user to be acquired in image is formed by image-region, then, this implementation Example in can the display object to the user being imaged in image be adjusted according to the adjusting parameter of the user, alternatively, not with this The original adjusting parameter of the user of imaging is adjusted, but is modified in adjusting parameter, obtains processing parameter, and then with The processing parameter is adjusted the display object of the user of imaging in the picture;Alternatively, judging image in the present embodiment In be not real user is acquired to be formed by image, then with regard to no longer carry out image procossing.
It should be noted that the above processing parameter is gained of modifying on the basis of the adjusting parameter of its owning user The parameter arrived, specifically, being less than in original adjusting parameter the adjustment incremental value of display object to display pair in processing parameter The adjustment incremental value of elephant.That is, finding that image is not that real user is acquired obtained image in the present embodiment When, the adjusting parameter of the user in image can be adjusted, i.e. adjustment incremental value in reduction adjusting parameter, such as adjustment ginseng Number is the adjusting parameter that nose height is turned up 2 millimeters, respective handling parameter are as follows: 1 millimeter of nose height height-regulating is unregulated Parameter.For another example: adjusting parameter be skin brightness be turned up 3 value, corresponding processing parameter are as follows: the colour of skin scheduling be turned up 1 value or It does not adjust.
That is, in the present embodiment can to the user in image whether be real user or virtual image user Identification judgement is carried out, and then for real user and the user of virtual image, it can schemed using different adjustment modes Display object as in is adjusted.For example, for the image that bean vermicelli and idol poster are taken a group photo, to work in the present embodiment It is adjusted for the bean vermicelli face in the picture of real user or stature, different effects is presented, and for as virtual It is imaged for the poster idol of user, to its display object in the picture without adjustment.As a result, to true in the present embodiment The display object of user in the picture is adjusted, and corresponding aobvious in the picture to the user of virtual image in different ways Show that object is adjusted or does not adjust, thus more accurately image can be handled in the present embodiment, meets user's need It asks, and avoids image procossing excessive simultaneously, lead to the situation that effect is poor.
In one implementation, the adjusting parameter of user can be preset, can specifically be in advance based on going through for each user History operates the adjusting parameter of all users is arranged, and is stored in remote server, schemes it is possible thereby to reduce user in real time Calculation amount when as processing.And after needing to handle image and identify user information on electronic equipment such as mobile phone, Tune corresponding to the user information identified can be determined in the adjusting parameter of preset each user in remote server Whole parameter, wherein user here can be the use that Image Acquisition or image procossing are once carried out using current electronic equipment Family, the historical operation of user are that user has used the image processing operations that current electronic equipment carries out;
Alternatively, in order to improve the real-time of parameter and accuracy, and the calculation amount for reducing preset calculating also reduces data biography Defeated time-consuming, the adjusting parameter of user, which can be, needs to handle image and identify that user believes in current electronic equipment After breath, the historical operating data of the corresponding user of the user information is parsed in real time to obtain the adjustment of user ginseng Number.
For example, step 103 can be accomplished by the following way in the present embodiment:
Based on user information, the historical operating data of the user at least one user is obtained, and historical operating data packet Include the operation data being adjusted when user carries out Image Acquisition or processing to image, it may be assumed that for the use identified in image The owning user of family information, to these users respectively on current electronic equipment or other electronic equipments carry out image procossing when The historical operating data carried out is obtained, as user A carries out U.S. face nose when carrying out Image Acquisition using electronic equipment The operation data of adjustment, user B carry out the operation data, etc. of colour of skin adjustment when carrying out image U.S. face using electronic equipment;
Later, based on the historical operating data of user, the corresponding adjustment ginseng of user at least one user is determined Number.
Specifically, extracting the history adjustment of the display object corresponding to user in historical operating data in the present embodiment The history adjusting parameter is taken the adjusting parameter directly as user by parameter;Alternatively, the parameter value in history adjusting parameter is taken Average value, perhaps take most be worth or weighting processing, to obtain the adjusting parameter of user.
For example, obtaining user A in the present embodiment carries out the adjustment of nose height when carrying out Image Acquisition using electronic equipment Operation data, and then extract nose adjustment height adjustment incremental value, and then by the nose adjustment height adjustment incremental value As user A in subsequent progress image procossing to the standard adjusting parameter of nose;
For another example, the behaviour that user B carries out colour of skin adjustment when carrying out image U.S. face using electronic equipment is obtained in the present embodiment Make data, later, extracts the colour of skin and adjust color value, thus obtain the user B more times corresponding colours of skin of historical operating data Color value is adjusted, and then chooses the most minimum or moderate color value of adjustment access times in these colours of skin adjustment color value The standard adjusting parameter that the colour of skin is adjusted in subsequent progress image procossing as user B.
With reference to Fig. 6, for a kind of structural schematic diagram for image processing apparatus that the embodiment of the present application two provides, which is applicable in In the electronic equipment for being able to carry out image procossing, such as mobile phone, pad have the terminal device of image acquisition component.This implementation When example is mainly used for carrying out Image Acquisition to electronic equipment, display object corresponding to user in image is adjusted, to obtain It is time-consuming to reduce adjustment, improves the purpose of the imaging efficiency of image.
Specifically, the device of the present embodiment may include with flowering structure:
Obtaining unit 601, for obtaining a frame image, wherein include at least one display object in the frame image;
Recognition unit 602, for described in the frame image at least one display object biological information into Row identification, to obtain the user information of at least one user;
Determination unit 603, for being based on the user information, the determining user point at least one described user Not corresponding adjusting parameter;
Adjustment unit 604, for based on adjusting parameter corresponding with the user at least one described user, Display object corresponding with the user at least one described user is adjusted in the frame image, so that institute State the presentation effect that the presentation effect of the display object being adjusted in a frame image after the adjustment is different from before adjustment.
It can be seen from the above, a kind of image processing apparatus that the present embodiment two provides, after an image is obtained, by image The biological information of middle display object is identified, and then after acquiring the user information of at least one user, is based on this A little user informations determine adjusting parameter corresponding to user, and then based on the corresponding adjusting parameter of each user in image Corresponding display object is adjusted, so that the presentation effect of the display object being adjusted in image after the adjustment is different from tune Presentation effect before whole.As it can be seen that obtaining corresponding adjusting parameter, and then user respectively for the user in image in the present embodiment Can be directly obtained when being taken pictures the corresponding adjusting parameter of the user to the user in the picture corresponding display object into Row adjustment is repeatedly adjusted without user when taking pictures every time, so that adjustment time-consuming is reduced, to improve the imaging of image Efficiency.
In one implementation, the corresponding adjusting parameter of the user at least one described user is described Adjustment target is corresponding in one frame image, in which:
Corresponding adjustment target is different between the user at least one described user;
Alternatively, corresponding adjustment target is identical and in the tune between the user at least one described user Adjusting parameter in whole target is different.
In another implementation, the corresponding adjusting parameter of the user at least one described user is one A or multiple, the adjusting parameter is corresponding with adjustment target in the frame image;Wherein:
There are different adjustment mesh in corresponding adjustment target between the user at least one described user Mark.
Further, the adjusting parameter between the user at least one described user in identical adjustment target It is different.
In addition, in the present embodiment adjustment unit 604 based on at least one described user the user distinguish Corresponding adjusting parameter adjusts corresponding with the user at least one described user aobvious in the frame image Show object, before, be also used to:
Judge to contain in the frame image and obtained figure is acquired to the corresponding real user of the display object As region;If so, execute it is described based on adjusting parameter corresponding with the user at least one described user, Display object corresponding with the user at least one described user is adjusted in the one frame image;If not provided, With preset processing parameter, to display corresponding with the user at least one described user in the frame image Object is handled.
For example, the processing parameter are as follows: join to adjustment corresponding with the user at least one described user Count obtained parameter of modifying;
Wherein, the adjustment incremental value of the display object is less than in the adjusting parameter to described in the processing parameter Show the adjustment incremental value of object.
In one implementation, determination unit 603 is being based on the user information, determining and at least one described user In the user corresponding adjusting parameter when, can specifically be accomplished by the following way:
Based on the user information, the historical operating data of the user at least one described user is obtained, it is described Historical operating data includes the operation data being adjusted when the user carries out image procossing to image;Based on the history Operation data determines adjusting parameter corresponding with the user at least one described user;
Alternatively, the historical operating data of each user is obtained ahead of time in the present embodiment in remote server, cloud is arrived in storage Server is held, the historical operating data includes the operand being adjusted when the user carries out image procossing to image According to;Based on the historical operating data, the corresponding adjusting parameter of each user is obtained, and determination unit 603 can be at this Adjusting parameter corresponding with the user at least one described user is determined based on user information in a little adjusting parameters.
With reference to Fig. 7, for the structural schematic diagram for a kind of electronic equipment that the embodiment of the present application three provides, which can be energy The electronic equipment of image procossing is enough carried out, such as mobile phone, pad have the terminal device of image collecting device.The present embodiment is main When for carrying out Image Acquisition to electronic equipment, display object corresponding to user in image is adjusted, and is adjusted with being reduced Whole time-consuming improves the purpose of the imaging efficiency of image.
Specifically, may include with flowering structure in electronic equipment:
Image collecting device 701, for obtaining a frame image, wherein include at least one display in the frame image Object.
Wherein, image collecting device 701 can be the components such as camera or video camera, being obtained to image, or Person's image collecting device 701 can be image data coffret, to read out image from the memory of electronic equipment.
Image display device 702, the frame image, such as display or touch screen for rendering, for by image into Row is presented.
Processor 703 is carried out for the biological information at least one display object described in the frame image Identification, to obtain the user information of at least one user;Based on the user information, it is determining at least one described user The corresponding adjusting parameter of the user;Joined based on adjustment corresponding with the user at least one described user Number adjusts display object corresponding with the user at least one described user in the frame image, so that It obtains the presentation effect of the display object being adjusted in the frame image after the adjustment and is different from the presentation effect before adjustment.
It can be seen from the above, a kind of electronic equipment that the present embodiment three provides, after an image is obtained, by being shown in image Show that the biological information of object is identified, and then after acquiring the user information of at least one user, based on these use Family information determines adjusting parameter corresponding to user, and then based on the corresponding adjusting parameter of each user to corresponding in image Display object be adjusted so that before the presentation effect of the display object being adjusted in image after the adjustment is different from adjustment Presentation effect.As it can be seen that obtain corresponding adjusting parameter respectively for the user in image in the present embodiment, so user into Row can directly obtain the corresponding adjusting parameter of the user when taking pictures, and to the user, corresponding display object is adjusted in the picture It is whole, it is repeatedly adjusted without user when taking pictures every time, to reduce, adjustment is time-consuming, to improve the imaging effect of image Rate.
In one implementation, the corresponding adjusting parameter of the user at least one described user is described Adjustment target is corresponding in one frame image, in which:
Corresponding adjustment target is different between the user at least one described user;
Alternatively, corresponding adjustment target is identical and in the tune between the user at least one described user Adjusting parameter in whole target is different.
In another implementation, the corresponding adjusting parameter of the user at least one described user is one A or multiple, the adjusting parameter is corresponding with adjustment target in the frame image;Wherein:
There are different adjustment mesh in corresponding adjustment target between the user at least one described user Mark.
Further, the adjusting parameter between the user at least one described user in identical adjustment target It is different.
In addition, processor 703 is based on right respectively with the user at least one described user in the present embodiment The adjusting parameter answered adjusts display corresponding with the user at least one described user in the frame image Object is also used to before:
Judge to contain in the frame image and obtained figure is acquired to the corresponding real user of the display object As region;If so, execute it is described based on adjusting parameter corresponding with the user at least one described user, Display object corresponding with the user at least one described user is adjusted in the one frame image;If not provided, With preset processing parameter, to display corresponding with the user at least one described user in the frame image Object is handled.
For example, the processing parameter are as follows: join to adjustment corresponding with the user at least one described user Count obtained parameter of modifying;
Wherein, the adjustment incremental value of the display object is less than in the adjusting parameter to described in the processing parameter Show the adjustment incremental value of object.
In one implementation, processor 703 is being based on the user information, it is determining at least one described user The user corresponding adjusting parameter when, can specifically be accomplished by the following way:
Based on the user information, the historical operating data of the user at least one described user is obtained, it is described Historical operating data includes the operation data being adjusted when the user carries out image procossing to image;Based on the history Operation data determines adjusting parameter corresponding with the user at least one described user;
Alternatively, the historical operating data of each user is obtained ahead of time in the present embodiment in remote server, cloud is arrived in storage Server is held, the historical operating data includes the operand being adjusted when the user carries out image procossing to image According to;Based on the historical operating data, the corresponding adjusting parameter of each user is obtained, and processor 703 can be at these Adjusting parameter corresponding with the user at least one described user is determined based on user information in adjusting parameter.
For being handled when mobile phone photograph the image in preview or the image taken below, the application is implemented Technical solution in example is illustrated:
In conjunction with shown in Fig. 8, the local intelligence learning adjusted when carrying out to picture according to user in the present embodiment and repair figure is used The history at family repairs graphic operation, these history repair the focus for repairing figure that user is able to reflect in graphic operation, for these focus, It repairs the study of figure result intelligent according to history and automatically generates and a set of be suitble to repair the beauty parameter of effect and output after figure.Wherein, it generates The operation of beauty parameter can be carried out before mobile phone is locally taken pictures or during taking pictures, can also be in remote server such as cloud It is carried out in server, to reduce the calculation amount on mobile phone, avoids mobile phone Caton.In this way when being taken pictures using camera intelligence from Dynamic identification personage, transfers and uses the beauty parameter for being suitble to the personage, once just achieve the effect that user likes, and is truly realized intelligence It can personalized U.S. face.
As a result, in the present embodiment can according to according to the habit of user or historical operation come to user in the picture where Region carries out repairing figure, thus meets the individual demand of user, moreover, taking pictures or handling every time without user in the present embodiment When require repair figure adjustment, and then can once achieve the effect that user likes, without repairing figure again, to improve imaging effect Rate.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond scope of the present application.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of image processing method, comprising:
Obtain a frame image, wherein include at least one display object in the frame image;
The biological information of at least one display object described in the one frame image is identified, to obtain at least one The user information of user;
Based on the user information, adjusting parameter corresponding with the user at least one described user is determined;
Based on adjusting parameter corresponding with the user at least one described user, adjusted in the frame image Display object corresponding with the user at least one described user, so that be adjusted in the frame image The presentation effect of display object after the adjustment is different from the presentation effect before adjustment.
2. according to the method described in claim 1, the corresponding adjusting parameter of the user at least one described user Adjustment target is corresponding in the frame image, in which:
Corresponding adjustment target is different between the user at least one described user.
3. according to the method described in claim 1, the corresponding adjusting parameter of the user at least one described user Adjustment target is corresponding in the frame image, in which:
Corresponding adjustment target is identical and in the adjustment target between the user at least one described user Adjusting parameter it is different.
4. according to the method described in claim 1, the corresponding adjusting parameter of the user at least one described user For one or more, the adjusting parameter is corresponding with adjustment target in the frame image;Wherein:
There are different adjustment targets in corresponding adjustment target between the user at least one described user.
5. according to the method described in claim 4, wherein:
Adjusting parameter between the user at least one described user in identical adjustment target is different.
6. according to the method described in claim 1, based on corresponding with the user at least one described user Adjusting parameter adjusts display pair corresponding with the user at least one described user in the frame image As, before, the method also includes:
Judge to contain in the frame image and obtained image district is acquired to the corresponding real user of the display object Domain;
If so, based on adjusting parameter corresponding with the user at least one described user described in executing, in institute It states and adjusts display object corresponding with the user at least one described user in a frame image;
If not provided, with preset processing parameter, in the frame image with the user at least one described user Corresponding display object is handled.
7. according to the method described in claim 6, the processing parameter are as follows: to the user at least one described user Corresponding adjusting parameter is modified obtained parameter;
Wherein, the adjustment incremental value of the display object is less than in the adjusting parameter to the display in the processing parameter The adjustment incremental value of object.
8. according to the method described in claim 1, be based on the user information, it is determining with it is described at least one described user The corresponding adjusting parameter of user, comprising:
Based on the user information, the historical operating data of the user at least one described user, the history are obtained Operation data includes the operation data being adjusted when the user carries out image procossing to image;
Based on the historical operating data, adjustment ginseng corresponding with the user at least one described user is determined Number.
9. a kind of image processing apparatus, comprising:
Obtaining unit, for obtaining a frame image, wherein include at least one display object in the frame image;
Recognition unit, for described in the frame image at least one display object biological information identify, To obtain the user information of at least one user;
Determination unit, for being based on the user information, determination is respectively corresponded with the user at least one described user Adjusting parameter;
Adjustment unit, for based on adjusting parameter corresponding with the user at least one described user, described Display object corresponding with the user at least one described user is adjusted in one frame image, so that a frame The presentation effect of the display object being adjusted in image after the adjustment is different from the presentation effect before adjustment.
10. a kind of electronic equipment, comprising:
Image collecting device, for obtaining a frame image, wherein include at least one display object in the frame image;
Image display device, for rendering frame image;
Processor, for described in the frame image at least one display object biological information identify, with Obtain the user information of at least one user;Based on the user information, the determining use at least one described user The corresponding adjusting parameter in family;Based on adjusting parameter corresponding with the user at least one described user, Display object corresponding with the user at least one described user is adjusted in the one frame image, so that described The presentation effect of the display object being adjusted in one frame image after the adjustment is different from the presentation effect before adjustment.
CN201910661458.4A 2019-07-22 2019-07-22 Image processing method and device and electronic equipment Active CN110248104B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910661458.4A CN110248104B (en) 2019-07-22 2019-07-22 Image processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910661458.4A CN110248104B (en) 2019-07-22 2019-07-22 Image processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110248104A true CN110248104A (en) 2019-09-17
CN110248104B CN110248104B (en) 2021-03-19

Family

ID=67893037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910661458.4A Active CN110248104B (en) 2019-07-22 2019-07-22 Image processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110248104B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798614A (en) * 2019-10-14 2020-02-14 珠海格力电器股份有限公司 Photo shooting method, device, equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540844A (en) * 2008-03-19 2009-09-23 索尼株式会社 Composition determination device, composition determination method, and program
US20140056509A1 (en) * 2012-08-22 2014-02-27 Canon Kabushiki Kaisha Signal processing method, signal processing apparatus, and storage medium
CN104159032A (en) * 2014-08-20 2014-11-19 广东欧珀移动通信有限公司 Method and device of adjusting facial beautification effect in camera photographing in real time
CN104503749A (en) * 2014-12-12 2015-04-08 广东欧珀移动通信有限公司 Photo processing method and electronic equipment
CN104715236A (en) * 2015-03-06 2015-06-17 广东欧珀移动通信有限公司 Face beautifying photographing method and device
CN105809637A (en) * 2016-02-29 2016-07-27 广东欧珀移动通信有限公司 Control method, control apparatus and electronic apparatus
CN107123081A (en) * 2017-04-01 2017-09-01 北京小米移动软件有限公司 image processing method, device and terminal
CN107563976A (en) * 2017-08-24 2018-01-09 广东欧珀移动通信有限公司 U.S. face parameter acquiring method, device, readable storage medium storing program for executing and computer equipment
CN109872273A (en) * 2019-02-26 2019-06-11 上海上湖信息技术有限公司 A kind of image processing method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540844A (en) * 2008-03-19 2009-09-23 索尼株式会社 Composition determination device, composition determination method, and program
US20140056509A1 (en) * 2012-08-22 2014-02-27 Canon Kabushiki Kaisha Signal processing method, signal processing apparatus, and storage medium
CN104159032A (en) * 2014-08-20 2014-11-19 广东欧珀移动通信有限公司 Method and device of adjusting facial beautification effect in camera photographing in real time
CN104503749A (en) * 2014-12-12 2015-04-08 广东欧珀移动通信有限公司 Photo processing method and electronic equipment
CN104715236A (en) * 2015-03-06 2015-06-17 广东欧珀移动通信有限公司 Face beautifying photographing method and device
CN105809637A (en) * 2016-02-29 2016-07-27 广东欧珀移动通信有限公司 Control method, control apparatus and electronic apparatus
CN107123081A (en) * 2017-04-01 2017-09-01 北京小米移动软件有限公司 image processing method, device and terminal
CN107563976A (en) * 2017-08-24 2018-01-09 广东欧珀移动通信有限公司 U.S. face parameter acquiring method, device, readable storage medium storing program for executing and computer equipment
CN109872273A (en) * 2019-02-26 2019-06-11 上海上湖信息技术有限公司 A kind of image processing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798614A (en) * 2019-10-14 2020-02-14 珠海格力电器股份有限公司 Photo shooting method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN110248104B (en) 2021-03-19

Similar Documents

Publication Publication Date Title
JP6905602B2 (en) Image lighting methods, devices, electronics and storage media
US8055090B2 (en) Digital image processing using face detection information
US8498446B2 (en) Method of improving orientation and color balance of digital images using face detection information
US8948468B2 (en) Modification of viewing parameters for digital images using face detection information
US20030062058A1 (en) Method of modifying facial images, makeup simulation method, makeup method, makeup support apparatus and foundation transfer film
US20110013043A1 (en) Digital Image Processing Using Face Detection and Skin Tone Information
JP5949331B2 (en) Image generating apparatus, image generating method, and program
KR20110033980A (en) Automatic face and skin beautification using face detection
CN108198161A (en) A kind of fusion method, device and the equipment of dual camera image
US20170154437A1 (en) Image processing apparatus for performing smoothing on human face area
WO2021197186A1 (en) Auxiliary makeup method, terminal device, storage medium and program product
WO2021128593A1 (en) Facial image processing method, apparatus, and system
CN109089045A (en) A kind of image capture method and equipment and its terminal based on multiple photographic devices
CN113610723A (en) Image processing method and related device
CN106131439A (en) A kind of image pickup method and filming apparatus
CN106357979A (en) Photographing method, device and terminal
CN109618089A (en) Intelligentized shooting controller, Management Controller and image pickup method
JP2001209802A (en) Method and device for extracting face, and recording medium
US9092889B2 (en) Image processing apparatus, image processing method, and program storage medium
JP5896204B2 (en) Image processing apparatus and program
CN110248104A (en) A kind of image processing method, device and electronic equipment
CN111275648B (en) Face image processing method, device, equipment and computer readable storage medium
JP6896811B2 (en) Image processing equipment, image processing methods, and programs
US8270715B2 (en) Method for correcting red-eye
KR100422470B1 (en) Method and apparatus for replacing a model face of moving image

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant