CN106780394A - A kind of image sharpening method and terminal - Google Patents

A kind of image sharpening method and terminal Download PDF

Info

Publication number
CN106780394A
CN106780394A CN201611248625.5A CN201611248625A CN106780394A CN 106780394 A CN106780394 A CN 106780394A CN 201611248625 A CN201611248625 A CN 201611248625A CN 106780394 A CN106780394 A CN 106780394A
Authority
CN
China
Prior art keywords
image
sharpening
sharpened area
sharpened
instruction
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
CN201611248625.5A
Other languages
Chinese (zh)
Other versions
CN106780394B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201611248625.5A priority Critical patent/CN106780394B/en
Publication of CN106780394A publication Critical patent/CN106780394A/en
Application granted granted Critical
Publication of CN106780394B publication Critical patent/CN106780394B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/73Deblurring; Sharpening

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of image sharpening method, methods described includes:The facial information included in shooting image is identified according to face identification method, the biological information in the facial information is extracted;Image corresponding with biological information is the first sharpened area in determining the shooting image, and the image in the shooting image outside image corresponding with biological information is the second sharpened area;The first sharpening instruction for first sharpened area is received, the first sharpening image is obtained;The second sharpening instruction for second sharpened area is received, the second sharpening image is obtained;First sharpening image and second sharpening image are merged, the sharpening image after fusion is obtained.The embodiment of the present invention also discloses a kind of image sharpening terminal simultaneously.The present invention solves the problems, such as that the sharpening occurred when being sharpened to portrait is excessive, it is ensured that the reasonability of portrait sharpness.

Description

A kind of image sharpening method and terminal
Technical field
The present invention relates to image processing field, more particularly to a kind of image sharpening method and terminal.
Background technology
Image sharpening (image sharpening) can compensate the profile of image, strengthen the edge and Gray Level Jump of image Part, be apparent from image.In portraiture photography, portrait profile in image can be made more by appropriate image sharpening Plus it is clear, after carrying out image sharpening treatment to portrait facial information, portrait facial information is more clearly demarcated, and detailed information is more rich It is rich.But can cause noise on the contrary to the sharpening excessively of portrait face increases, and portrait imaging effect declines, and its reason is by figure Can increase the contrast of image in border district as sharpening, but noise is also have edge, it is doing over-sharpening to cause noise Edge also sharpen therewith, cause image noise more obvious.
In the prior art, generally carrying out high-pass filtering in spatial domain and frequency domain realizes the sharpening of image.By image sharpening Afterwards, whole image edge all becomes relatively sharp, border and blear image in particular for image, sharp by image What the border of image and the details of profile and image became after change treatment is clear.But, this image sharpening is directed to whole figure As for, image information different in image is not distinguish between, so may result in image local distortion or noise more For obvious.
The content of the invention
It is a primary object of the present invention to propose a kind of image sharpening method and terminal, it is intended to which solution when being sharpened to portrait The excessive problem of existing sharpening.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
In a first aspect, the embodiment of the invention provides a kind of image sharpening method, methods described includes:
The facial information included in shooting image is identified according to face identification method, the life in the facial information is extracted Thing characteristic information;
Image corresponding with biological information is the first sharpened area, the shooting image in determining the shooting image In image outside image corresponding with biological information be the second sharpened area;
The first sharpening instruction for first sharpened area is received, the first sharpening image is obtained;
The second sharpening instruction for second sharpened area is received, the second sharpening image is obtained;
First sharpening image and second sharpening image are merged, the sharpening image after fusion is obtained.
Alternatively, the facial information included in shooting image is identified according to face identification method, the face letter is extracted Biological information in breath, specifically includes:
When in identifying shooting image according to face identification method comprising facial information, using biological feather recognition method Extract the biological information in facial information.
Alternatively, image corresponding with biological information is the first sharpened area in the determination shooting image, Image in the shooting image outside image corresponding with biological information is the second sharpened area, is specifically included:
According to image corresponding with biological information in the biological information locking shooting image, institute is determined Image corresponding with biological information is the first sharpened area in stating shooting image;
Determine that the image-region beyond first sharpened area is the second sharpened area using image segmentation.
Alternatively, the first sharpening instruction received for first sharpened area, obtains the first sharpening image, tool Body includes:
Receive the first sharpening instruction for first sharpened area;Wherein, described first instruction instruction raising is sharpened The sharpness of first sharpened area;
The sharpness that instruction improves the first sharpened area is sharpened according to described first, the first sharpening image is obtained;Wherein First sharpening image is to improve the image after the sharpness of first sharpened area.
Alternatively, the second sharpening instruction received for second sharpened area, obtains the second sharpening image, tool Body includes:
Receive the second sharpening instruction for second sharpened area;Wherein, described second instruction instruction reduction is sharpened The sharpness of second sharpened area;
Sharpening instruction according to described second reduces the sharpness of the second sharpened area, obtains the second sharpening image;Wherein Second sharpening image is to reduce the image after the sharpness of second sharpened area.
Second aspect, the embodiment of the invention provides a kind of image sharpening terminal, and the terminal includes:Extraction module, really Cover half block, receiver module, acquisition module and image co-registration module;Wherein,
The extraction module, for identifying the facial information included in shooting image according to face identification method, extracts Biological information in the facial information;
The determining module, for determining in the shooting image that image corresponding with biological information is first to sharpen Region, the image in the shooting image outside image corresponding with biological information is the second sharpened area;
The receiver module, for receiving the first sharpening instruction for first sharpened area;
The acquisition module, for obtaining the first sharpening image;
The receiver module, is additionally operable to receive the second sharpening instruction for second sharpened area;
The acquisition module, is additionally operable to obtain the second sharpening image;
Described image Fusion Module, for first sharpening image and second sharpening image to be merged;
The acquisition module, is additionally operable to obtain the sharpening image after fusion.
Alternatively, the extraction module, for believing comprising face in shooting image is identified according to face identification method During breath, the biological information in facial information is extracted using biological feather recognition method.
Alternatively, the determining module, for according to the biological information lock in the shooting image with biology The corresponding image of characteristic information, image corresponding with biological information is the first sharpened area in determining the shooting image;
And, determine that the image-region beyond first sharpened area is the second sharpened area using image segmentation.
Alternatively, the receiver module, for receiving the first sharpening instruction for first sharpened area;Wherein, Described first sharpens instruction indicates to improve the sharpness of first sharpened area;
The acquisition module, for sharpening the sharpness that instruction improves the first sharpened area according to described first, obtains First sharpening image;Wherein the first sharpening image is to improve the image after the sharpness of first sharpened area.
Alternatively, the receiver module, for receiving the second sharpening instruction for second sharpened area;Wherein, Described second sharpens instruction indicates to reduce the sharpness of second sharpened area;
The acquisition module, the sharpness of the second sharpened area is reduced for sharpening instruction according to described second, is obtained Second sharpening image;Wherein the second sharpening image is to reduce the image after the sharpness of second sharpened area.
A kind of image sharpening method and terminal that the embodiment of the present invention is provided, by identifying the biology in facial information Characteristic information, is divided into the first sharpened area, figure corresponding with biological information by image corresponding with biological information Image as outside is divided into the second sharpened area, improves the sharpness of the first sharpened area image, reduces by second and sharpens area The sharpness of area image, then carries out the image after being merged, solve the problems, such as portrait sharpen when sharpen it is excessive, Ensure that the reasonability of portrait sharpness.
Brief description of the drawings
Fig. 1 is a kind of hardware architecture diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 2 is a kind of image sharpening method schematic flow sheet that the embodiment of the present invention one is provided;
Fig. 3 is that the subregion that the embodiment of the present invention one is provided sharpens shoot function surface chart;
Fig. 4 is the method flow schematic diagram of the determination subregion that the embodiment of the present invention one is provided;
Fig. 5 is that the subregion sharpening function that the embodiment of the present invention one is provided implements surface chart;
Fig. 6 is the schematic flow sheet of the first sharpened area of raising sharpness that the embodiment of the present invention one is provided;
Fig. 7 is the schematic flow sheet of the second sharpened area of reduction sharpness that the embodiment of the present invention one is provided;
Fig. 8 is the image sharpening terminal structure block diagram that the embodiment of the present invention two is provided.
Specific 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 is described.
The mobile terminal of realization each embodiment of the invention is described referring now to accompanying drawing 1.In follow-up description, make With the suffix of such as " module ", " part " or " unit " for representing element only for being conducive to explanation of the invention, its Body does not have specific meaning.Therefore, " module " can be used mixedly with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving It is phone, smart phone, notebook computer, digit broadcasting receiver, personal digital assistant (PDA), panel computer (PAD), portable The mobile terminal of formula multimedia player (PMP), guider etc. and the such as fixation of numeral TV, desktop computer etc. Terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for moving mesh Element outside, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is that the hardware configuration of the mobile terminal for realizing each embodiment of the invention is illustrated.
Mobile terminal 1 00 can include user input unit 130, sensing unit 140, output unit 150, memory 160, Controller 180 etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all The component for showing, can alternatively implement more or less component, and the element of mobile terminal will be discussed in more detail below.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user input Plant operation.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome, touch Plate (for example, detection due to being touched caused by resistance, pressure, electric capacity etc. change sensitive component), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 151 in the form of layer, touch-screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 1 00, (for example, mobile terminal 1 00 opens or closes shape State), the presence or absence of the contact (that is, touch input) of the position of mobile terminal 1 00, user for mobile terminal 1 00, mobile terminal The acceleration or deceleration movement of 100 orientation, mobile terminal 1 00 and direction etc., and generate for controlling mobile terminal 1 00 The order of operation or signal.For example, when mobile terminal 1 00 is embodied as sliding-type mobile phone, sensing unit 140 can be sensed The sliding-type phone is opened or closed.Sensing unit 140 will can below combine touch-screen including proximity transducer 141 To be described to this.
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 can serve as allowing by it by electricity Power provides to the path of mobile terminal 1 00 from base or can serve as allowing the various command signals being input into from base to pass through it It is transferred to the path of mobile terminal.Be can serve as recognizing that mobile terminal is from the various command signals or electric power of base input The no signal being accurately fitted within base.Output unit 150 is configured to provide defeated with vision, audio and/or tactile manner Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include display Unit 151, dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity During words call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, show video or figure UI or GUI of picture and correlation function etc..
Meanwhile, when display unit 151 and touch pad in the form of layer it is superposed on one another to form touch-screen when, display unit 151 can serve as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence to allow user to be watched from outside, and this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific Desired implementation method, mobile terminal 1 00 can include two or more display units (or other display devices), for example, moving Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used to detect touch Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal reception pattern, call mode, logging mode, It is that wireless communication unit 110 is received or in memory 160 when under the isotypes such as speech recognition mode, broadcast reception mode The voice data transducing audio signal of middle storage and it is output as sound.And, dio Output Modules 152 can be provided and movement The audio output (for example, call signal receives sound, message sink sound etc.) of the specific function correlation that terminal 100 is performed. Dio Output Modules 152 can include loudspeaker, buzzer etc..
Alarm unit 153 can provide output and be notified to mobile terminal 1 00 with by event.Typical event can be with Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm unit 153 can in a different manner provide output with the generation of notification event.For example, alarm unit 153 can be in the form of vibrating Output is provided, when calling, message or some other entrance communication (Incoming Communication) are received, alarm list Unit 153 can provide tactile output (for example, vibration) to notify to user.Exported by providing such tactile, even if When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm unit 153 The output of the generation of notification event can also be provided via display unit 151 or dio Output Modules 152.
Memory 160 can store software program for the treatment and control operation performed by controller 180 etc., Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And, memory 160 can store the vibration of various modes on being exported when touching and being applied to touch-screen and audio signal Data.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 00 can perform memory with by network connection The network storage device cooperation of 160 store function.
The overall operation of the generally control mobile terminal of controller 180.For example, controller 180 is performed and voice call, data Communication, video calling etc. related control and treatment.In addition, controller 180 can be included for reproducing (or playback) many matchmakers The multi-media module 181 of volume data, multi-media module 181 can be constructed in controller 180, or can be structured as and control Device 180 is separated.Controller 180 can be with execution pattern identifying processing, the handwriting input that will be performed on the touchscreen or picture Draw input and be identified as character or image.
Various implementation methods described herein can be with use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implemented.Implement for hardware, implementation method described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein At least one in electronic unit is implemented, and in some cases, such implementation method can be implemented in controller 180. For software implementation, the implementation method of such as process or function can with allow to perform the single of at least one function or operation Software module is implemented.Software code can be come by the software application (or program) write with any appropriate programming language Implement, software code can be stored in memory 160 and performed by controller 180.
So far, oneself according to its function through describing mobile terminal.Below, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is used as showing Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 1 00 as shown in Figure 1 may be constructed such that using via frame or packet transmission data it is all if any Line and wireless communication system and satellite-based communication system are operated.
Based on above-mentioned mobile terminal hardware configuration, the inventive method each embodiment is proposed.
Embodiment one
Referring to Fig. 2, it illustrates a kind of image sharpening method provided in an embodiment of the present invention, methods described includes:
S201, the facial information included in shooting image is identified according to face identification method, extract the facial information In biological information;
S202, determine that image corresponding with the biological information is the first sharpened area, institute in the shooting image It is the second sharpened area to state the image in shooting image outside image corresponding with the biological information;
S203, reception obtain the first sharpening image for the first sharpening instruction of first sharpened area;
S204, reception obtain the second sharpening image for the second sharpening instruction of second sharpened area;
S205, first sharpening image and second sharpening image are merged, obtained the sharpening figure after fusion Picture.
For step S201, the face identification method can be the method for feature based face, or based on geometric properties Face identification method, or the face identification method based on neural network, what the present invention paid close attention to is not the specific side of recognition of face Method, but the realizability of face identification method.
The facial information included in shooting image is identified by face recognition technology, there is provided the face in shooting image Information, contains the biological information of more details in facial information.
Biological information refers to face feature information, can specifically criticize often the indispensable eyes of face, nose, Mouth, eyebrow, including the biological characteristic such as shape of face, hair.
For step S201, the facial information included in shooting image is identified according to face identification method, extract described Biological information in facial information, specifically includes:
When in identifying shooting image according to face identification method comprising facial information, using biological feather recognition method Extract the biological information in facial information.
Referring to Fig. 3, by after the biological information during biological feather recognition method extracts portrait, in the screen of terminal Whether upper ejection prompting frame as shown in Figure 3, points out user " open subregion and sharpen shoot function ".Open subregion and sharpen shooting work( After energy, image is divided into the first sharpened area and the second sharpened area, distinguished for the first sharpened area and the second sharpened area Different degrees of sharpening is carried out, the effect of subregion sharpening can be reached.
For step S202, referring to Fig. 4, image corresponding with biological information is first in determining the shooting image Sharpened area, the image in the shooting image outside image corresponding with biological information is the second sharpened area, specifically Including step S2021 and S2022:
S2021, image corresponding with biological information in the shooting image is locked according to the biological information, Image corresponding with biological information is the first sharpened area in determining the shooting image;
S2022, determine that image-region beyond first sharpened area is the second sharpened area using image segmentation.
For step S2021, it is possible to understand that ground, after the biological information in having extracted facial information, by biology The corresponding image of characteristic information is locked, and the image-region for delimiting locking is the first sharpened area.
For step S2022, it is possible to understand that ground, image is split in the first sharpened area according to image, by first Section sets outside sharpened area are the second sharpened area.
Further, referring to Fig. 5, the part that Fig. 5 orbicular spot dotted lines are identified is special with biology to be identified in portrait First sharpened area of reference breath, including the shape of face of portrait, eyes, nose, face and hair portion.In round dot broken line representation Cap for portrait and background area beyond the first sharpened area for going out, this subregion are the second sharpened area.By Fig. 5 As can be seen that by subregion sharpen function, by portrait with biological information part and with biological information with Outer part makes a distinction, it is possible to use subregion sharpening function carries out sharp respectively to the first sharpened area and the second sharpened area Change, it is to avoid the situation for causing doing over-sharpening or sharpness not enough under unified sharpness.
For step S203, referring to Fig. 6, the first sharpening instruction for first sharpened area is received, obtain first Sharpening image, specifically includes step S2031 and S2032:
S2031, reception are instructed for the first sharpening of first sharpened area;Wherein, the first sharpening instruction refers to Show the sharpness for improving first sharpened area;
S2032, the sharpness that the first sharpened area of instruction raising is sharpened according to described first, obtain first and sharpen figure Picture;Wherein the first sharpening image is to improve the image after the sharpness of first sharpened area.
For step S2031, the image corresponding to the first sharpened area is image corresponding with biological information, to First sharpening instruction of one sharpened area is the sharpness of the first sharpened area of raising, improves the sharpening journey of the first sharpened area The purpose of degree is biological information in reinforcing portrait, and the face key point information made one as in is more prominent.
For step S2032, the sharpness that instruction improves the first sharpened area is sharpened according to described first, improve first The sharpness of sharpened area can just obtain the first sharpening image.As shown in figure 5, the first sharpened area is biological spy in portrait Reference ceases corresponding image-region, by the shape of face in the first sharpened area, eyes, nose, face and hair portion Appropriate raising sharpness, can lift the sharpness of portrait, make the shape of face of portrait in Fig. 5, eyes, nose, face with And hair portion lines are apparent, profile is clearly more demarcated, embodies the key character of portrait septum reset.
For step S204, referring to Fig. 7, the second sharpening instruction for second sharpened area is received, obtain second Sharpening image, specifically includes S2041 and S2042:
S2041, reception are instructed for the second sharpening of second sharpened area;Wherein, the second sharpening instruction refers to Show the sharpness for reducing by second sharpened area;
S2042, the sharpness that the second sharpened area of instruction reduction is sharpened according to described second, obtain second and sharpen figure Picture;Wherein the second sharpening image is to reduce the image after the sharpness of second sharpened area.
For step S2041, the image corresponding to the second sharpened area is and the image-region outside biological information Corresponding image, the second sharpening instruction to the second sharpened area is the sharpness of the second sharpened area of reduction, reduces by second The purpose of the sharpness of sharpened area be in order that the second sharpened area image compared to the first sharpened area image and Speech relative smooth, makes the portrait part in whole image more protrude.
For step S2042, sharpening instruction according to described second reduces the sharpness of the second sharpened area, reduces by second The sharpness of sharpened area can just obtain the second sharpening image.As shown in figure 5, the second sharpened area is biological spy in portrait Reference ceases the image outside corresponding image-region, by the sharpening journey for reducing the image sections such as the background in the second sharpened area Degree, can make the image relative smooth of background parts.
Also, it should be noted that first sharpens instruction instruction raising sharpness, first is improved under sharpening instruction first The sharpness of sharpened area, however it is necessary that being sharpened degree to the image in the first sharpened area in certain zone of reasonableness Raising.The mistake that the sharpness of the first sharpened area can prevent to the first sharpened area is lifted in default first threshold Degree is sharpened, so as to the image sharpening for causing the image noise increase of the first sharpened area or the first sharpened area excessively causes to lose Very.
Similarly, second instruction instruction reduction sharpness is sharpened, the second sharpened area is reduced under sharpening instruction second Sharpness, but equally it is also required in certain zone of reasonableness to the image reduction sharpness in the second sharpened area. The sharpness of the second sharpened area is reduced in default Second Threshold can be prevented to the second sharpened area sharpness not enough, Cause excess smoothness, so that detailed information is lost, image specifying information obfuscation.
For step S205, the first sharpening image and the second sharpening image are merged, be after improving sharpness The first sharpening image and reduce sharpness after the second sharpening image merged.Sharpening image after fusion is due to taking The method that subregion is sharpened, the image effect of acquisition integrally improves or reduces the figure that sharpness is obtained relative to whole image Specific aim is had more as.By the image after fusion, the sharpness to portrait face is moderate, will not make because of image sharpening Portrait noise increases.
A kind of image sharpening method that the embodiment of the present invention is provided, by identifying that the biological characteristic in facial information is believed Breath, is divided into the first sharpened area, outside image corresponding with biological information by image corresponding with biological information Image be divided into the second sharpened area, improve the sharpness of the first sharpened area image, reduce the second sharpened area image Sharpness, then carry out the image after being merged, solve the problems, such as portrait sharpen when sharpen it is excessive, it is ensured that The reasonability of portrait sharpness.
Embodiment two
Referring to Fig. 8, it illustrates a kind of structured flowchart of image sharpening terminal 8 provided in an embodiment of the present invention, the end End 8 includes:Extraction module 801, determining module 802, receiver module 803, acquisition module 804 and image co-registration module 805;Its In,
The extraction module 801, for identifying the facial information included in shooting image according to face identification method, carries Take the biological information in the facial information;
The determining module 802, for determining the shooting image in image corresponding with the biological information be First sharpened area, the image in the shooting image outside image corresponding with the biological information is the second sharpening area Domain;
The receiver module 803, for receiving the first sharpening instruction for first sharpened area;
The acquisition module 804, for obtaining the first sharpening image;
The receiver module 803, is additionally operable to receive the second sharpening instruction for second sharpened area;
The acquisition module 804, is additionally operable to obtain the second sharpening image;
Described image Fusion Module 805, for first sharpening image and second sharpening image to be merged;
The acquisition module 804, is additionally operable to obtain the sharpening image after fusion.
Further, the extraction module 801, for being identified in shooting image comprising face when according to face identification method During portion's information, the biological information in facial information is extracted using biological feather recognition method.
Further, the determining module 802, for according to the biological information lock in the shooting image with The corresponding image of biological information, image corresponding with biological information is the first sharpening area in determining the shooting image Domain;
And, determine that the image-region beyond first sharpened area is the second sharpened area using image segmentation.
Further, the receiver module 803, for receiving the first sharpening instruction for first sharpened area; Wherein, described first the sharpness that instruction indicates raising first sharpened area is sharpened;
The acquisition module 804, for sharpening the sharpness that instruction improves the first sharpened area according to described first, obtains Take the first sharpening image;Wherein the first sharpening image is to improve the image after the sharpness of first sharpened area.
Further, the receiver module 803, for receiving the second sharpening instruction for second sharpened area; Wherein, described second the sharpness that instruction indicates reduction by second sharpened area is sharpened;
The acquisition module 804, the sharpness of the second sharpened area is reduced for sharpening instruction according to described second, is obtained Take the second sharpening image;Wherein the second sharpening image is to reduce the image after the sharpness of second sharpened area.
Specifically, for the present embodiment, the extraction module 801, determining module 802, receiver module 803, acquisition module 804 and the function of image co-registration module 805 program in memory can be called by the processor of the terminal 8 or store up number in advance According to being realized.In actual applications, above-mentioned processor can be application-specific IC (ASIC, Application Specific Integrated Circuit), digital signal processor (DSP, Digital Signal Processor), number Word signal processing apparatus (DSPD, Digital Signal Processing Device), programmable logic device (PLD, Programmable Logic Device), field programmable gate array (FPGA, Field Programmable Gate Array), in central processing unit (CPU, Central Processing Unit), controller, microcontroller, microprocessor extremely Few one kind.It is to be appreciated that for different systems, the electronic device for realizing above-mentioned processor function can also be it It, the embodiment of the present invention is not especially limited.
A kind of image sharpening terminal that the embodiment of the present invention is provided, by identifying that the biological characteristic in facial information is believed Breath, is divided into the first sharpened area, outside image corresponding with biological information by image corresponding with biological information Image be divided into the second sharpened area, improve the sharpness of the first sharpened area image, reduce the second sharpened area image Sharpness, then carry out the image after being merged, solve the problems, such as portrait sharpen when sharpen it is excessive, it is ensured that The reasonability of portrait sharpness.
It should be noted that herein, term " including ", "comprising" or its any other variant be intended to non-row His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and And also include other key elements being not expressly set out, or also include for this process, method, article or device institute are intrinsic Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
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 implementation method.Based on such understanding, technical scheme is substantially done to prior art in other words The part for going out 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 are used to so that a station terminal equipment (can be mobile phone, computer, clothes Business device, air-conditioner, or network equipment etc.) perform method described by each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of image sharpening method, it is characterised in that methods described includes:
The facial information included in shooting image is identified according to face identification method, the biology extracted in the facial information is special Reference ceases;
Image corresponding with the biological information is the first sharpened area, the shooting image in determining the shooting image In image outside image corresponding with the biological information be the second sharpened area;
The first sharpening instruction for first sharpened area is received, the first sharpening image is obtained;
The second sharpening instruction for second sharpened area is received, the second sharpening image is obtained;
First sharpening image and second sharpening image are merged, the sharpening image after fusion is obtained.
2. method according to claim 1, it is characterised in that included in identifying shooting image according to face identification method Facial information, extract the biological information in the facial information, specifically include:
When in identifying shooting image according to face identification method comprising facial information, extracted using biological feather recognition method Biological information in facial information.
3. method according to claim 1, it is characterised in that with biological information in the determination shooting image Corresponding image is the first sharpened area, and image in the shooting image outside image corresponding with biological information is the Two sharpened areas, specifically include:
According to image corresponding with biological information in the biological information locking shooting image, the bat is determined It is the first sharpened area to take the photograph image corresponding with biological information in image;
Determine that the image-region beyond first sharpened area is the second sharpened area using image segmentation.
4. method according to claim 1, it is characterised in that the reception is first sharp for first sharpened area Change instruction, obtain the first sharpening image, specifically include:
Receive the first sharpening instruction for first sharpened area;Wherein, described first sharpen described in instruction instruction raising The sharpness of the first sharpened area;
The sharpness that instruction improves the first sharpened area is sharpened according to described first, the first sharpening image is obtained;Wherein first Sharpening image is to improve the image after the sharpness of first sharpened area.
5. method according to claim 1, it is characterised in that the reception is second sharp for second sharpened area Change instruction, obtain the second sharpening image, specifically include:
Receive the second sharpening instruction for second sharpened area;Wherein, described second sharpen described in instruction instruction reduction The sharpness of the second sharpened area;
Sharpening instruction according to described second reduces the sharpness of the second sharpened area, obtains the second sharpening image;Wherein second Sharpening image is to reduce the image after the sharpness of second sharpened area.
6. a kind of image sharpening terminal, it is characterised in that the terminal includes:Extraction module, determining module, receiver module, obtain Modulus block and image co-registration module;Wherein,
The extraction module, for identifying the facial information included in shooting image according to face identification method, extracts described Biological information in facial information;
The determining module, for determining in the shooting image that image corresponding with the biological information is first to sharpen Region, the image in the shooting image outside image corresponding with the biological information is the second sharpened area;
The receiver module, for receiving the first sharpening instruction for first sharpened area;
The acquisition module, for obtaining the first sharpening image;
The receiver module, is additionally operable to receive the second sharpening instruction for second sharpened area;
The acquisition module, is additionally operable to obtain the second sharpening image;
Described image Fusion Module, for first sharpening image and second sharpening image to be merged;
The acquisition module, is additionally operable to obtain the sharpening image after fusion.
7. terminal according to claim 6, it is characterised in that
The extraction module, for when in identifying shooting image according to face identification method comprising facial information, using life Thing characteristic recognition method extracts the biological information in facial information.
8. terminal according to claim 6, it is characterised in that
The determining module, for according to corresponding with biological information in the biological information locking shooting image Image, determine that image corresponding with biological information is the first sharpened area in the shooting image;
And, determine that the image-region beyond first sharpened area is the second sharpened area using image segmentation.
9. terminal according to claim 6, it is characterised in that
The receiver module, for receiving the first sharpening instruction for first sharpened area;Wherein, described first sharpen Instruction indicates to improve the sharpness of first sharpened area;
The acquisition module, for sharpening the sharpness that instruction improves the first sharpened area according to described first, obtains first Sharpening image;Wherein the first sharpening image is to improve the image after the sharpness of first sharpened area.
10. terminal according to claim 6, it is characterised in that
The receiver module, for receiving the second sharpening instruction for second sharpened area;Wherein, described second sharpen Instruction indicates to reduce the sharpness of second sharpened area;
The acquisition module, the sharpness of the second sharpened area is reduced for sharpening instruction according to described second, obtains second Sharpening image;Wherein the second sharpening image is to reduce the image after the sharpness of second sharpened area.
CN201611248625.5A 2016-12-29 2016-12-29 Image sharpening method and terminal Active CN106780394B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611248625.5A CN106780394B (en) 2016-12-29 2016-12-29 Image sharpening method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611248625.5A CN106780394B (en) 2016-12-29 2016-12-29 Image sharpening method and terminal

Publications (2)

Publication Number Publication Date
CN106780394A true CN106780394A (en) 2017-05-31
CN106780394B CN106780394B (en) 2020-12-08

Family

ID=58929321

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611248625.5A Active CN106780394B (en) 2016-12-29 2016-12-29 Image sharpening method and terminal

Country Status (1)

Country Link
CN (1) CN106780394B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108053371A (en) * 2017-11-30 2018-05-18 努比亚技术有限公司 A kind of image processing method, terminal and computer readable storage medium
CN109612114A (en) * 2018-12-04 2019-04-12 朱朝峰 Strange land equipment linkage system
CN109889537A (en) * 2019-03-20 2019-06-14 曹婷 Automated network communication means and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5835616A (en) * 1994-02-18 1998-11-10 University Of Central Florida Face detection using templates
EP1471462A1 (en) * 2003-04-21 2004-10-27 Hewlett-Packard Development Company, L.P. Method for processing a facial region of an image differently than the remaining portion of the image
CN1713209A (en) * 2004-06-24 2005-12-28 诺日士钢机株式会社 Photographic image processing method and equipment
JP2006113658A (en) * 2004-10-12 2006-04-27 Canon Inc Image processing apparatus and method, and storage medium with program recorded thereon
US20070172140A1 (en) * 2003-03-19 2007-07-26 Nils Kokemohr Selective enhancement of digital images
CN105205779A (en) * 2015-09-15 2015-12-30 厦门美图之家科技有限公司 Eye image processing method and system based on image morphing and shooting terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5835616A (en) * 1994-02-18 1998-11-10 University Of Central Florida Face detection using templates
US20070172140A1 (en) * 2003-03-19 2007-07-26 Nils Kokemohr Selective enhancement of digital images
EP1471462A1 (en) * 2003-04-21 2004-10-27 Hewlett-Packard Development Company, L.P. Method for processing a facial region of an image differently than the remaining portion of the image
CN1713209A (en) * 2004-06-24 2005-12-28 诺日士钢机株式会社 Photographic image processing method and equipment
JP2006113658A (en) * 2004-10-12 2006-04-27 Canon Inc Image processing apparatus and method, and storage medium with program recorded thereon
CN105205779A (en) * 2015-09-15 2015-12-30 厦门美图之家科技有限公司 Eye image processing method and system based on image morphing and shooting terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108053371A (en) * 2017-11-30 2018-05-18 努比亚技术有限公司 A kind of image processing method, terminal and computer readable storage medium
CN108053371B (en) * 2017-11-30 2022-04-19 努比亚技术有限公司 Image processing method, terminal and computer readable storage medium
CN109612114A (en) * 2018-12-04 2019-04-12 朱朝峰 Strange land equipment linkage system
CN109889537A (en) * 2019-03-20 2019-06-14 曹婷 Automated network communication means and method

Also Published As

Publication number Publication date
CN106780394B (en) 2020-12-08

Similar Documents

Publication Publication Date Title
CN109889630B (en) Display method and related device
CN102053781B (en) Terminal and control method thereof
CN111176506A (en) Screen display method and electronic equipment
EP4145280A1 (en) Notification display method and terminal
CN104798311A (en) Mobile terminal and control method thereof
CN104618605B (en) Mobile terminal locating method and device
CN106780394A (en) A kind of image sharpening method and terminal
CN106791187A (en) A kind of mobile terminal and NFC method
CN104281403A (en) Mobile terminal and method of controlling the mobile terminal
CN106843642A (en) The exchange method and mobile terminal of a kind of mobile terminal
US10628606B2 (en) Electronic device including display and method of providing private information
CN106878509A (en) A kind of control method of mobile terminal, mobile terminal and storage medium
CN116048243A (en) Display method and electronic equipment
KR101392928B1 (en) Mobile terminal, control method thereof, and contents output system
CN106778158A (en) A kind of information protection device and method
CN106445148A (en) Method and device for triggering terminal application
CN106527685A (en) Control method and device for terminal application
CN114003319B (en) Method for off-screen display and electronic equipment
CN107016334A (en) Pattern recognition device and method
CN106776683A (en) A kind of browser window changing method and terminal
CN114173165B (en) Display method and electronic equipment
CN116027887A (en) Display method and electronic equipment
CN106445150A (en) Method and device for operating terminal application
CN106873766A (en) A kind of method and mobile terminal for realizing paging file control
CN106780373A (en) A kind of noise reduction process method and 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
GR01 Patent grant
GR01 Patent grant