CN106611402A - Image processing method and device - Google Patents
Image processing method and device Download PDFInfo
- Publication number
- CN106611402A CN106611402A CN201510697934.XA CN201510697934A CN106611402A CN 106611402 A CN106611402 A CN 106611402A CN 201510697934 A CN201510697934 A CN 201510697934A CN 106611402 A CN106611402 A CN 106611402A
- Authority
- CN
- China
- Prior art keywords
- image
- mask
- pixel
- original image
- designated area
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 27
- 238000000034 method Methods 0.000 claims abstract description 87
- 230000008569 process Effects 0.000 claims abstract description 46
- 239000011159 matrix material Substances 0.000 claims abstract description 44
- 230000009466 transformation Effects 0.000 claims abstract description 39
- 238000009499 grossing Methods 0.000 claims abstract description 30
- 230000008859 change Effects 0.000 claims description 14
- 238000006243 chemical reaction Methods 0.000 claims description 12
- 238000003384 imaging method Methods 0.000 claims description 6
- 238000003491 array Methods 0.000 claims description 4
- 230000002087 whitening effect Effects 0.000 abstract description 17
- 230000000694 effects Effects 0.000 abstract description 15
- 230000008685 targeting Effects 0.000 abstract 1
- 230000015654 memory Effects 0.000 description 20
- 238000005516 engineering process Methods 0.000 description 11
- 230000005540 biological transmission Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 239000003086 colorant Substances 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 4
- 238000005282 brightening Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 239000000843 powder Substances 0.000 description 2
- 206010040829 Skin discolouration Diseases 0.000 description 1
- 230000003796 beauty Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 239000007795 chemical reaction product Substances 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 231100000289 photo-effect Toxicity 0.000 description 1
- 229920000642 polymer Polymers 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000037370 skin discoloration Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/04—Context-preserving transformations, e.g. by using an importance map
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
The invention provides an image processing method. The method comprises the steps of acquiring an original picture; determining a designated area in the original picture; generating a mask matrix targeting the designated area; performing gray scale transformation on the original picture according to the mask matrix; and performing edge smoothing processing and overall equalization processing on an intact image of the picture obtained after gray scale transformation. The invention furthermore provides an image processing device. Through the image processing method and device, the skin whitening effect of a person in a photo can be achieved, operation is easy and convenient, and a better experience effect is brought for a user to process photos and pictures.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of image processing method and device.
Background technology
With the popularization of the end product with camera such as digital camera, mobile phone, panel computer, people
The chance taken pictures is more and more, and the occasion using photo is also more and more.Such as when being in, beautiful environment
Where or when just having bought a novel clothes, it is desirable to where oneself is located and wear new
The looks of clothing are shared with relatives and friends, just can be taken a picture for oneself conveniently using mobile phone, and pass through
Social software, such as instant messaging product (QQ, wechat, Skype etc.) are shared with other people.
But, due to reasons such as light, apparatus for making a video recording, shooting angle, the photo effect after shooting,
Especially flesh tone portion, often not fully up to expectations.Especially for people seeking beauty, if personage in photo
The colour of skin is obscure, will be unsatisfied with shooting effect, therefore, can be using Photoshop etc. before using photo
Software is processed photo, and whole photo is highlighted, and the colour of skin for making personage in photo bleaches.However,
The operation of this kind of method is cumbersome, and learning cost is higher, and general user is difficult to grasp, and will be whole
When individual photo is highlighted, easy overexposure makes the image in photo seem unnatural, reduces on the contrary
The general performance effect of photo.
The content of the invention
In view of this, the present invention provides a kind of image processing method and device, is capable of achieving personage in photo
Colour of skin whitening effect and simple, convenient, be that user processes photo, picture and brings more preferably
Experience effect.
A kind of image processing method provided in an embodiment of the present invention, including:Obtain original image;It is determined that
Designated area in the original image;Mask code matrix is generated for the designated area;According to described
Mask code matrix carries out grey scale transformation to the original image;And to carrying out grey scale transformation after picture
General image carries out edge-smoothing process and overall equalization processing.
A kind of image processing apparatus provided in an embodiment of the present invention, including:Picture acquisition module, is used for
Obtain original image;Designated area determining module, for determining the original image in designated area;
Mask code matrix generation module, for generating mask code matrix for the designated area;Grey scale transformation module,
For carrying out grey scale transformation to the original image according to the mask code matrix;And disposed of in its entirety module,
General image for the picture after to carrying out grey scale transformation carries out edge-smoothing process and overall equalization
Process.
Image processing method provided in an embodiment of the present invention and device, can passing ratio stretching conversion, it is right
Designated area in picture, such as the colour of skin carry out smooth highlighting, it is to avoid blooming, is capable of achieving
The colour of skin whitening effect of personage and simple, convenient in photo, is that user processes photo, figure
Piece brings more preferable experience effect.
It is that the above and other objects, features and advantages of the present invention can be become apparent, it is cited below particularly
Preferred embodiment, and coordinate institute's accompanying drawings, it is described in detail below.
Description of the drawings
The terminal device that Fig. 1 is applied by image processing method provided in an embodiment of the present invention and device
The structured flowchart of one embodiment.
The schematic flow sheet of the image processing method that Fig. 2 is provided for first embodiment of the invention.
Fig. 3 is the schematic flow sheet of the major sub-steps of step S14 in Fig. 2.
The schematic flow sheet of the image processing method that Fig. 4 is provided for second embodiment of the invention.
The schematic flow sheet of the image processing method that Fig. 5 is provided for third embodiment of the invention.
The structured flowchart of the image processing apparatus that Fig. 6 is provided for fourth embodiment of the invention.
The structured flowchart of the image processing apparatus that Fig. 7 is provided for fifth embodiment of the invention.
The structured flowchart of the image processing apparatus that Fig. 8 is provided for sixth embodiment of the invention.
Specific embodiment
Further to illustrate the present invention to realize technological means and work(that predetermined goal of the invention taken
Effect, below in conjunction with accompanying drawing and preferred embodiment, to the specific embodiment according to the present invention, structure,
Feature and its effect, describe in detail as after.
Fig. 1 is refer to, Fig. 1 image processing methods provided in an embodiment of the present invention and device are applied
The structured flowchart of one embodiment of terminal device.Terminal device can be various electronic installations, such as personal
Computer, notebook computer, panel computer, mobile phone etc..As shown in figure 1, terminal device includes storage
Device 102, storage control 104, it is one or more (one is only illustrated in figure) processors 106, outer
If interface 108, radio-frequency module 110, locating module 112, photographing module 114, audio-frequency module 116,
Display module 118 and key-press module 120.These components pass through one or more communication bus/signal
Line 122 is mutually communicated.
It is appreciated that the structure shown in Fig. 1 is only illustrated, terminal device may also include than institute in Fig. 1
Show more or less components, or with the configuration different from shown in Fig. 1.Shown in Fig. 1
Each component can be realized using hardware, software or its combination.
Wherein, memory 102 can be used to store software program and module, such as in the embodiment of the present invention
Image processing method and the corresponding programmed instruction/module of device, processor 106 is stored in by operation
Software program and module in memory 102, so as to perform various function application and data processing.
Memory 102 may include high speed random access memory, may also include nonvolatile memory, such as one
Individual or multiple magnetic storage devices, flash memory or other non-volatile solid state memories.At some
In example, memory 102 can be further included relative to the remotely located memory of processor 106,
These remote memories can be by network connection to terminal device.The example of above-mentioned network include but not
It is limited to internet, intranet, LAN, mobile radio communication and combinations thereof.Processor 106 with
And access of other possible components to memory 102 can be carried out under the control of storage control 104.
Peripheral Interface 108 is by various input/output devices coupled to processor 106 and memory 102.
Various softwares in the run memory 102 of processor 106, instruction are performing the various work(of terminal device
Data processing and can be carried out.
In certain embodiments, Peripheral Interface 108, processor 106 and storage control 104 can be with
Realize in one single chip, in some other example, it is also possible to realized by independent chip respectively.
Radio-frequency module 110 is used to receiving and sending electromagnetic wave, realizes that electromagnetic wave is mutual with electric signal
Conversion, so as to be communicated with communication network or other equipment.Radio-frequency module 110 may include various
The existing component for performing these functions, for example, antenna, RF transceiver, numeral letter
Number processor, encryption/deciphering chip, subscriber identity module (SIM) card, memory etc..Radio frequency
Module 110 can be communicated or led to various networks such as internet, intranet, wireless network
Cross wireless network to be communicated with other equipment.Above-mentioned wireless network may include cellular telephone networks,
WLAN or Metropolitan Area Network (MAN).Above-mentioned wireless network can using various communication standards, agreement and
Technology, including but not limited to global system for mobile communications (Global System for Mobile
Communication, GSM), enhancement mode mobile communication technology (Enhanced Data GSM
Environment, EDGE), Wideband CDMA Technology (wideband code division multiple
Access, W-CDMA), CDMA (Code division access, CDMA), time-division are more
Location technology (time division multiple access, TDMA), bluetooth, adopting wireless fidelity technology (Wireless,
Fidelity, WiFi) (such as IEEE-USA's standard IEEE 802.11a, IEEE
802.11b, IEEE802.11g and/or IEEE 802.11n), the networking telephone (Voice over internet
Protocal, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave
Access, Wi-Max), other be used for the agreement of mail, instant messaging and short message, it is and any
Other suitable communications protocol, or even may include those agreements not currently being developed yet.
Locating module 112 is used to obtain the current location of terminal device.The example bag of locating module 112
Include but be not limited to GPS (GPS), based on WLAN or mobile radio communication
Location technology.
Photographing module 114 is used to shoot photo or video.The photo or video of shooting can be stored
To memory 102, and can be sent by radio-frequency module 110.
Audio-frequency module 116 provides a user with COBBAIF, its may include one or more microphones, one
Individual or multiple loudspeakers and voicefrequency circuit.Voicefrequency circuit receives sound number from Peripheral Interface 108
According to, voice data is converted to into power information, power information is transmitted to loudspeaker.Loudspeaker is by power information
Be converted to the sound wave that human ear can be heard.Voicefrequency circuit receives power information also from microphone, by electric signal
Be converted to voice data, and by data transmission in network telephony to Peripheral Interface 108 further being located
Reason.Voice data can be obtained from memory 102 or by radio-frequency module 110.Additionally, sound
Frequency evidence can also be stored into memory 102 or is transmitted by radio-frequency module 110.One
In a little examples, audio-frequency module 116 may also include an earphone and broadcast hole, for earphone or other set
It is standby that COBBAIF is provided.
Display screen 118 provides an output interface between terminal device and user.Specifically, show
Display screen curtain 118 displays to the user that video frequency output, the content of these video frequency outputs may include word, figure,
Video and its any combination.Some output results correspond to some user interface objects.Further
Ground, display screen 118 can also provide an inputting interface between terminal device and user, for connecing
The gesture operations such as the input of user, click, the slip of such as user are received, so as to user interface object pair
The input of these users is responded.The technology of detection user input can be based on resistance-type, electric capacity
Formula or other any possible touch control detection technologies.The instantiation of display screen 118 include but and
It is not limited to liquid crystal display or light emitting polymer displays.
Key-press module 120 equally provides the interface that user is input into terminal device, and user can lead to
Cross and press different buttons so that terminal device performs different functions.
The image processing method and device of present invention offer are illustrated below in conjunction with specific embodiment.
First embodiment
First embodiment provides a kind of image processing method, and the method can be set by the terminal shown in Fig. 1
It is standby to realize.Fig. 2 show the flow chart of said method.Fig. 2 is refer to, the method for the present embodiment includes
Following steps:
Step S11, obtains original image;
In this step, a user interface is provided by terminal device, the user interface is used to show figure
Piece and offer operation interface.User can be obtained by the user interface from the memory 102 of terminal device
Take and think original image to be processed and be displayed in the user interface.
Step S12, determines the designated area in the original image;
In this step, user can by user interface provide operation interface on associative operation button,
Need in being such as used to select the select button for needing image range to be processed to select original image by
The scope of process, after user selects the processed scope of needs, terminal device receive user is at this
The scope selected on original image, the scope is the designated area.
In other embodiments, also can by the designated area in system automatic identification original image, if
The designated area is set as the skin area of personage, system can according to the skin model for pre-building or
The method automatic identification of other automatic identifications simultaneously determines the designated area in original image.
Step S13, for the designated area mask (MASK) matrix is generated;
In this step, mask code matrix is two bit arrays of the sizes such as the image with original image, to
Represent that the pixel in the image of the original image belongs to the probability of the designated area.For example, if former
The pixel for being belonging to designated area is determined in beginning picture, then to corresponding element assignment 1 in mask code matrix;
If determining the pixel for not being belonging to designated area in original image, to corresponding element in mask code matrix
Assignment 0;If the uncertain pixel for whether belonging to designated area, corresponding element in mask code matrix is assigned
Value 0.5, etc., the rest may be inferred, and the probability that the designated area is belonged to according to pixel is corresponding to give
It is worth to corresponding element in mask code matrix.
Step S14, grey scale transformation is carried out according to the mask code matrix to the original image;
In this step, user can by user interface provide operation interface on associative operation button,
Such as whitening button, is processed to do whitening to designated area.
Fig. 3 is refer to, Fig. 3 is the schematic flow sheet of the major sub-steps of step S14.As shown in figure 3,
Step S14 includes following sub-step:
Sub-step S141, calculates the brightness of image map table of the original image to obtain the brightness of pixel
Adjustment rate;
In this sub-step, counted by the first equation r=i/255 and second party formula F [i]=(r) ^0.6
Calculation obtains the brightness adjustment ratio, wherein, i represents the GTG of the pixel of the image of the original image,
R represents the normalized value of the GTG of the pixel of the image of the original image, and F [i] is the brightness and adjusts
Whole ratio.
Sub-step S142, according to GTG of the brightness adjustment ratio to the pixel in the designated area
It is amplified.
In this sub-step, by third party's formula Gray [x, y]=Gray [x, y] (1-mask [x,
Y])+Gray [x, y] * mask [x, y] * F [i] are calculated the pixel gray level after brightness adjustment, wherein,
Gray [x, y] represents the pixel gray level after brightness adjustment, and x, y represent the coordinate of pixel, mask [x, y]
Represent that pixel belongs to the probability of the designated area.After being calculated by third party's formula, to specifying
The GTG of the pixel in region is amplified, and the GTG of the pixel outside designated area is then constant, real
Now to the ratio stretching conversion of image, the designated area in picture is highlighted.
Therefore, if during user wishes to improve picture or photo by this method personage the colour of skin, choosing
Select skin ranges or by system automatic identification figure skin region after, just can be by above-mentioned sub-step
Rapid S141 and S142 carries out brightness adjustment to the colour of skin of personage in picture, makes the colour of skin brighten.
Further, step S14 may also include:
Sub-step S143, to the imaging importing designated color after brightness adjustment.
In this sub-step, with the corresponding RGB GTGs of the designated color to the brightness adjustment after
The pixel of image carries out the conversion of RGB channel, wherein, by the 4th equation R=0.1* (mask [x,
Y]) * Rz+0.9* (1-mask [x, y]) * R*Gray [x, y]/Rz, the 5th equation G=0.1* (mask [x,
Y]) * Gz+0.9* (1-mask [x, y]) * R*Gray [x, y]/Gz and the 6th equation B=0.1* (mask [x,
Y]) * Bz+0.9* (1-mask [x, y]) * R*Gray [x, y]/Bz obtain be superimposed designated color after image picture
The RGB GTGs of element, wherein, mask [x, y] represents that pixel belongs to the probability of the designated area, Gray [x,
Y] pixel gray level after brightness adjustment is represented, Rz, Gz, Bz represent the corresponding RGB of the designated color
GTG.
Illustrate, if the colour of skin that user is not intended merely to personage in picture brightens, it is also desirable to powder can be added
Color makes skin seem more healthy lovely, then can be superimposed by the colour of skin that this method is personage in picture
Pink colour, it is preferable that the corresponding RGB GTGs of pink colour are respectively 255,204,204, even Rz=255,
Gz=204, Bz=204, above-mentioned four, the five, the 6th equation is updated to respectively with right by the value
The pixel of the image after brightness adjustment carries out the conversion of RGB channel, and the colour of skin for making personage in picture is becoming
Further increase pink colour after bright.
It is understood that can not only be superimposed pink colour by this method, it is also possible to be superimposed other face
Color, it is only necessary to change the value of designated color corresponding RGB GTGs Rz, Gz, Bz.
Step S15, to carrying out grey scale transformation after the general image of picture carry out edge-smoothing process and whole
Body equalization processing.
In this step, picture is carried out after grey scale transformation, needs are further carried out to general image
Edge-smoothing process and overall equalization processing, so that entire image is more natural.
Wherein, edge-smoothing process can be carried out using Gaussian Blur to general image, such as 3*3's
Gaussian Blur.Image after to carrying out edge-smoothing process carries out histogram equalization, improves image
Contrast, reduces the color inequality brought because of grey scale transformation.
After completing to image procossing, further user can be shown to by user interface and be checked.
As can be seen here, the image processing method for being provided by the present embodiment, can passing ratio stretching change
Change, to the designated area in picture, such as the colour of skin carries out smooth highlighting, it is to avoid blooming.
And it is also stackable to specify other colors, such as pink colour to make skin while highlighting to designated area
Color increases pink colour after brightening so that the skin in picture after whitening is fair and tender, increases aesthetic feeling.Therefore,
Image processing method that the present embodiment is provided be capable of achieving in photo the colour of skin whitening effect of personage and
It is simple, convenient, it is that user processes photo, picture and brings more preferable experience effect.
Second embodiment
Second embodiment provides a kind of image processing method, and the method can equally pass through the end shown in Fig. 1
End equipment realizes that the method is similar to the method that first embodiment is provided.Fig. 4 show above-mentioned side
The flow chart of method.Fig. 4 is refer to, the method for the present embodiment is comprised the following steps:
Step S11, obtains original image;
Step S21, decodes to the original image;
In this step, after original image is obtained, the original image is decoded, is generated former
Beginning pictorial information stream, such as the view data of rgb format.And after decoding to original image, will
Decoded picture shows in the user interface.
Step S12, determines the designated area in the original image;
Step S13, for the designated area mask code matrix is generated;
Step S14, grey scale transformation is carried out according to the mask code matrix to the original image;
Step S15, to carrying out grey scale transformation after the general image of picture carry out edge-smoothing process and whole
Body equalization processing;
Step S22, encodes to the picture after equalization processing.
In this step, after treating that picture processing is completed, the picture after process is encoded, such as
Generate the picture formats such as JPEG.
Further, the picture after coding is shown in the user interface so that user checks.
The step of method provided due to the present embodiment, S11 was into step S15 and first embodiment
The corresponding step of method is similar, please further refer to first embodiment, will not be described here.
The image processing method provided by the present embodiment, can passing ratio stretching conversion, to picture
In designated area, such as the colour of skin carries out smooth highlighting, it is to avoid blooming.And to referring to
It is also stackable to specify other colors, such as pink colour to make the colour of skin brighten it while determining region and highlight
After increase pink colour so that the skin in picture after whitening is fair and tender, increase aesthetic feeling.Therefore, the present embodiment
The image processing method that there is provided be capable of achieving in photo the colour of skin whitening effect of personage and it is simple to operate,
It is convenient, it is that user processes photo, picture and brings more preferable experience effect, and can carry out as needed
Decoding and coding, meet the picture processing requirement of different-format.
3rd embodiment
3rd embodiment provides a kind of image processing method, and the method can equally pass through the end shown in Fig. 1
End equipment realizes that the method is similar to the method that first embodiment is provided.Fig. 5 show above-mentioned side
The flow chart of method.Fig. 5 is refer to, the method for the present embodiment is comprised the following steps:
Step S31, receive user adopts the log-on message of the client of social platform;
In this step, installing terminal equipment have social platform client (such as instant communication software,
Such as QQ, wechat, Skype), after the User logs in client, client receives the login
Information.
Step S11, obtains original image;
In this step, if user needs to send the picture to other users or shares in circle of friends, use
The input frame that family can provide in the user interface of client obtains the original image, such as from terminal device
Storage photograph album in the memory 102 obtains the original image, or according to taking pictures that client is provided
The photographing module 114 of interface using terminal equipment is taken pictures and obtains the original image immediately.
Step S12, determines the designated area in the original image;
In this step, if the dissatisfied picture effect of user, needs to process picture, can be by visitor
The user interface at family end further provides for operation button, such as whitening button is selected to user.
After user selects to process picture, client further provides for needing image range to be processed
Select button, by user to select original image in need processed scope, or directly by being
System identification needs region to be processed.
Step S13, for the designated area mask code matrix is generated;
Step S14, grey scale transformation is carried out according to the mask code matrix to the original image;
Step S15, to carrying out grey scale transformation after the general image of picture carry out edge-smoothing process and whole
Body equalization processing;
Step S32, the picture that transmission processe is completed.
In this step, picture is completed after equalization processing, is shown by the user interface of client
Show the picture after processing to user, the picture that transmission processe is completed after the transmission operation of receive user.
The step of method provided due to the present embodiment, S11 was into step S15 and first embodiment
The corresponding step of method is similar, please further refer to first embodiment, will not be described here.
The image processing method provided by the present embodiment, can directly in the client using social platform
Picture is processed during end, realizes the colour of skin whitening effect of personage in photo, and simple to operate,
It is convenient, it is that user brings more preferable experience effect using social platform.
Fourth embodiment
Fourth embodiment provides a kind of image processing apparatus, and the device can run on the terminal shown in Fig. 1
Equipment, for realizing above-described embodiment in image processing method.As shown in fig. 6, described device bag
Include picture acquisition module 401, designated area determining module 402, mask code matrix generation module 403, ash
Rank conversion module 404 and disposed of in its entirety module 405.
Picture acquisition module 401, for obtaining original image.Specifically, user can pass through terminal device
The user interface of offer is obtained using the picture acquisition module 401 from the memory 102 of terminal device
Think original image to be processed, the original image is displayed in user circle after obtaining by display module
In face.
Designated area determining module 402, for determining the original image in designated area.Wherein,
Designated area determining module 402 includes receiving unit 412, and the receiving unit 412 exists for receive user
The scope selected on the original image, the scope is the designated area.Specifically, Yong Huke
By the associative operation button in the operation interface that user interface is provided, such as need to process for selection
Image range select button to select original image in need processed scope, when user choosing
Selecting needs after processed scope, what the receive user of receiving unit 412 was selected on the original image
Scope, the scope is the designated area.
In other embodiments, the designated area determining module 402 can further include automatic identification
Unit, by the designated area in the automatic identification unit automatic identification original image, if the designated area
Be set as the skin area of personage, the automatic identification unit can according to the skin model for pre-building or
The method automatic identification of other automatic identifications simultaneously determines the designated area in original image.
Mask code matrix generation module 403, for generating mask code matrix for the designated area.Wherein,
The mask code matrix is two bit arrays of the sizes such as the image with original image, to represent the original graph
Pixel in the image of piece belongs to the probability of the designated area.For example, if determining in original image is
Belong to the pixel of designated area, then to corresponding element assignment 1 in mask code matrix;If in original image really
The fixed pixel for not being belonging to designated area, then to corresponding element assignment 0 in mask code matrix;If uncertain
Whether belong to the pixel of designated area, then to corresponding element assignment 0.5, etc. in mask code matrix, according to
This analogizes, and the probability that the designated area is belonged to according to pixel be worth accordingly in mask code matrix to give
Corresponding element.
Grey scale transformation module 404, for carrying out GTG change to the original image according to the mask code matrix
Change.Wherein, grey scale transformation module 404 includes that brightness adjustment ratio acquisition unit 414, GTG amplifies list
Unit 424 and designated color superpositing unit 434.
Brightness adjustment ratio acquisition unit 414 is used to calculate the brightness of image map table of the original image
To obtain the brightness adjustment ratio of pixel.Specifically, brightness adjustment ratio acquisition unit 414 is by the
One equation r=i/255 and second party formula F [i]=(r) ^0.6 are calculated the brightness adjustment ratio,
Wherein, i represents the GTG of the pixel of the image of the original image, and r represents the figure of the original image
The normalized value of the GTG of the pixel of picture, F [i] is the brightness adjustment ratio.
GTG amplifying unit 424 is used for according to the brightness adjustment ratio to the picture in the designated area
The GTG of element is amplified.Specifically, GTG amplifying unit 424 by third party's formula Gray [x,
Y] after=Gray [x, y] (1-mask [x, y])+Gray [x, y] * mask [x, y] * F [i] are calculated brightness adjustment
Pixel gray level, wherein, Gray [x, y] represent brightness adjustment after pixel gray level, x, y represent pixel
Coordinate, mask [x, y] represents that pixel belongs to the probability of the designated area.
If user wish to improve picture or photo by this device in personage the colour of skin, select skin
Scope or by system automatic identification figure skin region after, just can be obtained by brightness adjustment ratio
Take unit 414 and GTG amplifying unit 424 carries out brightness adjustment to the colour of skin of personage in picture, makes skin
Discoloration is bright.
Designated color superpositing unit 434 is used for the imaging importing designated color after brightness adjustment.Specifically
Ground, it is intended that color addition unit 434 is adjusted with the corresponding RGB GTGs of the designated color to the brightness
The pixel of the image after whole carries out the conversion of RGB channel, wherein, by the 4th equation
R=0.1* (mask [x, y]) * Rz+0.9* (1-mask [x, y]) * R*Gray [x, y]/Rz, the 5th equation
G=0.1* (mask [x, y]) * Gz+0.9* (1-mask [x, y]) * R*Gray [x, y]/Gz and the 6th equation
B=0.1* (mask [x, y]) * Bz+0.9* (1-mask [x, y]) * R*Gray [x, y]/Bz obtains being superimposed specified face
The RGB GTGs of the pixel of the image after color, wherein, mask [x, y] represents that pixel belongs to the specified area
The probability in domain, Gray [x, y] represents the pixel gray level after brightness adjustment, and Rz, Gz, Bz represent the finger
Determine the corresponding RGB GTGs of color.
Illustrate, if the colour of skin that user is not intended merely to personage in picture brightens, it is also desirable to powder can be added
Color makes skin seem more healthy lovely, then can be in picture by designated color superpositing unit 434
The colour of skin superposition pink colour of personage, it is preferable that the corresponding RGB GTGs of pink colour are respectively 255,204,204,
Even Rz=255, Gz=204, Bz=204, the value is updated to into respectively the above-mentioned 4th, the 5th,
Six equations make people in picture to carry out the conversion of RGB channel to the pixel of the image after brightness adjustment
The colour of skin of thing further increases pink colour after brightening.
It is understood that not only can be superimposed by the designated color superpositing unit 434 of this device
Pink colour, it is also possible to be superimposed other colors, it is only necessary to change the corresponding RGB GTGs Rz of designated color,
The value of Gz, Bz.
Disposed of in its entirety module 405, the general image for the picture after to carrying out grey scale transformation carries out edge
Smoothing processing and overall equalization processing, so that entire image is more natural.Wherein, disposed of in its entirety mould
Block 405 includes edge-smoothing processing unit 415 and equalization processing unit 425.Edge-smoothing process is single
Unit 415 is used to carry out edge-smoothing process using Gaussian Blur to the general image, such as adopts 3*3
Gaussian Blur.Image after equalization processing unit 425 is used for carrying out edge-smoothing process is carried out
Histogram equalization, so as to improve the contrast of image, reduces the color inequality brought because of grey scale transformation.
After completing to image procossing, the device can be by display module in user interface display processing
Picture afterwards is checked to user.
As can be seen here, the image processing apparatus for being provided by the present embodiment, can passing ratio stretching change
Change, to the designated area in picture, such as the colour of skin carries out smooth highlighting, it is to avoid blooming.
And it is also stackable to specify other colors, such as pink colour to make skin while highlighting to designated area
Color increases pink colour after brightening so that the skin in picture after whitening is fair and tender, increases aesthetic feeling.Therefore,
Image processing apparatus that the present embodiment is provided be capable of achieving in photo the colour of skin whitening effect of personage and
It is simple, convenient, it is that user processes photo, picture and brings more preferable experience effect.
5th embodiment
5th embodiment provides a kind of image processing apparatus, and the device can run on the terminal shown in Fig. 1
Equipment, for realizing above-described embodiment in image processing method, the device and fourth embodiment are provided
Device it is similar.As shown in fig. 7, described device include picture acquisition module 401, decoder module 501,
Designated area determining module 402, mask code matrix generation module 403, grey scale transformation module 404, entirety
Processing module 405 and coding module 502.
Picture acquisition module 401, for obtaining original image.
Decoder module 501, for decoding to the original image.Specifically, mould is obtained in picture
Block 401 is obtained after original image, and 501 pairs of original images of decoder module are decoded, and is generated former
Beginning pictorial information stream, such as the view data of rgb format.In decoder module 501 to original image solution
After code, the device is shown decoded picture in the user interface by display module.
Designated area determining module 402, for determining the original image in designated area.Wherein,
Designated area determining module 402 includes receiving unit 412, and the receiving unit 412 exists for receive user
The scope selected on the original image, the scope is the designated area.
In other embodiments, the designated area determining module 402 can further include automatic identification
Unit, by the designated area in the automatic identification unit automatic identification original image, if the designated area
Be set as the skin area of personage, the automatic identification unit can according to the skin model for pre-building or
The method automatic identification of other automatic identifications simultaneously determines the designated area in original image.
Mask code matrix generation module 403, for generating mask code matrix for the designated area.
Grey scale transformation module 404, for carrying out GTG change to the original image according to the mask code matrix
Change.Wherein, grey scale transformation module 404 includes that brightness adjustment ratio acquisition unit 414, GTG amplifies list
Unit 424 and designated color superpositing unit 434.Brightness adjustment ratio acquisition unit 414 is used to calculate institute
State the brightness of image map table of original image to obtain the brightness adjustment ratio of pixel.GTG amplifying unit
424 are used to be amplified the GTG of the pixel in the designated area according to the brightness adjustment ratio.
Designated color superpositing unit 434 is used for the imaging importing designated color after brightness adjustment.
Disposed of in its entirety module 405, the general image for the picture after to carrying out grey scale transformation carries out edge
Smoothing processing and overall equalization processing, so that entire image is more natural.Wherein, disposed of in its entirety mould
Block 405 includes edge-smoothing processing unit 415 and equalization processing unit 425.Edge-smoothing process is single
Unit 415 is used to carry out edge-smoothing process using Gaussian Blur to the general image, such as adopts 3*3
Gaussian Blur.Image after equalization processing unit 425 is used for carrying out edge-smoothing process is carried out
Histogram equalization, so as to improve the contrast of image, reduces the color inequality brought because of grey scale transformation.
Coding module 502, for encoding to the picture after equalization processing, generates the figure such as JPEG
Piece form.
After completing to Image Coding, the device can be by display module in user interface display processing
Picture afterwards is checked to user.
The device provided due to the present embodiment it is similar to the device in fourth embodiment, with regard to this reality
Other particular contents of example are applied please further refer to fourth embodiment, be will not be described here.
The image processing apparatus provided by the present embodiment, can passing ratio stretching conversion, to picture
In designated area, such as the colour of skin carries out smooth highlighting, it is to avoid blooming.And to referring to
It is also stackable to specify other colors, such as pink colour to make the colour of skin brighten it while determining region and highlight
After increase pink colour so that the skin in picture after whitening is fair and tender, increase aesthetic feeling.Therefore, the present embodiment
The image processing apparatus that there is provided be capable of achieving in photo the colour of skin whitening effect of personage and it is simple to operate,
It is convenient, it is that user processes photo, picture and brings more preferable experience effect, and can carry out as needed
Decoding and coding, meet the picture processing requirement of different-format.
Sixth embodiment
Sixth embodiment provides a kind of image processing apparatus, and the device can run on the terminal shown in Fig. 1
Equipment, for realizing above-described embodiment in image processing method, the device and fourth embodiment are provided
Device it is similar.As shown in figure 8, described device include login module 601, picture acquisition module 401,
Designated area determining module 402, mask code matrix generation module 403, grey scale transformation module 404, entirety
Processing module 405 and sending module 602.
Login module 601, the log-on message of the client of social platform is adopted for receive user.At this
In embodiment, installing terminal equipment have social platform client (such as instant communication software, such as QQ,
Wechat, Skype etc.), after the User logs in client, client passes through the login module 601
Receive the log-on message.
Picture acquisition module 401, for obtaining original image.In the present embodiment, if user needs to send out
Picture is sent to other users or is shared in circle of friends, what user can provide in the user interface of client
Input frame obtains the original image by the picture acquisition module 401, such as be stored in from terminal device
Photograph album in memory 102 obtains the original image, or the interface of taking pictures provided according to client makes
The original is obtained by the picture acquisition module 401 after being taken pictures immediately with the photographing module 114 of terminal device
Beginning picture.
Designated area determining module 402, for determining the original image in designated area.Wherein,
Designated area determining module 402 includes receiving unit 412, and the receiving unit 412 exists for receive user
The scope selected on the original image, the scope is the designated area.In the present embodiment,
If user is unsatisfied with picture effect, need to process picture, can be entered by the user interface of client
One step provides operation button, such as whitening button is selected to user.When user is selected to picture
After being processed, client is further provided for by designated area determining module 402 need to be to be processed
The select button of image range, by user to select original image in need processed scope, or
Directly region to be processed is needed by the automatic identification of designated area determining module 402.
In other embodiments, the designated area determining module 402 can further include automatic identification
Unit, by the designated area in the automatic identification unit automatic identification original image, if the designated area
Be set as the skin area of personage, the automatic identification unit can according to the skin model for pre-building or
The method automatic identification of other automatic identifications simultaneously determines the designated area in original image.
Mask code matrix generation module 403, for generating mask code matrix for the designated area.
Grey scale transformation module 404, for carrying out GTG change to the original image according to the mask code matrix
Change.Wherein, grey scale transformation module 404 includes that brightness adjustment ratio acquisition unit 414, GTG amplifies list
Unit 424 and designated color superpositing unit 434.Brightness adjustment ratio acquisition unit 414 is used to calculate institute
State the brightness of image map table of original image to obtain the brightness adjustment ratio of pixel.GTG amplifying unit
424 are used to be amplified the GTG of the pixel in the designated area according to the brightness adjustment ratio.
Designated color superpositing unit 434 is used for the imaging importing designated color after brightness adjustment.
Disposed of in its entirety module 405, the general image for the picture after to carrying out grey scale transformation carries out edge
Smoothing processing and overall equalization processing, so that entire image is more natural.Wherein, disposed of in its entirety mould
Block 405 includes edge-smoothing processing unit 415 and equalization processing unit 425.Edge-smoothing process is single
Unit 415 is used to carry out edge-smoothing process using Gaussian Blur to the general image, such as adopts 3*3
Gaussian Blur.Image after equalization processing unit 425 is used for carrying out edge-smoothing process is carried out
Histogram equalization, so as to improve the contrast of image, reduces the color inequality brought because of grey scale transformation.
Sending module 602, for the picture that transmission processe is completed.In the present embodiment, equalization processing
Unit 425 is completed after equalization processing to picture, and the device can be by display module in client
Picture after user interface display processing passes through to send out to user after the transmission operation of receive user
Send the picture that transmission processe is completed of module 602.
The device provided due to the present embodiment it is similar to the device in fourth embodiment, with regard to this reality
Other particular contents of example are applied please further refer to fourth embodiment, be will not be described here.
The image processing apparatus provided by the present embodiment, can directly in the client using social platform
Picture is processed during end, realizes the colour of skin whitening effect of personage in photo, and simple to operate,
It is convenient, it is that user brings more preferable experience effect using social platform.
It should be noted that each embodiment in this specification is described by the way of progressive, each
What embodiment was stressed is all the difference with other embodiment, phase homophase between each embodiment
As part mutually referring to.For device class embodiment, due to itself and embodiment of the method base
This is similar, so description is fairly simple, related part is illustrated referring to the part of embodiment of the method.
It should be noted that herein, such as first and second or the like relational terms are only used
By an entity or operation with another entity or operate make a distinction, and not necessarily require or
Imply and there is any this actual relation or order between these entities or operation.And, term
" including ", "comprising" or its any other variant are intended to including for nonexcludability, so that bag
Including process, method, article or the device of a series of key elements not only includes those key elements, but also wraps
Include other key elements being not expressly set out, or also include for this process, method, article or
The intrinsic key element of device.In the absence of more restrictions, limited by sentence "including a ..."
Key element, it is not excluded that also exist in addition in including the process of key element, method, article or device
Identical element.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be with
Completed by hardware, it is also possible to which the hardware that correlation is instructed by program is completed, and program can be stored
In a kind of computer-readable recording medium, storage medium mentioned above can be read-only storage,
Disk or CD etc..
More than, only it is presently preferred embodiments of the present invention, not make any pro forma to the present invention
Limit, although the present invention is disclosed above with preferred embodiment, but is not limited to the present invention,
Any those skilled in the art, in the range of without departing from technical solution of the present invention, when available
The technology contents of the disclosure above make a little change or are modified to the Equivalent embodiments of equivalent variations, as long as
It is, without departing from technical solution of the present invention content, above example to be made according to the technical spirit of the present invention
Any simple modification, equivalent variations and modification, still fall within the range of technical solution of the present invention.
Claims (19)
1. a kind of image processing method, it is characterised in that methods described includes:
Obtain original image;
Determine the designated area in the original image;
Mask code matrix is generated for the designated area;
Grey scale transformation is carried out to the original image according to the mask code matrix;And
The general image of the picture after to carrying out grey scale transformation carries out edge-smoothing process and overall equalization
Process.
2. method according to claim 1, it is characterised in that the determination original image
In designated area include:
The scope that receive user is selected on the original image, the scope is the designated area.
3. method according to claim 1, it is characterised in that the designated area includes described
The skin area of personage in original image.
4. method according to claim 1, it is characterised in that the mask code matrix be with it is described
Two bit arrays of the sizes such as the image of original image, to the picture in the image for representing the original image
Element belongs to the probability of the designated area.
5. method according to claim 1, it is characterised in that described according to the mask code matrix
Carrying out grey scale transformation to the original image includes:
Calculate the brightness of image map table of the original image to obtain the brightness adjustment ratio of pixel;With
And
The GTG of the pixel in the designated area is amplified according to the brightness adjustment ratio.
6. method according to claim 5, it is characterised in that by the first equation r=i/255
The brightness adjustment ratio is calculated with second party formula F [i]=(r) ^0.6, wherein, i represents described
The GTG of the pixel of the image of original image, r represents the GTG of the pixel of the image of the original image
Normalized value, F [i] is the brightness adjustment ratio.
7. method according to claim 6, it is characterised in that described according to the brightness adjustment
Ratio the GTG of the pixel in the designated area is amplified including:
By third party's formula Gray [x, y]=Gray [x, y] (1-mask [x, y])+Gray [x, y] * mask [x,
Y] * F [i] are calculated the pixel gray level after brightness adjustment, wherein, Gray [x, y] is represented after brightness adjustment
Pixel gray level, x, y represent the coordinate of pixel, and mask [x, y] represents that pixel belongs to the designated area
Probability.
8. method according to claim 5, it is characterised in that described according to the mask code matrix
Carrying out grey scale transformation to the original image also includes:
To the imaging importing designated color after brightness adjustment.
9. method according to claim 8, it is characterised in that the figure to after brightness adjustment
As superposition designated color includes:
The pixel of the image after the brightness adjustment is carried out with the designated color corresponding RGB GTGs
The conversion of RGB channel, wherein, by the 4th equation R=0.1* (mask [x,
Y]) * Rz+0.9* (1-mask [x, y]) * R*Gray [x, y]/Rz, the 5th equation G=0.1* (mask [x,
Y]) * Gz+0.9* (1-mask [x, y]) * R*Gray [x, y]/Gz and the 6th equation B=0.1* (mask [x,
Y]) * Bz+0.9* (1-mask [x, y]) * R*Gray [x, y]/Bz obtain be superimposed designated color after image picture
The RGB GTGs of element, wherein, mask [x, y] represents that pixel belongs to the probability of the designated area, Gray [x,
Y] pixel gray level after brightness adjustment is represented, Rz, Gz, Bz represent the corresponding RGB of the designated color
GTG.
10. method according to claim 1, it is characterised in that described pair carries out grey scale transformation
The general image of picture afterwards carries out edge-smoothing process and overall equalization processing to be included:
Edge-smoothing process is carried out using Gaussian Blur to the general image;And
Image after to carrying out edge-smoothing process carries out histogram equalization.
11. a kind of image processing apparatus, it is characterised in that described device includes:
Picture acquisition module, for obtaining original image;
Designated area determining module, for determining the original image in designated area;
Mask code matrix generation module, for generating mask code matrix for the designated area;
Grey scale transformation module, for carrying out grey scale transformation to the original image according to the mask code matrix;
And
Disposed of in its entirety module, the general image for the picture after to carrying out grey scale transformation carries out edge and puts down
It is sliding to process and overall equalization processing.
12. devices according to claim 11, it is characterised in that the designated area determines mould
Block includes receiving unit, for the scope that receive user is selected on the original image, the scope
For the designated area.
13. devices according to claim 11, it is characterised in that the grey scale transformation module bag
Include:
Brightness adjustment ratio acquisition unit, for calculate the brightness of image map table of the original image with
Obtain the brightness adjustment ratio of pixel;And
GTG amplifying unit, for according to the brightness adjustment ratio to the pixel in the designated area
GTG be amplified.
14. devices according to claim 13, it is characterised in that the brightness adjustment ratio is obtained
Take unit be calculated by the first equation r=i/255 and second party formula F [i]=(r) ^0.6 it is described bright
Degree adjustment rate, wherein, i represents the GTG of the pixel of the image of the original image, and r represents described
The normalized value of the GTG of the pixel of the image of original image, F [i] is the brightness adjustment ratio.
15. devices according to claim 14, it is characterised in that the GTG amplifying unit leads to
Cross third party's formula Gray [x, y]=Gray [x, y] (1-mask [x, y])+Gray [x, y] * mask [x, y] * F [i]
The pixel gray level after brightness adjustment is calculated, wherein, Gray [x, y] represents the pixel after brightness adjustment
GTG, x, y represent the coordinate of pixel, and mask [x, y] represents that pixel belongs to the probability of the designated area.
16. devices according to claim 13, it is characterised in that the grey scale transformation module is also
Including designated color superpositing unit, for the imaging importing designated color after brightness adjustment.
17. devices according to claim 16, it is characterised in that the designated color superposition is single
Unit is carried out with the corresponding RGB GTGs of the designated color to the pixel of the image after the brightness adjustment
The conversion of RGB channel, wherein, by the 4th equation R=0.1* (mask [x,
Y]) * Rz+0.9* (1-mask [x, y]) * R*Gray [x, y]/Rz, the 5th equation G=0.1* (mask [x,
Y]) * Gz+0.9* (1-mask [x, y]) * R*Gray [x, y]/Gz and the 6th equation B=0.1* (mask [x,
Y]) * Bz+0.9* (1-mask [x, y]) * R*Gray [x, y]/Bz obtain be superimposed designated color after image picture
The RGB GTGs of element, wherein, mask [x, y] represents that pixel belongs to the probability of the designated area, Gray [x,
Y] pixel gray level after brightness adjustment is represented, Rz, Gz, Bz represent the corresponding RGB of the designated color
GTG.
18. devices according to claim 11, it is characterised in that the disposed of in its entirety module bag
Include:
Edge-smoothing processing unit, is put down for being carried out edge using Gaussian Blur to the general image
It is sliding to process;And
Equalization processing unit, for the image after to carrying out edge-smoothing process histogram equalization is carried out
Change.
19. devices according to claim 11, it is characterised in that the mask code matrix is and institute
Two bit arrays of the sizes such as the image of original image are stated, in the image for representing the original image
Pixel belongs to the probability of the designated area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510697934.XA CN106611402B (en) | 2015-10-23 | 2015-10-23 | Image processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510697934.XA CN106611402B (en) | 2015-10-23 | 2015-10-23 | Image processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106611402A true CN106611402A (en) | 2017-05-03 |
CN106611402B CN106611402B (en) | 2019-06-14 |
Family
ID=58612997
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510697934.XA Active CN106611402B (en) | 2015-10-23 | 2015-10-23 | Image processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106611402B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107464230A (en) * | 2017-08-23 | 2017-12-12 | 京东方科技集团股份有限公司 | Image processing method and device |
CN107705275A (en) * | 2017-09-08 | 2018-02-16 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN107862658A (en) * | 2017-10-31 | 2018-03-30 | 广东欧珀移动通信有限公司 | Image processing method, device, computer-readable recording medium and electronic equipment |
CN109255306A (en) * | 2018-08-21 | 2019-01-22 | 广东工业大学 | A kind of test method of human-face detector, device, equipment and storage medium |
CN111127303A (en) * | 2018-11-01 | 2020-05-08 | Tcl集团股份有限公司 | Background blurring method and device, terminal equipment and computer readable storage medium |
CN111784611A (en) * | 2020-07-03 | 2020-10-16 | 厦门美图之家科技有限公司 | Portrait whitening method, portrait whitening device, electronic equipment and readable storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101051436A (en) * | 2006-04-03 | 2007-10-10 | 帆宣***科技股份有限公司 | Method and device for regulating input image according to display system property |
CN101080026A (en) * | 2006-05-23 | 2007-11-28 | 普立尔科技股份有限公司 | Method for removing color deviation in the image generated because of high and low brightness |
CN101819162A (en) * | 2010-05-13 | 2010-09-01 | 山东大学 | Empty bottle wall defect detection method and device |
CN102135876A (en) * | 2010-01-21 | 2011-07-27 | 腾讯科技(深圳)有限公司 | Method and system for generating irregular skin |
CN102402279A (en) * | 2010-09-17 | 2012-04-04 | 腾讯科技(深圳)有限公司 | Human-computer interaction method and system based on gestures |
CN102567731A (en) * | 2011-12-06 | 2012-07-11 | 北京航空航天大学 | Extraction method for region of interest |
CN102663345A (en) * | 2012-03-07 | 2012-09-12 | 中盟智能科技(苏州)有限公司 | Method and apparatus for automatic identification of traffic lights |
CN102938054A (en) * | 2012-09-06 | 2013-02-20 | 北京工业大学 | Method for recognizing compressed-domain sensitive images based on visual attention models |
CN104581103A (en) * | 2013-10-21 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Image processing method and device |
-
2015
- 2015-10-23 CN CN201510697934.XA patent/CN106611402B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101051436A (en) * | 2006-04-03 | 2007-10-10 | 帆宣***科技股份有限公司 | Method and device for regulating input image according to display system property |
CN101080026A (en) * | 2006-05-23 | 2007-11-28 | 普立尔科技股份有限公司 | Method for removing color deviation in the image generated because of high and low brightness |
CN102135876A (en) * | 2010-01-21 | 2011-07-27 | 腾讯科技(深圳)有限公司 | Method and system for generating irregular skin |
CN101819162A (en) * | 2010-05-13 | 2010-09-01 | 山东大学 | Empty bottle wall defect detection method and device |
CN102402279A (en) * | 2010-09-17 | 2012-04-04 | 腾讯科技(深圳)有限公司 | Human-computer interaction method and system based on gestures |
CN102567731A (en) * | 2011-12-06 | 2012-07-11 | 北京航空航天大学 | Extraction method for region of interest |
CN102663345A (en) * | 2012-03-07 | 2012-09-12 | 中盟智能科技(苏州)有限公司 | Method and apparatus for automatic identification of traffic lights |
CN102938054A (en) * | 2012-09-06 | 2013-02-20 | 北京工业大学 | Method for recognizing compressed-domain sensitive images based on visual attention models |
CN104581103A (en) * | 2013-10-21 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Image processing method and device |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107464230A (en) * | 2017-08-23 | 2017-12-12 | 京东方科技集团股份有限公司 | Image processing method and device |
US11170482B2 (en) | 2017-08-23 | 2021-11-09 | Boe Technology Group Co., Ltd. | Image processing method and device |
CN107705275A (en) * | 2017-09-08 | 2018-02-16 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN107705275B (en) * | 2017-09-08 | 2021-02-26 | 维沃移动通信有限公司 | Photographing method and mobile terminal |
CN107862658A (en) * | 2017-10-31 | 2018-03-30 | 广东欧珀移动通信有限公司 | Image processing method, device, computer-readable recording medium and electronic equipment |
CN107862658B (en) * | 2017-10-31 | 2020-09-22 | Oppo广东移动通信有限公司 | Image processing method, image processing device, computer-readable storage medium and electronic equipment |
CN109255306A (en) * | 2018-08-21 | 2019-01-22 | 广东工业大学 | A kind of test method of human-face detector, device, equipment and storage medium |
CN109255306B (en) * | 2018-08-21 | 2022-03-25 | 广东工业大学 | Method, device and equipment for testing face detector and storage medium |
CN111127303A (en) * | 2018-11-01 | 2020-05-08 | Tcl集团股份有限公司 | Background blurring method and device, terminal equipment and computer readable storage medium |
CN111784611A (en) * | 2020-07-03 | 2020-10-16 | 厦门美图之家科技有限公司 | Portrait whitening method, portrait whitening device, electronic equipment and readable storage medium |
CN111784611B (en) * | 2020-07-03 | 2023-11-03 | 厦门美图之家科技有限公司 | Portrait whitening method, device, electronic equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106611402B (en) | 2019-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106611402A (en) | Image processing method and device | |
JP6710255B2 (en) | Electronic device and communication method thereof | |
WO2021036991A1 (en) | High dynamic range video generation method and device | |
CN109345485A (en) | A kind of image enchancing method, device, electronic equipment and storage medium | |
JP6328275B2 (en) | Image type identification method, apparatus, program, and recording medium | |
CN104317869B (en) | Background setting method and device based on instant messaging | |
JP2017532609A (en) | Color gamut mode switching method and apparatus | |
CN107967459B (en) | Convolution processing method, convolution processing device and storage medium | |
CN105528765B (en) | Method and device for processing image | |
CN110677734B (en) | Video synthesis method and device, electronic equipment and storage medium | |
CN107871494B (en) | Voice synthesis method and device and electronic equipment | |
US11284398B2 (en) | Communication link configuration method and device | |
CN105957037B (en) | Image enchancing method and device | |
CN108200421B (en) | White balance processing method, terminal and computer readable storage medium | |
CN109409235B (en) | Image recognition method and device, electronic equipment and computer readable storage medium | |
CN105513067B (en) | A kind of Approach for detecting image sharpness and device | |
CN108170817A (en) | Differentiation video acquiring method, device and the readable storage medium storing program for executing of photo main body | |
CN113179374A (en) | Image processing method, mobile terminal and storage medium | |
CN104239317A (en) | Method and device for compiling pictures in browser | |
CN105791790B (en) | Image processing method and device | |
CN107948093A (en) | Adjust the method and device that network speed is applied in terminal device | |
CN108124515A (en) | Information broadcast method and device, service implementation method and device and access point | |
CN108153809A (en) | Picture identification method, recognition methods, terminal and computer readable storage medium | |
WO2016173404A1 (en) | User matching method and device | |
CN116668656B (en) | Image processing method and electronic equipment |
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 |