CN107888826A - A kind of image processing method, image processing apparatus and terminal - Google Patents

A kind of image processing method, image processing apparatus and terminal Download PDF

Info

Publication number
CN107888826A
CN107888826A CN201711106203.9A CN201711106203A CN107888826A CN 107888826 A CN107888826 A CN 107888826A CN 201711106203 A CN201711106203 A CN 201711106203A CN 107888826 A CN107888826 A CN 107888826A
Authority
CN
China
Prior art keywords
human body
ratio value
body head
head region
reduced
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.)
Pending
Application number
CN201711106203.9A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711106203.9A priority Critical patent/CN107888826A/en
Publication of CN107888826A publication Critical patent/CN107888826A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • 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

Abstract

The present invention provides a kind of image processing method, image processing apparatus and terminal, and this method includes:Determine the human body head region in pending image;When detecting predetermined registration operation, the human body head region is reduced;The present invention can visually optimize the Body proportion of the portrait in pending image by being reduced to human body head region, so as to lift the display effect of pending image, and it is convenient for the user to operate.

Description

A kind of image processing method, image processing apparatus and terminal
Technical field
The present invention relates to communication technical field, particularly relates to a kind of image processing method, image processing apparatus and terminal.
Background technology
With the rapid development of nearly twenty or thirty year digital technology, people have recorded dribs and drabs by way of taking pictures As a kind of fashion, nowadays, the device for taking pictures is more and more, and various figure softwares of repairing also emerge in an endless stream, popular popularization Rate also rapidly increases, the popular functionality for repairing figure software and the superior requirement for requiring also more and more higher, being shone for whole body More and more higher.
In the prior art, much repairing figure software has the function of elongating height, typically selects a region, Ran Hou This region entirety is elongated, but this frequently can lead to imbalance and the excessive tensile of sole of ratio, influence the attractive in appearance of picture, is reduced Consumer's Experience.
The content of the invention
The present invention provides a kind of image processing method, image processing apparatus and terminal in real time, to solve existing to repair figure scheme The problem of out of proportion and sole can be caused to spend stretching more.
In order to solve the above-mentioned technical problem, the present invention is realized in:A kind of image processing method, including:
Determine the human body head region in pending image;
When detecting predetermined registration operation, the human body head region is reduced.
In a first aspect, the embodiment of the present invention additionally provides a kind of image processing apparatus, including:
Area determination module, for determining the human body head region in pending image;
Module is reduced, for when detecting predetermined registration operation, being reduced to the human body head region.
Second aspect, the embodiment of the present invention additionally provide a kind of terminal, including processor, memory and are stored in described deposit On reservoir and the computer program that can run on the processor, realized when the computer program is by the computing device The step of image processing method as described above.
The third aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, described computer-readable to deposit Computer program is stored on storage media, the computer program realizes image processing method as described above when being executed by processor The step of.
In embodiments of the present invention, by being reduced to human body head region, pending figure can visually be optimized The Body proportion of portrait as in, so as to lift the display effect of pending image, and it is convenient for the user to operate.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 represents the step flow chart of image processing method provided in an embodiment of the present invention;
Fig. 2 represents to automatically adjust the step flow chart under pattern in image processing method provided in an embodiment of the present invention;
Fig. 3 represents the step flow chart under manual adjustment mode in image processing method provided in an embodiment of the present invention;
Fig. 4 represents one of structural representation of image processing apparatus provided in an embodiment of the present invention;
Fig. 5 represents the two of the structural representation of image processing apparatus provided in an embodiment of the present invention;
Fig. 6 represents one of structural representation of terminal provided in an embodiment of the present invention;
Fig. 7 represents the two of the structural representation of terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
As shown in figure 1, the present invention provides a kind of image processing method, including:
Step 101, the human body head region in pending image is determined.
In this step, the determination for human body head region can use pixel ratio Peer, be not especially limited herein.
Step 102, when detecting predetermined registration operation, the human body head region is reduced.
In this step, predetermined registration operation is the operation for human body head region, and the terminal response operation is to human body head area Domain is reduced.After human body head area reduction, the human body proportion on pending image is visually lifted, obtaining high quality has The imaging of texture.
Preferably, step 102 includes:
When detecting predetermined registration operation, diminution ratio value corresponding with the predetermined registration operation is obtained;
According to the diminution ratio value, the human body head region is reduced.
Specifically, the diminution regional extent of pending image is set to whole human body head region, therefore above-mentioned drawdown ratio Example value is the human body head region for pending image.Such as it is 1/4 to reduce ratio value, then by human body head area reduction 1/4。
Further, in order to not change face during human body head region is reduced, that is, realize that face are protected, avoid Facial deformations, in the above embodiment of the present invention, the diminution ratio value includes:First, which reduces ratio value and second, reduces ratio Value;Accordingly, described according to the diminution ratio value, the step of being reduced to the human body head region, includes:
The contouring head in the human body head region is reduced according to the described first diminution ratio value;
Reduced according to the face that the described second diminution ratio value includes to the human body head region.
It should be noted that in the above embodiment of the present invention, the first diminution ratio value and the second diminution ratio value are into To existing, i.e., the first diminution ratio value and second reduces the one-to-one of ratio value, and one first is reduced ratio value and corresponded to One second diminution ratio value.
Preferably, in the above embodiment of the present invention, described first, which reduces ratio value, is more than the described second diminution ratio value. Specifically, ratio value is reduced because the first diminution ratio value is more than second, therefore the diminution dynamics of face is less than the contracting of contouring head Small dynamics, equivalent to a layer resistance is added, reduce the diminution to face, further avoid the deformation of face.
Further, in the above embodiment of the present invention, ratio value is reduced to the human body head area according to described second The step of face that domain includes are reduced includes:
The location of face included to the human body head region are identified, and determine in the human body head region The location of face;
The location of face in ratio value and the head zone are reduced according to described second, to the human body head area The face that domain includes are reduced.
In order to which the face included to human body head region reduce in the above embodiment of the present invention, it is necessary first to it is determined that The location of face, so as to be reduced according to the location of face and using the second diminution ratio value to face.
Preferably, the location of face included to the human body head region are identified, the human body head is determined Include in portion region the step of the location of face:
Identified according to the colouring information in the human body head region eyebrow, eyes that the human body head region includes and The location of face difference;
The location of, obtain nose and ear location respectively. according to the eyebrow, eyes and face respectively.
It should be noted that the mode provided in an embodiment of the present invention for determining the location of face is only one preferably real Existing mode, other can determine the mode of the location of face or method is equally applicable to the application, not repeat one by one herein.
Further, in the above embodiment of the present invention when detecting predetermined registration operation, obtain and the predetermined registration operation pair The diminution ratio value answered includes:
When detecting the edit operation for the human body head region, reduce corresponding with the edit operation is obtained Ratio value.
In the above embodiment of the present invention, operated for the ease of user, the diminution for human body head region can be divided into Automatically adjust and adjust two patterns manually.Automatically adjust under pattern, user selects human body head region further to select first Drop-head degree (the diminution ratio value in corresponding human body head region) is selected, so as to which terminal reduces to human body head region automatically; Under manual adjustment mode, user press human body head region come determine reduce ratio value, so as to terminal according to the pressing of user come Human body head region is reduced.
It should be noted that user can press head zone by fold instrument under manual adjustment mode, so as to obtain Reduce ratio value.
Explanation is needed further exist for, after being reduced in the above embodiment of the present invention to human body head region, is used Family can also be adjusted to other regions on pending image by other means, so that pending image is more assisted on the whole Adjust, further lift picture quality.
For example, as shown in Fig. 2 image processing method provided in an embodiment of the present invention includes:
Step 201, selection operation of the user in option setting is responded, image processing method is arranged to automatically adjust mould Formula;
Step 202, the diminution degree of user's selection is obtained;Wherein, it is slight, moderate, three degree are available energetically, no It is exactly the weight difference of scaling with degree processing mode;
Step 203, the zoom area of user's selection is obtained;
Step 204, the diminution degree selected according to user is reduced automatically to zoom area;
Step 205, " satisfaction " button of user's selection is responded, terminates amendment;Or " dissatisfied " of response user's selection Button, correct again;
Step 206:Modification adjustment of the user to the other regions of image is responded, realizes the whole implementation adjustment of image.Head After scaling, it can be adjusted again with the function of commonly repairing the elongate body in figure software again.
For another example as shown in figure 3, image processing method provided in an embodiment of the present invention includes:
Step 301, selection operation of the user in option setting is responded, image processing method is arranged to adjust mould manually Formula;
Step 302, the size of the fold instrument of user's selection is obtained;
Step 303, the light and heavy degree of the fold instrument of user's selection is obtained;Wherein, it is slight, moderate.Three degree energetically It is available;
Step 304, head zone is reduced using fold instrument;
Step 305, " satisfaction " button of user's selection is responded, terminates amendment;Or " dissatisfied " of response user's selection Button, correct again;
Step 306, modification adjustment of the user to the other regions of image is responded, realizes the whole implementation adjustment of image.Head After scaling, it can be adjusted again with the function of commonly repairing the elongate body in figure software again.
To sum up, the diminution ratio value to human body head region is determined according to predetermined registration operation in the above embodiment of the present invention, And human body head region is reduced according to the diminution ratio value of determination, the image procossing to pending image can be realized, There is the imaging of texture so as to visually lift the human body proportion on pending image, and obtain high quality;It is in short, of the invention Embodiment can visually optimize the body ratio of the portrait in pending image by being reduced to human body head region Example, so as to lift the display effect of pending image, and it is convenient for the user to operate.
As shown in figure 4, the embodiment of the present invention also provides a kind of image processing apparatus 400, including:
Area determination module 41, for determining the human body head region in pending image;
Module 42 is reduced, for when detecting predetermined registration operation, being reduced to the human body head region.
Further, in the above embodiment of the present invention, as shown in figure 5, the diminution module 42 includes:
Acquisition submodule 421, for when detecting predetermined registration operation, obtaining diminution ratio corresponding with the predetermined registration operation Value;
Submodule 422 is reduced, for according to the diminution ratio value, being reduced to the human body head region.
Further, in the above embodiment of the present invention, the diminution ratio value includes:First reduces ratio value and second Reduce ratio value;
As shown in figure 5, the diminution submodule 422 includes:
First reducing unit 4221, the head in the human body head region is taken turns for reducing ratio value according to described first Exterior feature is reduced;
Second reducing unit 4222, for according to described second diminution ratio value the human body head region is included five Official is reduced.
Further, in the above embodiment of the present invention, described first, which reduces ratio value, is more than the described second diminution ratio Value.
Further, in the above embodiment of the present invention, as shown in figure 5, second reducing unit 4222 includes:
Position determination subelement, it is identified for the location of face for being included to the human body head region, really The location of face in the fixed human body head region;
Subelement is reduced, for reducing the location of face in ratio value and the head zone according to described second, The face included to the human body head region reduce.
Further, in the above embodiment of the present invention, the position determination subelement includes:
First position determination subelement, the human body head is identified for the colouring information according to the human body head region The location of eyebrow, eyes and face difference that portion region includes;
Second place determination subelement, for according to the location of the eyebrow, eyes and face difference, obtaining nose With ear difference location.
Further, in the above embodiment of the present invention, as shown in figure 5, the acquisition submodule 421 includes:
Acquiring unit 4211, for when detecting the edit operation for the human body head region, obtain with it is described Ratio value is reduced corresponding to edit operation.
Image processing apparatus provided in an embodiment of the present invention can realize that image procossing fills in Fig. 1-Fig. 3 embodiment of the method Each process of realization is put, to avoid repeating, is repeated no more here.
To sum up, the diminution ratio value to human body head region is determined according to predetermined registration operation in the above embodiment of the present invention, And human body head region is reduced according to the diminution ratio value of determination, the image procossing to pending image can be realized, There is the imaging of texture so as to visually lift the human body proportion on pending image, and obtain high quality.
It should be noted that image processing apparatus provided in an embodiment of the present invention is to be able to carry out above-mentioned image processing method Image processing apparatus, then all embodiments of above-mentioned image processing method are applied to the image processing apparatus, and can reach To same or analogous beneficial effect.
Fig. 6 is a kind of hardware architecture diagram for the terminal for realizing each embodiment of the present invention,
The terminal 600 includes but is not limited to:Radio frequency unit 601, mixed-media network modules mixed-media 602, audio output unit 603, input are single Member 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, processor 610, And the grade part of power supply 611.It will be understood by those skilled in the art that the terminal structure shown in Fig. 6 not structure paired terminal Limit, terminal can be included than illustrating more or less parts, either combine some parts or different parts arrangement. In embodiments of the present invention, terminal include but is not limited to mobile phone, tablet personal computer, notebook computer, palm PC, car-mounted terminal, Wearable device and pedometer etc..
Wherein, processor 610, for determining the human body head region in pending image;And work as and detect predetermined registration operation When, the human body head region is reduced.
To sum up, the diminution ratio value to human body head region is determined according to predetermined registration operation in the above embodiment of the present invention, And human body head region is reduced according to the diminution ratio value of determination, the image procossing to pending image can be realized, There is the imaging of texture so as to visually lift the human body proportion on pending image, and obtain high quality.
It should be noted that terminal provided in an embodiment of the present invention is to be able to carry out the terminal of above-mentioned image processing method, Then all embodiments of above-mentioned image processing method are applied to the terminal, and can reach same or analogous beneficial effect.
It should be understood that in the embodiment of the present invention, radio frequency unit 601 can be used for receiving and sending messages or communication process in, signal Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 610;In addition, will be up Data are sent to base station.Generally, radio frequency unit 601 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 601 can also by wireless communication system and network and other set Standby communication.
Terminal has provided the user wireless broadband internet by mixed-media network modules mixed-media 602 and accessed, and such as helps user to receive and dispatch electricity Sub- mail, browse webpage and access streaming video etc..
Audio output unit 603 can be receiving by radio frequency unit 601 or mixed-media network modules mixed-media 602 or in memory 609 It is sound that the voice data of storage, which is converted into audio signal and exported,.Moreover, audio output unit 603 can also provide and end The audio output (for example, call signal receives sound, message sink sound etc.) for the specific function correlation that end 600 performs.Sound Frequency output unit 603 includes loudspeaker, buzzer and receiver etc..
Input block 604 is used to receive audio or video signal.Input block 604 can include graphics processor (Graphics Processing Unit, GPU) 6041 and microphone 6042, graphics processor 6041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 606.Picture frame after the processing of graphics processor 6041 can be deposited Storage is transmitted in memory 609 (or other storage mediums) or via radio frequency unit 601 or mixed-media network modules mixed-media 602.Mike Wind 6042 can receive sound, and can be voice data by such acoustic processing.Voice data after processing can be The form output of mobile communication base station can be sent to via radio frequency unit 601 by being converted in the case of telephone calling model.
Terminal 600 also includes at least one sensor 605, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjusts the brightness of display panel 6061, and proximity transducer can close display panel when terminal 600 is moved in one's ear 6061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generally three axles) and add The size of speed, size and the direction of gravity are can detect that when static, available for identification terminal posture (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 605 can be with Including fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer, Infrared ray sensor etc., will not be repeated here.
Display unit 606 is used for the information for showing the information inputted by user or being supplied to user.Display unit 606 can wrap Display panel 6061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 6061.
User input unit 607 can be used for the numeral or character information for receiving input, and produces and set with the user of terminal Put and the input of key signals that function control is relevant.Specifically, user input unit 607 include contact panel 6071 and other Input equipment 6072.Contact panel 6071, also referred to as touch-screen, collect user on or near it touch operation (such as User is using any suitable objects or annex such as finger, stylus on contact panel 6071 or near contact panel 6071 Operation).Contact panel 6071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined The touch orientation of user is surveyed, and detects the signal that touch operation is brought, transmits a signal to touch controller;Touch controller from Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 610, reception processing device 610 The order sent simultaneously is performed.Furthermore, it is possible to using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize contact panel 6071.Except contact panel 6071, user input unit 607 can also include other input equipments 6072. Specifically, other input equipments 6072 can include but is not limited to physical keyboard, function key (such as volume control button, switch Button etc.), trace ball, mouse, action bars, will not be repeated here.
Further, contact panel 6071 can be covered on display panel 6061, when contact panel 6071 is detected at it On or near touch operation after, send processor 610 to determine the type of touch event, be followed by subsequent processing device 610 according to touch The type for touching event provides corresponding visual output on display panel 6061.Although in figure 6, contact panel 6071 and display Panel 6061 is the part independent as two to realize the input of terminal and output function, but in certain embodiments, can Input and the output function of terminal are realized so that contact panel 6071 and display panel 6061 is integrated, is not limited herein specifically It is fixed.
Interface unit 608 is the interface that external device (ED) is connected with terminal 600.For example, external device (ED) can include it is wired or Wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, For the port of device of the connection with identification module, audio input/output (I/O) port, video i/o port, ear port Etc..Interface unit 608 can be used for input (for example, data message, electric power etc.) of the reception from external device (ED) and will One or more elements that the input received is transferred in terminal 600 or can be used for terminal 600 and external device (ED) it Between transmit data.
Memory 609 can be used for storage software program and various data.Memory 609 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 609 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 610 is the control centre of terminal, using various interfaces and the various pieces of the whole terminal of connection, is led to Cross operation or perform the software program and/or module being stored in memory 609, and call and be stored in memory 609 Data, the various functions and processing data of terminal are performed, so as to carry out integral monitoring to terminal.Processor 610 may include one Or multiple processing units;Preferably, processor 610 can integrate application processor and modem processor, wherein, using processing Device mainly handles operating system, user interface and application program etc., and modem processor mainly handles radio communication.It can manage Solution, above-mentioned modem processor can not also be integrated into processor 610.
Terminal 600 can also include the power supply 611 (such as battery) to all parts power supply, it is preferred that power supply 611 can be with It is logically contiguous by power-supply management system and processor 610, so as to by power-supply management system realize management charging, electric discharge, with And the function such as power managed.
In addition, terminal 600 includes some unshowned functional modules, will not be repeated here.
Preferably, as shown in fig. 7, the embodiment of the present invention also provides a kind of terminal, including processor 700, memory 710 and The computer program that can be run on the memory 710 and on the processor 700 is stored in, the computer program is by institute Each process of the image processing method embodiment as described in claim is realized when stating computing device, and can be reached identical Technique effect, to avoid repeating, repeat no more here.
The embodiment of the present invention also provides a kind of computer-readable recording medium, is stored on the computer-readable recording medium Computer program, the computer program realize each of image processing method embodiment as described above when being executed by processor Process, and identical technique effect can be reached, to avoid repeating, repeat no more here.Wherein, described computer-readable storage Medium, such as read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, belong within the protection of the present invention.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (12)

  1. A kind of 1. image processing method, it is characterised in that including:
    Determine the human body head region in pending image;
    When detecting predetermined registration operation, the human body head region is reduced.
  2. 2. image processing method according to claim 1, it is characterised in that it is described when detecting predetermined registration operation, to institute The step of human body head region is reduced is stated, including:
    When detecting predetermined registration operation, diminution ratio value corresponding with the predetermined registration operation is obtained;
    According to the diminution ratio value, the human body head region is reduced.
  3. 3. image processing method according to claim 2, it is characterised in that the diminution ratio value includes:First reduces Ratio value and second reduces ratio value;
    It is described according to the diminution ratio value, the step of being reduced to the human body head region, includes:
    The contouring head in the human body head region is reduced according to the described first diminution ratio value;
    Reduced according to the face that the described second diminution ratio value includes to the human body head region.
  4. 4. image processing method according to claim 3, it is characterised in that described first, which reduces ratio value, is more than described the Two reduce ratio value.
  5. 5. image processing method according to claim 3, it is characterised in that described to reduce ratio value pair according to described second The step of face that the human body head region includes are reduced includes:
    The location of face included to the human body head region are identified, and determine face in the human body head region Location;
    The location of face in ratio value and the head zone are reduced according to described second, the human body head region is wrapped The face contained are reduced.
  6. A kind of 6. image processing apparatus, it is characterised in that including:
    Area determination module, for determining the human body head region in pending image;
    Module is reduced, for when detecting predetermined registration operation, being reduced to the human body head region.
  7. 7. image processing apparatus according to claim 6, it is characterised in that the diminution module includes:
    Acquisition submodule, for when detecting predetermined registration operation, obtaining diminution ratio value corresponding with the predetermined registration operation;
    Submodule is reduced, for according to the diminution ratio value, being reduced to the human body head region.
  8. 8. image processing apparatus according to claim 7, it is characterised in that the diminution ratio value includes:First reduces Ratio value and second reduces ratio value;
    The diminution submodule includes:
    First reducing unit, for being contracted according to the described first diminution ratio value to the contouring head in the human body head region It is small;
    Second reducing unit, the face for being included according to the described second diminution ratio value to the human body head region contract It is small.
  9. 9. image processing apparatus according to claim 8, it is characterised in that described first, which reduces ratio value, is more than described the Two reduce ratio value.
  10. 10. image processing apparatus according to claim 8, it is characterised in that second reducing unit includes:
    Position determination subelement, it is identified for the location of face for being included to the human body head region, determines institute State the location of face in human body head region;
    Subelement is reduced, for reducing the location of face in ratio value and the head zone according to described second, to institute The face that human body head region includes are stated to be reduced.
  11. 11. a kind of terminal, it is characterised in that including processor, memory and be stored on the memory and can be at the place The computer program run on reason device, the computer program are realized during the computing device as appointed in claim 1 to 5 The step of image processing method described in one.
  12. 12. a kind of computer-readable recording medium, it is characterised in that computer journey is stored on the computer-readable recording medium Sequence, the image processing method as any one of claim 1 to 5 is realized when the computer program is executed by processor Step.
CN201711106203.9A 2017-11-10 2017-11-10 A kind of image processing method, image processing apparatus and terminal Pending CN107888826A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711106203.9A CN107888826A (en) 2017-11-10 2017-11-10 A kind of image processing method, image processing apparatus and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711106203.9A CN107888826A (en) 2017-11-10 2017-11-10 A kind of image processing method, image processing apparatus and terminal

Publications (1)

Publication Number Publication Date
CN107888826A true CN107888826A (en) 2018-04-06

Family

ID=61780139

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711106203.9A Pending CN107888826A (en) 2017-11-10 2017-11-10 A kind of image processing method, image processing apparatus and terminal

Country Status (1)

Country Link
CN (1) CN107888826A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104992402A (en) * 2015-07-02 2015-10-21 广东欧珀移动通信有限公司 Facial beautification processing method and device
CN105447823A (en) * 2014-08-07 2016-03-30 联想(北京)有限公司 Image processing method and electronic device
CN105704390A (en) * 2016-04-20 2016-06-22 广东欧珀移动通信有限公司 Photo-modifying photo-shooting method and device and mobile terminal
CN105869116A (en) * 2016-03-25 2016-08-17 捷开通讯(深圳)有限公司 Mobile terminal and photo processing method
CN106814959A (en) * 2015-11-30 2017-06-09 东莞酷派软件技术有限公司 A kind of U.S. face photographic method, device and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105447823A (en) * 2014-08-07 2016-03-30 联想(北京)有限公司 Image processing method and electronic device
CN104992402A (en) * 2015-07-02 2015-10-21 广东欧珀移动通信有限公司 Facial beautification processing method and device
CN106814959A (en) * 2015-11-30 2017-06-09 东莞酷派软件技术有限公司 A kind of U.S. face photographic method, device and terminal
CN105869116A (en) * 2016-03-25 2016-08-17 捷开通讯(深圳)有限公司 Mobile terminal and photo processing method
CN105704390A (en) * 2016-04-20 2016-06-22 广东欧珀移动通信有限公司 Photo-modifying photo-shooting method and device and mobile terminal

Similar Documents

Publication Publication Date Title
CN107835364A (en) One kind is taken pictures householder method and mobile terminal
CN107799125A (en) A kind of audio recognition method, mobile terminal and computer-readable recording medium
CN107817939A (en) A kind of image processing method and mobile terminal
CN107957839A (en) A kind of display control method and mobile terminal
CN107798303A (en) A kind of method and mobile terminal for adjusting screen backlight
CN107820011A (en) Photographic method and camera arrangement
CN107613131A (en) A kind of application program disturbance-free method and mobile terminal
CN107734251A (en) A kind of photographic method and mobile terminal
CN107682634A (en) A kind of facial image acquisition methods and mobile terminal
CN108495029A (en) A kind of photographic method and mobile terminal
CN107580143A (en) A kind of display methods and mobile terminal
CN107845057A (en) One kind is taken pictures method for previewing and mobile terminal
CN107678829A (en) A kind of application control method and mobile terminal
CN107635073A (en) The operating method and mobile terminal of a kind of mobile terminal
CN107608606A (en) A kind of image display method, mobile terminal and computer-readable recording medium
CN107786751A (en) A kind of method for broadcasting multimedia file and mobile terminal
CN107679514A (en) A kind of face identification method and electronic equipment
CN107748640A (en) One kind puts out screen display methods and mobile terminal
CN107678672A (en) A kind of display processing method and mobile terminal
CN107843993A (en) A kind of control method and mobile terminal of display screen visible angle
CN108668024A (en) A kind of method of speech processing and terminal
CN109388223A (en) One kind putting out screen display method, apparatus and terminal
CN107682637A (en) A kind of image pickup method, mobile terminal and computer-readable recording medium
CN107786811A (en) A kind of photographic method and mobile terminal
CN109814974A (en) Application Program Interface method of adjustment and mobile terminal

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180406

RJ01 Rejection of invention patent application after publication